2011-02-04 Charlie Reis <creis@chromium.org>
[WebKit.git] / Source / WebKit / chromium / ChangeLog
1 2011-02-04  Charlie Reis  <creis@chromium.org>
2
3         Reviewed by Mihai Parparita.
4
5         Crash in WebCore::HistoryController::itemsAreClones
6         https://bugs.webkit.org/show_bug.cgi?id=52819
7
8         Removes unneeded sanity checks used for diagnosing a memory error.
9
10         * src/WebFrameImpl.cpp:
11
12 2011-02-04  Daniel Cheng  <dcheng@chromium.org>
13
14         Reviewed by Dmitry Titov.
15
16         Clone WebClipboard to be frame-specific.
17         https://bugs.webkit.org/show_bug.cgi?id=53727
18
19         For drop operations, Chrome currently snapshots the data and copies it
20         into the renderer process. As we add more supported drag data types, the
21         copy will become increasingly expensive. Instead, we'd like to snapshot
22         data in the browser to reduce the amount of data copied and to support
23         Blob in DataTransferItem. In order to allow this, we associated
24         WebClipboard with a frame so it can correctly route its IPCs to the
25         corresponding Chromium host.
26
27         * public/WebFrameClient.h:
28         (WebKit::WebFrameClient::clipboard):
29         * src/PlatformBridge.cpp:
30         (WebCore::getClipboard):
31         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
32         (WebCore::PlatformBridge::clipboardReadData):
33         (WebCore::PlatformBridge::clipboardReadFilenames):
34         * src/WebFrameImpl.cpp:
35         (WebKit::WebFrameImpl::fromFrame):
36         * src/WebFrameImpl.h:
37         * src/WebViewImpl.cpp:
38         (WebKit::WebViewImpl::dragTargetDragEnterNew):
39
40 2011-02-04  Robert Hogan  <robert@webkit.org>
41
42         Reviewed by Darin Fisher.
43
44         Move chromium iframe shim code to cross-platform file
45         https://bugs.webkit.org/show_bug.cgi?id=52594
46
47         * src/WebPluginContainerImpl.cpp: Move code to WebCore/plugin/IFrameShimSupport.cpp
48
49 2011-02-04  Xiaomei Ji  <xji@chromium.org>
50
51         Reviewed by David Levin.
52
53         Implement "<option> should implement the dir attribute" for chromium port after r76983.
54         https://bugs.webkit.org/show_bug.cgi?id=50969
55
56         * src/ChromeClientImpl.cpp:
57         (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Override as true.
58         * src/WebViewImpl.cpp: Remove directionality hint from autofill drop-down setting.
59
60 2011-02-01  Jeremy Orlow  <jorlow@chromium.org>
61
62         Reviewed by Nate Chapin.
63
64         Remove the timeout event from IndexedDB
65         https://bugs.webkit.org/show_bug.cgi?id=53521
66
67         * public/WebIDBDatabase.h:
68         (WebKit::WebIDBDatabase::transaction):
69         * public/WebIDBTransactionCallbacks.h:
70         * src/IDBDatabaseProxy.cpp:
71         (WebCore::IDBDatabaseProxy::transaction):
72         * src/IDBDatabaseProxy.h:
73         * src/IDBTransactionCallbacksProxy.cpp:
74         * src/IDBTransactionCallbacksProxy.h:
75         * src/WebIDBDatabaseImpl.cpp:
76         (WebKit::WebIDBDatabaseImpl::transaction):
77         * src/WebIDBDatabaseImpl.h:
78         * src/WebIDBTransactionCallbacksImpl.cpp:
79         * src/WebIDBTransactionCallbacksImpl.h:
80
81 2011-02-04  Ilya Tikhonovsky  <loislo@chromium.org>
82
83         Unreviewed.
84
85         Roll chromium to 73764.
86
87         * DEPS:
88
89 2011-02-03  James Kozianski  <koz@chromium.org>
90
91         Reviewed by Dimitri Glazkov.
92
93         Add navigator.registerProtocolHandler behind a flag.
94         https://bugs.webkit.org/show_bug.cgi?id=52609
95
96         * features.gypi:
97         * public/WebViewClient.h:
98         * src/ChromeClientImpl.cpp:
99         (WebKit::ChromeClientImpl::registerProtocolHandler):
100         * src/ChromeClientImpl.h:
101
102 2011-02-03  Brian Ryner  <bryner@chromium.org>
103
104         Reviewed by Darin Fisher.
105
106         Add a field to the ResourceResponse for tracking the socket address
107         of the host that the resource was fetched from.  Patch was originally
108         by Paul Marks.
109         https://bugs.webkit.org/show_bug.cgi?id=53699
110
111         * public/WebURLResponse.h:
112         * src/WebURLResponse.cpp:
113         (WebKit::WebURLResponse::socketAddress):
114         (WebKit::WebURLResponse::setSocketAddress):
115
116 2011-02-03  Adam Langley  <agl@chromium.org>
117
118         Reviewed by Adam Barth.
119
120         Plumb mixed script URL to FrameLoaderClient
121         https://bugs.webkit.org/show_bug.cgi?id=52384
122
123         Regressions covered by http/tests/security/mixedContent/*
124
125         * public/WebFrameClient.h:
126         (WebKit::WebFrameClient::didRunInsecureContent):
127         * src/FrameLoaderClientImpl.cpp:
128         (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
129         * src/FrameLoaderClientImpl.h:
130
131 2011-02-03  Victoria Kirst  <vrk@google.com>
132
133         Reviewed by James Robinson.
134
135         [chromium] Fix redundant video frame paint on CSS LayerChromium for <video>
136         https://bugs.webkit.org/show_bug.cgi?id=52868
137
138         * src/WebMediaPlayerClientImpl.cpp:
139         (WebKit::WebMediaPlayerClientImpl::paint):
140         (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):
141         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
142         * src/WebMediaPlayerClientImpl.h:
143
144 2011-02-03  Jeremy Orlow  <jorlow@chromium.org>
145
146         Reviewed by Nate Chapin.
147
148         Don't clear the callbacks ref in the proxy layer for IndexedDB
149         https://bugs.webkit.org/show_bug.cgi?id=53535
150
151         Clearing the callbacks doesn't actually solve any problems and makes
152         this code behave subtly differently than how it would in Safari and
153         other single process environments. Let's remove the difference.
154
155         * src/IDBCallbacksProxy.cpp:
156         (WebCore::IDBCallbacksProxy::onError):
157         (WebCore::IDBCallbacksProxy::onSuccess):
158         * src/IDBTransactionCallbacksProxy.cpp:
159         (WebCore::IDBTransactionCallbacksProxy::onAbort):
160         (WebCore::IDBTransactionCallbacksProxy::onComplete):
161         (WebCore::IDBTransactionCallbacksProxy::onTimeout):
162
163 2011-02-03  Hans Wennborg  <hans@chromium.org>
164
165         Reviewed by Jeremy Orlow.
166
167         Chromium: Remove deprecated WebIDBObjectStore::put() function
168         https://bugs.webkit.org/show_bug.cgi?id=53669
169
170         Remove deprecated put() function. Chromium side code now overrides
171         the new version.
172
173         * public/WebIDBObjectStore.h:
174         (WebKit::WebIDBObjectStore::put):
175
176 2011-02-01  Pavel Podivilov  <podivilov@chromium.org>
177
178         Reviewed by Pavel Feldman.
179
180         Web Inspector: introduce new api for managing JavaScript breakpoints.
181         https://bugs.webkit.org/show_bug.cgi?id=53235
182
183         * src/WebDevToolsAgentImpl.cpp:
184         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
185
186 2011-02-02  Evan Martin  <evan@chromium.org>
187
188         Unreviewed, DEPS change.
189
190         * DEPS: update to pick up newer Skia.
191
192 2011-02-02  Dimitri Glazkov  <dglazkov@chromium.org>
193
194         Update more references to right() and bottom() in Chromium.
195
196         * src/WebViewImpl.cpp:
197         (WebKit::WebViewImpl::doPixelReadbackToCanvas): Replaced bottom/right with maxY/maxX.
198
199 2011-02-02  Dimitri Glazkov  <dglazkov@chromium.org>
200
201         Update more references to right() and bottom() in Chromium Win.
202
203         * tests/TransparencyWinTest.cpp:
204         (WebCore::TEST): Replaced bottom/right with maxY/maxX.
205
206 2011-02-02  Matthew Vosburgh  <maf@chromium.org>
207
208         Reviewed by Kenneth Russell.
209
210         Some favicons not correctly decoded by Chromium/Mac
211         https://bugs.webkit.org/show_bug.cgi?id=53448
212
213         * src/WebImageCG.cpp:
214         (WebKit::WebImage::fromData):
215
216 2011-02-02  Dimitri Glazkov  <dglazkov@chromium.org>
217
218         Reviewed by Dave Hyatt.
219
220         Remove remaining references to right() and bottom() from Chromium build.
221         https://bugs.webkit.org/show_bug.cgi?id=53613
222
223         * src/DragScrollTimer.cpp:
224         (WebKit::distanceToRect): Replaced right/bottom with maxX/maxY.
225         * src/WebViewImpl.cpp:
226         (WebKit::WebViewImpl::doPixelReadbackToCanvas): Ditto.
227
228 2011-02-01  Darin Fisher  <darin@chromium.org>
229
230         Reviewed by Kenneth Russell.
231
232         [chromium] Avoid #ifdefs in code that constructs a GraphicsContext by
233         adding a helper class.
234         https://bugs.webkit.org/show_bug.cgi?id=53575
235
236         * WebKit.gyp:
237         * src/WebFontImpl.cpp:
238         (WebKit::WebFontImpl::drawText):
239         * src/WebFrameImpl.cpp:
240         (WebKit::WebFrameImpl::printPage):
241         (WebKit::WebFrameImpl::paint):
242         * src/WebPopupMenuImpl.cpp:
243         (WebKit::WebPopupMenuImpl::paint):
244         * src/WebScrollbarImpl.cpp:
245         (WebKit::WebScrollbarImpl::paint):
246         * src/painting: Added.
247         * src/painting/GraphicsContextBuilder.h: Added.
248         (WebKit::GraphicsContextBuilder::GraphicsContextBuilder):
249         (WebKit::GraphicsContextBuilder::context):
250
251 2011-02-02  Hans Wennborg  <hans@chromium.org>
252
253         Reviewed by Jeremy Orlow.
254
255         IndexedDB: Implement support for cursor updates
256         https://bugs.webkit.org/show_bug.cgi?id=53421
257
258         Mirror the update to the IDBObjectStoreInterface::put() signature in
259         the WebKit layer wrappers.
260
261         * public/WebIDBObjectStore.h:
262         (WebKit::WebIDBObjectStore::put):
263         * src/IDBObjectStoreProxy.cpp:
264         (WebCore::IDBObjectStoreProxy::put):
265         * src/IDBObjectStoreProxy.h:
266         * src/WebIDBObjectStoreImpl.cpp:
267         (WebKit::WebIDBObjectStoreImpl::put):
268         * src/WebIDBObjectStoreImpl.h:
269
270 2011-02-02  Chris Evans  <cevans@chromium.org>
271
272         Reviewed by Adam Barth.
273
274         [Chromium] Propagate the accurate gesture status when calling into FrameLoader
275         https://bugs.webkit.org/show_bug.cgi?id=53571
276
277         * src/WebPluginContainerImpl.cpp:
278         (WebKit::WebPluginContainerImpl::loadFrameRequest): FrameLoader might decide the target is a new window, so make such the UserGestureIndicator is fully accurate before calling into it.
279
280 2011-02-01  Kent Tamura  <tkent@chromium.org>
281
282         Reviewed by Tony Chang.
283
284         [Chromium] Roll Chromium revision for the WebKitWeightWatcher change
285         https://bugs.webkit.org/show_bug.cgi?id=53563
286
287         * DEPS: Roll to crrev.com/73378 to have the WebKitWeightWatcher change of webkit_support.
288
289 2011-02-01  Darin Fisher  <darin@chromium.org>
290
291         Reviewed by David Levin.
292
293         [chromium] Remove unnecessary WebCore:: prefixing in a few places and fix-up some indentation.
294         https://bugs.webkit.org/show_bug.cgi?id=53523
295
296         * src/WebDevToolsAgentImpl.cpp:
297         (WebKit::WebDevToolsAgentImpl::attach):
298         (WebKit::WebDevToolsAgentImpl::inspectNode):
299         (WebKit::WebDevToolsAgentImpl::inspectorController):
300         (WebKit::WebDevToolsAgentImpl::mainFrame):
301         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
302         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
303         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
304         (WebKit::WebDevToolsAgent::interruptAndDispatch):
305         (WebKit::WebDevToolsAgent::processPendingMessages):
306         * src/WebPopupMenuImpl.cpp:
307         (WebKit::WebPopupMenuImpl::resize):
308         * src/WebScrollbarImpl.cpp:
309         (WebKit::WebScrollbarImpl::setLocation):
310         (WebKit::WebScrollbarImpl::setValue):
311         (WebKit::WebScrollbarImpl::onMouseWheel):
312         (WebKit::WebScrollbarImpl::onKeyDown):
313         (WebKit::WebScrollbarImpl::scrollPosition):
314         (WebKit::WebScrollbarImpl::setScrollOffset):
315         (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
316         (WebKit::WebScrollbarImpl::getTickmarks):
317
318 2011-02-01  Mihai Parparita  <mihaip@chromium.org>
319
320         Unreviewed roll of Chromium deps to r73306. This picks up a fix to get
321         the WebKit root dir correctly after the move to Source/. This allows 
322         tests like http/tests/security/frame-loading-via-document-write.html
323         (which use LayoutTestController.pathToLocalResource) to pass with the
324         Chromium DRT.
325
326         * DEPS:
327
328 2011-02-01  Alexander Pavlov  <apavlov@chromium.org>
329
330         Reviewed by Yury Semikhatsky.
331
332         Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane
333         https://bugs.webkit.org/show_bug.cgi?id=53482
334
335         * src/js/DevTools.js:
336         (WebInspector.openLinkExternallyLabel): Override to customize a context menu item label
337
338 2011-02-01  Darin Fisher  <darin@chromium.org>
339
340         Reviewed by Eric Seidel.
341
342         Fix some Visual Studio compiler warnings.
343         https://bugs.webkit.org/show_bug.cgi?id=53476
344
345         * src/GraphicsContext3DChromium.cpp:
346         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
347         * src/WebFrameImpl.cpp:
348         (WebKit::WebFrameImpl::forms):
349         * src/WebMediaPlayerClientImpl.cpp:
350         (WebKit::WebMediaPlayerClientImpl::repaint):
351         * src/WebScrollbarImpl.cpp:
352         (WebKit::WebScrollbarImpl::setValue):
353         * src/WebViewImpl.cpp:
354         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
355         (WebKit::WebViewImpl::setZoomLevel):
356         (WebKit::WebViewImplScrollbarPaintInterface::paint):
357
358 2011-02-01  Hans Wennborg  <hans@chromium.org>
359
360         Reviewed by Jeremy Orlow.
361
362         Chromium: remove WebIDBCallbacks::onSucces()
363         https://bugs.webkit.org/show_bug.cgi?id=53415
364
365         Remove un-used function.
366
367         * public/WebIDBCallbacks.h:
368
369 2011-02-01  Yury Semikhatsky  <yurys@chromium.org>
370
371         Unreviewed. Fix Chromium Debug compilation broken by r77228.
372
373         [Chromium] Autofill should work with HTML5 form elements
374         https://bugs.webkit.org/show_bug.cgi?id=51809
375
376         * src/WebInputElement.cpp:
377         (WebKit::toWebInputElement):
378
379 2011-02-01  Naoki Takano  <takano.naoki@gmail.com>
380
381         Reviewed by Darin Fisher.
382
383         [Chromium] Autofill should work with HTML5 form elements
384         https://bugs.webkit.org/show_bug.cgi?id=51809
385         http://crbug.com/65654
386
387         No new tests, because this fix is for Chromium project and hard to test only in WebKit project.
388
389         * public/WebInputElement.h: Added toWebInputElement() declarations and implemented const version of toWebInputElement().
390         * src/WebInputElement.cpp:
391         (WebKit::WebInputElement::toWebInputElement): Implemented a convert function to cast no-const WebElement* to no-const WebInputElement*. Because Chrome needs safe cast for autofill completion.
392
393 2011-01-31  Chris Rogers  <crogers@google.com>
394
395         Reviewed by Jeremy Orlow.
396
397         Improve audio latency on Mac OS X for chromium port
398         https://bugs.webkit.org/show_bug.cgi?id=53452
399
400         * src/AudioDestinationChromium.cpp:
401
402 2011-01-29  Patrick Gansterer  <paroga@webkit.org>
403
404         Reviewed by David Kilzer.
405
406         Move CharacterNames.h into WTF directory
407         https://bugs.webkit.org/show_bug.cgi?id=49618
408
409         * src/ChromeClientImpl.cpp:
410
411 2011-01-28  Ryosuke Niwa  <rniwa@webkit.org>
412
413         Unreviewed; roll WebKit Chromium revision from 72894 to 73048.
414
415         * DEPS:
416
417 2011-01-28  Dan Bernstein  <mitz@apple.com>
418
419         Reviewed by Sam Weinig.
420
421         <select> can't display right-to-left (rtl) languages
422         https://bugs.webkit.org/show_bug.cgi?id=19785
423
424         * src/AutoFillPopupMenuClient.cpp:
425         (WebKit::AutoFillPopupMenuClient::initialize): Pass hasTextDirectionOverride to the PopupMenuStyle
426         constructor.
427         * src/ChromeClientImpl.cpp:
428         (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Added.
429         * src/ChromeClientImpl.h:
430         * tests/PopupMenuTest.cpp:
431         (WebKit::TestPopupMenuClient::itemStyle): Pass hasTextDirectionOverride to the PopupMenuStyle
432         constructor.
433
434 2011-01-28  Adam Klein  <adamk@chromium.org>
435
436         Reviewed by Kent Tamura.
437
438         [Chromium] Remove deprecated openFileSystem method signature
439         https://bugs.webkit.org/show_bug.cgi?id=53262
440
441         Chromium still builds after this patch.
442
443         * public/WebFrameClient.h:
444
445 2011-01-28  Ilya Sherman  <isherman@chromium.org>
446
447         Reviewed by Andreas Kling.
448
449         Const-correct HTMLSelectElement and WebSelectElement
450         https://bugs.webkit.org/show_bug.cgi?id=53293
451
452         * public/WebSelectElement.h:
453         * src/WebSelectElement.cpp:
454         (WebKit::WebSelectElement::value): const.
455         (WebKit::WebSelectElement::listItems): const.
456
457 2011-01-27  Finnur Thorarinsson  <finnur.webkit@gmail.com>
458
459         Reviewed by Ojan Vafai.
460
461         This addresses a regression introduced by r75784, as described in:
462         https://bugs.webkit.org/show_bug.cgi?id=53176
463
464         The problem is that originalEndContainer and originalEndOffset was
465         meant to capture the end of the document, but was being assigned after
466         a call to searchRange->setStart() (when scoping is restarted), which can
467         result in the Range being collapsed to start (thereby assigning the
468         wrong value to the Container/Offset pair).
469
470         This code is never triggered by layout tests, but I'm adding a regressiono
471         test on the Chromium side for this.
472
473         * src/WebFrameImpl.cpp:
474         (WebKit::WebFrameImpl::scopeStringMatches):
475
476 2011-01-27  Zhenyao Mo  <zmo@google.com>
477
478         Reviewed by Kenneth Russell.
479
480         Define GC3D types to match GL types and use them in WebGraphicsContext3D
481         https://bugs.webkit.org/show_bug.cgi?id=51947
482
483         * public/WebGraphicsContext3D.h:
484
485 2011-01-27  Zhenyao Mo  <zmo@google.com>
486
487         Unreviewed, roll webkit chromium rev from 72673 to 72894.
488         Also, added gmock section in DEPS to pull down gmock.
489
490         * DEPS:
491
492 2011-01-27  Alexey Marinichev  <amarinichev@chromium.org>
493
494         Reviewed by Kenneth Russell.
495
496         Add a callback to WebGraphicsContext3D that is called when a context is lost
497         https://bugs.webkit.org/show_bug.cgi?id=53153
498
499         * public/WebGraphicsContext3D.h:
500         (WebKit::WebGraphicsContext3D::setContextLostCallback):
501
502 2011-01-27  Mihai Parparita  <mihaip@chromium.org>
503
504         Unreviewed, fixed upstream Chromium build
505         
506         r76844 should have rolled back Chromium DEPS to 72673, not 72637.
507
508         * DEPS:
509
510 2011-01-27  Zhenyao Mo  <zmo@google.com>
511
512         Unreviewed, roll back webkit chromium rev to 72637.
513
514         * DEPS:
515
516 2011-01-27  Zhenyao Mo  <zmo@google.com>
517
518         Unreviewed.
519
520         Roll Webkit Chromium rev from 72637 to 72868.
521
522         * DEPS:
523
524 2011-01-27  Hans Wennborg  <hans@chromium.org>
525
526         Reviewed by Jeremy Orlow.
527
528         IndexedDB: Remove IDBCallbacks::onSuccess() used for null values.
529         https://bugs.webkit.org/show_bug.cgi?id=53178
530
531         Remove the IDBCallbacks::onSuccess() function that was used for
532         null values, and replace such calls with calls to
533         IDBCallBacks::onSuccess(SerializedScriptValue::nullValue())
534         instead.
535
536         * public/WebIDBCallbacks.h:
537         (WebKit::WebIDBCallbacks::onSuccess):
538         * src/IDBCallbacksProxy.cpp:
539         * src/IDBCallbacksProxy.h:
540         * src/WebIDBCallbacksImpl.cpp:
541         * src/WebIDBCallbacksImpl.h:
542
543 2011-01-26  Kent Tamura  <tkent@chromium.org>
544
545         Reviewed by Dimitri Glazkov.
546
547         [Chromium] WebFrame::forms() should not return empty WebFormElements
548         https://bugs.webkit.org/show_bug.cgi?id=53204
549
550         * src/WebFrameImpl.cpp:
551         (WebKit::WebFrameImpl::forms):
552          - Should iterate by forms->length(), not the number of HTMLElements.
553          - Do not increment the index for "temp" if a node is not an HTMLElement.
554
555 2011-01-26  Dan Bernstein  <mitz@apple.com>
556
557         Reviewed by Dave Hyatt.
558
559         <rdar://problem/8446709> Allow inter-ideograph justification for CJK
560         https://bugs.webkit.org/show_bug.cgi?id=53184
561
562         * src/WebTextRun.cpp:
563         (WebKit::WebTextRun::operator WebCore::TextRun): Added a TrailingExpansionBehavior parameter to the
564         RenderText constructor.
565
566 2011-01-26  Kenneth Russell  <kbr@google.com>
567
568         Reviewed by James Robinson.
569
570         Fix multisampling support in DrawingBuffer
571         https://bugs.webkit.org/show_bug.cgi?id=53154
572
573         Plumbed GL_ANGLE_framebuffer_multisample and
574         GL_ANGLE_framebuffer_blit (exposed as the unified extension
575         GL_CHROMIUM_framebuffer_multisample) through WebGraphicsContext3D.
576
577         * public/WebGraphicsContext3D.h:
578         * src/Extensions3DChromium.cpp:
579         (WebCore::Extensions3DChromium::blitFramebuffer):
580         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
581         * src/GraphicsContext3DChromium.cpp:
582         (WebCore::GraphicsContext3DInternal::supportsExtension):
583         (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
584         * src/GraphicsContext3DInternal.h:
585
586 2011-01-26  Tony Chang  <tony@chromium.org>
587
588         Unreviewed.
589
590         [chromium] revert r68310 because of race conditions detected by tsans
591         https://bugs.webkit.org/show_bug.cgi?id=53185
592
593         * DEPS: Roll chromium to 72673 to pick up sqlite revert.
594
595 2011-01-26  James Robinson  <jamesr@chromium.org>
596
597         Reviewed by Nate Chapin.
598
599         Add a DOMTimeStamp parameter to the requestAnimationFrame callback
600         https://bugs.webkit.org/show_bug.cgi?id=53142
601
602         Provides a timestamp to use for imperative animation callbacks.  In this patch the timestamp is
603         just the current time at the start of the callback invocation algorithm.  In the future we
604         could enhance this to try to take the compositing delay into effect to try to synchronize
605         imperative animations more closely with declarative ones, but this should do for now.
606
607         * src/WebViewImpl.cpp:
608         (WebKit::WebViewImpl::animate):
609
610 2011-01-25  Kent Tamura  <tkent@chromium.org>
611
612         Unreviewed trivial change.
613
614         * DEPS: Roll to r72581 to have a webkit_support fix.
615
616 2011-01-25  Hans Wennborg  <hans@chromium.org>
617
618         Reviewed by Jeremy Orlow.
619
620         IndexedDB: Remove PlatformBridge::idbShutdown()
621         https://bugs.webkit.org/show_bug.cgi?id=53077
622
623         Since Chromium r72157, this is not used anymore. Chromium keeps track
624         of when it shuts down IndexedDB itself.
625
626         * public/WebKitClient.h:
627         * src/PlatformBridge.cpp:
628
629 2011-01-25  Ilya Sherman  <isherman@chromium.org>
630
631         Reviewed by Darin Fisher.
632
633         Chromium WebKit API: Move dispatchFormControlChangeEvent() from WebInputElement to WebFormControlElement
634         In service of https://code.google.com/p/chromium/issues/detail?id=42716
635         https://bugs.webkit.org/show_bug.cgi?id=53069
636
637         * public/WebFormControlElement.h:
638         * public/WebInputElement.h:
639         * src/WebFormControlElement.cpp:
640         (WebKit::WebFormControlElement::dispatchFormControlChangeEvent): Moved from WebInputElement
641         * src/WebInputElement.cpp:
642
643 2011-01-24  Chris Marrin  <cmarrin@apple.com>
644
645         Reviewed by Eric Seidel.
646
647         Change ENABLE_3D_CANVAS to ENABLE_WEBGL
648         https://bugs.webkit.org/show_bug.cgi?id=53041
649
650         * WebKit.gyp:
651         * features.gypi:
652         * src/Extensions3DChromium.cpp:
653         * src/GraphicsContext3DChromium.cpp:
654         * src/WebRuntimeFeatures.cpp:
655         (WebKit::WebRuntimeFeatures::enableWebGL):
656         (WebKit::WebRuntimeFeatures::isWebGLEnabled):
657
658 2011-01-25  Mikhail Naganov  <mnaganov@chromium.org>
659
660         Reviewed by Pavel Feldman.
661
662         Web Inspector: [Chromium] Prepare for landing of detailed heap snapshots.
663
664         - Introduce Preferences.detailedHeapProfiles flag for controlling
665           querying of detailed heap snapshots.
666         - Add boilerplate code for the new view.
667         - Factor out common code.
668
669         https://bugs.webkit.org/show_bug.cgi?id=52624
670
671         * src/js/DevTools.js:
672         ():
673
674 2011-01-25  Pavel Podivilov  <podivilov@chromium.org>
675
676         Unreviewed, trivial debugger test fix.
677
678         * src/js/Tests.js:
679
680 2011-01-24  Zhenyao Mo  <zmo@google.com>
681
682         Reviewed by Darin Adler.
683
684         Remove sizeInBytes from GraphicsContext3D's various implementations
685         https://bugs.webkit.org/show_bug.cgi?id=52339
686
687         * src/GraphicsContext3DChromium.cpp:
688         * src/GraphicsContext3DInternal.h:
689
690 2011-01-24  Tony Chang  <tony@chromium.org>
691
692         Reviewed by James Robinson.
693
694         [chromium] turn off gyp circular dependency checking and roll chromium deps
695         https://bugs.webkit.org/show_bug.cgi?id=52935
696
697         * DEPS:
698         * gyp_webkit: Turn off gyp circular dependency checking on Linux
699             and Win since we don't do these checks in gyp_chromium.  It's
700             just making it harder for us to roll DEPS and have something
701             explode.
702
703 2011-01-24  Satish Sampath  <satish@chromium.org>
704
705         Reviewed by Csaba Osztrogon√°c.
706
707         Remove obsolete public/API method in chromium port
708         https://bugs.webkit.org/show_bug.cgi?id=53015
709
710         * public/WebSpeechInputController.h:
711         (WebKit::WebSpeechInputController::startRecognition): Removed obsolete method
712
713 2010-01-24  Kent Tamura  <tkent@chromium.org>
714
715         Reviewed by Darin Fisher.
716
717         [Chromium] Support icon loading for <input type=file>
718         https://bugs.webkit.org/show_bug.cgi?id=38982
719
720         Implement ChromeClientImpl::chooseIconForFiles(). It delegates loading
721         to WebViewClient::queryIconForFiles(), and an implementation of
722         WebViewClient::queryIconForFiles() loads an icon and passes it to a
723         FileChooser through WebIconLoadingCompletion.
724
725         * WebKit.gyp:
726         * public/WebIconLoadingCompletion.h: Added.
727         (WebKit::WebIconLoadingCompletion::~WebIconLoadingCompletion):
728         * public/WebViewClient.h:
729         (WebKit::WebViewClient::queryIconForFiles):
730         * src/ChromeClientImpl.cpp:
731         (WebKit::ChromeClientImpl::chooseIconForFiles):
732         * src/WebIconLoadingCompletionImpl.cpp: Added.
733         (WebKit::WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl):
734         (WebKit::WebIconLoadingCompletionImpl::~WebIconLoadingCompletionImpl):
735         (WebKit::WebIconLoadingCompletionImpl::didLoadIcon):
736         * src/WebIconLoadingCompletionImpl.h: Added.
737
738 2011-01-22  John Abd-El-Malek  <jam@chromium.org>
739
740         Reviewed by Adam Barth.
741
742         [chromium]: Fix WebScrollbarImpl not getting scroll events after recent scrollbar refactoring
743         https://bugs.webkit.org/show_bug.cgi?id=52967
744
745         * src/WebScrollbarImpl.cpp:
746         (WebKit::WebScrollbarImpl::horizontalScrollbar):
747         (WebKit::WebScrollbarImpl::verticalScrollbar):
748         * src/WebScrollbarImpl.h:
749
750 2011-01-21  Nikolas Zimmermann  <nzimmermann@rim.com>
751
752         Reviewed by Dirk Schulze.
753
754         Introduce FontMetrics abstraction
755         https://bugs.webkit.org/show_bug.cgi?id=51456
756
757         * src/ExternalPopupMenu.cpp: Use FontMetrics instead of Font to access the metrics.
758         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
759         * src/WebFontImpl.cpp: Ditto.
760         (WebKit::WebFontImpl::ascent):
761         (WebKit::WebFontImpl::descent):
762         (WebKit::WebFontImpl::height):
763         (WebKit::WebFontImpl::lineSpacing):
764         (WebKit::WebFontImpl::xHeight):
765
766 2011-01-21  Chris Rogers  <crogers@google.com>
767
768         Unreviewed
769
770         define HAS_WEBAUDIO_RUNTIMEFEATURES for synchronization with chromium patch landing
771         https://bugs.webkit.org/show_bug.cgi?id=52941
772
773         * public/WebRuntimeFeatures.h:
774
775 2011-01-21  Chris Rogers  <crogers@google.com>
776
777         Unreviewed
778
779         Add HAS_WEBAUDIO_FEATURE_ENABLE define to synchronize with chromium-side patch
780         https://bugs.webkit.org/show_bug.cgi?id=52939
781
782         * public/WebSettings.h:
783
784 2011-01-21  Charlie Reis  <creis@chromium.org>
785
786         Reviewed by Darin Fisher.
787
788         Crash in WebCore::HistoryController::itemsAreClones
789         https://bugs.webkit.org/show_bug.cgi?id=52819
790
791         Adds sanity checks to help diagnose the crash.
792
793         * src/WebFrameImpl.cpp:
794
795 2011-01-21  Chris Rogers  <crogers@google.com>
796
797         Reviewed by Darin Fisher.
798
799         Add run-time enable support for the web audio API
800         https://bugs.webkit.org/show_bug.cgi?id=52741
801
802         * public/WebRuntimeFeatures.h:
803         * public/WebSettings.h:
804         * src/WebRuntimeFeatures.cpp:
805         (WebKit::WebRuntimeFeatures::enableWebAudio):
806         (WebKit::WebRuntimeFeatures::isWebAudioEnabled):
807         * src/WebSettingsImpl.cpp:
808         (WebKit::WebSettingsImpl::setWebAudioEnabled):
809         * src/WebSettingsImpl.h:
810
811 2011-01-21  Ryosuke Niwa  <rniwa@webkit.org>
812
813         Unreviewed; another Chromium build fix attempt for r76378.
814
815         * src/WebScrollbarImpl.cpp:
816         (WebKit::WebScrollbar::create):
817         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
818         (WebKit::WebScrollbarImpl::setValue):
819
820 2011-01-21  Ryosuke Niwa  <rniwa@webkit.org>
821
822         Unreviewed Chromium build fix attempt for r76378.
823
824         * src/WebScrollbarImpl.cpp:
825         (WebKit::WebScrollbar::create):
826         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
827
828 2011-01-21  Chris Rogers  <crogers@google.com>
829
830         Reviewed by Kenneth Russell.
831
832         Add chromium bundled audio spatialization resources to WebAudio.grd
833         https://bugs.webkit.org/show_bug.cgi?id=52651
834
835         * WebKit.grd:
836
837 2011-01-21  Xiyuan Xia  <xiyuan@chromium.org>
838
839         Reviewed by Tony Chang.
840
841         Use WebThemeEngine for relevant RenderTheme parts for chromium/linux.
842         https://bugs.webkit.org/show_bug.cgi?id=52826
843
844         * WebKit.gyp:
845         * src/ChromiumBridge.cpp:
846         (WebCore::WebThemePart):
847         (WebCore::GetWebThemeExtraParams):
848
849 2011-01-21  Sam Weinig  <sam@webkit.org>
850
851         Reviewed by Anders Carlsson.
852
853         Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
854         https://bugs.webkit.org/show_bug.cgi?id=52779
855
856         Rename ScrollbarClient -> ScrollableArea.
857
858         * src/AutoFillPopupMenuClient.cpp:
859         (WebKit::AutoFillPopupMenuClient::createScrollbar):
860         * src/AutoFillPopupMenuClient.h:
861         * src/WebScrollbarImpl.cpp:
862         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
863         (WebKit::WebScrollbarImpl::scroll):
864         (WebKit::WebScrollbarImpl::onMouseWheel):
865         (WebKit::WebScrollbarImpl::onKeyDown):
866         * src/WebScrollbarImpl.h:
867         * tests/PopupMenuTest.cpp:
868         (WebKit::TestPopupMenuClient::createScrollbar):
869
870 2011-01-21  Sailesh Agrawal  <sail@chromium.org>
871
872         Reviewed by Ryosuke Niwa.
873
874         [chromium] Notify WebFrameClient when spellcheck state changes
875         https://bugs.webkit.org/show_bug.cgi?id=52680
876
877         * public/WebFrameClient.h:
878         (WebKit::WebFrameClient::continuousSpellCheckingEnabledStateChanged):
879         * src/EditorClientImpl.cpp:
880         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
881         * src/WebFrameImpl.cpp:
882
883 2011-01-21  Tony Chang  <tony@chromium.org>
884
885         Unreviewed, updating chromium DEPS so we can pull in linux theme changes.
886
887         * DEPS:
888
889 2011-01-21  Adam Klein  <adamk@chromium.org>
890
891         Reviewed by Eric Seidel.
892
893         [chromium] Rename ChromiumBridge to PlatformBridge
894         https://bugs.webkit.org/show_bug.cgi?id=52471
895
896         * WebKit.gyp:
897         * src/AssertMatchingEnums.cpp:
898         * src/PlatformBridge.cpp:
899         (WebCore::toChromeClientImpl):
900         (WebCore::toWebWidgetClient):
901         (WebCore::getCookieJar):
902         (WebCore::PlatformBridge::cacheMetadata):
903         (WebCore::PlatformBridge::clipboardIsFormatAvailable):
904         (WebCore::PlatformBridge::clipboardReadPlainText):
905         (WebCore::PlatformBridge::clipboardReadHTML):
906         (WebCore::PlatformBridge::clipboardWriteSelection):
907         (WebCore::PlatformBridge::clipboardWritePlainText):
908         (WebCore::PlatformBridge::clipboardWriteURL):
909         (WebCore::PlatformBridge::clipboardWriteImage):
910         (WebCore::PlatformBridge::clipboardWriteData):
911         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
912         (WebCore::PlatformBridge::clipboardReadData):
913         (WebCore::PlatformBridge::clipboardReadFilenames):
914         (WebCore::PlatformBridge::setCookies):
915         (WebCore::PlatformBridge::cookies):
916         (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
917         (WebCore::PlatformBridge::rawCookies):
918         (WebCore::PlatformBridge::deleteCookie):
919         (WebCore::PlatformBridge::cookiesEnabled):
920         (WebCore::PlatformBridge::prefetchDNS):
921         (WebCore::PlatformBridge::fileExists):
922         (WebCore::PlatformBridge::deleteFile):
923         (WebCore::PlatformBridge::deleteEmptyDirectory):
924         (WebCore::PlatformBridge::getFileSize):
925         (WebCore::PlatformBridge::revealFolderInOS):
926         (WebCore::PlatformBridge::getFileModificationTime):
927         (WebCore::PlatformBridge::directoryName):
928         (WebCore::PlatformBridge::pathByAppendingComponent):
929         (WebCore::PlatformBridge::makeAllDirectories):
930         (WebCore::PlatformBridge::getAbsolutePath):
931         (WebCore::PlatformBridge::isDirectory):
932         (WebCore::PlatformBridge::filePathToURL):
933         (WebCore::PlatformBridge::openFile):
934         (WebCore::PlatformBridge::closeFile):
935         (WebCore::PlatformBridge::seekFile):
936         (WebCore::PlatformBridge::truncateFile):
937         (WebCore::PlatformBridge::readFromFile):
938         (WebCore::PlatformBridge::writeToFile):
939         (WebCore::PlatformBridge::ensureFontLoaded):
940         (WebCore::PlatformBridge::getFontFamilyForCharacters):
941         (WebCore::PlatformBridge::getRenderStyleForStrike):
942         (WebCore::PlatformBridge::loadFont):
943         (WebCore::PlatformBridge::databaseOpenFile):
944         (WebCore::PlatformBridge::databaseDeleteFile):
945         (WebCore::PlatformBridge::databaseGetFileAttributes):
946         (WebCore::PlatformBridge::databaseGetFileSize):
947         (WebCore::PlatformBridge::idbFactory):
948         (WebCore::PlatformBridge::idbShutdown):
949         (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
950         (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
951         (WebCore::PlatformBridge::computedDefaultLanguage):
952         (WebCore::PlatformBridge::layoutTestMode):
953         (WebCore::PlatformBridge::isSupportedImageMIMEType):
954         (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
955         (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
956         (WebCore::PlatformBridge::mimeTypeForExtension):
957         (WebCore::PlatformBridge::mimeTypeFromFile):
958         (WebCore::PlatformBridge::preferredExtensionForMIMEType):
959         (WebCore::PlatformBridge::plugins):
960         (WebCore::PlatformBridge::pluginScriptableObject):
961         (WebCore::PlatformBridge::loadPlatformImageResource):
962         (WebCore::PlatformBridge::loadPlatformAudioResource):
963         (WebCore::PlatformBridge::decodeAudioFileData):
964         (WebCore::PlatformBridge::sandboxEnabled):
965         (WebCore::PlatformBridge::setSharedTimerFiredFunction):
966         (WebCore::PlatformBridge::setSharedTimerFireTime):
967         (WebCore::PlatformBridge::stopSharedTimer):
968         (WebCore::PlatformBridge::decrementStatsCounter):
969         (WebCore::PlatformBridge::incrementStatsCounter):
970         (WebCore::PlatformBridge::histogramCustomCounts):
971         (WebCore::PlatformBridge::histogramEnumeration):
972         (WebCore::PlatformBridge::suddenTerminationChanged):
973         (WebCore::PlatformBridge::currentTime):
974         (WebCore::PlatformBridge::paintButton):
975         (WebCore::PlatformBridge::paintMenuList):
976         (WebCore::PlatformBridge::paintScrollbarArrow):
977         (WebCore::PlatformBridge::paintScrollbarThumb):
978         (WebCore::PlatformBridge::paintScrollbarTrack):
979         (WebCore::PlatformBridge::paintSpinButton):
980         (WebCore::PlatformBridge::paintTextField):
981         (WebCore::PlatformBridge::paintTrackbar):
982         (WebCore::PlatformBridge::paintProgressBar):
983         (WebCore::WebThemePart):
984         (WebCore::WebThemeState):
985         (WebCore::GetWebThemeExtraParams):
986         (WebCore::PlatformBridge::getThemePartSize):
987         (WebCore::PlatformBridge::paintThemePart):
988         (WebCore::PlatformBridge::traceEventBegin):
989         (WebCore::PlatformBridge::traceEventEnd):
990         (WebCore::PlatformBridge::visitedLinkHash):
991         (WebCore::PlatformBridge::isLinkVisited):
992         (WebCore::PlatformBridge::notifyJSOutOfMemory):
993         (WebCore::PlatformBridge::memoryUsageMB):
994         (WebCore::PlatformBridge::actualMemoryUsageMB):
995         (WebCore::PlatformBridge::screenDepth):
996         (WebCore::PlatformBridge::screenDepthPerComponent):
997         (WebCore::PlatformBridge::screenIsMonochrome):
998         (WebCore::PlatformBridge::screenRect):
999         (WebCore::PlatformBridge::screenAvailableRect):
1000         (WebCore::PlatformBridge::popupsAllowed):
1001         (WebCore::WorkerContextProxy::create):
1002         * src/ResourceHandle.cpp:
1003         (WebCore::ResourceHandle::cacheMetadata):
1004         * src/WebFrameImpl.cpp:
1005         (WebKit::WebFrameImpl::WebFrameImpl):
1006         (WebKit::WebFrameImpl::~WebFrameImpl):
1007         * src/WebViewImpl.cpp:
1008         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1009
1010 2011-01-20  Adam Klein  <adamk@chromium.org>
1011
1012         Reviewed by Andreas Kling.
1013
1014         [chromium] Remove deprecated WebKit::nameOfInputElement function
1015         https://bugs.webkit.org/show_bug.cgi?id=52824
1016
1017         * src/DOMUtilitiesPrivate.cpp:
1018         * src/DOMUtilitiesPrivate.h:
1019
1020 2011-01-20  Sam Weinig  <sam@webkit.org>
1021
1022         Reviewed by Dave Hyatt.
1023
1024         Cleanup Scrollbar/ScrollbarClient relationship
1025         https://bugs.webkit.org/show_bug.cgi?id=52779
1026
1027         * src/WebScrollbarImpl.cpp:
1028         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1029         (WebKit::WebScrollbarImpl::value):
1030         (WebKit::WebScrollbarImpl::setValue):
1031         (WebKit::WebScrollbarImpl::scroll):
1032         (WebKit::WebScrollbarImpl::onMouseDown):
1033         (WebKit::WebScrollbarImpl::onMouseMove):
1034         (WebKit::WebScrollbarImpl::onMouseWheel):
1035         (WebKit::WebScrollbarImpl::onKeyDown):
1036         (WebKit::WebScrollbarImpl::scrollPosition):
1037         (WebKit::WebScrollbarImpl::setScrollOffset):
1038         * src/WebScrollbarImpl.h:
1039
1040 2011-01-20  James Robinson  <jamesr@chromium.org>
1041
1042         Reviewed by Darin Fisher.
1043
1044         Implement mozilla's requestAnimationFrame API
1045         https://bugs.webkit.org/show_bug.cgi?id=51218
1046
1047         Chromium WebKit API support for window.webkitRequestAnimationFrame()
1048
1049         * features.gypi:
1050         * public/WebWidget.h:
1051         * public/WebWidgetClient.h:
1052         (WebKit::WebWidgetClient::scheduleAnimation):
1053         * src/ChromeClientImpl.cpp:
1054         (WebKit::ChromeClientImpl::scheduleAnimation):
1055         * src/ChromeClientImpl.h:
1056         * src/WebPopupMenuImpl.cpp:
1057         (WebKit::WebPopupMenuImpl::animate):
1058         (WebKit::WebPopupMenuImpl::scheduleAnimation):
1059         * src/WebPopupMenuImpl.h:
1060         * src/WebViewImpl.cpp:
1061         (WebKit::WebViewImpl::animate):
1062         * src/WebViewImpl.h:
1063
1064 2010-12-14  Yury Semikhatsky  <yurys@chromium.org>
1065
1066         Reviewed by Adam Barth.
1067
1068         [V8] Get rid of delayed exception reporting in V8ConsoleMessage.cpp
1069         https://bugs.webkit.org/show_bug.cgi?id=51044
1070
1071         * src/ChromeClientImpl.cpp:
1072         (WebKit::ChromeClientImpl::runJavaScriptAlert):
1073         * src/WebScriptController.cpp:
1074         (WebKit::WebScriptController::flushConsoleMessages):
1075
1076 2010-12-27  Yury Semikhatsky  <yurys@chromium.org>
1077
1078         Reviewed by Pavel Feldman.
1079
1080         WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
1081         https://bugs.webkit.org/show_bug.cgi?id=8519
1082
1083         Uncaught exceptions are propagated to window.onerror hander if one is present.
1084         The handler is expected to be a function accepting three arguments: error message,
1085         resource url and line number where the exception occured.
1086
1087         It was decided to dispatch ErrorEvent to all listeners/handlers no matter if they
1088         were created in the same isolated world where the exception occured or not.
1089
1090         Tests: fast/events/window-onerror1.html
1091                fast/events/window-onerror10.html
1092                fast/events/window-onerror11.html
1093                fast/events/window-onerror12.html
1094                fast/events/window-onerror2.html
1095                fast/events/window-onerror3.html
1096                fast/events/window-onerror4.html
1097                fast/events/window-onerror5.html
1098                fast/events/window-onerror6.html
1099                fast/events/window-onerror7.html
1100                fast/events/window-onerror8.html
1101                fast/events/window-onerror9.html
1102                http/tests/security/window-onerror-exception-in-iframe.html
1103                userscripts/window-onerror-for-isolated-world-1.html
1104                userscripts/window-onerror-for-isolated-world-2.html
1105
1106         * src/WebWorkerClientImpl.cpp:
1107         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
1108         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
1109         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
1110         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
1111
1112 2011-01-19  Dmitry Titov  <dimich@chromium.org>
1113
1114         [Chromium] Unreviewed, build fix.
1115
1116         During revert of 76203, sheriffbot did not revert "rename+change" correctly.
1117
1118         * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
1119         (WebCore::toChromeClientImpl):
1120         (WebCore::toWebWidgetClient):
1121         (WebCore::getCookieJar):
1122         (WebCore::ChromiumBridge::cacheMetadata):
1123         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
1124         (WebCore::ChromiumBridge::clipboardReadPlainText):
1125         (WebCore::ChromiumBridge::clipboardReadHTML):
1126         (WebCore::ChromiumBridge::clipboardWriteSelection):
1127         (WebCore::ChromiumBridge::clipboardWritePlainText):
1128         (WebCore::ChromiumBridge::clipboardWriteURL):
1129         (WebCore::ChromiumBridge::clipboardWriteImage):
1130         (WebCore::ChromiumBridge::clipboardWriteData):
1131         (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
1132         (WebCore::ChromiumBridge::clipboardReadData):
1133         (WebCore::ChromiumBridge::clipboardReadFilenames):
1134         (WebCore::ChromiumBridge::setCookies):
1135         (WebCore::ChromiumBridge::cookies):
1136         (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
1137         (WebCore::ChromiumBridge::rawCookies):
1138         (WebCore::ChromiumBridge::deleteCookie):
1139         (WebCore::ChromiumBridge::cookiesEnabled):
1140         (WebCore::ChromiumBridge::prefetchDNS):
1141         (WebCore::ChromiumBridge::fileExists):
1142         (WebCore::ChromiumBridge::deleteFile):
1143         (WebCore::ChromiumBridge::deleteEmptyDirectory):
1144         (WebCore::ChromiumBridge::getFileSize):
1145         (WebCore::ChromiumBridge::revealFolderInOS):
1146         (WebCore::ChromiumBridge::getFileModificationTime):
1147         (WebCore::ChromiumBridge::directoryName):
1148         (WebCore::ChromiumBridge::pathByAppendingComponent):
1149         (WebCore::ChromiumBridge::makeAllDirectories):
1150         (WebCore::ChromiumBridge::getAbsolutePath):
1151         (WebCore::ChromiumBridge::isDirectory):
1152         (WebCore::ChromiumBridge::filePathToURL):
1153         (WebCore::ChromiumBridge::openFile):
1154         (WebCore::ChromiumBridge::closeFile):
1155         (WebCore::ChromiumBridge::seekFile):
1156         (WebCore::ChromiumBridge::truncateFile):
1157         (WebCore::ChromiumBridge::readFromFile):
1158         (WebCore::ChromiumBridge::writeToFile):
1159         (WebCore::ChromiumBridge::ensureFontLoaded):
1160         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
1161         (WebCore::ChromiumBridge::getRenderStyleForStrike):
1162         (WebCore::ChromiumBridge::loadFont):
1163         (WebCore::ChromiumBridge::databaseOpenFile):
1164         (WebCore::ChromiumBridge::databaseDeleteFile):
1165         (WebCore::ChromiumBridge::databaseGetFileAttributes):
1166         (WebCore::ChromiumBridge::databaseGetFileSize):
1167         (WebCore::ChromiumBridge::idbFactory):
1168         (WebCore::ChromiumBridge::idbShutdown):
1169         (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1170         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
1171         (WebCore::ChromiumBridge::computedDefaultLanguage):
1172         (WebCore::ChromiumBridge::layoutTestMode):
1173         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
1174         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
1175         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
1176         (WebCore::ChromiumBridge::mimeTypeForExtension):
1177         (WebCore::ChromiumBridge::mimeTypeFromFile):
1178         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
1179         (WebCore::ChromiumBridge::plugins):
1180         (WebCore::ChromiumBridge::pluginScriptableObject):
1181         (WebCore::ChromiumBridge::loadPlatformImageResource):
1182         (WebCore::ChromiumBridge::loadPlatformAudioResource):
1183         (WebCore::ChromiumBridge::decodeAudioFileData):
1184         (WebCore::ChromiumBridge::sandboxEnabled):
1185         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
1186         (WebCore::ChromiumBridge::setSharedTimerFireTime):
1187         (WebCore::ChromiumBridge::stopSharedTimer):
1188         (WebCore::ChromiumBridge::decrementStatsCounter):
1189         (WebCore::ChromiumBridge::incrementStatsCounter):
1190         (WebCore::ChromiumBridge::histogramCustomCounts):
1191         (WebCore::ChromiumBridge::histogramEnumeration):
1192         (WebCore::ChromiumBridge::suddenTerminationChanged):
1193         (WebCore::ChromiumBridge::currentTime):
1194         (WebCore::ChromiumBridge::paintButton):
1195         (WebCore::ChromiumBridge::paintMenuList):
1196         (WebCore::ChromiumBridge::paintScrollbarArrow):
1197         (WebCore::ChromiumBridge::paintScrollbarThumb):
1198         (WebCore::ChromiumBridge::paintScrollbarTrack):
1199         (WebCore::ChromiumBridge::paintSpinButton):
1200         (WebCore::ChromiumBridge::paintTextField):
1201         (WebCore::ChromiumBridge::paintTrackbar):
1202         (WebCore::ChromiumBridge::paintProgressBar):
1203         (WebCore::WebThemePart):
1204         (WebCore::WebThemeState):
1205         (WebCore::GetWebThemeExtraParams):
1206         (WebCore::ChromiumBridge::getThemePartSize):
1207         (WebCore::ChromiumBridge::paintThemePart):
1208         (WebCore::ChromiumBridge::traceEventBegin):
1209         (WebCore::ChromiumBridge::traceEventEnd):
1210         (WebCore::ChromiumBridge::visitedLinkHash):
1211         (WebCore::ChromiumBridge::isLinkVisited):
1212         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
1213         (WebCore::ChromiumBridge::memoryUsageMB):
1214         (WebCore::ChromiumBridge::actualMemoryUsageMB):
1215         (WebCore::ChromiumBridge::screenDepth):
1216         (WebCore::ChromiumBridge::screenDepthPerComponent):
1217         (WebCore::ChromiumBridge::screenIsMonochrome):
1218         (WebCore::ChromiumBridge::screenRect):
1219         (WebCore::ChromiumBridge::screenAvailableRect):
1220         (WebCore::ChromiumBridge::popupsAllowed):
1221         (WebCore::WorkerContextProxy::create):
1222
1223 2011-01-19  Sheriff Bot  <webkit.review.bot@gmail.com>
1224
1225         Unreviewed, rolling out r76203.
1226         http://trac.webkit.org/changeset/76203
1227         https://bugs.webkit.org/show_bug.cgi?id=52784
1228
1229         Broke Win compile on Chromium bots (Requested by dimich on
1230         #webkit).
1231
1232         * WebKit.gyp:
1233         * src/AssertMatchingEnums.cpp:
1234         * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
1235         (WebCore::toChromeClientImpl):
1236         (WebCore::toWebWidgetClient):
1237         (WebCore::getCookieJar):
1238         (WebCore::ChromiumBridge::cacheMetadata):
1239         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
1240         (WebCore::ChromiumBridge::clipboardReadPlainText):
1241         (WebCore::ChromiumBridge::clipboardReadHTML):
1242         (WebCore::ChromiumBridge::clipboardWriteSelection):
1243         (WebCore::ChromiumBridge::clipboardWritePlainText):
1244         (WebCore::ChromiumBridge::clipboardWriteURL):
1245         (WebCore::ChromiumBridge::clipboardWriteImage):
1246         (WebCore::ChromiumBridge::clipboardWriteData):
1247         (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
1248         (WebCore::ChromiumBridge::clipboardReadData):
1249         (WebCore::ChromiumBridge::clipboardReadFilenames):
1250         (WebCore::ChromiumBridge::setCookies):
1251         (WebCore::ChromiumBridge::cookies):
1252         (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
1253         (WebCore::ChromiumBridge::rawCookies):
1254         (WebCore::ChromiumBridge::deleteCookie):
1255         (WebCore::ChromiumBridge::cookiesEnabled):
1256         (WebCore::ChromiumBridge::prefetchDNS):
1257         (WebCore::ChromiumBridge::fileExists):
1258         (WebCore::ChromiumBridge::deleteFile):
1259         (WebCore::ChromiumBridge::deleteEmptyDirectory):
1260         (WebCore::ChromiumBridge::getFileSize):
1261         (WebCore::ChromiumBridge::revealFolderInOS):
1262         (WebCore::ChromiumBridge::getFileModificationTime):
1263         (WebCore::ChromiumBridge::directoryName):
1264         (WebCore::ChromiumBridge::pathByAppendingComponent):
1265         (WebCore::ChromiumBridge::makeAllDirectories):
1266         (WebCore::ChromiumBridge::getAbsolutePath):
1267         (WebCore::ChromiumBridge::isDirectory):
1268         (WebCore::ChromiumBridge::filePathToURL):
1269         (WebCore::ChromiumBridge::openFile):
1270         (WebCore::ChromiumBridge::closeFile):
1271         (WebCore::ChromiumBridge::seekFile):
1272         (WebCore::ChromiumBridge::truncateFile):
1273         (WebCore::ChromiumBridge::readFromFile):
1274         (WebCore::ChromiumBridge::writeToFile):
1275         (WebCore::ChromiumBridge::ensureFontLoaded):
1276         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
1277         (WebCore::ChromiumBridge::getRenderStyleForStrike):
1278         (WebCore::ChromiumBridge::loadFont):
1279         (WebCore::ChromiumBridge::databaseOpenFile):
1280         (WebCore::ChromiumBridge::databaseDeleteFile):
1281         (WebCore::ChromiumBridge::databaseGetFileAttributes):
1282         (WebCore::ChromiumBridge::databaseGetFileSize):
1283         (WebCore::ChromiumBridge::idbFactory):
1284         (WebCore::ChromiumBridge::idbShutdown):
1285         (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1286         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
1287         (WebCore::ChromiumBridge::computedDefaultLanguage):
1288         (WebCore::ChromiumBridge::layoutTestMode):
1289         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
1290         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
1291         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
1292         (WebCore::ChromiumBridge::mimeTypeForExtension):
1293         (WebCore::ChromiumBridge::mimeTypeFromFile):
1294         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
1295         (WebCore::ChromiumBridge::plugins):
1296         (WebCore::ChromiumBridge::pluginScriptableObject):
1297         (WebCore::ChromiumBridge::loadPlatformImageResource):
1298         (WebCore::ChromiumBridge::loadPlatformAudioResource):
1299         (WebCore::ChromiumBridge::decodeAudioFileData):
1300         (WebCore::ChromiumBridge::sandboxEnabled):
1301         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
1302         (WebCore::ChromiumBridge::setSharedTimerFireTime):
1303         (WebCore::ChromiumBridge::stopSharedTimer):
1304         (WebCore::ChromiumBridge::decrementStatsCounter):
1305         (WebCore::ChromiumBridge::incrementStatsCounter):
1306         (WebCore::ChromiumBridge::histogramCustomCounts):
1307         (WebCore::ChromiumBridge::histogramEnumeration):
1308         (WebCore::ChromiumBridge::suddenTerminationChanged):
1309         (WebCore::ChromiumBridge::currentTime):
1310         (WebCore::ChromiumBridge::paintButton):
1311         (WebCore::ChromiumBridge::paintMenuList):
1312         (WebCore::ChromiumBridge::paintScrollbarArrow):
1313         (WebCore::ChromiumBridge::paintScrollbarThumb):
1314         (WebCore::ChromiumBridge::paintScrollbarTrack):
1315         (WebCore::ChromiumBridge::paintSpinButton):
1316         (WebCore::ChromiumBridge::paintTextField):
1317         (WebCore::ChromiumBridge::paintTrackbar):
1318         (WebCore::ChromiumBridge::paintProgressBar):
1319         (WebCore::WebThemePart):
1320         (WebCore::WebThemeState):
1321         (WebCore::GetWebThemeExtraParams):
1322         (WebCore::ChromiumBridge::getThemePartSize):
1323         (WebCore::ChromiumBridge::paintThemePart):
1324         (WebCore::ChromiumBridge::traceEventBegin):
1325         (WebCore::ChromiumBridge::traceEventEnd):
1326         (WebCore::ChromiumBridge::visitedLinkHash):
1327         (WebCore::ChromiumBridge::isLinkVisited):
1328         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
1329         (WebCore::ChromiumBridge::memoryUsageMB):
1330         (WebCore::ChromiumBridge::actualMemoryUsageMB):
1331         (WebCore::ChromiumBridge::screenDepth):
1332         (WebCore::ChromiumBridge::screenDepthPerComponent):
1333         (WebCore::ChromiumBridge::screenIsMonochrome):
1334         (WebCore::ChromiumBridge::screenRect):
1335         (WebCore::ChromiumBridge::screenAvailableRect):
1336         (WebCore::ChromiumBridge::popupsAllowed):
1337         (WebCore::WorkerContextProxy::create):
1338         * src/ResourceHandle.cpp:
1339         (WebCore::ResourceHandle::cacheMetadata):
1340         * src/WebFrameImpl.cpp:
1341         (WebKit::WebFrameImpl::WebFrameImpl):
1342         (WebKit::WebFrameImpl::~WebFrameImpl):
1343         * src/WebViewImpl.cpp:
1344         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1345
1346 2011-01-19  Adam Klein  <adamk@chromium.org>
1347
1348         Reviewed by Darin Fisher.
1349
1350         [chromium] Rename ChromiumBridge to PlatformBridge
1351         https://bugs.webkit.org/show_bug.cgi?id=52471
1352
1353         * WebKit.gyp:
1354         * src/AssertMatchingEnums.cpp:
1355         * src/PlatformBridge.cpp:
1356         (WebCore::toChromeClientImpl):
1357         (WebCore::toWebWidgetClient):
1358         (WebCore::getCookieJar):
1359         (WebCore::PlatformBridge::cacheMetadata):
1360         (WebCore::PlatformBridge::clipboardIsFormatAvailable):
1361         (WebCore::PlatformBridge::clipboardReadPlainText):
1362         (WebCore::PlatformBridge::clipboardReadHTML):
1363         (WebCore::PlatformBridge::clipboardWriteSelection):
1364         (WebCore::PlatformBridge::clipboardWritePlainText):
1365         (WebCore::PlatformBridge::clipboardWriteURL):
1366         (WebCore::PlatformBridge::clipboardWriteImage):
1367         (WebCore::PlatformBridge::clipboardWriteData):
1368         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
1369         (WebCore::PlatformBridge::clipboardReadData):
1370         (WebCore::PlatformBridge::clipboardReadFilenames):
1371         (WebCore::PlatformBridge::setCookies):
1372         (WebCore::PlatformBridge::cookies):
1373         (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
1374         (WebCore::PlatformBridge::rawCookies):
1375         (WebCore::PlatformBridge::deleteCookie):
1376         (WebCore::PlatformBridge::cookiesEnabled):
1377         (WebCore::PlatformBridge::prefetchDNS):
1378         (WebCore::PlatformBridge::fileExists):
1379         (WebCore::PlatformBridge::deleteFile):
1380         (WebCore::PlatformBridge::deleteEmptyDirectory):
1381         (WebCore::PlatformBridge::getFileSize):
1382         (WebCore::PlatformBridge::revealFolderInOS):
1383         (WebCore::PlatformBridge::getFileModificationTime):
1384         (WebCore::PlatformBridge::directoryName):
1385         (WebCore::PlatformBridge::pathByAppendingComponent):
1386         (WebCore::PlatformBridge::makeAllDirectories):
1387         (WebCore::PlatformBridge::getAbsolutePath):
1388         (WebCore::PlatformBridge::isDirectory):
1389         (WebCore::PlatformBridge::filePathToURL):
1390         (WebCore::PlatformBridge::openFile):
1391         (WebCore::PlatformBridge::closeFile):
1392         (WebCore::PlatformBridge::seekFile):
1393         (WebCore::PlatformBridge::truncateFile):
1394         (WebCore::PlatformBridge::readFromFile):
1395         (WebCore::PlatformBridge::writeToFile):
1396         (WebCore::PlatformBridge::ensureFontLoaded):
1397         (WebCore::PlatformBridge::getFontFamilyForCharacters):
1398         (WebCore::PlatformBridge::getRenderStyleForStrike):
1399         (WebCore::PlatformBridge::loadFont):
1400         (WebCore::PlatformBridge::databaseOpenFile):
1401         (WebCore::PlatformBridge::databaseDeleteFile):
1402         (WebCore::PlatformBridge::databaseGetFileAttributes):
1403         (WebCore::PlatformBridge::databaseGetFileSize):
1404         (WebCore::PlatformBridge::idbFactory):
1405         (WebCore::PlatformBridge::idbShutdown):
1406         (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1407         (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
1408         (WebCore::PlatformBridge::computedDefaultLanguage):
1409         (WebCore::PlatformBridge::layoutTestMode):
1410         (WebCore::PlatformBridge::isSupportedImageMIMEType):
1411         (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
1412         (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
1413         (WebCore::PlatformBridge::mimeTypeForExtension):
1414         (WebCore::PlatformBridge::mimeTypeFromFile):
1415         (WebCore::PlatformBridge::preferredExtensionForMIMEType):
1416         (WebCore::PlatformBridge::plugins):
1417         (WebCore::PlatformBridge::pluginScriptableObject):
1418         (WebCore::PlatformBridge::loadPlatformImageResource):
1419         (WebCore::PlatformBridge::loadPlatformAudioResource):
1420         (WebCore::PlatformBridge::decodeAudioFileData):
1421         (WebCore::PlatformBridge::sandboxEnabled):
1422         (WebCore::PlatformBridge::setSharedTimerFiredFunction):
1423         (WebCore::PlatformBridge::setSharedTimerFireTime):
1424         (WebCore::PlatformBridge::stopSharedTimer):
1425         (WebCore::PlatformBridge::decrementStatsCounter):
1426         (WebCore::PlatformBridge::incrementStatsCounter):
1427         (WebCore::PlatformBridge::histogramCustomCounts):
1428         (WebCore::PlatformBridge::histogramEnumeration):
1429         (WebCore::PlatformBridge::suddenTerminationChanged):
1430         (WebCore::PlatformBridge::currentTime):
1431         (WebCore::PlatformBridge::paintButton):
1432         (WebCore::PlatformBridge::paintMenuList):
1433         (WebCore::PlatformBridge::paintScrollbarArrow):
1434         (WebCore::PlatformBridge::paintScrollbarThumb):
1435         (WebCore::PlatformBridge::paintScrollbarTrack):
1436         (WebCore::PlatformBridge::paintSpinButton):
1437         (WebCore::PlatformBridge::paintTextField):
1438         (WebCore::PlatformBridge::paintTrackbar):
1439         (WebCore::PlatformBridge::paintProgressBar):
1440         (WebCore::WebThemePart):
1441         (WebCore::WebThemeState):
1442         (WebCore::GetWebThemeExtraParams):
1443         (WebCore::PlatformBridge::getThemePartSize):
1444         (WebCore::PlatformBridge::paintThemePart):
1445         (WebCore::PlatformBridge::traceEventBegin):
1446         (WebCore::PlatformBridge::traceEventEnd):
1447         (WebCore::PlatformBridge::visitedLinkHash):
1448         (WebCore::PlatformBridge::isLinkVisited):
1449         (WebCore::PlatformBridge::notifyJSOutOfMemory):
1450         (WebCore::PlatformBridge::memoryUsageMB):
1451         (WebCore::PlatformBridge::actualMemoryUsageMB):
1452         (WebCore::PlatformBridge::screenDepth):
1453         (WebCore::PlatformBridge::screenDepthPerComponent):
1454         (WebCore::PlatformBridge::screenIsMonochrome):
1455         (WebCore::PlatformBridge::screenRect):
1456         (WebCore::PlatformBridge::screenAvailableRect):
1457         (WebCore::PlatformBridge::popupsAllowed):
1458         (WebCore::WorkerContextProxy::create):
1459         * src/ResourceHandle.cpp:
1460         (WebCore::ResourceHandle::cacheMetadata):
1461         * src/WebFrameImpl.cpp:
1462         (WebKit::WebFrameImpl::WebFrameImpl):
1463         (WebKit::WebFrameImpl::~WebFrameImpl):
1464         * src/WebViewImpl.cpp:
1465         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1466
1467 2011-01-19  James Robinson  <jamesr@chromium.org>
1468
1469         Unreviewed, rolling out r76194.
1470         http://trac.webkit.org/changeset/76194
1471         https://bugs.webkit.org/show_bug.cgi?id=51218
1472
1473         Caused mysterious compile failure on the chromium win
1474         build.webkit.org bots
1475
1476         * features.gypi:
1477         * public/WebWidget.h:
1478         * public/WebWidgetClient.h:
1479         * src/ChromeClientImpl.cpp:
1480         * src/ChromeClientImpl.h:
1481         * src/WebPopupMenuImpl.cpp:
1482         * src/WebPopupMenuImpl.h:
1483         * src/WebViewImpl.cpp:
1484         * src/WebViewImpl.h:
1485
1486 2011-01-19  James Robinson  <jamesr@chromium.org>
1487
1488         Reviewed by Darin Fisher.
1489
1490         Implement mozilla's requestAnimationFrame API
1491         https://bugs.webkit.org/show_bug.cgi?id=51218
1492
1493         Chromium WebKit API support for window.webkitRequestAnimationFrame()
1494
1495         * features.gypi:
1496         * public/WebWidget.h:
1497         * public/WebWidgetClient.h:
1498         (WebKit::WebWidgetClient::scheduleAnimation):
1499         * src/ChromeClientImpl.cpp:
1500         (WebKit::ChromeClientImpl::scheduleAnimation):
1501         * src/ChromeClientImpl.h:
1502         * src/WebPopupMenuImpl.cpp:
1503         (WebKit::WebPopupMenuImpl::animate):
1504         (WebKit::WebPopupMenuImpl::scheduleAnimation):
1505         * src/WebPopupMenuImpl.h:
1506         * src/WebViewImpl.cpp:
1507         (WebKit::WebViewImpl::animate):
1508         * src/WebViewImpl.h:
1509
1510 2011-01-19  Tony Chang  <tony@chromium.org>
1511
1512         Unreviewed, roll chromium deps to pick up fixes for the linux build.
1513
1514         * DEPS:
1515
1516 2011-01-19  Satish Sampath  <satish@chromium.org>
1517
1518         Reviewed by Jeremy Orlow.
1519
1520         Send origin/url as part of speech input requests to the embedder.
1521         https://bugs.webkit.org/show_bug.cgi?id=52718
1522
1523         * public/WebSpeechInputController.h:
1524         (WebKit::WebSpeechInputController::startRecognition): Updated prototype.
1525         * src/SpeechInputClientImpl.cpp:
1526         (WebKit::SpeechInputClientImpl::startRecognition): Pass up additional origin parameter.
1527         * src/SpeechInputClientImpl.h:
1528         * src/WebSpeechInputControllerMockImpl.cpp: Updated code to pass additional parameter.
1529         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1530         * src/WebSpeechInputControllerMockImpl.h: Added new variant of startRecognition method.
1531
1532 2011-01-19  Pavel Feldman  <pfeldman@chromium.org>
1533
1534         Not reviewed: updating Chromium devtools sanity tests for downstream use.
1535
1536         * src/js/Tests.js:
1537         (.TestSuite.prototype._checkExecutionLine):
1538
1539 2011-01-18  Pavel Feldman  <pfeldman@chromium.org>
1540
1541         Reviewed by Yury Semikhatsky.
1542
1543         Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol.
1544         https://bugs.webkit.org/show_bug.cgi?id=52652
1545
1546         Calls served by the InjectedScript should be first class protocol
1547         citizens, not dispatched via single protocol message.
1548
1549         * src/js/Tests.js:
1550
1551 2011-01-18  Victoria Kirst  <vrk@chromium.org>
1552
1553         Reviewed by Kenneth Russell.
1554
1555         [chromium] Adding support for YV16 video frame formats.
1556         https://bugs.webkit.org/show_bug.cgi?id=52345
1557
1558         * src/VideoFrameChromiumImpl.cpp:
1559         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
1560
1561 2011-01-18  Adam Klein  <adamk@chromium.org>
1562
1563         Reviewed by Darin Fisher.
1564
1565         [Chromium] Replace ChromiumBridge::widgetSetCursor with ChromeClient::setCursor
1566         https://bugs.webkit.org/show_bug.cgi?id=42236
1567
1568         * src/ChromeClientImpl.cpp:
1569         (WebKit::ChromeClientImpl::setCursor):
1570         * src/ChromeClientImpl.h:
1571         * src/ChromiumBridge.cpp:
1572
1573 2011-01-17  Nico Weber  <thakis@chromium.org>
1574
1575         Unreviewed.
1576
1577         Roll chromium DEPS forward to pick up the skia roll to skia r692.
1578         https://bugs.webkit.org/show_bug.cgi?id=52600
1579
1580         * DEPS:
1581
1582 2011-01-17  Naoki Takano  <takano.naoki@gmail.com>
1583
1584         Reviewed by Kent Tamura.
1585
1586         [Chromium] Fix popup menu re-positioning when the menu is opened upward, above the corresponding form field.
1587         https://bugs.webkit.org/show_bug.cgi?id=51382
1588         http://crbug.com/60427
1589
1590         Calculate correct location of popup window whenever the items in the window change.
1591
1592         No new tests, because this fix is for Chromium project and hard to test only in WebKit project
1593
1594        * WebKit/chromium/src/WebViewImpl.cpp:
1595        (WebKit::WebViewImpl::refreshAutoFillPopup): Change the logic in refreshAutoFilPopup() to check both the location and the size of popup window.
1596
1597 2011-01-17  Pavel Feldman  <pfeldman@chromium.org>
1598
1599         Reviewed by Yury Semikhatsky.
1600
1601         Chromium: updated DevTools tests.
1602
1603         * src/js/Tests.js:
1604         (.TestSuite.prototype._waitForScriptPause):
1605         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
1606         (.TestSuite.prototype._waitUntilScriptsAreParsed):
1607
1608 2011-01-17  Adam Barth  <abarth@webkit.org>
1609
1610         Update path to reflect new WebKit directory location.
1611
1612         * tests/WebFrameTest.cpp:
1613         (WebKit::WebFrameTest::registerMockedURLLoad):
1614
1615 2011-01-16  Kent Tamura  <tkent@chromium.org>
1616
1617         Unreviewed, Chromium-linux build fix.
1618
1619         * gyp_webkit: Fix a relative path to the top directory.
1620
1621 2011-01-16  Adam Barth  <abarth@webkit.org>
1622
1623         Roll Chromium DEPS to pick up the changes reflecting the new location
1624         of WebKit.
1625
1626         * DEPS:
1627
1628 2011-01-16  Adam Barth  <abarth@webkit.org>
1629
1630         Rubber-stamped by Eric Seidel.
1631
1632         Move WebKit into Source
1633         https://bugs.webkit.org/show_bug.cgi?id=52530
1634
1635         * WebKit.grd:
1636         * WebKit.gyp:
1637
1638 2011-01-15  Jochen Eisinger  <jochen@chromium.org>
1639
1640         Reviewed by David Levin.
1641
1642         [chromium] remove obsolete createView method
1643         https://bugs.webkit.org/show_bug.cgi?id=52437
1644
1645         * public/WebViewClient.h:
1646         (WebKit::WebViewClient::createView):
1647
1648 2011-01-14  Xiyuan Xia  <xiyuan@chromium.org>
1649
1650         Reviewed by Darin Fisher.
1651
1652         Prepare Linux WebThemeEngine interface to support new theme parts.
1653         https://bugs.webkit.org/show_bug.cgi?id=52413
1654
1655         * public/linux/WebThemeEngine.h:
1656
1657 2011-01-14  Yuzo Fujishima  <yuzo@google.com>
1658
1659         Reviewed by Antti Koivisto.
1660
1661         Rename cache() to memoryCache()
1662         https://bugs.webkit.org/show_bug.cgi?id=52433
1663
1664         * src/WebCache.cpp:
1665         (WebKit::WebCache::setCapacities):
1666         (WebKit::WebCache::clear):
1667         (WebKit::WebCache::getUsageStats):
1668         (WebKit::WebCache::getResourceTypeStats):
1669
1670 2011-01-14  Jochen Eisinger  <jochen@chromium.org>
1671
1672         Unreviewed, roll chromium deps to r71432.
1673
1674         * DEPS:
1675
1676 2011-01-14  Adam Klein  <adamk@chromium.org>
1677
1678         Reviewed by Darin Fisher.
1679
1680         [Chromium] Replace BackForwardListClient with BackForwardControllerClient/BackForwardList
1681         https://bugs.webkit.org/show_bug.cgi?id=42237
1682
1683         Replace Chromium-specific BackForwardListClient in WebCore with a Chromium impl
1684         of the BackForwardList interface.
1685
1686         * WebKit.gyp:
1687         * src/BackForwardListChromium.cpp: Copied from WebKit/chromium/src/BackForwardListClientImpl.cpp.
1688         (WebKit::BackForwardListChromium::create):
1689         (WebKit::BackForwardListChromium::BackForwardListChromium):
1690         (WebKit::BackForwardListChromium::~BackForwardListChromium):
1691         (WebKit::BackForwardListChromium::addItem):
1692         (WebKit::BackForwardListChromium::goToItem):
1693         (WebKit::BackForwardListChromium::itemAtIndex):
1694         (WebKit::BackForwardListChromium::backListCount):
1695         (WebKit::BackForwardListChromium::forwardListCount):
1696         (WebKit::BackForwardListChromium::isActive):
1697         (WebKit::BackForwardListChromium::close):
1698         * src/BackForwardListChromium.h: Copied from WebKit/chromium/src/BackForwardListClientImpl.h.
1699         * src/BackForwardListClientImpl.cpp: Removed.
1700         * src/BackForwardListClientImpl.h: Removed.
1701         * src/FrameLoaderClientImpl.cpp:
1702         * src/WebFrameImpl.cpp:
1703         (WebKit::WebFrameImpl::loadHistoryItem):
1704         (WebKit::WebFrameImpl::currentHistoryItem):
1705         * src/WebViewImpl.cpp:
1706         (WebKit::WebViewImpl::WebViewImpl):
1707         * src/WebViewImpl.h:
1708
1709 2011-01-14  Kent Tamura  <tkent@chromium.org>
1710
1711         Reviewed by Darin Fisher.
1712
1713         [Chromium] WebKit API: Add a function for form interactive validation setting
1714         https://bugs.webkit.org/show_bug.cgi?id=52430
1715
1716         * public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled().
1717         * src/WebSettingsImpl.cpp:
1718         (WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented.
1719         * src/WebSettingsImpl.h: Add a declaration.
1720
1721 2011-01-14  Vincent Scheib  <scheib@chromium.org>
1722
1723         Reviewed by David Levin.
1724
1725         Add support to DumpRenderTree to use the GPU rather than software renderer
1726         https://bugs.webkit.org/show_bug.cgi?id=52333
1727
1728         * DEPS: Moved forward to take required support from webkit_support.h
1729         * WebKit.gyp: DumpRenderTree depends on Angle on windows
1730
1731 2011-01-14  Finnur Thorarinsson  <finnur.webkit@gmail.com>
1732
1733         Reviewed by Ojan Vafai.
1734
1735         Address some user-select-none issues better in our Find in page scoping
1736         function.
1737
1738         The scoping function is in part based on Editor::countMatchesForText
1739         (formerly Frame::markAllMatchesForText), but was rewritten with
1740         asychronous search and interruptability in mind. At the time the
1741         function was written, countMatchesForText didn't work well with
1742         user-select-none style but that has now changed. While
1743         investigating http://crbug.com/68494 I noticed WebKit had fixed this
1744         very problem in the countMatchesForText and I believe we should make
1745         the same changes in our platform code. Therefore, this changelist
1746         adopts the same approach by integrating:
1747         https://bugs.webkit.org/show_bug.cgi?id=33508
1748         (r53142: handling user-select-none better) and
1749         https://bugs.webkit.org/show_bug.cgi?id=51623
1750         (r74886: handling match within textfield better).
1751         For more details see those changelists.
1752
1753         This changelist, however, is tracked here:
1754         https://bugs.webkit.org/show_bug.cgi?id=52367
1755
1756         The original changelists did not come with layout tests, but I'm adding
1757         a test on the Chromium side for this.
1758
1759         * src/WebFrameImpl.cpp:
1760         (WebKit::WebFrameImpl::scopeStringMatches):
1761
1762 2011-01-14  Pavel Feldman  <pfeldman@chromium.org>
1763
1764         Not reviewed: build fix.
1765
1766         * src/WebDevToolsAgentImpl.h:
1767
1768 2011-01-13  John Abd-El-Malek  <jam@chromium.org>
1769
1770         Reviewed by Mihai Parparita.
1771
1772         [chromium] Fix minor type in plugin printing
1773         https://bugs.webkit.org/show_bug.cgi?id=52410
1774
1775         * src/WebFrameImpl.cpp:
1776         (WebKit::WebFrameImpl::printBegin):
1777
1778 2011-01-13  Adam Barth  <abarth@webkit.org>
1779
1780         Reviewed by Eric Seidel.
1781
1782         Rename RGBA32Buffer to ImageFrame
1783         https://bugs.webkit.org/show_bug.cgi?id=52363
1784
1785         Update references to the new name.
1786
1787         * src/WebImageDecoder.cpp:
1788         (WebKit::WebImageDecoder::isFrameCompleteAtIndex):
1789         (WebKit::WebImageDecoder::getFrameAtIndex):
1790
1791 2011-01-13  John Abd-El-Malek  <jam@chromium.org>
1792
1793         Reviewed by Tony Chang.
1794
1795         [chromium]: Only swallow ctrl+c for windowless plugins if we know the plugin has a selection
1796         https://bugs.webkit.org/show_bug.cgi?id=52393
1797
1798         * src/WebPluginContainerImpl.cpp:
1799         (WebKit::WebPluginContainerImpl::copy):
1800         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
1801
1802 2011-01-11  John Abd-El-Malek  <jam@chromium.org>
1803
1804         Reviewed by Darin Fisher.
1805
1806         [chromium] Add support to allow printing just a plugin in a frame
1807         https://bugs.webkit.org/show_bug.cgi?id=52134
1808
1809         * public/WebContextMenuData.h:
1810         * public/WebFrame.h:
1811         * src/ContextMenuClientImpl.cpp:
1812         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1813         * src/WebFrameImpl.cpp:
1814         (WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
1815         (WebKit::ChromePluginPrintContext::end):
1816         (WebKit::ChromePluginPrintContext::computePageRects):
1817         (WebKit::ChromePluginPrintContext::spoolPage):
1818         (WebKit::WebFrameImpl::printBegin):
1819
1820 2011-01-13  Tony Chang  <tony@chromium.org>
1821
1822         Reviewed by Kent Tamura.
1823
1824         [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac
1825         https://bugs.webkit.org/show_bug.cgi?id=52332
1826
1827         * WebKit.gyp: Remove WebKitTestNetscapePlugIn
1828
1829 2011-01-12  Pavel Feldman  <pfeldman@chromium.org>
1830
1831         Reviewed by Yury Semikhatsky.
1832
1833         Web Inspector: embed injected script into the backend.
1834         https://bugs.webkit.org/show_bug.cgi?id=52312
1835
1836         * WebKit.grd:
1837
1838 2011-01-12  Mihai Parparita  <mihaip@chromium.org>
1839
1840         Reviewed by David Levin.
1841
1842         [Chromium] Remove PartScrollbarHoriztonalTrack
1843         https://bugs.webkit.org/show_bug.cgi?id=52329
1844         
1845         Remove PartScrollbarHoriztonalTrack now that usages of it were removed
1846         with http://crrev.com/71249.
1847
1848         * DEPS:
1849         * public/linux/WebThemeEngine.h:
1850
1851 2010-12-29  Yury Semikhatsky  <yurys@chromium.org>
1852
1853         Reviewed by Pavel Feldman.
1854
1855         inspector/timeline-network-resource.html fails when run twice
1856         https://bugs.webkit.org/show_bug.cgi?id=37394
1857
1858         Send didReceiveResponse notification to the timeline agent from ResourceLoadNotifier
1859         instead of ResourceLoader::didReceiveResponse to cover the cases when resources
1860         are loaded from memory cache.
1861
1862         Network notifications are now sent to InspectorInstrumentation which dispatches
1863         them to interested agents and InspectorController.
1864
1865         * src/SharedWorkerRepository.cpp:
1866         (WebCore::SharedWorkerScriptLoader::notifyFinished):
1867         * src/WebDevToolsAgentImpl.cpp:
1868         (WebKit::WebDevToolsAgentImpl::mainFrame):
1869         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
1870         (WebKit::WebDevToolsAgentImpl::willSendRequest):
1871         (WebKit::WebDevToolsAgentImpl::didReceiveData):
1872         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
1873         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
1874         (WebKit::WebDevToolsAgentImpl::didFailLoading):
1875         * src/WebDevToolsAgentImpl.h:
1876
1877 2011-01-11  Tony Chang  <tony@chromium.org>
1878
1879         Reviewed by Eric Seidel.
1880
1881         [chromium] copy test netscape plugin into TestNetscapePlugin
1882         https://bugs.webkit.org/show_bug.cgi?id=52232
1883
1884         * WebKit.gyp: Make a copy of the TestNetscapePlugIn in
1885             TestNetscapePlugIn and WebKitTestNetscapePlugIn
1886
1887 2011-01-11  Kenneth Russell  <kbr@google.com>
1888
1889         Reviewed by James Robinson.
1890
1891         [chromium] Move WebGraphicsContext3DDefaultImpl to Chromium repository
1892         https://bugs.webkit.org/show_bug.cgi?id=52235
1893
1894         Deleted WebGraphicsContext3DDefaultImpl, which has been moved to
1895         the Chromium repository under WebGraphicsContext3DInProcessImpl.
1896         Removed WebGraphicsContext3D::createDefault(). Rolled forward
1897         Chromium version to pick up needed changes.
1898
1899         Tested with build-webkit --chromium --debug and a run of the WebGL
1900         layout tests in DRT.
1901
1902         * DEPS:
1903         * WebKit.gyp:
1904         * public/WebGraphicsContext3D.h:
1905         * src/GraphicsContext3DChromium.cpp:
1906         * src/WebGraphicsContext3D.cpp: Removed.
1907         * src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
1908         * src/WebGraphicsContext3DDefaultImpl.h: Removed.
1909
1910 2011-01-11  Pavel Feldman  <pfeldman@chromium.org>
1911
1912         Reviewed by Yury Semikhatsky.
1913
1914         Chromium DevTools: get rid of APU-related code in WebKit/chromium.
1915         https://bugs.webkit.org/show_bug.cgi?id=52152
1916
1917         * src/WebDevToolsAgentImpl.cpp:
1918         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1919         (WebKit::WebDevToolsAgentImpl::detach):
1920         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
1921         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
1922         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
1923         * src/WebDevToolsAgentImpl.h:
1924
1925 2011-01-10  Adam Barth  <abarth@webkit.org>
1926
1927         Reviewed by Darin Adler.
1928
1929         Introduce the notion of a "display-isolated" URL scheme for use by
1930         Chrome-internal URLs
1931         https://bugs.webkit.org/show_bug.cgi?id=50182
1932
1933         This patch adds a Chromium API for registering schemes as
1934         display-isolated.  In a subsequent patch, I'll change the "chrome"
1935         scheme in Chrome to be display isolated instead of local.  That will
1936         prevent file URLs from linking to chrome URLs.
1937
1938         * public/WebSecurityPolicy.h:
1939         * src/WebSecurityPolicy.cpp:
1940         (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
1941
1942 2011-01-10  John Abd-El-Malek  <jam@chromium.org>
1943
1944         Reviewed by James Robinson.
1945
1946         [chromium] Call WebAutoFillClient instead of WebViewClient for autofill related callbacks
1947         https://bugs.webkit.org/show_bug.cgi?id=52169
1948
1949         * public/WebView.h:
1950         * public/WebViewClient.h:
1951         (WebKit::WebViewClient::didUpdateInspectorSetting):
1952         * src/AutoFillPopupMenuClient.cpp:
1953         (WebKit::AutoFillPopupMenuClient::valueChanged):
1954         (WebKit::AutoFillPopupMenuClient::selectionChanged):
1955         (WebKit::AutoFillPopupMenuClient::selectionCleared):
1956         (WebKit::AutoFillPopupMenuClient::popupDidHide):
1957         * src/EditorClientImpl.cpp:
1958         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
1959         (WebKit::EditorClientImpl::textFieldDidEndEditing):
1960         (WebKit::EditorClientImpl::textDidChangeInTextField):
1961         (WebKit::EditorClientImpl::doAutofill):
1962         (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
1963         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
1964         * src/WebViewImpl.cpp:
1965         (WebKit::WebView::create):
1966         (WebKit::WebViewImpl::WebViewImpl):
1967         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
1968         * src/WebViewImpl.h:
1969         (WebKit::WebViewImpl::autoFillClient):
1970         * src/WebWorkerBase.cpp:
1971         (WebKit::WebWorkerBase::initializeLoader):
1972
1973 2011-01-10  John Knottenbelt  <jknotten@chromium.org>
1974
1975         Reviewed by Jeremy Orlow.
1976
1977         [Chromium] Remove non-client-based Geolocation code
1978         https://bugs.webkit.org/show_bug.cgi?id=50921
1979
1980         * WebKit.gyp:
1981         * public/WebGeolocationService.h: Removed.
1982         * public/WebGeolocationServiceBridge.h: Removed.
1983         * public/WebGeolocationServiceMock.h: Removed.
1984         * src/AssertMatchingEnums.cpp:
1985         * src/ChromeClientImpl.cpp:
1986         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
1987         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
1988         * src/ChromiumBridge.cpp:
1989         * src/WebGeolocationServiceBridgeImpl.cpp: Removed.
1990         * src/WebGeolocationServiceBridgeImpl.h: Removed.
1991         * src/WebGeolocationServiceMock.cpp: Removed.
1992         * src/WebViewImpl.cpp:
1993         (WebKit::WebViewImpl::WebViewImpl):
1994         * src/WebViewImpl.h:
1995
1996 2011-01-09  Johnny Ding  <jnd@chromium.org>
1997
1998         Unreviewed, fix Chromium windows compilation error according to James Robinson's report.
1999
2000         https://bugs.webkit.org/show_bug.cgi?id=41441
2001         Fix Chromium window compilation error.
2002
2003         * public/WebViewClient.h:
2004         (WebKit::WebViewClient::createView):
2005
2006 2011-01-09  Xianzhu Wang  <phnixwxz@gmail.com>
2007
2008         Reviewed by Darin Fisher.
2009
2010         https://bugs.webkit.org/show_bug.cgi?id=41441
2011         createWindow method should only do window-creating without URL navigation.
2012         Pass URL request to createView.
2013
2014         * public/WebViewClient.h:
2015         (WebKit::WebViewClient::createView):
2016         * src/ChromeClientImpl.cpp:
2017         (WebKit::ChromeClientImpl::createWindow):
2018
2019 2011-01-08  Adam Barth  <abarth@webkit.org>
2020
2021         Update Chromium DEPS to pickup new GYP files.
2022
2023         * DEPS:
2024
2025 2011-01-07  Adam Barth  <abarth@webkit.org>
2026
2027         Rubber-stamped by Eric Seidel.
2028
2029         Move WebCore to Source
2030         https://bugs.webkit.org/show_bug.cgi?id=52050
2031
2032         Update references to WebCore.
2033
2034         * WebKit.grd:
2035         * WebKit.gyp:
2036
2037 2011-01-07  Mihai Parparita  <mihaip@chromium.org>
2038
2039         Reviewed by Darin Fisher.
2040
2041         [Chromium] Scrollbar code cleanup
2042         https://bugs.webkit.org/show_bug.cgi?id=52073
2043
2044         Scrollbar code cleanup:
2045         - Fix typo in Linux scrollbar enum name
2046
2047         * public/linux/WebThemeEngine.h:
2048         * src/ChromiumBridge.cpp:
2049         (WebCore::WebThemePart):
2050         (WebCore::GetWebThemeExtraParams):
2051
2052 2011-01-07  James Robinson  <jamesr@chromium.org>
2053
2054         Revert "Implement mozilla's animationTime property"
2055         https://bugs.webkit.org/show_bug.cgi?id=51952
2056
2057         This approach isn't quite right.
2058
2059         * public/WebWidget.h:
2060         * src/WebPopupMenuImpl.cpp:
2061         * src/WebPopupMenuImpl.h:
2062         * src/WebViewImpl.cpp:
2063         * src/WebViewImpl.h:
2064
2065 2011-01-05  Zhenyao Mo  <zmo@google.com>
2066
2067         Reviewed by Kenneth Russell.
2068
2069         Define GC3D types to match GL types and use them in GraphicsContext3D
2070         https://bugs.webkit.org/show_bug.cgi?id=45557
2071
2072         * src/GraphicsContext3DChromium.cpp:
2073         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
2074         (WebCore::GraphicsContext3DInternal::bufferData):
2075         (WebCore::GraphicsContext3DInternal::bufferSubData):
2076         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
2077         (WebCore::GraphicsContext3DInternal::getActiveUniform):
2078         (WebCore::GraphicsContext3DInternal::getAttribLocation):
2079         (WebCore::GraphicsContext3DInternal::getString):
2080         (WebCore::GraphicsContext3DInternal::getUniformLocation):
2081         (WebCore::GraphicsContext3DInternal::texImage2D):
2082         (WebCore::GraphicsContext3DInternal::texSubImage2D):
2083         (WebCore::GraphicsContext3DInternal::uniform1fv):
2084         (WebCore::GraphicsContext3DInternal::uniform1iv):
2085         (WebCore::GraphicsContext3DInternal::uniform2fv):
2086         (WebCore::GraphicsContext3DInternal::uniform2iv):
2087         (WebCore::GraphicsContext3DInternal::uniform3fv):
2088         (WebCore::GraphicsContext3DInternal::uniform3iv):
2089         (WebCore::GraphicsContext3DInternal::uniform4fv):
2090         (WebCore::GraphicsContext3DInternal::uniform4iv):
2091         (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
2092         (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
2093         (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
2094         * src/GraphicsContext3DInternal.h:
2095
2096 2011-01-06  James Simonsen  <simonjam@chromium.org>
2097
2098         Reviewed by Darin Fisher.
2099
2100         [Web Timing] Remove vendor prefix
2101         https://bugs.webkit.org/show_bug.cgi?id=48922
2102
2103         * src/WebFrameImpl.cpp:
2104         (WebKit::WebFrameImpl::performance): Rename to performance.
2105
2106 2011-01-06  James Robinson  <jamesr@chromium.org>
2107
2108         Reviewed by Simon Fraser.
2109
2110         Implement mozilla's animationTime property
2111         https://bugs.webkit.org/show_bug.cgi?id=51952
2112
2113         WebKit API support for webkitAnimationTime.
2114
2115         * public/WebWidget.h:
2116         * src/WebPopupMenuImpl.cpp:
2117         (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime):
2118         * src/WebPopupMenuImpl.h:
2119         * src/WebViewImpl.cpp:
2120         (WebKit::WebViewImpl::clearCurrentAnimationTime):
2121         * src/WebViewImpl.h:
2122
2123 2010-12-29  John Abd-El-Malek  <jam@chromium.org>
2124
2125         Reviewed by Darin Fisher.
2126
2127         [chromium] Add a WebAutoFillClient interface that moves some functions from WebViewClient
2128         https://bugs.webkit.org/show_bug.cgi?id=51710
2129
2130         * WebKit.gyp:
2131         * public/WebAutoFillClient.h: Added.
2132         (WebKit::WebAutoFillClient::didAcceptAutoFillSuggestion):
2133         (WebKit::WebAutoFillClient::didSelectAutoFillSuggestion):
2134         (WebKit::WebAutoFillClient::didClearAutoFillSelection):
2135         (WebKit::WebAutoFillClient::removeAutocompleteSugestion):
2136         (WebKit::WebAutoFillClient::didAcceptAutocompleteSuggestion):
2137         (WebKit::WebAutoFillClient::textFieldDidBeginEditing):
2138         (WebKit::WebAutoFillClient::textFieldDidEndEditing):
2139         (WebKit::WebAutoFillClient::textFieldDidChange):
2140         (WebKit::WebAutoFillClient::textFieldDidReceiveKeyDown):
2141         (WebKit::WebAutoFillClient::~WebAutoFillClient):
2142
2143 2011-01-05  Chris Rogers  <crogers@google.com>
2144
2145         Reviewed by Darin Fisher.
2146
2147         Add WebKitClient::createAudioDevice() for Chromium port of web audio API
2148         https://bugs.webkit.org/show_bug.cgi?id=51424
2149
2150         * WebKit.gyp:
2151         * public/WebAudioDevice.h: Added.
2152         (WebKit::WebAudioDevice::RenderCallback::~RenderCallback):
2153         (WebKit::WebAudioDevice::~WebAudioDevice):
2154         * public/WebKitClient.h:
2155         (WebKit::WebKitClient::createAudioDevice):
2156         * src/AudioDestinationChromium.cpp: Added.
2157         (WebCore::AudioDestination::create):
2158         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2159         (WebCore::AudioDestinationChromium::~AudioDestinationChromium):
2160         (WebCore::AudioDestinationChromium::start):
2161         (WebCore::AudioDestinationChromium::stop):
2162         (WebCore::AudioDestination::hardwareSampleRate):
2163         (WebCore::AudioDestinationChromium::render):
2164         * src/AudioDestinationChromium.h: Added.
2165         (WebCore::AudioDestinationChromium::isPlaying):
2166         (WebCore::AudioDestinationChromium::sampleRate):
2167
2168 2011-01-05  David Levin  <levin@chromium.org>
2169
2170         Reviewed by Darin Fisher.
2171
2172         [chromium] WEBKIT_API and styling fixes for the chromium api.
2173         https://bugs.webkit.org/show_bug.cgi?id=51863
2174
2175         Removed some incorrect uses of WEBKIT_API.
2176         Fixed some abbreviations by making them whole words.
2177
2178         * public/WebAnimationController.h: Removed WEBKIT_API from virtual functions.
2179         * public/WebFormElement.h: Removed WEBKIT_API from inline functions
2180         and fixed some abbreviations.
2181         (WebKit::WebFormElement::WebFormElement):
2182         (WebKit::WebFormElement::operator=):
2183         (WebKit::WebFormElement::assign):
2184         * public/WebIDBDatabaseError.h: Ditto.
2185         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
2186         (WebKit::WebIDBDatabaseError::operator=):
2187         * public/WebInputElement.h: Ditto.
2188         (WebKit::WebInputElement::WebInputElement):
2189         (WebKit::WebInputElement::operator=):
2190         (WebKit::WebInputElement::assign):
2191         * public/WebLabelElement.h: Ditto.
2192         (WebKit::WebLabelElement::WebLabelElement):
2193         (WebKit::WebLabelElement::operator=):
2194         (WebKit::WebLabelElement::assign):
2195         * public/WebOptionElement.h: Ditto.
2196         (WebKit::WebOptionElement::WebOptionElement):
2197         (WebKit::WebOptionElement::operator=):
2198         (WebKit::WebOptionElement::assign):
2199         * public/WebSelectElement.h: Ditto (and minor spacing cleanup).
2200         (WebKit::WebSelectElement::WebSelectElement):
2201         (WebKit::WebSelectElement::operator=):
2202         (WebKit::WebSelectElement::assign):
2203
2204 2011-01-05  Hans Wennborg  <hans@chromium.org>
2205
2206         Reviewed by David Levin.
2207
2208         [Chromium] WebIDBKey clean-up
2209         https://bugs.webkit.org/show_bug.cgi?id=51925
2210
2211         Remove constructors that are no longer used since the
2212         Chromium side has been updated.
2213
2214         * public/WebIDBKey.h:
2215
2216 2011-01-04  Darin Fisher  <darin@chromium.org>
2217
2218         Reviewed by David Levin.
2219
2220         Update README file with a description of the WEBKIT_API macro and
2221         guidelines for its usage.  Also document the various WEBKIT_USING_*
2222         macros.
2223
2224         https://bugs.webkit.org/show_bug.cgi?id=51880
2225
2226         * README:
2227
2228 2011-01-04  Evan Martin  <evan@chromium.org>
2229
2230         Reviewed by Tony Chang.
2231
2232         [chromium] depend on harfbuzz explicitly
2233         https://bugs.webkit.org/show_bug.cgi?id=51895
2234
2235         Update Chromium DEPS to pick up newer Chromium version
2236         that simplifies expressing the Harfbuzz dependency.
2237
2238         * DEPS:
2239
2240 2011-01-04  Zhe Su  <suzhe@chromium.org>
2241
2242         Reviewed by Kenneth Russell.
2243
2244         Changes:
2245         1. Add WebKit::WebWidget::confirmComposition(const WebString& text)
2246            This new method corresponds to Editor::confirmComposition(text) and
2247            Editor::insertText(text). It'll be used by both DumpRenderTree's
2248            TextInputController and chromium browser.
2249         2. Fix WebFrameImpl::insertText
2250            It should call Editor::confirmComposition(text) rather than
2251            Editor::insertText(text) if there is an ongoing composition.
2252            It matches the behavior of WebKit Mac port.
2253         3. Fix WebFrameImpl::setMarkedText
2254            Editor::confirmComposition(text) shouldn't be called in this
2255            method, which incorrectly inserts the text.
2256
2257         https://bugs.webkit.org/show_bug.cgi?id=51693
2258
2259         * public/WebWidget.h:
2260         * src/WebFrameImpl.cpp:
2261         (WebKit::WebFrameImpl::insertText):
2262         (WebKit::WebFrameImpl::setMarkedText):
2263         * src/WebPopupMenuImpl.cpp:
2264         (WebKit::WebPopupMenuImpl::confirmComposition):
2265         * src/WebPopupMenuImpl.h:
2266         * src/WebViewImpl.cpp:
2267         (WebKit::WebViewImpl::confirmComposition):
2268         * src/WebViewImpl.h:
2269         * tests/PopupMenuTest.cpp:
2270         (WebKit::TestWebWidget::confirmComposition):
2271
2272 2011-01-03  Daniel Bates  <dbates@rim.com>
2273
2274         Attempt to fix the Chromium Linux Release build after changeset 74895 <http://trac.webkit.org/changeset/74895>.
2275
2276         The portion of the patch in <https://bugs.webkit.org/show_bug.cgi?id=51791> that modified the
2277         file src/WebSearchableFormData.cpp was not landed (why?). Although the change log entry
2278         associated with this change was landed.
2279
2280         * src/WebSearchableFormData.cpp:
2281         (HTMLNames::IsInDefaultState):
2282
2283 2011-01-02  Dirk Schulze  <krit@webkit.org>
2284
2285         Reviewed by Simon Fraser.
2286
2287         Clarify ImageBuffer and ImageData relationship
2288         https://bugs.webkit.org/show_bug.cgi?id=51297
2289
2290         Use ByteArray instead of ImageData.
2291
2292         * src/WebViewImpl.cpp:
2293         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2294
2295 2011-01-01  Adam Barth  <abarth@webkit.org>
2296
2297         Reviewed by Eric Seidel.
2298
2299         Move JavaScriptCore to Source
2300         https://bugs.webkit.org/show_bug.cgi?id=51604
2301
2302         * WebKit.gyp:
2303           - Point to JavaScriptCore in its new location.
2304
2305 2010-12-30  Mihai Parparita  <mihaip@chromium.org>
2306
2307         Reviewed by Kent Tamura.
2308
2309         [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
2310         https://bugs.webkit.org/show_bug.cgi?id=51728
2311         
2312         Roll DEPS to pick up WebThemeEngine changes.
2313
2314         * DEPS:
2315
2316 2010-12-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2317
2318         Unreviewed, rolling out r74735.
2319         http://trac.webkit.org/changeset/74735
2320         https://bugs.webkit.org/show_bug.cgi?id=51715
2321
2322         assert failures on fast/forms/input-maxlength-ime-
2323         completed.html (Requested by mihaip on #webkit).
2324
2325         * src/WebFrameImpl.cpp:
2326         (WebKit::WebFrameImpl::setMarkedText):
2327
2328 2010-12-29  Zhe Su  <suzhe@chromium.org>
2329
2330         Reviewed by Eric Seidel.
2331
2332         Fix editing/input/ime-composition-clearpreedit.html test in chromium
2333         by removing the line "editor->confirmComposition(text);" from
2334         WebFrameImpl::setMarkedText() method, because that line will insert the
2335         text into the focused node, which is apparently wrong.
2336
2337         https://bugs.webkit.org/show_bug.cgi?id=51693
2338
2339         * src/WebFrameImpl.cpp:
2340         (WebKit::WebFrameImpl::setMarkedText):
2341
2342 2010-12-23  Zhenyao Mo  <zmo@google.com>
2343
2344         Reviewed by Kenneth Russell.
2345
2346         Initialize to 0 for undefined values in CopyTexImage2D
2347         https://bugs.webkit.org/show_bug.cgi?id=51421
2348
2349         * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize().
2350         (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
2351         * src/GraphicsContext3DInternal.h:
2352
2353 2010-12-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2354
2355         Unreviewed, rolling out r74561.
2356         http://trac.webkit.org/changeset/74561
2357         https://bugs.webkit.org/show_bug.cgi?id=51565
2358
2359         "Broke Chromium UI tests on Vista" (Requested by kbr_google on
2360         #webkit).
2361
2362         * src/GraphicsContext3DChromium.cpp:
2363         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2364
2365 2010-12-23  Mihai Parparita  <mihaip@chromium.org>
2366
2367         Reviewed by Kent Tamura.
2368
2369         [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT
2370         https://bugs.webkit.org/show_bug.cgi?id=51507
2371         
2372         Adds WebThemeEngine for the Mac (it already has parallel definitions for
2373         Windows and Linux) so that scrollbar thumb rendering can be overridden
2374         for the DRT (to be consistent with the NSScroller-based rendering
2375         used by the Mac port).        
2376
2377         * public/mac/WebThemeEngine.h: Added.
2378         (WebKit::WebThemeEngine::paintScrollbarThumb):
2379         * src/AssertMatchingEnums.cpp:
2380         * src/ChromiumBridge.cpp:
2381         (WebCore::ChromiumBridge::paintScrollbarThumb):
2382
2383 2010-12-23  Sam Weinig  <sam@webkit.org>
2384
2385         Fix build.
2386
2387         * src/FrameLoaderClientImpl.cpp:
2388         (WebKit::FrameLoaderClientImpl::didSaveToPageCache):
2389         (WebKit::FrameLoaderClientImpl::didRestoreFromPageCache):
2390
2391 2010-12-22  Sam Weinig  <sam@webkit.org>
2392
2393         Reviewed by Darin Adler.
2394
2395         WebKit2 needs to mirror the frame tree in the UIProcess
2396         https://bugs.webkit.org/show_bug.cgi?id=51546
2397
2398         - Add client functions to notify that a frame has been added or
2399           removed from the page cache.
2400
2401         * src/FrameLoaderClientImpl.cpp:
2402         (WebKit::WebFrameLoaderClientImpl::didSaveToPageCache):
2403         (WebKit::WebFrameLoaderClientImpl::didRestoreFromPageCache):
2404         * src/FrameLoaderClientImpl.h:
2405
2406 2010-12-20  Adrienne Walker  <enne@google.com>
2407
2408         Reviewed by Kenneth Russell.
2409
2410         [chromium] Tile root layer of the compositor.
2411         https://bugs.webkit.org/show_bug.cgi?id=49947
2412
2413         Refactor root layer logic out of WebViewImpl and into
2414         LayerTilerChromium.  The painting is now done through an interface
2415         rather than directly in WebViewImpl.
2416
2417         * src/WebViewImpl.cpp:
2418         (WebKit::WebViewImpl::scrollRootLayerRect):
2419         (WebKit::WebViewImpl::invalidateRootLayerRect):
2420         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2421         (WebKit::WebViewImplTilePaintInterface::WebViewImplTilePaintInterface):
2422         (WebKit::WebViewImplTilePaintInterface::paint):
2423         (WebKit::WebViewImplScrollbarPaintInterface::WebViewImplScrollbarPaintInterface):
2424         (WebKit::WebViewImplScrollbarPaintInterface::paint):
2425         (WebKit::WebViewImpl::doComposite):
2426         * src/WebViewImpl.h:
2427
2428 2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
2429
2430         Reviewed by Eric Seidel.
2431
2432         Editor.h doesn't need to include SelectionController.h
2433         https://bugs.webkit.org/show_bug.cgi?id=51441
2434
2435         Renamed SelectionController::EDirection to SelectionDirection.
2436
2437         * src/WebFrameImpl.cpp:
2438         (WebKit::WebFrameImpl::executeCommand):
2439
2440 2010-12-23  W. James MacLean  <wjmaclean@chromium.org>
2441
2442         Reviewed by Kenneth Russell.
2443
2444         [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
2445         https://bugs.webkit.org/show_bug.cgi?id=51186
2446
2447         Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
2448
2449         * src/GraphicsContext3DChromium.cpp:
2450         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2451
2452 2010-12-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2453
2454         Unreviewed, rolling out r74503.
2455         http://trac.webkit.org/changeset/74503
2456         https://bugs.webkit.org/show_bug.cgi?id=51513
2457
2458         breaks chromium mac debug compile (Requested by tonyg-cr on
2459         #webkit).
2460
2461         * src/GraphicsContext3DChromium.cpp:
2462         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2463
2464 2010-12-22  W. James MacLean  <wjmaclean@chromium.org>
2465
2466         Reviewed by Kenneth Russell.
2467
2468         [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
2469         https://bugs.webkit.org/show_bug.cgi?id=51186
2470
2471         Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
2472
2473         * src/GraphicsContext3DChromium.cpp:
2474         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2475
2476 2010-12-21  Zhenyao Mo  <zmo@google.com>
2477
2478         Reviewed by Kenneth Russell.
2479
2480         WebGLRenderingContext needs to zero textures and renderbuffers
2481         https://bugs.webkit.org/show_bug.cgi?id=49355
2482
2483         * src/WebGraphicsContext3DDefaultImpl.cpp:
2484         (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): Generate an INVALID_VALUE if pixels==null is passed in.
2485
2486 2010-12-20  Andrei Popescu  <andreip@google.com>
2487
2488         Reviewed by Jeremy Orlow.
2489
2490         IDBCursor::delete is not implemented.
2491         https://bugs.webkit.org/show_bug.cgi?id=51110
2492
2493         * public/WebIDBCursor.h:
2494         (WebKit::WebIDBCursor::remove):
2495         (WebKit::WebIDBCursor::deleteFunction):
2496         * src/IDBCursorBackendProxy.cpp:
2497         (WebCore::IDBCursorBackendProxy::deleteFunction):
2498         * src/IDBCursorBackendProxy.h:
2499         * src/WebIDBCursorImpl.cpp:
2500         (WebKit::WebIDBCursorImpl::deleteFunction):
2501         * src/WebIDBCursorImpl.h:
2502
2503 2010-12-18  Tony Gentilcore  <tonyg@chromium.org>
2504
2505         Reviewed by Laszlo Gombos.
2506
2507         [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
2508         https://bugs.webkit.org/show_bug.cgi?id=50943
2509
2510         Exposes all dom* times to the chromium port. I'm particularly interested in
2511         domContentLoadedEventEnd as it compares to the FinishDoc metric.
2512
2513         * public/WebPerformance.h:
2514         * src/WebPerformance.cpp:
2515         (WebKit::WebPerformance::domLoading):
2516         (WebKit::WebPerformance::domInteractive):
2517         (WebKit::WebPerformance::domContentLoadedEventStart):
2518         (WebKit::WebPerformance::domContentLoadedEventEnd):
2519         (WebKit::WebPerformance::domComplete):
2520
2521 2010-12-17  Tony Gentilcore  <tonyg@chromium.org>
2522
2523         Unreviewed, build fix.
2524
2525         Add WebKitTools -> Tools rename that got missed.
2526
2527         * WebKit.gyp:
2528
2529 2010-12-17  Dirk Pranke  <dpranke@chromium.org>
2530
2531         Unreviewed, build fix.
2532
2533         Add WebKitTools -> Tools rename that got missed.
2534
2535         * WebKit.gyp:
2536
2537 2010-12-17  John Knottenbelt  <jknotten@chromium.org>
2538
2539         Reviewed by Jeremy Orlow.
2540
2541         Fix test failures where NULL GeolocationClient is provided
2542         https://bugs.webkit.org/show_bug.cgi?id=51256
2543
2544         * src/GeolocationClientProxy.cpp:
2545         (WebKit::GeolocationClientProxy::geolocationDestroyed):
2546
2547 2010-12-17  Hans Wennborg  <hans@chromium.org>
2548
2549         Reviewed by Jeremy Orlow.
2550
2551         IndexedDB: Support Date objects as keys.
2552         https://bugs.webkit.org/show_bug.cgi?id=51193
2553
2554         Update to match the underlying WebCore IDBKey class:
2555         add the DateType, add create() functions for each type,
2556         deprecate the public constructors (will be removed once
2557         Chromium side is updated).
2558
2559         * public/WebIDBKey.h:
2560         (WebKit::WebIDBKey::WebIDBKey):
2561         * src/AssertMatchingEnums.cpp:
2562         * src/WebIDBKey.cpp:
2563         (WebKit::WebIDBKey::createString):
2564         (WebKit::WebIDBKey::createDate):
2565         (WebKit::WebIDBKey::createNumber):
2566         (WebKit::WebIDBKey::assignNull):
2567         (WebKit::WebIDBKey::assignString):
2568         (WebKit::WebIDBKey::assignDate):
2569         (WebKit::WebIDBKey::assignNumber):
2570         (WebKit::WebIDBKey::date):
2571
2572 2010-12-17  James Simonsen  <simonjam@chromium.org>
2573
2574         Reviewed by Darin Fisher.
2575
2576         [Web Timing] Navigation type enums should begin with TYPE_
2577         https://bugs.webkit.org/show_bug.cgi?id=51200
2578
2579         * src/WebPerformance.cpp:
2580         (WebKit::WebPerformance::navigationType): Added TYPE_ to navigation types.
2581
2582 2010-12-16  John Knottenbelt  <jknotten@chromium.org>
2583
2584         Reviewed by Jeremy Orlow.
2585
2586         Enable client-based geolocation in Chromium
2587         https://bugs.webkit.org/show_bug.cgi?id=50562
2588
2589         * features.gypi:
2590
2591 2010-12-16  Hans Wennborg  <hans@chromium.org>
2592
2593         Reviewed by Jeremy Orlow.
2594
2595         IndexedDB: Fix IDBDatabaseError code offset bug
2596         https://bugs.webkit.org/show_bug.cgi?id=51177
2597
2598         WebIDBDatabaseError must use the
2599         IDBDatabaseError::createWithoutOffset() function.
2600
2601         * src/WebIDBDatabaseError.cpp:
2602         (WebKit::WebIDBDatabaseError::assign):
2603
2604 2010-12-15  Chris Guillory  <chris.guillory@google.com>
2605
2606         Reviewed by Darin Fisher.
2607
2608         Expose AccessibilityObject::url() to Chromium
2609         https://bugs.webkit.org/show_bug.cgi?id=51046
2610
2611         * public/WebAccessibilityObject.h:
2612         * src/WebAccessibilityObject.cpp:
2613         (WebKit::WebAccessibilityObject::url):
2614
2615 2010-12-14  Darin Fisher  <darin@chromium.org>
2616
2617         Reviewed by Dimitri Glazkov.
2618
2619         [chromium] AssociatedURLLoader leaks m_realLoader to its WebURLLoaderClient.
2620         https://bugs.webkit.org/show_bug.cgi?id=51062
2621
2622         * src/AssociatedURLLoader.cpp: Intercept WebURLLoaderClient methods and
2623         forward |this| as the WebURLLoader parameter.
2624         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2625         (WebKit::AssociatedURLLoader::loadSynchronously):
2626         (WebKit::AssociatedURLLoader::loadAsynchronously):
2627         (WebKit::AssociatedURLLoader::willSendRequest):
2628         (WebKit::AssociatedURLLoader::didSendData):
2629         (WebKit::AssociatedURLLoader::didReceiveResponse):
2630         (WebKit::AssociatedURLLoader::didDownloadData):
2631         (WebKit::AssociatedURLLoader::didReceiveData):
2632         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
2633         (WebKit::AssociatedURLLoader::didFinishLoading):
2634         (WebKit::AssociatedURLLoader::didFail):
2635         * src/AssociatedURLLoader.h:
2636
2637 2010-12-14  Mihai Parparita  <mihaip@chromium.org>
2638
2639         Reviewed by Dimitri Glazkov.
2640
2641         Move asynchronous event dispatching out of Document
2642         https://bugs.webkit.org/show_bug.cgi?id=49785
2643         
2644         Change enqueueEvent callsite.
2645
2646         * src/StorageAreaProxy.cpp:
2647         (WebCore::StorageAreaProxy::storageEvent):
2648
2649 2010-12-13  Mike Lawther  <mikelawther@chromium.org>
2650
2651         Reviewed by James Robinson.
2652
2653         Update chromium DEPS to pull in latest Skia
2654         https://bugs.webkit.org/show_bug.cgi?id=50984
2655
2656         Roll to revision that pulled in Skia r632 (http://src.chromium.org/viewvc/chrome?view=rev&revision=68558) 
2657
2658         * DEPS:
2659
2660 2010-12-13  David Holloway  <dhollowa@chromium.org>
2661
2662         Reviewed by Eric Seidel.
2663
2664         [chromium] Removes deprecated logic following the consolidation of AutoFill and
2665         Autocomplete popup menu handling (https://bugs.webkit.org/show_bug.cgi?id=41236).
2666         Filling of the form fields is now handled completely on the Chromium side, for
2667         both AutoFill and Autocomplete.
2668
2669         https://bugs.webkit.org/show_bug.cgi?id=41822
2670
2671         * public/WebView.h:
2672         * src/AutoFillPopupMenuClient.cpp:
2673         (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient):
2674         (WebKit::AutoFillPopupMenuClient::valueChanged):
2675         * src/AutoFillPopupMenuClient.h:
2676         * src/WebViewImpl.cpp:
2677         (WebKit::WebViewImpl::applyAutoFillSuggestions):
2678         * src/WebViewImpl.h:
2679
2680 2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
2681
2682         Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.
2683
2684         REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
2685         https://bugs.webkit.org/show_bug.cgi?id=50950
2686
2687         * src/WebWorkerClientImpl.cpp:
2688         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
2689         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
2690         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
2691         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
2692
2693 2010-12-13  Ilya Tikhonovsky  <loislo@chromium.org>
2694
2695         Reviewed by Yury Semikhatsky.
2696
2697         Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.
2698
2699         Debugger and Resources related notification functions of Inspector.idl were
2700         marked as such with help of "domain" attribute. The other changes in js files
2701         are reflecting this change. Some wrappers in WebInspector namespace were dropped,
2702         the others were moved to DebuggerModel class.
2703
2704         https://bugs.webkit.org/show_bug.cgi?id=50906
2705
2706         * src/js/Tests.js:
2707         (.TestSuite.prototype._waitForScriptPause):
2708         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
2709         (.TestSuite.prototype._waitUntilScriptsAreParsed):
2710
2711 2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
2712
2713         Reviewed by Adam Barth.
2714
2715         WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
2716         https://bugs.webkit.org/show_bug.cgi?id=8519
2717
2718         Uncaught exceptions are propagated to window.onerror hander if one is present.
2719         The handler is expected to be a function accepting three arguments: error message,
2720         resource url and line number where the exception occured.
2721
2722         * src/WebWorkerClientImpl.cpp:
2723         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
2724         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
2725
2726 2010-12-13  Sheriff Bot  <webkit.review.bot@gmail.com>
2727
2728         Unreviewed, rolling out r73898.
2729         http://trac.webkit.org/changeset/73898
2730         https://bugs.webkit.org/show_bug.cgi?id=50919
2731
2732         FileSystem and Database API's were broken (Requested by loislo
2733         on #webkit).
2734
2735         * src/js/Tests.js:
2736         (.TestSuite.prototype._waitForScriptPause):
2737
2738 2010-12-13  Ilya Tikhonovsky  <loislo@chromium.org>
2739
2740         Reviewed by Yury Semikhatsky.
2741
2742         Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.
2743
2744         Debugger and Resources related notification functions of Inspector.idl were
2745         marked as such with help of "domain" attribute. The other changes in js files
2746         are reflecting this change. Some wrappers in WebInspector namespace were dropped,
2747         the others were moved to DebuggerModel class.
2748
2749         https://bugs.webkit.org/show_bug.cgi?id=50906
2750
2751         * src/js/Tests.js:
2752         (.TestSuite.prototype._waitForScriptPause):
2753
2754 2010-10-28  MORITA Hajime  <morrita@google.com>
2755
2756         Reviewed by Ojan Vafai.
2757
2758         spellcheck does not check pasted text
2759         https://bugs.webkit.org/show_bug.cgi?id=40092
2760
2761         Added a stub implememntation.
2762
2763         * src/EditorClientImpl.h:
2764         (WebKit::EditorClientImpl::requestCheckingOfString):
2765
2766 2010-12-10  Chris Fleizach  <cfleizach@apple.com>
2767
2768         Reviewed by Darin Adler.
2769
2770         AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
2771         https://bugs.webkit.org/show_bug.cgi?id=50574
2772
2773         * src/WebAccessibilityObject.cpp:
2774         (WebKit::WebAccessibilityObject::hitTest):
2775
2776 2010-12-10  Zhenyao Mo  <zmo@google.com>
2777
2778         Reviewed by Adam Barth.
2779
2780         Use enums instead of booleans in ImageSource/ImageDecoder constructors
2781         https://bugs.webkit.org/show_bug.cgi?id=50818
2782
2783         * src/WebImageDecoder.cpp:
2784         (WebKit::WebImageDecoder::init): Use enums instead of boolean in ImageDecoder constructor.
2785
2786 2010-12-10  Kenneth Russell  <kbr@google.com>
2787
2788         Reviewed by James Robinson.
2789
2790         Implement extension entry points and remove EXTENSIONS enum
2791         https://bugs.webkit.org/show_bug.cgi?id=40316
2792
2793         Added support for ensuring that a particular OpenGL extension is
2794         enabled.
2795
2796         * public/WebGraphicsContext3D.h:
2797         * src/Extensions3DChromium.cpp:
2798         (WebCore::Extensions3DChromium::ensureEnabled):
2799         * src/GraphicsContext3DChromium.cpp:
2800         (WebCore::GraphicsContext3DInternal::initializeExtensions):
2801         (WebCore::GraphicsContext3DInternal::supportsExtension):
2802         (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
2803         * src/GraphicsContext3DInternal.h:
2804         * src/WebGraphicsContext3DDefaultImpl.cpp:
2805         (WebKit::WebGraphicsContext3DDefaultImpl::getRequestableExtensionsCHROMIUM):
2806         (WebKit::WebGraphicsContext3DDefaultImpl::requestExtensionCHROMIUM):
2807         * src/WebGraphicsContext3DDefaultImpl.h:
2808
2809 2010-12-10  John Knottenbelt  <jknotten@chromium.org>
2810
2811         Reviewed by Steve Block.
2812
2813         [Chromium] Implement mocks for client-based geolocation
2814         https://bugs.webkit.org/show_bug.cgi?id=46895
2815
2816         * WebKit.gyp:
2817         * public/WebGeolocationClientMock.h: Added.
2818         (WebKit::WebGeolocationClientMock::~WebGeolocationClientMock):
2819         (WebKit::WebGeolocationClientMock::WebGeolocationClientMock):
2820         * src/WebGeolocationClientMock.cpp: Added.
2821         (WebKit::WebGeolocationClientMock::create):
2822         (WebKit::WebGeolocationClientMock::initialize):
2823         (WebKit::WebGeolocationClientMock::reset):
2824         (WebKit::WebGeolocationClientMock::setMockGeolocationPosition):
2825         (WebKit::WebGeolocationClientMock::setMockGeolocationError):
2826         (WebKit::WebGeolocationClientMock::setMockGeolocationPermission):
2827         (WebKit::WebGeolocationClientMock::resetMock):
2828         (WebKit::WebGeolocationClientMock::startUpdating):
2829         (WebKit::WebGeolocationClientMock::stopUpdating):
2830         (WebKit::WebGeolocationClientMock::setEnableHighAccuracy):
2831         (WebKit::WebGeolocationClientMock::geolocationDestroyed):
2832         (WebKit::WebGeolocationClientMock::setController):
2833         (WebKit::WebGeolocationClientMock::lastPosition):
2834         (WebKit::WebGeolocationClientMock::requestPermission):
2835         (WebKit::WebGeolocationClientMock::cancelPermissionRequest):
2836         * src/WebGeolocationServiceMock.cpp:
2837
2838 2010-12-10  John Knottenbelt  <jknotten@chromium.org>
2839
2840         Reviewed by Steve Block.
2841
2842         [chromium] Implement client based geolocation bindings
2843         https://bugs.webkit.org/show_bug.cgi?id=45752
2844
2845         Implements the necessary plumbing to expose client-based geolocation in Chromium
2846         webkit. The plan is to remove the non-client-based geolocation code (GeolocationService*)
2847         in the future.
2848
2849         * WebKit.gyp:
2850         * public/WebGeolocationClient.h: Added.
2851         (WebKit::WebGeolocationClient::~WebGeolocationClient):
2852         * public/WebGeolocationController.h: Added.
2853         (WebKit::WebGeolocationController::WebGeolocationController):
2854         (WebKit::WebGeolocationController::reset):
2855         * public/WebGeolocationError.h:
2856         * public/WebGeolocationPermissionRequest.h: Added.
2857         (WebKit::WebGeolocationPermissionRequest::WebGeolocationPermissionRequest):
2858         (WebKit::WebGeolocationPermissionRequest::geolocation):
2859         * public/WebGeolocationPermissionRequestManager.h: Added.
2860         (WebKit::WebGeolocationPermissionRequestManager::WebGeolocationPermissionRequestManager):
2861         (WebKit::WebGeolocationPermissionRequestManager::~WebGeolocationPermissionRequestManager):
2862         * public/WebGeolocationPosition.h:
2863         * public/WebViewClient.h:
2864         (WebKit::WebViewClient::geolocationClient):
2865         * src/ChromeClientImpl.cpp:
2866         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
2867         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
2868         * src/GeolocationClientProxy.cpp: Added.
2869         (WebKit::GeolocationClientProxy::GeolocationClientProxy):
2870         (WebKit::GeolocationClientProxy::~GeolocationClientProxy):
2871         (WebKit::GeolocationClientProxy::setController):
2872         (WebKit::GeolocationClientProxy::geolocationDestroyed):
2873         (WebKit::GeolocationClientProxy::startUpdating):
2874         (WebKit::GeolocationClientProxy::stopUpdating):
2875         (WebKit::GeolocationClientProxy::setEnableHighAccuracy):
2876         (WebKit::GeolocationClientProxy::lastPosition):
2877         (WebKit::GeolocationClientProxy::requestPermission):
2878         (WebKit::GeolocationClientProxy::cancelPermissionRequest):
2879         * src/GeolocationClientProxy.h: Added.
2880         * src/WebGeolocationController.cpp: Added.
2881         (WebKit::WebGeolocationController::positionChanged):
2882         (WebKit::WebGeolocationController::errorOccurred):
2883         (WebKit::WebGeolocationController::controller):
2884         * src/WebGeolocationPermissionRequest.cpp: Added.
2885         (WebKit::WebGeolocationPermissionRequest::securityOrigin):
2886         (WebKit::WebGeolocationPermissionRequest::setIsAllowed):
2887         * src/WebGeolocationPermissionRequestManager.cpp: Added.
2888         (WebGeolocationPermissionRequestManager::add):
2889         (WebGeolocationPermissionRequestManager::remove):
2890         (WebGeolocationPermissionRequestManager::init):
2891         (WebGeolocationPermissionRequestManager::reset):
2892         * src/WebViewImpl.cpp:
2893         (WebKit::WebViewImpl::WebViewImpl):
2894         * src/WebViewImpl.h:
2895
2896 2010-12-10  Hans Wennborg  <hans@chromium.org>
2897
2898         Reviewed by Jeremy Orlow.
2899
2900         IndexedDB: Numeric keys are floats.
2901         https://bugs.webkit.org/show_bug.cgi?id=50674
2902
2903         Represent numeric keys as floating point values.
2904
2905         * public/WebIDBKey.h:
2906         (WebKit::WebIDBKey::WebIDBKey):
2907         * src/WebIDBKey.cpp:
2908         (WebKit::WebIDBKey::assign):
2909         (WebKit::WebIDBKey::number):
2910
2911 2010-12-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2912
2913         Unreviewed, rolling out r73616.
2914         http://trac.webkit.org/changeset/73616
2915         https://bugs.webkit.org/show_bug.cgi?id=50772
2916
2917         Breaks chromium win build (Requested by hwennborg on #webkit).
2918
2919         * public/WebIDBKey.h:
2920         (WebKit::WebIDBKey::WebIDBKey):
2921         * src/WebIDBKey.cpp:
2922         (WebKit::WebIDBKey::assign):
2923         (WebKit::WebIDBKey::number):
2924
2925 2010-12-09  Hans Wennborg  <hans@chromium.org>
2926
2927         Reviewed by Jeremy Orlow.
2928
2929         IndexedDB: Numeric keys are floats.
2930         https://bugs.webkit.org/show_bug.cgi?id=50674
2931
2932         Represent numeric keys as floating point values.
2933
2934         * public/WebIDBKey.h:
2935         (WebKit::WebIDBKey::WebIDBKey):
2936         * src/WebIDBKey.cpp:
2937         (WebKit::WebIDBKey::assign):
2938         (WebKit::WebIDBKey::number):
2939
2940 2010-12-07  Brian Weinstein  <bweinstein@apple.com>
2941
2942         Reviewed by John Sullivan.
2943
2944         Layering Violation in ContextMenu - member variable of type HitTestResult
2945         https://bugs.webkit.org/show_bug.cgi?id=50586
2946         
2947         Update users of ContextMenu and ContextMenuController to match where the new functions 
2948         are located.
2949
2950         * src/ContextMenuClientImpl.cpp:
2951         (WebKit::selectMisspelledWord):
2952         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2953
2954 2010-12-06  Darin Adler  <darin@apple.com>
2955
2956         Reviewed by Sam Weinig.
2957
2958         Pass security origin to make local file decision correctly
2959         https://bugs.webkit.org/show_bug.cgi?id=48603
2960
2961         * src/ApplicationCacheHost.cpp:
2962         (WebCore::ApplicationCacheHost::selectCacheWithManifest): Pass security origin.
2963         * src/FrameLoaderClientImpl.cpp:
2964         (WebKit::FrameLoaderClientImpl::dispatchCreatePage): Ditto.
2965         (WebKit::FrameLoaderClientImpl::createFrame): Ditto.
2966         * src/WebPluginContainerImpl.cpp:
2967         (WebKit::WebPluginContainerImpl::loadFrameRequest): Ditto.
2968
2969 2010-12-07  Martin Robinson  <mrobinson@igalia.com>
2970
2971         Unreviewed, rolling out r73392.
2972         http://trac.webkit.org/changeset/73392
2973         https://bugs.webkit.org/show_bug.cgi?id=50489
2974
2975         This commit caused crashes on the GTK+ bots
2976
2977         * src/ContextMenuClientImpl.cpp:
2978         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2979         * src/FrameLoaderClientImpl.cpp:
2980         (WebKit::FrameLoaderClientImpl::finishedLoading):
2981         * src/WebFrameImpl.cpp:
2982         (WebKit::WebFrameImpl::encoding):
2983         (WebKit::WebFrameImpl::loadJavaScriptURL):
2984         * src/WebPageSerializerImpl.cpp:
2985         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
2986         (WebKit::WebPageSerializerImpl::serialize):
2987         * src/WebSearchableFormData.cpp:
2988         (WebCore::GetFormEncoding):
2989         * src/WebViewImpl.cpp:
2990         (WebKit::WebViewImpl::pageEncoding):
2991
2992 2010-12-07  Kenichi Ishibashi  <bashi@google.com>
2993
2994         Reviewed by Kent Tamura.
2995
2996         Let HTMLObjectElement be a form associated element
2997         https://bugs.webkit.org/show_bug.cgi?id=48821
2998
2999         Modified to use FormAssociatedElement instead of HTMLFormControlElement.
3000
3001         * src/WebFormElement.cpp: 
3002         (WebKit::WebFormElement::getFormControlElements): Modified to use
3003         FormAssociatedElement instead of HTMLFormControlElement.
3004         * src/WebPasswordFormUtils.cpp:
3005         (WebKit::findPasswordFormFields): Ditto.
3006         * src/WebSearchableFormData.cpp:
3007         (WebCore::GetButtonToActivate): Ditto.
3008         (WebCore::HasSuitableTextElement): Ditto.
3009
3010 2010-12-06  Nate Chapin  <japhet@chromium.org>
3011
3012         Reviewed by Adam Barth.
3013
3014         Update calls to DocumentWriter.
3015         https://bugs.webkit.org/show_bug.cgi?id=50489
3016
3017         * src/ContextMenuClientImpl.cpp:
3018         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3019         * src/FrameLoaderClientImpl.cpp:
3020         (WebKit::FrameLoaderClientImpl::finishedLoading):
3021         * src/WebFrameImpl.cpp:
3022         (WebKit::WebFrameImpl::encoding):
3023         (WebKit::WebFrameImpl::loadJavaScriptURL):
3024         * src/WebPageSerializerImpl.cpp:
3025         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3026         (WebKit::WebPageSerializerImpl::serialize):
3027         * src/WebSearchableFormData.cpp:
3028         (WebCore::GetFormEncoding):
3029         * src/WebViewImpl.cpp:
3030         (WebKit::WebViewImpl::pageEncoding):
3031
3032 2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>
3033
3034         Unreviewed, rolling out r73302.
3035         http://trac.webkit.org/changeset/73302
3036         https://bugs.webkit.org/show_bug.cgi?id=50499
3037
3038         Causes crashes in debug LayoutTests (Requested by xan_ on
3039         #webkit).
3040
3041         * public/WebAccessibilityObject.h:
3042         * src/WebAccessibilityObject.cpp:
3043         (WebKit::WebAccessibilityObject::parentObject):
3044
3045 2010-12-01  Ilya Tikhonovsky  <loislo@chromium.org>
3046
3047         Reviewed by Pavel Feldman.
3048
3049         Web Inspector: Inspector protocol cleanup task.
3050
3051         The patch has just small renames and adjustments for the protocol things.
3052         'handler' keyword in idl file was replaced with 'domain'.
3053         'domain' property was assigned for the each backend to frontend messages.
3054         At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.
3055
3056         https://bugs.webkit.org/show_bug.cgi?id=50337
3057
3058         * src/WebDevToolsFrontendImpl.cpp:
3059         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
3060
3061 2010-12-03  Chris Guillory  <chris.guillory@google.com>
3062
3063         Reviewed by Chris Fleizach.
3064
3065         Include the FrameView widget of a RenderWidget in the accessibility tree.
3066         https://bugs.webkit.org/show_bug.cgi?id=49106
3067
3068         * public/WebAccessibilityObject.h:
3069         * src/WebAccessibilityObject.cpp:
3070         (WebKit::WebAccessibilityObject::equals):
3071         (WebKit::WebAccessibilityObject::parentObject):
3072
3073 2010-11-29  Jeremy Orlow  <jorlow@chromium.org>
3074
3075         Reviewed by Darin Fisher.
3076
3077         [Chromium] Clean up IndexedDB 2 sided roll bits
3078         https://bugs.webkit.org/show_bug.cgi?id=50160
3079
3080         * public/WebIDBDatabase.h:
3081         (WebKit::WebIDBDatabase::version):
3082         (WebKit::WebIDBDatabase::objectStoreNames):
3083         (WebKit::WebIDBDatabase::deleteObjectStore):
3084         * public/WebIDBFactory.h:
3085         (WebKit::WebIDBFactory::open):
3086         * public/WebIDBKeyRange.h:
3087         * public/WebIDBObjectStore.h:
3088         (WebKit::WebIDBObjectStore::deleteFunction):
3089         * src/IDBDatabaseProxy.cpp:
3090         * src/IDBDatabaseProxy.h:
3091         * src/WebIDBKeyRange.cpp:
3092
3093 2010-12-02  Chris Rogers  <crogers@google.com>
3094
3095         Reviewed by Darin Fisher.
3096
3097         Fine-tune chromium WebKit API for loading audio resources
3098         https://bugs.webkit.org/show_bug.cgi?id=50406
3099
3100         * public/WebAudioBus.h:
3101         (WebKit::WebAudioBus::~WebAudioBus):
3102         * public/WebKitClient.h:
3103         (WebKit::WebKitClient::loadAudioResource):
3104         * src/ChromiumBridge.cpp:
3105         (WebCore::ChromiumBridge::decodeAudioFileData):
3106         * src/WebAudioBus.cpp:
3107         (WebKit::WebAudioBus::reset):
3108
3109 2010-12-02  Darin Fisher  <darin@chromium.org>
3110
3111         Fix the Windows multi-dll build.  Do not export functions that are
3112         implemented inline!
3113
3114         * public/WebFormControlElement.h:
3115         (WebKit::WebFormControlElement::assign):
3116
3117 2010-12-02  Tony Chang  <tony@chromium.org>
3118
3119         Unreviewed, roll chromium deps to r67980.
3120
3121         * DEPS:
3122
3123 2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
3124
3125         Reviewed by Pavel Feldman.
3126
3127         Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
3128         Enable resource export to HAR for Chromium.
3129         https://bugs.webkit.org/show_bug.cgi?id=45663
3130
3131         * src/js/DevTools.js: Preferences.resourceExportEnabled = true
3132
3133 2010-12-02  Vincent Scheib  <scheib@chromium.org>
3134
3135         Reviewed by Darin Fisher.
3136
3137         [chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added.
3138         https://bugs.webkit.org/show_bug.cgi?id=50285
3139
3140         Test by loading "about:histograms" after navigating to accelerated pages.
3141
3142         * public/WebKitClient.h:
3143         (WebKit::WebKitClient::histogramCustomCounts): api update.
3144         (WebKit::WebKitClient::histogramEnumeration): api update.
3145         * src/ChromiumBridge.cpp:
3146         (WebCore::ChromiumBridge::histogramCustomCounts): api update.
3147         (WebCore::ChromiumBridge::histogramEnumeration): api update.
3148         * src/WebViewImpl.cpp:
3149         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added.
3150
3151 2010-12-01  Jia Pu  <jpu@apple.com>
3152
3153         Reviewed by Darin Adler.
3154
3155         Support multiple correction candidates panel for misspelled word on Mac OS X.
3156         https://bugs.webkit.org/show_bug.cgi?id=50137
3157         <rdar://problem/8568059>
3158
3159         Adopted new function signature defined in base class.
3160
3161         * src/EditorClientImpl.cpp:
3162         (WebKit::EditorClientImpl::getGuessesForWord):
3163         * src/EditorClientImpl.h:
3164
3165 2010-12-01  Alexey Marinichev  <amarinichev@chromium.org>
3166
3167         Reviewed by James Robinson.
3168
3169         [chromium] renderer does not realize hardware compositing is disabled and crashes
3170         https://bugs.webkit.org/show_bug.cgi?id=50264
3171
3172         * src/WebViewImpl.cpp:
3173         (WebKit::WebViewImpl::setRootGraphicsLayer): repaint always
3174         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): null check
3175         (WebKit::WebViewImpl::reallocateRenderer):
3176
3177 2010-11-30  Vangelis Kokkevis  <vangelis@chromium.org>
3178
3179         Reviewed by Darin Fisher.
3180
3181         Get the value of the accelerated compositing triggers from the Settings
3182         class.  This allows setting the triggers via command line flags.
3183         https://bugs.webkit.org/show_bug.cgi?id=50301
3184
3185         * public/WebSettings.h:
3186         * src/ChromeClientImpl.cpp:
3187         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
3188         * src/WebSettingsImpl.cpp:
3189         (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled):
3190         (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled):
3191         (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled):
3192         (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled):
3193         (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled):
3194         * src/WebSettingsImpl.h:
3195
3196 2010-12-01  Tony Chang  <tony@chromium.org>
3197
3198         Unreviewed, rolling chromium deps to r67811.
3199
3200         * DEPS:
3201
3202 2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
3203
3204         Reviewed by Pavel Feldman.
3205
3206         Web Inspector: disable cookies tab in network resource view by default, enable for chromium
3207         https://bugs.webkit.org/show_bug.cgi?id=50249
3208
3209         * src/js/DevTools.js:
3210
3211 2010-11-30  Ojan Vafai  <ojan@chromium.org>
3212
3213         Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
3214         https://bugs.webkit.org/show_bug.cgi?id=50288
3215
3216         2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
3217         Reviewed by Darin Adler.
3218         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3219         https://bugs.webkit.org/show_bug.cgi?id=50182
3220         A display-isolated URL can only be displayed (e.g., put in an iframe,
3221         hyperlinked to) by documents from that scheme. In a sense, this is a
3222         generalization of some of the protections we give file URLs, but
3223         instead of lumping them all together into one "local" bucket, this
3224         patch creates a separate bucket for each scheme.
3225         For a while, I tried using a separate bucket for each origin. That
3226         would have played nicely with what Blob URLs are trying to do, but some
3227         "chrome" URL pages rely on being able to display other chrome URL
3228         pages, even in different origins. For example, the New Tab Page shows
3229         thumbnails from the "thumbnail" host.
3230         This patch also removes a bunch of unused code. I've also propagated
3231         the "deprecated" status of deprecatedCanDisplay to
3232         deprecatedShouldTreatURLAsLocal because that method has no other
3233         callers and is really asking for uppercase/lowercase bugs. I dream of
3234         someday removing these functions.
3235         2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
3236         Reviewed by Darin Adler.
3237         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3238          https://bugs.webkit.org/show_bug.cgi?id=50182
3239         This patch adds a Chromium API for registering schemes as
3240         display-isolated. In a subsequent patch, I'll change the "chrome"
3241         scheme in Chrome to be display isolated instead of local. That will
3242         prevent file URLs from linking to chrome URLs.
3243
3244         * public/WebSecurityPolicy.h:
3245         * src/WebSecurityPolicy.cpp:
3246
3247 2010-11-30  James Robinson  <jamesr@chromium.org>
3248
3249         Reviewed by Dimitri Glazkov.
3250
3251         [chromium] Update yasm entry in DEPS to match downstream
3252         https://bugs.webkit.org/show_bug.cgi?id=50274
3253
3254         http://src.chromium.org/viewvc/chrome?view=rev&revision=67540 changed the downstream DEPS rule
3255         for yasm to pull unconditionally rather than pulling in each deps_os.  This changes the WebKit
3256         chromium DEPS to match.
3257
3258         * DEPS:
3259
3260 2010-11-29  Vangelis Kokkevis  <vangelis@chromium.org>
3261
3262         Reviewed by Simon Fraser.
3263
3264         Provide more fine grained control to ports over when to turn on accelerated
3265         compositing.
3266         https://bugs.webkit.org/show_bug.cgi?id=49998
3267
3268         As part of this change, the old hasAcceleratedCompositing method on the ChromeClient
3269         has now been replaced by allowedCompositingTriggers which returns a bitfield of
3270         all the features which can trigger the compositor.
3271
3272         * src/ChromeClientImpl.cpp:
3273         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
3274         * src/ChromeClientImpl.h:
3275
3276 2010-11-30  Jochen Eisinger  <jochen@chromium.org>
3277
3278         Reviewed by Darin Fisher.
3279
3280         [chromium] pass webframe to web frame client's cookieJar
3281         https://bugs.webkit.org/show_bug.cgi?id=50148
3282
3283         * public/WebFrameClient.h:
3284         (WebKit::WebFrameClient::cookieJar):
3285         * src/ChromiumBridge.cpp:
3286         (WebCore::getCookieJar):
3287
3288 2010-11-30  Jochen Eisinger  <jochen@chromium.org>
3289
3290         Unreviewed. Roll chromium 67532:67541.
3291
3292         * DEPS:
3293
3294 2010-11-29  Adam Barth  <abarth@webkit.org>
3295
3296         Reviewed by Darin Adler.
3297
3298         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3299         https://bugs.webkit.org/show_bug.cgi?id=50182
3300
3301         This patch adds a Chromium API for registering schemes as
3302         display-isolated.  In a subsequent patch, I'll change the "chrome"
3303         scheme in Chrome to be display isolated instead of local.  That will
3304         prevent file URLs from linking to chrome URLs.
3305
3306         * public/WebSecurityPolicy.h:
3307         * src/WebSecurityPolicy.cpp:
3308         (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
3309
3310 2010-11-29  Kent Tamura  <tkent@chromium.org>
3311
3312         Reviewed by Darin Fisher.
3313
3314         [Chromium] Add substitution parameters to WebKitClient::queryLocalizedString()
3315         https://bugs.webkit.org/show_bug.cgi?id=50053
3316
3317         * public/WebKitClient.h:
3318         (WebKit::WebKitClient::queryLocalizedString): Add overload functions with
3319           substitution string parameters, and remove the integer parameter overload.
3320         * src/LocalizedStrings.cpp:
3321         (WebCore::query): Add string parameter overloads, and remove the integer parameter overload.
3322         (WebCore::multipleFileUploadText): Call the string parameter query().
3323         (WebCore::validationMessageTooLongText): Pass the parameters to query().
3324         (WebCore::validationMessageRangeUnderflowText): ditto.
3325         (WebCore::validationMessageRangeOverflowText): ditto.
3326         (WebCore::validationMessageStepMismatchText): ditto.
3327
3328 2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>
3329
3330         Remove Build directory that was erroneously added in r72103.
3331
3332         * Build: Removed.
3333
3334 2010-11-29  Andrey Kosyakov  <caseq@chromium.org>
3335
3336         Reviewed by Darin Fisher.
3337
3338         Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
3339         Added WebDevToolsAgent::inspect()
3340         https://bugs.webkit.org/show_bug.cgi?id=49727
3341
3342         * public/WebDevToolsAgent.h:
3343         * src/WebDevToolsAgentImpl.cpp:
3344         (WebKit::WebDevToolsAgentImpl::inspectNode):
3345         * src/WebDevToolsAgentImpl.h:
3346
3347 2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>
3348
3349         [Chromium] Remove python_24 dependency, because it is no longer necessary.
3350
3351         * DEPS: Removed python_24 dependency.
3352
3353 2010-11-29  Bernhard Bauer  <bauerb@chromium.org>
3354
3355         Reviewed by Jeremy Orlow.
3356
3357         Remove databaseFileName from WebIDBFactory
3358         https://bugs.webkit.org/show_bug.cgi?id=50150
3359
3360         * WebKit.gyp:
3361         * public/WebIDBFactory.h:
3362         (WebKit::WebIDBFactory::open):
3363         * src/WebIDBFactory.cpp: Removed.
3364
3365 2010-11-26  Andrei Popescu  <andreip@google.com>
3366
3367         Reviewed by Jeremy Orlow.
3368
3369         IDBDatabase and IDBObjectStore remove* methods should be renamed to delete*
3370         https://bugs.webkit.org/show_bug.cgi?id=50113
3371
3372         * public/WebIDBDatabase.h:
3373         (WebKit::WebIDBDatabase::deleteObjectStore):
3374         (WebKit::WebIDBDatabase::removeObjectStore):
3375         * public/WebIDBObjectStore.h:
3376         (WebKit::WebIDBObjectStore::remove):
3377         (WebKit::WebIDBObjectStore::deleteFunction):
3378         (WebKit::WebIDBObjectStore::deleteIndex):
3379         * src/IDBDatabaseProxy.cpp:
3380         (WebCore::IDBDatabaseProxy::deleteObjectStore):
3381         * src/IDBDatabaseProxy.h:
3382         * src/IDBObjectStoreProxy.cpp:
3383         (WebCore::IDBObjectStoreProxy::deleteFunction):
3384         (WebCore::IDBObjectStoreProxy::deleteIndex):
3385         * src/IDBObjectStoreProxy.h:
3386         * src/WebIDBDatabaseImpl.cpp:
3387         (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
3388         * src/WebIDBDatabaseImpl.h:
3389         * src/WebIDBObjectStoreImpl.cpp:
3390         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
3391         (WebKit::WebIDBObjectStoreImpl::deleteIndex):
3392         * src/WebIDBObjectStoreImpl.h:
3393
3394 2010-11-26  Jeremy Orlow  <jorlow@chromium.org>
3395
3396         Reviewed by Steve Block.
3397
3398         Make IDBKeyRange match the spec
3399         https://bugs.webkit.org/show_bug.cgi?id=50105
3400
3401         Remove flags and instead add two booleans for being open.
3402         Change left to lower and right to upper everywhere.
3403
3404         * public/WebIDBKeyRange.h:
3405         (WebKit::WebIDBKeyRange::WebIDBKeyRange):
3406         * src/WebIDBKeyRange.cpp:
3407         (WebKit::WebIDBKeyRange::assign):
3408         (WebKit::WebIDBKeyRange::left):
3409         (WebKit::WebIDBKeyRange::right):
3410         (WebKit::WebIDBKeyRange::lower):
3411         (WebKit::WebIDBKeyRange::upper):
3412         (WebKit::WebIDBKeyRange::lowerOpen):
3413         (WebKit::WebIDBKeyRange::upperOpen):
3414         (WebKit::WebIDBKeyRange::flags):
3415
3416 2010-11-25  Jeremy Orlow  <jorlow@chromium.org>
3417
3418         Reviewed by Steve Block.
3419
3420         Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore
3421         https://bugs.webkit.org/show_bug.cgi?id=50081
3422
3423         Plumb IDBTransaction.objectStore's exception code.
3424
3425         * public/WebIDBTransaction.h:
3426         (WebKit::WebIDBTransaction::objectStore):
3427         * src/IDBDatabaseProxy.cpp:
3428         (WebCore::IDBDatabaseProxy::transaction):
3429         * src/IDBTransactionBackendProxy.cpp:
3430         (WebCore::IDBTransactionBackendProxy::objectStore):
3431         * src/IDBTransactionBackendProxy.h:
3432         * src/WebIDBDatabaseImpl.cpp:
3433         (WebKit::WebIDBDatabaseImpl::createObjectStore):
3434         (WebKit::WebIDBDatabaseImpl::transaction):
3435         * src/WebIDBTransactionImpl.cpp:
3436         (WebKit::WebIDBTransactionImpl::objectStore):
3437         * src/WebIDBTransactionImpl.h:
3438
3439 2010-11-26  Hans Wennborg  <hans@chromium.org>
3440
3441         Reviewed by Jeremy Orlow.
3442
3443         IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames
3444         https://bugs.webkit.org/show_bug.cgi?id=50102
3445
3446         Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface
3447
3448         * public/WebIDBDatabase.h:
3449         (WebKit::WebIDBDatabase::objectStores):
3450         (WebKit::WebIDBDatabase::objectStoreNames):
3451         * src/IDBDatabaseProxy.cpp:
3452         (WebCore::IDBDatabaseProxy::objectStoreNames):
3453         * src/IDBDatabaseProxy.h:
3454         * src/WebIDBDatabaseImpl.cpp:
3455         (WebKit::WebIDBDatabaseImpl::objectStoreNames):
3456         * src/WebIDBDatabaseImpl.h:
3457
3458 2010-11-26  Andrei Popescu  <andreip@google.com>
3459
3460         Reviewed by Jeremy Orlow.
3461
3462         IDBFactory::open should not have a description argument.
3463         https://bugs.webkit.org/show_bug.cgi?id=50087
3464
3465         * public/WebIDBDatabase.h:
3466         (WebKit::WebIDBDatabase::description):
3467         * public/WebIDBFactory.h:
3468         (WebKit::WebIDBFactory::open):
3469         * src/IDBFactoryBackendProxy.cpp:
3470         (WebCore::IDBFactoryBackendProxy::open):
3471         * src/IDBFactoryBackendProxy.h:
3472         * src/WebIDBDatabaseImpl.cpp:
3473         * src/WebIDBDatabaseImpl.h:
3474         * src/WebIDBFactory.cpp:
3475         * src/WebIDBFactoryImpl.cpp:
3476         (WebKit::WebIDBFactoryImpl::open):
3477         * src/WebIDBFactoryImpl.h:
3478
3479 2010-11-25  Ilya Tikhonovsky  <loislo@chromium.org>
3480
3481         Unreviewed. Roll chromium 67004:67404.
3482
3483         * DEPS:
3484
3485 2010-11-25  Jeremy Orlow  <jorlow@chromium.org>
3486
3487         Reviewed by Steve Block.
3488
3489         Add exception code to WebIDBTransaction::objectStore
3490         https://bugs.webkit.org/show_bug.cgi?id=50030
3491
3492         * public/WebIDBTransaction.h:
3493         (WebKit::WebIDBTransaction::objectStore):
3494
3495 2010-11-24  MORITA Hajime  <morrita@google.com>
3496
3497         Reviewed by Kent Tamura.
3498
3499         [Chromium][Windows] TestShell flakily crashes with EventSender.contextClick()
3500         https://bugs.webkit.org/show_bug.cgi?id=50052
3501         
3502         makeStringArrayImpl() assumed wtf::StringImpl data is
3503         null-terminated. But it is not.
3504         Changed the code to pass the string length explicitly instead of
3505         making it computed by v8::String::New().
3506
3507         * src/WebBindings.cpp:
3508         (WebKit::makeStringArrayImpl):
3509
3510 2010-11-24  Eric Uhrhane  <ericu@chromium.org>
3511
3512         Reviewed by David Levin.
3513
3514         [Chromium] Implement FileWriterSync
3515         https://bugs.webkit.org/show_bug.cgi?id=49940
3516
3517         Added waitForOperationToComplete, delegating to the bridge.
3518         * src/WorkerAsyncFileWriterChromium.cpp:
3519         * src/WorkerAsyncFileWriterChromium.h:
3520
3521         Added waitForOperationToComplete and some debug-only code to make sure it's working properly.
3522         * src/WorkerFileWriterCallbacksBridge.cpp:
3523         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
3524         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
3525         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
3526         (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge):
3527         (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread):
3528         (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread):
3529         (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread):
3530         (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete):
3531         * src/WorkerFileWriterCallbacksBridge.h:
3532
3533 2010-11-24  Kenneth Russell  <kbr@google.com>
3534
3535         Reviewed by Darin Fisher.
3536
3537         [chromium] Disable antialiasing for compositor
3538         https://bugs.webkit.org/show_bug.cgi?id=50039
3539
3540         * src/WebViewImpl.cpp:
3541         (WebCore::getCompositorContextAttributes):
3542         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3543         (WebKit::WebViewImpl::graphicsContext3D):
3544
3545 2010-11-24  Satish Sampath  <satish@chromium.org>
3546
3547         Reviewed by Steve Block.
3548
3549         Remove API migration code which is no longer used.
3550         https://bugs.webkit.org/show_bug.cgi?id=50013
3551
3552         * public/WebSpeechInputControllerMock.h:
3553
3554 2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
3555
3556         Unreviewed, rolling out r72628.
3557         http://trac.webkit.org/changeset/72628
3558         https://bugs.webkit.org/show_bug.cgi?id=49994
3559
3560         This patch is causing layout-test failtures on GTK Linux
3561         64-bit Debug (Requested by ctguil on #webkit).
3562
3563         * public/WebAccessibilityObject.h:
3564         * src/WebAccessibilityObject.cpp:
3565         (WebKit::WebAccessibilityObject::parentObject):
3566
3567 2010-11-23  Chris Guillory  <chris.guillory@google.com>
3568
3569         Reviewed by Dimitri Glazkov.
3570
3571         Include the FrameView widget of a RenderWidget in the accessibility tree.
3572         https://bugs.webkit.org/show_bug.cgi?id=49106
3573
3574         * public/WebAccessibilityObject.h:
3575         * src/WebAccessibilityObject.cpp:
3576         (WebKit::WebAccessibilityObject::equals):
3577         (WebKit::WebAccessibilityObject::parentObject):
3578