[chromium] Resize requests at the view level should be ignored when in autoresize...
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-01-05  David Levin  <levin@chromium.org>
2
3         [chromium] Resize requests at the view level should be ignored when in autoresize mode.
4         https://bugs.webkit.org/show_bug.cgi?id=75651
5
6         Reviewed by Dmitry Titov.
7
8         * src/WebViewImpl.cpp:
9         (WebKit::WebViewImpl::resize): The assert was here to catch a view that
10         tried to do a resize after setting autoresize. However, we found that generic
11         code tries to do resizes as well. Rather than special case each caller,
12         we'll just make this code ignore the resize call.
13
14 2012-01-05  W. James MacLean  <wjmaclean@chromium.org>
15
16         [chromium][aura] WebExternalTextureLayerImpl::drawsContent() returns incorrect value, causing accelerated content to not display in Aura desktop
17         https://bugs.webkit.org/show_bug.cgi?id=75551
18
19         Reviewed by James Robinson.
20
21         * WebKit.gypi:
22         * src/WebExternalTextureLayerImpl.cpp:
23         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
24         * tests/WebExternalTextureLayerImplTest.cpp: Copied from Source/WebKit/chromium/src/WebExternalTextureLayerImpl.cpp.
25
26 2012-01-05  Tien Ren Chen  <trchen@chromium.org>
27
28         [chromium] Add CCTimer class for the compositor
29         https://bugs.webkit.org/show_bug.cgi?id=74769
30
31         Reviewed by James Robinson.
32
33         Add a simple timer class for CCThread that the timered task can be
34         manually cancelled.
35
36         * WebKit.gypi:
37         * tests/CCTimerTest.cpp: Added.
38         (WebKitTests::CCTimerTest::CCTimerTest):
39         (WebKitTests::CCTimerTest::onTimerFired):
40         (WebKitTests::TEST_F):
41
42 2012-01-04  Adrienne Walker  <enne@google.com>
43
44         [chromium] Create unit tests for CCTiledLayerImpl
45         https://bugs.webkit.org/show_bug.cgi?id=75557
46
47         Reviewed by James Robinson.
48
49         Add some quad generation tests for tiled layers.
50
51         * WebKit.gypi:
52         * tests/CCTiledLayerImplTest.cpp: Added.
53         (WebCore::createLayer):
54         (WebCore::TEST):
55         (WebCore::completelyContains):
56         (WebCore::getQuads):
57         (WebCore::verifyQuadsExactlyCoverRect):
58         (WebCore::coverageVisibleRectOnTileBoundaries):
59         (WebCore::coverageVisibleRectIntersectsTiles):
60         (WebCore::coverageVisibleRectIntersectsBounds):
61
62 2012-01-05  David Reveman  <reveman@chromium.org>
63
64         [Chromium] Remove WebSettings::setAcceleratedDrawingEnabled from public API.
65         https://bugs.webkit.org/show_bug.cgi?id=74125
66
67         Reviewed by James Robinson.
68
69         Remove setAcceleratedDrawingEnabled method from WebSettings class.
70
71         * public/WebSettings.h:
72         * src/WebSettingsImpl.cpp:
73         * src/WebSettingsImpl.h:
74
75 2012-01-05  Peter Beverloo  <peter@chromium.org>
76
77         [Chromium] Upstream the RenderTheme and ScrollbarTheme for Android
78         https://bugs.webkit.org/show_bug.cgi?id=74614
79
80         Reviewed by Adam Barth.
81
82         * src/WebViewImpl.cpp:
83         (WebKit::WebViewImpl::setScrollbarColors):
84         (WebKit::WebViewImpl::setSelectionColors):
85
86 2012-01-05  Fady Samuel  <fsamuel@chromium.org>
87
88         [Chromium] Expose Fixed Position Layout to WebViewImpl
89         https://bugs.webkit.org/show_bug.cgi?id=75556
90
91         Reviewed by Darin Fisher.
92
93         * public/WebView.h:
94         * src/WebViewImpl.cpp:
95         (WebKit::WebViewImpl::shouldLayoutFixedElementsRelativeToFrame):
96         (WebKit::WebViewImpl::setShouldLayoutFixedElementsRelativeToFrame):
97         * src/WebViewImpl.h:
98
99 2012-01-04  Ryosuke Niwa  <rniwa@webkit.org>
100
101         Roll Chromium DEPS from 116031 to 116459.
102
103         * DEPS:
104
105 2012-01-04  David Levin  <levin@chromium.org>
106
107         Attempt Chromium build fix.
108
109         * src/WorkerFileSystemCallbacksBridge.h:
110
111 2012-01-04  David Levin  <levin@chromium.org>
112
113         [chromium] Remove AllowCrossThreadAccess in WorkerFileSystemCallbacksBridge.
114         https://bugs.webkit.org/show_bug.cgi?id=75579
115
116         Reviewed by Dmitry Titov.
117
118         This code doesn't have lifetime issues, but this change is
119         about getting rid of AllowCrossThreadAccess and getting rid of a leakRef.
120         This allows the code to follow a more common pattern and be more easily
121         verified as being correct.
122
123         * src/WorkerFileSystemCallbacksBridge.cpp:
124         (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
125         (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
126         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
127         (WebKit::WorkerFileSystemCallbacksBridge::postMoveToMainThread):
128         (WebKit::WorkerFileSystemCallbacksBridge::postCopyToMainThread):
129         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveToMainThread):
130         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread):
131         (WebKit::WorkerFileSystemCallbacksBridge::postReadMetadataToMainThread):
132         (WebKit::WorkerFileSystemCallbacksBridge::postCreateFileToMainThread):
133         (WebKit::WorkerFileSystemCallbacksBridge::postCreateDirectoryToMainThread):
134         (WebKit::WorkerFileSystemCallbacksBridge::postFileExistsToMainThread):
135         (WebKit::WorkerFileSystemCallbacksBridge::postDirectoryExistsToMainThread):
136         (WebKit::WorkerFileSystemCallbacksBridge::postReadDirectoryToMainThread):
137         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
138         (WebKit::WorkerFileSystemCallbacksBridge::moveOnMainThread):
139         (WebKit::WorkerFileSystemCallbacksBridge::copyOnMainThread):
140         (WebKit::WorkerFileSystemCallbacksBridge::removeOnMainThread):
141         (WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread):
142         (WebKit::WorkerFileSystemCallbacksBridge::readMetadataOnMainThread):
143         (WebKit::WorkerFileSystemCallbacksBridge::createFileOnMainThread):
144         (WebKit::WorkerFileSystemCallbacksBridge::createDirectoryOnMainThread):
145         (WebKit::WorkerFileSystemCallbacksBridge::fileExistsOnMainThread):
146         (WebKit::WorkerFileSystemCallbacksBridge::directoryExistsOnMainThread):
147         (WebKit::WorkerFileSystemCallbacksBridge::readDirectoryOnMainThread):
148         (WebKit::WorkerFileSystemCallbacksBridge::didFailOnMainThread):
149         (WebKit::WorkerFileSystemCallbacksBridge::didOpenFileSystemOnMainThread):
150         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
151         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
152         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
153         (WebKit::WorkerFileSystemCallbacksBridge::didFailOnWorkerThread):
154         (WebKit::WorkerFileSystemCallbacksBridge::didOpenFileSystemOnWorkerThread):
155         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnWorkerThread):
156         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnWorkerThread):
157         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnWorkerThread):
158         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
159         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
160         * src/WorkerFileSystemCallbacksBridge.h:
161
162 2012-01-04  David Levin  <levin@chromium.org>
163
164         [chromium] Make it safe to delete WorkerFileSystemContextObserver on any thread.
165         https://bugs.webkit.org/show_bug.cgi?id=75573
166
167         Reviewed by Dmitry Titov.
168
169         * src/WorkerFileSystemCallbacksBridge.cpp:
170         (WebKit::WorkerFileSystemContextObserver): Move the WorkerContextObserver
171         out of the WorkerFileSystemCallbacksBridge since an observer should be
172         destroyed on the WorkerContext thread. (Actually, it could be destroyed on either
173         thread if you are careful to make a certain method call on it while on the WorkerContext
174         thread but trying that is a more fragile pattern.)
175         (WebKit::WorkerFileSystemCallbacksBridge::WorkerFileSystemCallbacksBridge):
176         (WebKit::WorkerFileSystemCallbacksBridge::stop): Factor out the clean up and make it
177         clear what the mutex is guarding.
178         (WebKit::WorkerFileSystemCallbacksBridge::cleanUpAfterCallback): Delete
179         the observer. Due to where this is called from, it is always called on the WorkerContext thread.
180         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnWorkerThread): Replace some code with
181         the cleanUpAfterCallback call.
182         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
183         * src/WorkerFileSystemCallbacksBridge.h: In addition to some comment clean ups and code factoring,
184         I made the desctructor private since no one should call it directly.
185
186 2012-01-04  James Robinson  <jamesr@chromium.org>
187
188         [chromium] Remove chromium compositor support for unused zoomAnimatorTransform
189         https://bugs.webkit.org/show_bug.cgi?id=75585
190
191         Reviewed by Kenneth Russell.
192
193         * src/WebViewImpl.cpp:
194         (WebKit::WebViewImpl::setZoomLevel):
195         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
196         * tests/CCLayerImplTest.cpp:
197         (WebCore::TEST):
198
199 2012-01-04  James Robinson  <jamesr@chromium.org>
200
201         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
202
203         * WebKit.gyp:
204
205 2012-01-04  Sheriff Bot  <webkit.review.bot@gmail.com>
206
207         Unreviewed, rolling out r104052.
208         http://trac.webkit.org/changeset/104052
209         https://bugs.webkit.org/show_bug.cgi?id=75574
210
211         Breaks win builder (Requested by enne on #webkit).
212
213         * WebKit.gypi:
214         * tests/CCTiledLayerImplTest.cpp: Removed.
215
216 2012-01-04  Dmitry Lomov  <dslomov@google.com>
217
218         Unreviewed:[Chromium]Disable WebPageNewSerializeTest.CSSResources and WebPageNewSerializeTest.TestMHTMLEncoding.
219         https://bugs.webkit.org/show_bug.cgi?id=75567
220
221         * tests/WebPageNewSerializerTest.cpp:
222         (WebKit::TEST_F):
223
224 2012-01-04  Adrienne Walker  <enne@google.com>
225
226         [chromium] Create unit tests for CCTiledLayerImpl
227         https://bugs.webkit.org/show_bug.cgi?id=75557
228
229         Reviewed by James Robinson.
230
231         Add some quad generation tests for tiled layers.
232
233         * WebKit.gypi:
234         * tests/CCTiledLayerImplTest.cpp: Added.
235         (WebCore::createLayer):
236         (WebCore::TEST):
237         (WebCore::completelyContains):
238         (WebCore::getQuads):
239         (WebCore::verifyQuadsExactlyCoverRect):
240         (WebCore::coverageVisibleRectOnTileBoundaries):
241         (WebCore::coverageVisibleRectIntersectsTiles):
242         (WebCore::coverageVisibleRectIntersectsBounds):
243
244 2012-01-04  James Robinson  <jamesr@chromium.org>
245
246         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
247         https://bugs.webkit.org/show_bug.cgi?id=74583
248
249         Reviewed by Darin Fisher.
250
251         public/platform/WebMimeRegistry.h is a temporary forwarding header to ease the transition. Once downstream
252         callers are updated to the new location this header can be removed.
253
254         WebString, WebCString, and WebCommon.h will remain in place as forwarding headers for users of the WebKit client
255         API.
256
257         * WebKit.gyp:
258         * public/platform/WebCString.h:
259         * public/platform/WebCommon.h:
260         * public/platform/WebMimeRegistry.h:
261         * public/platform/WebString.h:
262
263 2012-01-03  Vangelis Kokkevis  <vangelis@chromium.org>
264
265         [chromium] Bypass the shadow texture copy for accelerated
266         canvas when running the compositor in single threaded mode.
267         https://bugs.webkit.org/show_bug.cgi?id=75146
268
269         Modified Canvas2DLayerChromium unit test to test canvas with
270         both threaded and non-threaded compositing.
271
272         Reviewed by James Robinson.
273
274         * tests/CCSchedulerTestCommon.h:
275         (WebKitTests::FakeCCThread::threadID):
276         * tests/Canvas2DLayerChromiumTest.cpp:
277         (WebCore::Canvas2DLayerChromiumTest::setTextureManager):
278         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
279         (WebCore::TEST_F):
280
281 2012-01-04  Peter Beverloo  <peter@chromium.org>
282
283         [Chromium] Re-use TestShellLinux.cpp for Android
284         https://bugs.webkit.org/show_bug.cgi?id=75169
285
286         Reviewed by Tony Chang.
287
288         TestShellLinux.cpp can be re-used for the test-shell on the WebKit
289         Chromium port for Android. Most custom inclusions for the DumpRenderTree
290         target are done in Tools/DumpRenderTree.gypi, but since *Linux.cpp files
291         are being excluded by a global rule on sources it has to be later in
292         the project generation process.
293
294         * WebKit.gyp:
295
296 2012-01-03  Karl Koscher  <supersat@chromium.org>
297
298         Give embedders a chance to handle postMessage calls
299         https://bugs.webkit.org/show_bug.cgi?id=73883
300
301         Reviewed by Adam Barth.
302
303         * public/WebFrameClient.h:
304         (WebKit::WebFrameClient::willCheckAndDispatchMessageEvent): 
305             interface to give the embedder a chance to handle this postMessage call
306         * src/FrameLoaderClientImpl.cpp:
307         (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent): Call 
308             willCheckAndDispatchMessageEvent on WebFrameClient
309         * src/FrameLoaderClientImpl.h:
310
311 2012-01-03  Shawn Singh  <shawnsingh@chromium.org>
312
313         [chromium] CCLayerSorter accidentally reverses order of some layers.
314         https://bugs.webkit.org/show_bug.cgi?id=75046
315
316         Reviewed by James Robinson.
317
318         * tests/CCLayerSorterTest.cpp:
319         (WebCore::TEST):
320
321 2012-01-03  David Levin  <levin@chromium.org>
322
323         [chromium] LocalFileSystemChromium needs some thread safety fixes.
324         https://bugs.webkit.org/show_bug.cgi?id=75494
325
326         Reviewed by Dmitry Titov.
327
328         This is essentially the same fix as r102894 except in slightly different code.
329
330         The important part of this fix is the removal of AllowCrossThreadAccess so
331         that ref counting happens appropriately.
332
333         Minor clean up throughout: Removed unnecessary WTF prefix in many
334         of these places and unnecessary String().
335
336         * src/LocalFileSystemChromium.cpp: See r102894 since this
337         is basically the same thing.
338
339 2012-01-03  Shawn Singh  <shawnsingh@chromium.org>
340
341         [chromium] Push drawsContent and contentsVisible into accelerated compositor
342         https://bugs.webkit.org/show_bug.cgi?id=71209
343
344         Reviewed by James Robinson.
345
346         * src/WebContentLayerImpl.cpp:
347         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
348         (WebKit::WebContentLayerImpl::setDrawsContent):
349         * src/WebContentLayerImpl.h:
350         * src/WebExternalTextureLayerImpl.cpp:
351         (WebKit::WebExternalTextureLayerImpl::drawsContent):
352         * src/WebLayerImpl.cpp:
353         (WebKit::WebLayerImpl::WebLayerImpl):
354         * src/WebLayerImpl.h:
355         * tests/CCLayerTreeHostTest.cpp:
356         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
357         * tests/Canvas2DLayerChromiumTest.cpp:
358         * tests/LayerChromiumTest.cpp:
359         * tests/TiledLayerChromiumTest.cpp:
360         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
361
362 2012-01-03  Shawn Singh  <shawnsingh@chromium.org>
363
364         [chromium] Make sure root damage rect gets passed to renderer
365         https://bugs.webkit.org/show_bug.cgi?id=74893
366
367         Reviewed by James Robinson.
368
369         * tests/CCLayerTreeHostImplTest.cpp:
370         (WebKit::TEST_F):
371         (WebKit::PartialSwapTrackerContext::initialize):
372         (WebKit::PartialSwapTrackerContext::postSubBufferCHROMIUM):
373         (WebKit::PartialSwapTrackerContext::getString):
374         (WebKit::PartialSwapTrackerContext::partialSwapRect):
375
376 2012-01-03  Tony Chang  <tony@chromium.org>
377
378         [chromium] Fix compilation with clang and the shared build
379         https://bugs.webkit.org/show_bug.cgi?id=75492
380
381         Reviewed by Ojan Vafai.
382
383         * WebKit.gyp: Turn off -Wglobal-constructors because test files using
384         GTEST have global constructors.
385         * tests/InnerGestureRecognizerTest.cpp:
386         (TEST_F): Move global into test function.
387
388 2012-01-03  Adrienne Walker  <enne@google.com>
389
390         [chromium] Revert accidentally removed chrome client compositing check
391         https://bugs.webkit.org/show_bug.cgi?id=75500
392
393         Reviewed by James Robinson.
394
395         This check was overzealously removed in r103968 as a part of
396         re-enabling compositing for RTL pages. Add it back.
397
398         * src/ChromeClientImpl.cpp:
399         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
400
401 2012-01-03  Jon Lee  <jonlee@apple.com>
402
403         Leak of WebNotificationClient when page is destroyed
404         https://bugs.webkit.org/show_bug.cgi?id=74980
405         <rdar://problem/10611231>
406
407         Reviewed by Mark Rowe.
408
409         * src/NotificationPresenterImpl.cpp:
410         (WebKit::NotificationPresenterImpl::notificationControllerDestroyed): Empty implementation because ownership
411         model differs.
412         * src/NotificationPresenterImpl.h:
413
414 2012-01-03  James Robinson  <jamesr@chromium.org>
415
416         [chromium] Remove WebLayerClient
417         https://bugs.webkit.org/show_bug.cgi?id=75481
418
419         Reviewed by Darin Fisher.
420
421         * WebKit.gyp:
422         * public/platform/WebContentLayer.h:
423         * public/platform/WebExternalTextureLayer.h:
424         * public/platform/WebLayer.h:
425         * public/platform/WebLayerClient.h: Removed.
426         * src/WebContentLayer.cpp:
427         * src/WebExternalTextureLayer.cpp:
428         * src/WebLayer.cpp:
429
430 2012-01-03  Adrienne Walker  <enne@google.com>
431
432         [chromium] Support RTL pages and elements in the compositor
433         https://bugs.webkit.org/show_bug.cgi?id=56591
434
435         Reviewed by James Robinson.
436
437         As the noncomposited content host layer is created and managed by the
438         Chromium compositor, adjust its transform appropriately in the layer
439         tree and at paint time to handle the offset required due to the
440         initial containing block of RTL pages.
441
442         * src/ChromeClientImpl.cpp:
443         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
444         * src/NonCompositedContentHost.cpp:
445         (WebKit::NonCompositedContentHost::setViewport):
446         (WebKit::NonCompositedContentHost::paintContents):
447         * src/NonCompositedContentHost.h:
448         * src/WebViewImpl.cpp:
449         (WebKit::WebViewImpl::updateLayerTreeViewport):
450
451 2012-01-03  Adrienne Walker  <enne@google.com>
452
453         [chromium] Make tiled layer's tiler always exist
454         https://bugs.webkit.org/show_bug.cgi?id=75329
455
456         Reviewed by James Robinson.
457
458         Update test due to changing API. Add a test for changing border
459         texel option on TilingData.
460
461         * tests/TiledLayerChromiumTest.cpp:
462         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
463         * tests/TilingDataTest.cpp:
464         (WebCore::TEST):
465
466 2011-12-30  Ami Fischman  <fischman@chromium.org>
467
468         Allow disabling accelerated compositing in WebMediaPlayerClient (so audio-only <video> isn't accelerated).
469         https://bugs.webkit.org/show_bug.cgi?id=75261
470
471         Reviewed by Darin Fisher.
472
473         * public/WebMediaPlayerClient.h:
474         * src/WebMediaPlayerClientImpl.cpp:
475         (WebKit::WebMediaPlayerClientImpl::disableAcceleratedCompositing):
476         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
477         * src/WebMediaPlayerClientImpl.h:
478
479 2011-12-30  Sheriff Bot  <webkit.review.bot@gmail.com>
480
481         Unreviewed.  Rolled DEPS.
482
483         * DEPS:
484
485 2011-12-30  Pavel Feldman  <pfeldman@google.com>
486
487         Web Inspector: migrate from "attached" to "compact" styles.
488         https://bugs.webkit.org/show_bug.cgi?id=75381
489
490         Reviewed by Yury Semikhatsky.
491
492         When front-end is docked to right, it should look like "detached", but is still "attached".
493         Use "compact" mode instead of "attached" mode in the styles to mitigate it.
494
495         * src/js/devTools.css:
496         (body.compact #toolbar):
497
498 2011-12-30  Dmitry Lomov  <dslomov@google.com>
499
500         https://bugs.webkit.org/show_bug.cgi?id=75373
501         [Chromium] Remove WebWorkerClient.h
502         After coordinated patch in chromium, WebWorkerClient alias for WebSharedWorkerClient is no longer needed.
503
504         Reviewed by Adam Barth.
505
506         * WebKit.gyp:
507         * public/WebFrameClient.h:
508         * public/WebWorkerClient.h: Removed.
509         * src/WebSharedWorkerImpl.h:
510         * src/WebWorkerBase.cpp:
511         * src/WebWorkerClientImpl.h:
512
513 2011-12-29  Sheriff Bot  <webkit.review.bot@gmail.com>
514
515         Unreviewed, rolling out r103831.
516         http://trac.webkit.org/changeset/103831
517         https://bugs.webkit.org/show_bug.cgi?id=75377
518
519         broke chromium build (Requested by dslomov_ on #webkit).
520
521         * WebKit.gyp:
522         * public/WebFrameClient.h:
523         * public/WebWorkerClient.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
524         * src/WebSharedWorkerImpl.h:
525         * src/WebWorkerBase.cpp:
526         * src/WebWorkerClientImpl.h:
527
528 2011-12-29  Pavel Feldman  <pfeldman@google.com>
529
530         Web Inspector: enable dock-to-right view (still need embedders to support it).
531         https://bugs.webkit.org/show_bug.cgi?id=75360
532
533         Reviewed by Yury Semikhatsky.
534
535         * src/js/DevTools.js:
536
537 2011-12-29  Dmitry Lomov  <dslomov@google.com>
538
539         https://bugs.webkit.org/show_bug.cgi?id=75373
540         [Chromium] Remove WebWorkerClient.h
541         After coordinated patch in chromium, WebWorkerClient alias for WebSharedWorkerClient is no longer needed.
542
543         Reviewed by Adam Barth.
544
545         * WebKit.gyp:
546         * public/WebFrameClient.h:
547         * public/WebWorkerClient.h: Removed.
548         * src/WebSharedWorkerImpl.h:
549         * src/WebWorkerBase.cpp:
550         * src/WebWorkerClientImpl.h:
551
552 2011-12-29  Pavel Feldman  <pfeldman@google.com>
553
554         Web Inspector: [chromium] pass dock to side request to the embedder.
555         https://bugs.webkit.org/show_bug.cgi?id=75344
556
557         Reviewed by Yury Semikhatsky.
558
559         * public/WebDevToolsFrontendClient.h:
560         (WebKit::WebDevToolsFrontendClient::requestSetDockSide):
561         * src/InspectorFrontendClientImpl.cpp:
562         (WebKit::InspectorFrontendClientImpl::requestSetDockSide):
563         * src/InspectorFrontendClientImpl.h:
564
565 2011-12-28  Dmitry Lomov  <dslomov@google.com>
566
567         [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
568         https://bugs.webkit.org/show_bug.cgi?id=66509
569         Just renames, merges and removal of dead code. Here are the list of renames:
570           - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
571           - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
572           - WebWorkerBase merged into WebSharedWorkerImpl
573           - NewWebWorkerBase renamed into WebWorkerBase
574         WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
575         Will be removed after coordinated patch in chromium.
576
577         Reviewed by David Levin.
578
579         * WebKit.gyp:
580         * public/WebCommonWorkerClient.h:
581         * public/WebSharedWorker.h:
582         * public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
583         (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
584         (WebKit::WebSharedWorkerClient::allowFileSystem):
585         (WebKit::WebSharedWorkerClient::openFileSystem):
586         (WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
587         (WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
588         (WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
589         * public/WebWorkerClient.h:
590         * src/DatabaseObserver.cpp:
591         (WebKit::AllowDatabaseMainThreadBridge::create):
592         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
593         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
594         (WebKit::allowDatabaseForWorker):
595         (WebCore::DatabaseObserver::canEstablishDatabase):
596         * src/IDBFactoryBackendProxy.cpp:
597         (WebKit::IDBFactoryBackendProxy::openFromWorker):
598         * src/LocalFileSystemChromium.cpp:
599         (WebCore::openFileSystemHelper):
600         * src/WebSharedWorkerImpl.cpp:
601         (WebKit::initializeWebKitStaticValues):
602         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
603         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
604         (WebKit::WebSharedWorkerImpl::stopWorkerThread):
605         (WebKit::WebSharedWorkerImpl::initializeLoader):
606         (WebKit::WebSharedWorkerImpl::didCreateDataSource):
607         (WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
608         (WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
609         (WebKit::WebSharedWorkerImpl::postMessageTask):
610         (WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
611         (WebKit::WebSharedWorkerImpl::postExceptionTask):
612         (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
613         (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
614         (WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
615         (WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
616         (WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
617         (WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
618         (WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
619         (WebKit::WebSharedWorkerImpl::confirmMessageTask):
620         (WebKit::WebSharedWorkerImpl::reportPendingActivity):
621         (WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
622         (WebKit::WebSharedWorkerImpl::workerContextClosed):
623         (WebKit::WebSharedWorkerImpl::workerContextClosedTask):
624         (WebKit::WebSharedWorkerImpl::workerContextDestroyed):
625         (WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
626         (WebKit::WebSharedWorkerImpl::postTaskToLoader):
627         (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
628         (WebKit::WebSharedWorker::create):
629         * src/WebSharedWorkerImpl.h:
630         (WebKit::WebSharedWorkerImpl::view):
631         (WebKit::WebSharedWorkerImpl::commonClient):
632         (WebKit::WebSharedWorkerImpl::client):
633         (WebKit::WebSharedWorkerImpl::setWorkerThread):
634         (WebKit::WebSharedWorkerImpl::workerThread):
635         * src/WebWorkerBase.cpp:
636         (WebKit::invokeTaskMethod):
637         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
638         * src/WebWorkerBase.h:
639         * src/WebWorkerClientImpl.cpp:
640         * src/WebWorkerClientImpl.h:
641         (WebKit::WebWorkerClientImpl::commonClient):
642         * src/WebWorkerImpl.cpp: Removed.
643         * src/WebWorkerImpl.h: Removed.
644         * src/WorkerFileSystemCallbacksBridge.cpp:
645         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
646         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
647         * src/WorkerFileSystemCallbacksBridge.h:
648
649 2011-12-28  Sheriff Bot  <webkit.review.bot@gmail.com>
650
651         Unreviewed, rolling out r103785.
652         http://trac.webkit.org/changeset/103785
653         https://bugs.webkit.org/show_bug.cgi?id=75332
654
655         Broke builders; looks like clobbering didnt help (Requested by
656         dslomov on #webkit).
657
658         * WebKit.gyp:
659         * public/WebCommonWorkerClient.h:
660         (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
661         (WebKit::WebCommonWorkerClient::allowFileSystem):
662         (WebKit::WebCommonWorkerClient::openFileSystem):
663         (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
664         (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
665         (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
666         * public/WebFrameClient.h:
667         (WebKit::WebFrameClient::createWorker):
668         * public/WebSharedWorker.h:
669         * public/WebSharedWorkerClient.h: Removed.
670         * public/WebWorkerClient.h:
671         (WebKit::WebWorkerClient::~WebWorkerClient):
672         * src/DatabaseObserver.cpp:
673         (WebKit::AllowDatabaseMainThreadBridge::create):
674         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
675         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
676         (WebKit::allowDatabaseForWorker):
677         (WebCore::DatabaseObserver::canEstablishDatabase):
678         * src/IDBFactoryBackendProxy.cpp:
679         (WebKit::IDBFactoryBackendProxy::openFromWorker):
680         * src/LocalFileSystemChromium.cpp:
681         (WebCore::openFileSystemHelper):
682         * src/WebSharedWorkerImpl.cpp:
683         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
684         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
685         (WebKit::WebSharedWorkerImpl::client):
686         (WebKit::WebSharedWorker::create):
687         * src/WebSharedWorkerImpl.h:
688         (WebKit::WebSharedWorkerImpl::commonClient):
689         (WebKit::WebSharedWorkerImpl::newCommonClient):
690         * src/WebWorkerBase.cpp:
691         (WebKit::initializeWebKitStaticValues):
692         (WebKit::WebWorkerBase::WebWorkerBase):
693         (WebKit::WebWorkerBase::~WebWorkerBase):
694         (WebKit::WebWorkerBase::stopWorkerThread):
695         (WebKit::WebWorkerBase::initializeLoader):
696         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
697         (WebKit::WebWorkerBase::invokeTaskMethod):
698         (WebKit::WebWorkerBase::didCreateDataSource):
699         (WebKit::WebWorkerBase::createApplicationCacheHost):
700         (WebKit::WebWorkerBase::postMessageToWorkerObject):
701         (WebKit::WebWorkerBase::postMessageTask):
702         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
703         (WebKit::WebWorkerBase::postExceptionTask):
704         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
705         (WebKit::WebWorkerBase::postConsoleMessageTask):
706         (WebKit::WebWorkerBase::postMessageToPageInspector):
707         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
708         (WebKit::WebWorkerBase::updateInspectorStateCookie):
709         (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
710         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
711         (WebKit::WebWorkerBase::confirmMessageTask):
712         (WebKit::WebWorkerBase::reportPendingActivity):
713         (WebKit::WebWorkerBase::reportPendingActivityTask):
714         (WebKit::WebWorkerBase::workerContextClosed):
715         (WebKit::WebWorkerBase::workerContextClosedTask):
716         (WebKit::WebWorkerBase::workerContextDestroyed):
717         (WebKit::WebWorkerBase::workerContextDestroyedTask):
718         (WebKit::WebWorkerBase::postTaskToLoader):
719         (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
720         * src/WebWorkerBase.h:
721         (WebKit::WebWorkerBase::view):
722         (WebKit::WebWorkerBase::setWorkerThread):
723         (WebKit::WebWorkerBase::workerThread):
724         * src/WebWorkerClientImpl.cpp:
725         * src/WebWorkerClientImpl.h:
726         (WebKit::WebWorkerClientImpl::newCommonClient):
727         * src/WebWorkerImpl.cpp: Added.
728         (WebKit::WebWorker::create):
729         (WebKit::WebWorkerImpl::WebWorkerImpl):
730         (WebKit::WebWorkerImpl::~WebWorkerImpl):
731         (WebKit::WebWorkerImpl::newCommonClient):
732         (WebKit::WebWorkerImpl::commonClient):
733         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
734         (WebKit::WebWorkerImpl::startWorkerContext):
735         (WebKit::WebWorkerImpl::terminateWorkerContext):
736         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
737         (WebKit::WebWorkerImpl::workerObjectDestroyed):
738         (WebKit::WebWorkerImpl::clientDestroyed):
739         * src/WebWorkerImpl.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
740         (WebKit::WebWorkerImpl::client):
741         * src/WorkerFileSystemCallbacksBridge.cpp:
742         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
743         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
744         * src/WorkerFileSystemCallbacksBridge.h:
745
746 2011-12-28  Dmitry Lomov  <dslomov@google.com>
747
748         [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
749         https://bugs.webkit.org/show_bug.cgi?id=66509
750         Just renames, merges and removal of dead code. Here are the list of renames:
751           - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
752           - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
753           - WebWorkerBase merged into WebSharedWorkerImpl
754           - NewWebWorkerBase renamed into WebWorkerBase
755         WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
756         Will be removed after coordinated patch in chromium.
757
758         Reviewed by David Levin.
759
760         * WebKit.gyp:
761         * public/WebCommonWorkerClient.h:
762         * public/WebSharedWorker.h:
763         * public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
764         (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
765         (WebKit::WebSharedWorkerClient::allowFileSystem):
766         (WebKit::WebSharedWorkerClient::openFileSystem):
767         (WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
768         (WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
769         (WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
770         * public/WebWorkerClient.h:
771         * src/DatabaseObserver.cpp:
772         (WebKit::AllowDatabaseMainThreadBridge::create):
773         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
774         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
775         (WebKit::allowDatabaseForWorker):
776         (WebCore::DatabaseObserver::canEstablishDatabase):
777         * src/IDBFactoryBackendProxy.cpp:
778         (WebKit::IDBFactoryBackendProxy::openFromWorker):
779         * src/LocalFileSystemChromium.cpp:
780         (WebCore::openFileSystemHelper):
781         * src/WebSharedWorkerImpl.cpp:
782         (WebKit::initializeWebKitStaticValues):
783         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
784         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
785         (WebKit::WebSharedWorkerImpl::stopWorkerThread):
786         (WebKit::WebSharedWorkerImpl::initializeLoader):
787         (WebKit::WebSharedWorkerImpl::didCreateDataSource):
788         (WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
789         (WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
790         (WebKit::WebSharedWorkerImpl::postMessageTask):
791         (WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
792         (WebKit::WebSharedWorkerImpl::postExceptionTask):
793         (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
794         (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
795         (WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
796         (WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
797         (WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
798         (WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
799         (WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
800         (WebKit::WebSharedWorkerImpl::confirmMessageTask):
801         (WebKit::WebSharedWorkerImpl::reportPendingActivity):
802         (WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
803         (WebKit::WebSharedWorkerImpl::workerContextClosed):
804         (WebKit::WebSharedWorkerImpl::workerContextClosedTask):
805         (WebKit::WebSharedWorkerImpl::workerContextDestroyed):
806         (WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
807         (WebKit::WebSharedWorkerImpl::postTaskToLoader):
808         (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
809         (WebKit::WebSharedWorker::create):
810         * src/WebSharedWorkerImpl.h:
811         (WebKit::WebSharedWorkerImpl::view):
812         (WebKit::WebSharedWorkerImpl::commonClient):
813         (WebKit::WebSharedWorkerImpl::client):
814         (WebKit::WebSharedWorkerImpl::setWorkerThread):
815         (WebKit::WebSharedWorkerImpl::workerThread):
816         * src/WebWorkerBase.cpp:
817         (WebKit::invokeTaskMethod):
818         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
819         * src/WebWorkerBase.h:
820         * src/WebWorkerClientImpl.cpp:
821         * src/WebWorkerClientImpl.h:
822         (WebKit::WebWorkerClientImpl::commonClient):
823         * src/WebWorkerImpl.cpp: Removed.
824         * src/WebWorkerImpl.h: Removed.
825         * src/WorkerFileSystemCallbacksBridge.cpp:
826         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
827         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
828         * src/WorkerFileSystemCallbacksBridge.h:
829
830 2011-12-28  Sheriff Bot  <webkit.review.bot@gmail.com>
831
832         Unreviewed, rolling out r103620.
833         http://trac.webkit.org/changeset/103620
834         https://bugs.webkit.org/show_bug.cgi?id=75316
835
836         Causes many crashes (Requested by abarth on #webkit).
837
838         * public/WebDOMMessageEvent.h:
839         * public/WebFrameClient.h:
840         * src/FrameLoaderClientImpl.cpp:
841         * src/FrameLoaderClientImpl.h:
842
843 2011-12-27  Sheriff Bot  <webkit.review.bot@gmail.com>
844
845         Unreviewed, rolling out r103734.
846         http://trac.webkit.org/changeset/103734
847         https://bugs.webkit.org/show_bug.cgi?id=75278
848
849         Broke cr-mac (Requested by dslomov on #webkit).
850
851         * WebKit.gyp:
852         * public/WebCommonWorkerClient.h:
853         (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
854         (WebKit::WebCommonWorkerClient::allowFileSystem):
855         (WebKit::WebCommonWorkerClient::openFileSystem):
856         (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
857         (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
858         (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
859         * public/WebFrameClient.h:
860         (WebKit::WebFrameClient::createWorker):
861         * public/WebSharedWorker.h:
862         * public/WebSharedWorkerClient.h: Removed.
863         * public/WebWorkerClient.h:
864         (WebKit::WebWorkerClient::~WebWorkerClient):
865         * src/DatabaseObserver.cpp:
866         (WebKit::AllowDatabaseMainThreadBridge::create):
867         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
868         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
869         (WebKit::allowDatabaseForWorker):
870         (WebCore::DatabaseObserver::canEstablishDatabase):
871         * src/IDBFactoryBackendProxy.cpp:
872         (WebKit::IDBFactoryBackendProxy::openFromWorker):
873         * src/LocalFileSystemChromium.cpp:
874         (WebCore::openFileSystemHelper):
875         * src/WebSharedWorkerImpl.cpp:
876         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
877         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
878         (WebKit::WebSharedWorkerImpl::client):
879         (WebKit::WebSharedWorker::create):
880         * src/WebSharedWorkerImpl.h:
881         (WebKit::WebSharedWorkerImpl::commonClient):
882         (WebKit::WebSharedWorkerImpl::newCommonClient):
883         * src/WebWorkerBase.cpp:
884         (WebKit::initializeWebKitStaticValues):
885         (WebKit::WebWorkerBase::WebWorkerBase):
886         (WebKit::WebWorkerBase::~WebWorkerBase):
887         (WebKit::WebWorkerBase::stopWorkerThread):
888         (WebKit::WebWorkerBase::initializeLoader):
889         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
890         (WebKit::WebWorkerBase::invokeTaskMethod):
891         (WebKit::WebWorkerBase::didCreateDataSource):
892         (WebKit::WebWorkerBase::createApplicationCacheHost):
893         (WebKit::WebWorkerBase::postMessageToWorkerObject):
894         (WebKit::WebWorkerBase::postMessageTask):
895         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
896         (WebKit::WebWorkerBase::postExceptionTask):
897         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
898         (WebKit::WebWorkerBase::postConsoleMessageTask):
899         (WebKit::WebWorkerBase::postMessageToPageInspector):
900         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
901         (WebKit::WebWorkerBase::updateInspectorStateCookie):
902         (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
903         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
904         (WebKit::WebWorkerBase::confirmMessageTask):
905         (WebKit::WebWorkerBase::reportPendingActivity):
906         (WebKit::WebWorkerBase::reportPendingActivityTask):
907         (WebKit::WebWorkerBase::workerContextClosed):
908         (WebKit::WebWorkerBase::workerContextClosedTask):
909         (WebKit::WebWorkerBase::workerContextDestroyed):
910         (WebKit::WebWorkerBase::workerContextDestroyedTask):
911         (WebKit::WebWorkerBase::postTaskToLoader):
912         (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
913         * src/WebWorkerBase.h:
914         (WebKit::WebWorkerBase::view):
915         (WebKit::WebWorkerBase::setWorkerThread):
916         (WebKit::WebWorkerBase::workerThread):
917         * src/WebWorkerClientImpl.cpp:
918         * src/WebWorkerClientImpl.h:
919         (WebKit::WebWorkerClientImpl::newCommonClient):
920         * src/WebWorkerImpl.cpp: Added.
921         (WebKit::WebWorker::create):
922         (WebKit::WebWorkerImpl::WebWorkerImpl):
923         (WebKit::WebWorkerImpl::~WebWorkerImpl):
924         (WebKit::WebWorkerImpl::newCommonClient):
925         (WebKit::WebWorkerImpl::commonClient):
926         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
927         (WebKit::WebWorkerImpl::startWorkerContext):
928         (WebKit::WebWorkerImpl::terminateWorkerContext):
929         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
930         (WebKit::WebWorkerImpl::workerObjectDestroyed):
931         (WebKit::WebWorkerImpl::clientDestroyed):
932         * src/WebWorkerImpl.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
933         (WebKit::WebWorkerImpl::client):
934         * src/WorkerFileSystemCallbacksBridge.cpp:
935         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
936         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
937         * src/WorkerFileSystemCallbacksBridge.h:
938
939 2011-12-27  Dmitry Lomov  <dslomov@google.com>
940
941         [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
942         https://bugs.webkit.org/show_bug.cgi?id=66509
943         Just renames, merges and removal of dead code. Here are the list of renames:
944           - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
945           - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
946           - WebWorkerBase merged into WebSharedWorkerImpl
947           - NewWebWorkerBase renamed into WebWorkerBase
948         WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
949         Will be removed after coordinated patch in chromium.
950
951         Reviewed by David Levin.
952
953         * WebKit.gyp:
954         * public/WebCommonWorkerClient.h:
955         * public/WebSharedWorker.h:
956         * public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
957         (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
958         (WebKit::WebSharedWorkerClient::allowFileSystem):
959         (WebKit::WebSharedWorkerClient::openFileSystem):
960         (WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
961         (WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
962         (WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
963         * public/WebWorkerClient.h:
964         * src/DatabaseObserver.cpp:
965         (WebKit::AllowDatabaseMainThreadBridge::create):
966         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
967         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
968         (WebKit::allowDatabaseForWorker):
969         (WebCore::DatabaseObserver::canEstablishDatabase):
970         * src/IDBFactoryBackendProxy.cpp:
971         (WebKit::IDBFactoryBackendProxy::openFromWorker):
972         * src/LocalFileSystemChromium.cpp:
973         (WebCore::openFileSystemHelper):
974         * src/WebSharedWorkerImpl.cpp:
975         (WebKit::initializeWebKitStaticValues):
976         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
977         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
978         (WebKit::WebSharedWorkerImpl::stopWorkerThread):
979         (WebKit::WebSharedWorkerImpl::initializeLoader):
980         (WebKit::WebSharedWorkerImpl::didCreateDataSource):
981         (WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
982         (WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
983         (WebKit::WebSharedWorkerImpl::postMessageTask):
984         (WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
985         (WebKit::WebSharedWorkerImpl::postExceptionTask):
986         (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
987         (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
988         (WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
989         (WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
990         (WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
991         (WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
992         (WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
993         (WebKit::WebSharedWorkerImpl::confirmMessageTask):
994         (WebKit::WebSharedWorkerImpl::reportPendingActivity):
995         (WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
996         (WebKit::WebSharedWorkerImpl::workerContextClosed):
997         (WebKit::WebSharedWorkerImpl::workerContextClosedTask):
998         (WebKit::WebSharedWorkerImpl::workerContextDestroyed):
999         (WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
1000         (WebKit::WebSharedWorkerImpl::postTaskToLoader):
1001         (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
1002         (WebKit::WebSharedWorker::create):
1003         * src/WebSharedWorkerImpl.h:
1004         (WebKit::WebSharedWorkerImpl::view):
1005         (WebKit::WebSharedWorkerImpl::commonClient):
1006         (WebKit::WebSharedWorkerImpl::client):
1007         (WebKit::WebSharedWorkerImpl::setWorkerThread):
1008         (WebKit::WebSharedWorkerImpl::workerThread):
1009         * src/WebWorkerBase.cpp:
1010         (WebKit::invokeTaskMethod):
1011         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
1012         * src/WebWorkerBase.h:
1013         * src/WebWorkerClientImpl.cpp:
1014         * src/WebWorkerClientImpl.h:
1015         (WebKit::WebWorkerClientImpl::commonClient):
1016         * src/WebWorkerImpl.cpp: Removed.
1017         * src/WebWorkerImpl.h: Removed.
1018         * src/WorkerFileSystemCallbacksBridge.cpp:
1019         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
1020         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
1021         * src/WorkerFileSystemCallbacksBridge.h:
1022
1023 2011-12-27  Tony Chang  <tony@chromium.org>
1024
1025         [chromium] Minor cleanup of gyp files.
1026         https://bugs.webkit.org/show_bug.cgi?id=75269
1027
1028         Reviewed by Adam Barth.
1029
1030         * WebKit.gyp: msvs_guid is no longer needed.
1031
1032 2011-12-27  Tony Chang  <tony@chromium.org>
1033
1034         [chromium] When building with clang, enable -Wglobal-constructors
1035         https://bugs.webkit.org/show_bug.cgi?id=74365
1036
1037         Reviewed by Adam Barth.
1038
1039         * WebKit.gyp: Only add it to the webkit target.  I got errors when
1040         trying to compile webkit_unit_tests.
1041
1042 2011-12-24  Ryosuke Niwa  <rniwa@webkit.org>
1043
1044         Unreviewed, rolling out r103619.
1045         http://trac.webkit.org/changeset/103619
1046         https://bugs.webkit.org/show_bug.cgi?id=66509
1047
1048         Broke chromium clang build
1049
1050         * WebKit.gyp:
1051         * public/WebCommonWorkerClient.h:
1052         (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
1053         (WebKit::WebCommonWorkerClient::allowFileSystem):
1054         (WebKit::WebCommonWorkerClient::openFileSystem):
1055         (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
1056         (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
1057         (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
1058         * public/WebSharedWorker.h:
1059         * public/WebSharedWorkerClient.h: Removed.
1060         * public/WebWorkerClient.h:
1061         (WebKit::WebWorkerClient::~WebWorkerClient):
1062         * src/DatabaseObserver.cpp:
1063         (WebKit::AllowDatabaseMainThreadBridge::create):
1064         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
1065         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
1066         (WebKit::allowDatabaseForWorker):
1067         (WebCore::DatabaseObserver::canEstablishDatabase):
1068         * src/IDBFactoryBackendProxy.cpp:
1069         (WebKit::IDBFactoryBackendProxy::openFromWorker):
1070         * src/LocalFileSystemChromium.cpp:
1071         (WebCore::openFileSystemHelper):
1072         * src/WebSharedWorkerImpl.cpp:
1073         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
1074         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
1075         (WebKit::WebSharedWorkerImpl::client):
1076         (WebKit::WebSharedWorker::create):
1077         * src/WebSharedWorkerImpl.h:
1078         (WebKit::WebSharedWorkerImpl::commonClient):
1079         (WebKit::WebSharedWorkerImpl::newCommonClient):
1080         * src/WebWorkerBase.cpp:
1081         (WebKit::initializeWebKitStaticValues):
1082         (WebKit::WebWorkerBase::WebWorkerBase):
1083         (WebKit::WebWorkerBase::~WebWorkerBase):
1084         (WebKit::WebWorkerBase::stopWorkerThread):
1085         (WebKit::WebWorkerBase::initializeLoader):
1086         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
1087         (WebKit::WebWorkerBase::invokeTaskMethod):
1088         (WebKit::WebWorkerBase::didCreateDataSource):
1089         (WebKit::WebWorkerBase::createApplicationCacheHost):
1090         (WebKit::WebWorkerBase::postMessageToWorkerObject):
1091         (WebKit::WebWorkerBase::postMessageTask):
1092         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
1093         (WebKit::WebWorkerBase::postExceptionTask):
1094         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
1095         (WebKit::WebWorkerBase::postConsoleMessageTask):
1096         (WebKit::WebWorkerBase::postMessageToPageInspector):
1097         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
1098         (WebKit::WebWorkerBase::updateInspectorStateCookie):
1099         (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
1100         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
1101         (WebKit::WebWorkerBase::confirmMessageTask):
1102         (WebKit::WebWorkerBase::reportPendingActivity):
1103         (WebKit::WebWorkerBase::reportPendingActivityTask):
1104         (WebKit::WebWorkerBase::workerContextClosed):
1105         (WebKit::WebWorkerBase::workerContextClosedTask):
1106         (WebKit::WebWorkerBase::workerContextDestroyed):
1107         (WebKit::WebWorkerBase::workerContextDestroyedTask):
1108         (WebKit::WebWorkerBase::postTaskToLoader):
1109         (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
1110         * src/WebWorkerBase.h:
1111         (WebKit::WebWorkerBase::view):
1112         (WebKit::WebWorkerBase::setWorkerThread):
1113         (WebKit::WebWorkerBase::workerThread):
1114         * src/WebWorkerClientImpl.cpp:
1115         * src/WebWorkerClientImpl.h:
1116         (WebKit::WebWorkerClientImpl::newCommonClient):
1117         * src/WebWorkerImpl.cpp: Added.
1118         (WebKit::WebWorker::create):
1119         (WebKit::WebWorkerImpl::WebWorkerImpl):
1120         (WebKit::WebWorkerImpl::~WebWorkerImpl):
1121         (WebKit::WebWorkerImpl::newCommonClient):
1122         (WebKit::WebWorkerImpl::commonClient):
1123         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
1124         (WebKit::WebWorkerImpl::startWorkerContext):
1125         (WebKit::WebWorkerImpl::terminateWorkerContext):
1126         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
1127         (WebKit::WebWorkerImpl::workerObjectDestroyed):
1128         (WebKit::WebWorkerImpl::clientDestroyed):
1129         * src/WebWorkerImpl.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
1130         (WebKit::WebWorkerImpl::client):
1131         * src/WorkerFileSystemCallbacksBridge.cpp:
1132         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
1133         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
1134         * src/WorkerFileSystemCallbacksBridge.h:
1135
1136 2011-12-23  Sam Weinig  <sam@webkit.org>
1137
1138         Start extracting platform specific bits out of PlatformEvents
1139         https://bugs.webkit.org/show_bug.cgi?id=75063
1140
1141         Reviewed by Anders Carlsson.
1142
1143         * src/WebInputEventConversion.cpp:
1144         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
1145         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1146         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1147         (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder):
1148         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
1149
1150 2011-12-23  Ryosuke Niwa  <rniwa@webkit.org>
1151
1152         Chromium Chromium DEPS from 115012 to 115743.
1153
1154         * DEPS:
1155
1156 2011-12-23  Karl Koscher  <supersat@chromium.org>
1157
1158         Give embedders a chance to handle postMessage calls
1159         https://bugs.webkit.org/show_bug.cgi?id=73883
1160
1161         Reviewed by Adam Barth.
1162
1163         * public/WebFrameClient.h:
1164         (WebKit::WebFrameClient::willCheckAndDispatchMessageEvent): 
1165             interface to give the embedder a chance to handle this postMessage call
1166         * src/FrameLoaderClientImpl.cpp:
1167         (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent): Call 
1168             willCheckAndDispatchMessageEvent on WebFrameClient
1169         * src/FrameLoaderClientImpl.h:
1170
1171 2011-12-23  Dmitry Lomov  <dslomov@google.com>
1172
1173         [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
1174         https://bugs.webkit.org/show_bug.cgi?id=66509
1175         Just renames, merges and removal of dead code. Here are the list of renames:
1176           - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
1177           - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
1178           - WebWorkerBase merged into WebSharedWorkerImpl
1179           - NewWebWorkerBase renamed into WebWorkerBase
1180         WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
1181         Will be removed after coordinated patch in chromium.
1182
1183         Reviewed by David Levin.
1184
1185         * WebKit.gyp:
1186         * public/WebCommonWorkerClient.h:
1187         * public/WebSharedWorker.h:
1188         * public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
1189         (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
1190         (WebKit::WebSharedWorkerClient::allowFileSystem):
1191         (WebKit::WebSharedWorkerClient::openFileSystem):
1192         (WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
1193         (WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
1194         (WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
1195         * public/WebWorkerClient.h:
1196         * src/DatabaseObserver.cpp:
1197         (WebKit::AllowDatabaseMainThreadBridge::create):
1198         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
1199         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
1200         (WebKit::allowDatabaseForWorker):
1201         (WebCore::DatabaseObserver::canEstablishDatabase):
1202         * src/IDBFactoryBackendProxy.cpp:
1203         (WebKit::IDBFactoryBackendProxy::openFromWorker):
1204         * src/LocalFileSystemChromium.cpp:
1205         (WebCore::openFileSystemHelper):
1206         * src/WebSharedWorkerImpl.cpp:
1207         (WebKit::initializeWebKitStaticValues):
1208         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
1209         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
1210         (WebKit::WebSharedWorkerImpl::stopWorkerThread):
1211         (WebKit::WebSharedWorkerImpl::initializeLoader):
1212         (WebKit::WebSharedWorkerImpl::didCreateDataSource):
1213         (WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
1214         (WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
1215         (WebKit::WebSharedWorkerImpl::postMessageTask):
1216         (WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
1217         (WebKit::WebSharedWorkerImpl::postExceptionTask):
1218         (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
1219         (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
1220         (WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
1221         (WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
1222         (WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
1223         (WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
1224         (WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
1225         (WebKit::WebSharedWorkerImpl::confirmMessageTask):
1226         (WebKit::WebSharedWorkerImpl::reportPendingActivity):
1227         (WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
1228         (WebKit::WebSharedWorkerImpl::workerContextClosed):
1229         (WebKit::WebSharedWorkerImpl::workerContextClosedTask):
1230         (WebKit::WebSharedWorkerImpl::workerContextDestroyed):
1231         (WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
1232         (WebKit::WebSharedWorkerImpl::postTaskToLoader):
1233         (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
1234         (WebKit::WebSharedWorker::create):
1235         * src/WebSharedWorkerImpl.h:
1236         (WebKit::WebSharedWorkerImpl::view):
1237         (WebKit::WebSharedWorkerImpl::commonClient):
1238         (WebKit::WebSharedWorkerImpl::client):
1239         (WebKit::WebSharedWorkerImpl::setWorkerThread):
1240         (WebKit::WebSharedWorkerImpl::workerThread):
1241         * src/WebWorkerBase.cpp:
1242         (WebKit::invokeTaskMethod):
1243         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
1244         * src/WebWorkerBase.h:
1245         * src/WebWorkerClientImpl.cpp:
1246         * src/WebWorkerClientImpl.h:
1247         (WebKit::WebWorkerClientImpl::commonClient):
1248         * src/WebWorkerImpl.cpp: Removed.
1249         * src/WebWorkerImpl.h: Removed.
1250         * src/WorkerFileSystemCallbacksBridge.cpp:
1251         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
1252         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
1253         * src/WorkerFileSystemCallbacksBridge.h:
1254
1255 2011-12-23  Bill Budge  <bbudge@chromium.org>
1256
1257         Add unit tests for AssociatedURLLoader to check redirect handling and
1258         cross-origin access control.
1259         https://bugs.webkit.org/show_bug.cgi?id=74952
1260
1261         Reviewed by Adam Barth.
1262
1263         * tests/AssociatedURLLoaderTest.cpp:
1264
1265 2011-12-22  Chris Rogers  <crogers@google.com>
1266
1267         WebMediaPlayerClientImpl::AudioClientImpl wrapper object should exist only if wrapped object exists
1268         https://bugs.webkit.org/show_bug.cgi?id=75113
1269
1270         Reviewed by Kenneth Russell.
1271
1272         * src/WebMediaPlayerClientImpl.cpp:
1273         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::wrap):
1274         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
1275         * src/WebMediaPlayerClientImpl.h:
1276         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::AudioClientImpl):
1277
1278 2011-12-21  Peter Kotwicz  <pkotwicz@google.com>
1279
1280         Plumbs refresh rate through WebLayerTreeView::Settings
1281         https://bugs.webkit.org/show_bug.cgi?id=74884
1282
1283         Reviewed by James Robinson.
1284
1285         * public/platform/WebLayerTreeView.h:
1286         (WebKit::WebLayerTreeView::Settings::Settings):
1287         * src/WebLayerTreeView.cpp:
1288         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1289
1290 2011-12-20  Andrey Kosyakov  <caseq@chromium.org>
1291
1292         Web Inspector: [Extension API] refactor extension API build code, expose experimental APIs conditionally in chromium
1293         https://bugs.webkit.org/show_bug.cgi?id=74941
1294
1295         Reviewed by Pavel Feldman.
1296
1297         * WebKit.gyp:
1298         * WebKit.gypi:
1299         * scripts/concatenate_js_files.py:
1300         (main):
1301         * scripts/generate_devtools_extension_api.py:
1302         (write_devtools_extension_api):
1303         * src/js/DevTools.js:
1304         ():
1305
1306 2011-12-20  Nate Chapin  <japhet@chromium.org>
1307
1308         Revert code for r96912 and r101905, since they cause
1309         regressions in mac scrollbars, caret display in
1310         form fields, etc.
1311         https://bugs.webkit.org/show_bug.cgi?id=74939
1312
1313         Reviewed by Eric Seidel.
1314
1315         * src/WebViewImpl.cpp:
1316         (WebKit::WebViewImpl::setFocus):
1317
1318 2011-12-20  Mike Reed  <reed@google.com>
1319
1320         enable USE_SKIA_TEXT by default, replacing GDI for all text drawing
1321         https://bugs.webkit.org/show_bug.cgi?id=74928
1322
1323         Reviewed by Stephen White.
1324
1325         * features.gypi:
1326
1327 2011-12-20  Greg Billock  <gbillock@google.com>
1328
1329         Make WebIntentServiceInfo constructor public for testing.
1330         https://bugs.webkit.org/show_bug.cgi?id=74764
1331
1332         Reviewed by Darin Fisher.
1333
1334         * public/WebIntentServiceInfo.h:
1335
1336 2011-12-19  James Robinson  <jamesr@chromium.org>
1337
1338         Compile fix for chromium on windows due to collision of testing::NotNull from gtest and NotNull from Vector.h
1339
1340         * tests/WebLayerTest.cpp:
1341
1342 2011-12-19  Ami Fischman  <fischman@chromium.org>
1343
1344         Teach VideoLayerChromium how to render native texture (to support HW video decode).
1345         https://bugs.webkit.org/show_bug.cgi?id=73043
1346         
1347         Reviewed by James Robinson.
1348         
1349         Fix the life-cycle of video frames handled by VideoLayerChromium/CCVideoLayerImpl.
1350         VideoFrameProvider::{get,put}CurrentFrame provide lease semantics.  Previously
1351         VideoLayerChromium would acquire the lease for the duration of copying the frame,
1352         even if that was only a texture ID, and immediately return the lease, while
1353         CCVideoLayerImpl::draw() would come along later and use the (no-longer locked)
1354         texture optimistically.  This change makes it so that CCVideoLayerImpl holds
1355         the frame's lease for the duration of draw(), guaranteeing the frame is valid to read.
1356
1357         * src/WebMediaPlayerClientImpl.cpp:
1358         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
1359
1360 2011-12-19  Sam Weinig  <sam@webkit.org>
1361
1362         More PlatformEvent cleanup
1363         https://bugs.webkit.org/show_bug.cgi?id=74831
1364
1365         Reviewed by Dan Bernstein.
1366
1367         * src/WebViewImpl.cpp:
1368         (WebKit::WebViewImpl::mouseContextMenu):
1369         Update to use new names, access style.
1370
1371 2011-12-19  James Robinson  <jamesr@chromium.org>
1372
1373         [chromium] CCLayerDelegate and WebLayerClient do not need notifySyncRequired
1374         https://bugs.webkit.org/show_bug.cgi?id=74376
1375
1376         Reviewed by Kenneth Russell.
1377
1378         WebLayerClient::notifyNeedsComposite() is an odd interface for the same reason that
1379         CCLayerDelegate::notifySyncRequired() is - all scheduling decisions should route through the WebLayerTreeView,
1380         not individual layers. In practice, all implementations of WebLayerClient::notifySyncRequired() do the exact
1381         same thing as WebLayerTreeView::scheduleComposite(). This removes that callback, making WebLayerClient an empty
1382         interface, and routes all calls that would go to that interface to WebLayerTreeView::scheduleComposite().
1383
1384         Once downstream implementations of WebLayerClient are removed, WebLayerClient.h and the constructors associated
1385         with it can be deleted.
1386
1387         The bulk of the changes here are to the test harness. Many tests that were designed around notifySyncRequired()
1388         are rewritten to check for CCLayerTreeHost::setNeedsCommit() or WebLayerTreeView::scheduleComposite() instead.
1389         In a few instances, this required changing the setup logic around somewhat so that the layers being manipulated
1390         were in a tree that initialized without errors.
1391
1392         * WebKit.gypi:
1393         * public/platform/WebContentLayer.h:
1394         * public/platform/WebExternalTextureLayer.h:
1395         * public/platform/WebLayer.h:
1396         * public/platform/WebLayerClient.h:
1397         * src/WebContentLayer.cpp:
1398         (WebKit::WebContentLayer::create):
1399         * src/WebContentLayerImpl.cpp:
1400         (WebKit::WebContentLayerImpl::create):
1401         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
1402         * src/WebContentLayerImpl.h:
1403         * src/WebExternalTextureLayer.cpp:
1404         (WebKit::WebExternalTextureLayer::create):
1405         * src/WebExternalTextureLayerImpl.cpp:
1406         (WebKit::WebExternalTextureLayerImpl::create):
1407         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
1408         * src/WebExternalTextureLayerImpl.h:
1409         * src/WebLayer.cpp:
1410         (WebKit::WebLayer::create):
1411         * src/WebLayerImpl.cpp:
1412         (WebKit::WebLayerImpl::create):
1413         (WebKit::WebLayerImpl::WebLayerImpl):
1414         * src/WebLayerImpl.h:
1415         * src/WebLayerTreeViewImpl.cpp:
1416         (WebKit::WebLayerTreeViewImpl::create):
1417         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
1418         * src/WebLayerTreeViewImpl.h:
1419         * tests/CCLayerTreeHostTest.cpp:
1420         (WTF::MockLayerTreeHost::create):
1421         (WTF::MockLayerTreeHost::MockLayerTreeHost):
1422         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1423         (WTF::CCLayerTreeHostTestScrollSimple::animateAndLayout):
1424         * tests/CompositorMockGraphicsContext3D.h: Added.
1425         (WebCore::createCompositorMockGraphicsContext3D):
1426         * tests/CompositorMockWebGraphicsContext3D.h: Added.
1427         (WebKit::CompositorMockWebGraphicsContext3D::create):
1428         (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
1429         (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
1430         (WebKit::CompositorMockWebGraphicsContext3D::createShader):
1431         (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
1432         (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
1433         (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
1434         * tests/LayerChromiumTest.cpp:
1435         * tests/MockWebGraphicsContext3D.h:
1436         (WebKit::MockWebGraphicsContext3D::getContextAttributes):
1437         * tests/WebGLLayerChromiumTest.cpp:
1438         (WebKit::TEST):
1439         * tests/WebLayerTest.cpp:
1440         (testing::MockWebLayerTreeViewClient::animateAndLayout):
1441         (testing::MockWebLayerTreeViewClient::applyScrollAndScale):
1442         (testing::MockWebLayerTreeViewClient::createContext3D):
1443         (testing::MockWebLayerTreeViewClient::didRebindGraphicsContext):
1444         (testing::WebLayerTest::SetUp):
1445         (testing::WebLayerTest::TearDown):
1446         (testing::TEST_F):
1447
1448 2011-12-19  James Robinson  <jamesr@chromium.org>
1449
1450         [chromium] Set the CCLayerTreeHost pointer on LayerChromium instances eagerly
1451         https://bugs.webkit.org/show_bug.cgi?id=74477
1452
1453         Reviewed by Kenneth Russell.
1454
1455         Add some new tests for LayerChromium::m_layerTreeHost behavior.
1456
1457         * tests/CCLayerTreeHostTest.cpp:
1458         (::MockLayerTreeHost::create):
1459         (::MockLayerTreeHost::MockLayerTreeHost):
1460         (::CCLayerTreeHostTestShortlived1::beginTest):
1461         (::CCLayerTreeHostTestShortlived2::beginTest):
1462         (::CCLayerTreeHostTestShortlived3::beginTest):
1463         * tests/LayerChromiumTest.cpp:
1464
1465 2011-12-19  Adrienne Walker  <enne@google.com>
1466
1467         [chromium] Add more using statements to (re)fix Chromium builders.
1468
1469         Unreviewed gardening.
1470
1471         * tests/Canvas2DLayerChromiumTest.cpp:
1472
1473 2011-12-19  Adrienne Walker  <enne@google.com>
1474
1475         [chromium] Fix win builder due to more NotNull ambiguity errors.
1476
1477         Unreviewed gardening.
1478
1479         * tests/Canvas2DLayerChromiumTest.cpp:
1480
1481 2011-12-19  Iain Merrick  <husky@google.com>
1482
1483         [chromium] Accelerated canvas broken in threaded compositing mode
1484         https://bugs.webkit.org/show_bug.cgi?id=72738
1485
1486         We were flushing the Skia canvas in updateCompositorResources, which
1487         is illegal as it runs on the wrong thread. Moved to paintContentsIfDirty
1488         instead. For correct rendering on the compositor thread, we make a copy
1489         of the canvas texture in updateCompositorResources.
1490
1491         Removed m_textureId and pushPropertiesTo from CanvasLayerChromium, as
1492         it's no longer common between Canvas2DLayerChromium and
1493         WebGLLayerChromium. WebGL changes do not change functionality.
1494
1495         Reviewed by James Robinson.
1496
1497         * WebKit.gypi:
1498         * tests/Canvas2DLayerChromiumTest.cpp: Added.
1499         (WebCore::Canvas2DLayerChromiumTest::setTextureManager):
1500
1501 2011-12-19  Ryosuke Niwa  <rniwa@webkit.org>
1502
1503         Chromium DEPS from 114686 to 115012.
1504
1505         * DEPS:
1506
1507 2011-12-19  Tommy Widenflycht  <tommyw@google.com>
1508
1509         [chromium] MediaStream API: Fixing memory leak in WebMediaStreamSource
1510         https://bugs.webkit.org/show_bug.cgi?id=74714
1511
1512         Reviewed by Eric Seidel.
1513
1514         Missed that PassRefPtr does a ref if constructed with a raw pointer.
1515         Also removed an extra space in WebMediaStreamDescriptor.cpp.
1516
1517         * src/WebMediaStreamDescriptor.cpp:
1518         (WebKit::WebMediaStreamDescriptor::sources):
1519         * src/WebMediaStreamSource.cpp:
1520         (WebKit::WebMediaStreamSource::operator=):
1521
1522 2011-12-19  Adrienne Walker  <enne@google.com>
1523
1524         Try to fix the Chromium win builder NotNull conflict.
1525
1526         Unreviewed gardening.
1527
1528         * tests/MockGraphicsContext3DTest.cpp:
1529
1530 2011-12-18  Keishi Hattori  <keishi@webkit.org>
1531
1532         Implement <input type=color> UI WebKit chromium part
1533         https://bugs.webkit.org/show_bug.cgi?id=65897
1534
1535         Reviewed by Darin Fisher.
1536
1537         * WebKit.gyp: Added new files.
1538         * features.gypi: Added ENABLE_INPUT_COLOR.
1539         * public/WebColorChooser.h: Added. Interface for ColorChooserProxy to call.
1540         (WebKit::WebColorChooser::~WebColorChooser):
1541         (WebKit::WebColorChooser::setSelectedColor):
1542         (WebKit::WebColorChooser::endChooser):
1543         * public/WebColorChooserClient.h: Added.
1544         (WebKit::WebColorChooserClient::~WebColorChooserClient):
1545         (WebKit::WebColorChooserClient::didChooseColor): Only called when user changes the color.
1546         (WebKit::WebColorChooserClient::didEndChooser): Called when WebColorChooser::endChooser is called.
1547         * public/WebViewClient.h:
1548         (WebKit::WebViewClient::createColorChooser): Creates a new color chooser. If there is an old color chooser, this will end it.
1549         * src/ChromeClientImpl.cpp:
1550         (WebKit::ChromeClientImpl::createColorChooser): Calls WebViewClient::createColorChooser.
1551         * src/ChromeClientImpl.h:
1552         * src/ColorChooserProxy.cpp: Proxies calls to WebCore::ColorChooser to WebKit::WebColorChooser.
1553         (WebKit::ColorChooserProxy::ColorChooserProxy):
1554         (WebKit::ColorChooserProxy::~ColorChooserProxy):
1555         (WebKit::ColorChooserProxy::setSelectedColor):
1556         (WebKit::ColorChooserProxy::endChooser):
1557         * src/ColorChooserProxy.h:
1558         * src/WebColorChooserClientImpl.cpp: Proxies calls to WebKit::WebColorChooserClient to WebCore::ColorChooserClient.
1559         (WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
1560         (WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
1561         (WebKit::WebColorChooserClientImpl::didChooseColor):
1562         (WebKit::WebColorChooserClientImpl::didEndChooser):
1563         * src/WebColorChooserClientImpl.h: Added.
1564
1565 2011-12-18  James Kozianski  <koz@chromium.org>
1566
1567         [chromium] Add worldId parameter to allowScriptExtension()
1568         https://bugs.webkit.org/show_bug.cgi?id=74214
1569
1570         Chromium uses the worldId to determine what extension is running in a
1571         v8 context and knowing that at the time allowScriptExtension() is
1572         called allows us to conditionally inject extension APIs.
1573
1574         Reviewed by Darin Fisher.
1575
1576         * public/WebPermissionClient.h:
1577         (WebKit::WebPermissionClient::allowScriptExtension):
1578         * src/FrameLoaderClientImpl.cpp:
1579         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
1580         * src/FrameLoaderClientImpl.h:
1581
1582 2011-12-18  Sheriff Bot  <webkit.review.bot@gmail.com>
1583
1584         Unreviewed, rolling out r103169.
1585         http://trac.webkit.org/changeset/103169
1586         https://bugs.webkit.org/show_bug.cgi?id=74809
1587
1588         it broke compilation on many platforms (Requested by loislo_
1589         on #webkit).
1590
1591         * WebKit.gyp:
1592         * features.gypi:
1593         * public/WebColorChooser.h: Removed.
1594         * public/WebColorChooserClient.h: Removed.
1595         * public/WebViewClient.h:
1596         * src/ChromeClientImpl.cpp:
1597         * src/ChromeClientImpl.h:
1598         * src/ColorChooserProxy.cpp: Removed.
1599         * src/WebColorChooserClientImpl.cpp: Removed.
1600         * src/WebColorChooserClientImpl.h: Removed.
1601
1602 2011-12-18  Keishi Hattori  <keishi@webkit.org>
1603
1604         Implement <input type=color> UI WebKit chromium part
1605         https://bugs.webkit.org/show_bug.cgi?id=65897
1606
1607         Reviewed by Darin Fisher.
1608
1609         * WebKit.gyp: Added new files.
1610         * features.gypi: Added ENABLE_INPUT_COLOR.
1611         * public/WebColorChooser.h: Added. Interface for ColorChooserProxy to call.
1612         (WebKit::WebColorChooser::~WebColorChooser):
1613         (WebKit::WebColorChooser::setSelectedColor):
1614         (WebKit::WebColorChooser::endChooser):
1615         * public/WebColorChooserClient.h: Added.
1616         (WebKit::WebColorChooserClient::~WebColorChooserClient):
1617         (WebKit::WebColorChooserClient::didChooseColor): Only called when user changes the color.
1618         (WebKit::WebColorChooserClient::didEndChooser): Called when WebColorChooser::endChooser is called.
1619         * public/WebViewClient.h:
1620         (WebKit::WebViewClient::createColorChooser): Creates a new color chooser. If there is an old color chooser, this will end it.
1621         * src/ChromeClientImpl.cpp:
1622         (WebKit::ChromeClientImpl::createColorChooser): Calls WebViewClient::createColorChooser.
1623         * src/ChromeClientImpl.h:
1624         * src/ColorChooserProxy.cpp: Proxies calls to WebCore::ColorChooser to WebKit::WebColorChooser.
1625         (WebKit::ColorChooserProxy::ColorChooserProxy):
1626         (WebKit::ColorChooserProxy::~ColorChooserProxy):
1627         (WebKit::ColorChooserProxy::setSelectedColor):
1628         (WebKit::ColorChooserProxy::endChooser):
1629         * src/ColorChooserProxy.h:
1630         * src/WebColorChooserClientImpl.cpp: Proxies calls to WebKit::WebColorChooserClient to WebCore::ColorChooserClient.
1631         (WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
1632         (WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
1633         (WebKit::WebColorChooserClientImpl::didChooseColor):
1634         (WebKit::WebColorChooserClientImpl::didEndChooser):
1635         * src/WebColorChooserClientImpl.h: Added.
1636
1637 2011-12-17  Sam Weinig  <sam@webkit.org>
1638
1639         Make PlatformTouchEvent inherit from PlatformEvent
1640         https://bugs.webkit.org/show_bug.cgi?id=74777
1641
1642         Reviewed by Andreas Kling.
1643
1644         * src/WebInputEventConversion.cpp:
1645         (WebKit::toPlatformTouchEventType):
1646         * tests/InnerGestureRecognizerTest.cpp:
1647         (BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
1648         (SimulateAndTestFirstClick):
1649         (TouchPointAndEvent::TouchPointAndEvent):
1650         Add PlatformEvent prefix to enum types.
1651
1652 2011-12-17  Adrienne Walker  <enne@google.com>
1653
1654         [chromium] Reverting r103011, r103135 due to Aura test failures
1655
1656         Unreviewed gardening.
1657
1658         * WebKit.gypi:
1659         * public/platform/WebContentLayer.h:
1660         * public/platform/WebExternalTextureLayer.h:
1661         * public/platform/WebLayer.h:
1662         * public/platform/WebLayerClient.h:
1663         * src/WebContentLayer.cpp:
1664         (WebKit::WebContentLayer::create):
1665         * src/WebContentLayerImpl.cpp:
1666         (WebKit::WebContentLayerImpl::create):
1667         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
1668         (WebKit::WebContentLayerImpl::notifySyncRequired):
1669         * src/WebContentLayerImpl.h:
1670         * src/WebExternalTextureLayer.cpp:
1671         (WebKit::WebExternalTextureLayer::create):
1672         * src/WebExternalTextureLayerImpl.cpp:
1673         (WebKit::WebExternalTextureLayerImpl::create):
1674         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
1675         (WebKit::WebExternalTextureLayerImpl::notifySyncRequired):
1676         * src/WebExternalTextureLayerImpl.h:
1677         * src/WebLayer.cpp:
1678         (WebKit::WebLayer::create):
1679         * src/WebLayerImpl.cpp:
1680         (WebKit::WebLayerImpl::create):
1681         (WebKit::WebLayerImpl::WebLayerImpl):
1682         (WebKit::WebLayerImpl::notifySyncRequired):
1683         * src/WebLayerImpl.h:
1684         * src/WebLayerTreeViewImpl.cpp:
1685         (WebKit::WebLayerTreeViewImpl::create):
1686         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
1687         * src/WebLayerTreeViewImpl.h:
1688         * tests/CCLayerTreeHostImplTest.cpp:
1689         * tests/CCLayerTreeHostTest.cpp:
1690         (WTF::MockLayerTreeHost::create):
1691         (WTF::MockLayerTreeHost::MockLayerTreeHost):
1692         (WTF::CompositorMockWebGraphicsContext3D::create):
1693         (WTF::CompositorMockWebGraphicsContext3D::makeContextCurrent):
1694         (WTF::CompositorMockWebGraphicsContext3D::createProgram):
1695         (WTF::CompositorMockWebGraphicsContext3D::createShader):
1696         (WTF::CompositorMockWebGraphicsContext3D::getShaderiv):
1697         (WTF::CompositorMockWebGraphicsContext3D::getProgramiv):
1698         (WTF::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
1699         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1700         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
1701         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
1702         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
1703         (WTF::CCLayerTreeHostTestScrollSimple::beginCommitOnCCThread):
1704         (WTF::TestOpacityChangeLayerDelegate::notifySyncRequired):
1705         * tests/CompositorFakeGraphicsContext3D.h: Removed.
1706         * tests/CompositorFakeWebGraphicsContext3D.h: Removed.
1707         * tests/LayerChromiumTest.cpp:
1708         * tests/MockGraphicsContext3DTest.cpp: Renamed from Source/WebKit/chromium/tests/FakeGraphicsContext3DTest.cpp.
1709         (FrameCountingContext::FrameCountingContext):
1710         (FrameCountingContext::prepareTexture):
1711         (FrameCountingContext::frameCount):
1712         (TEST):
1713         (ContextThatCountsMakeCurrents::ContextThatCountsMakeCurrents):
1714         (ContextThatCountsMakeCurrents::makeContextCurrent):
1715         (ContextThatCountsMakeCurrents::makeCurrentCount):
1716         (ContextWithMakeCurrentThatFails::ContextWithMakeCurrentThatFails):
1717         (ContextWithMakeCurrentThatFails::makeContextCurrent):
1718         * tests/MockWebGraphicsContext3D.h: Renamed from Source/WebKit/chromium/tests/FakeWebGraphicsContext3D.h.
1719         (WebKit::MockWebGraphicsContext3D::initialize):
1720         (WebKit::MockWebGraphicsContext3D::makeContextCurrent):
1721         (WebKit::MockWebGraphicsContext3D::width):
1722         (WebKit::MockWebGraphicsContext3D::height):
1723         (WebKit::MockWebGraphicsContext3D::reshape):
1724         (WebKit::MockWebGraphicsContext3D::isGLES2Compliant):
1725         (WebKit::MockWebGraphicsContext3D::readBackFramebuffer):
1726         (WebKit::MockWebGraphicsContext3D::getPlatformTextureId):
1727         (WebKit::MockWebGraphicsContext3D::prepareTexture):
1728         (WebKit::MockWebGraphicsContext3D::postSubBufferCHROMIUM):
1729         (WebKit::MockWebGraphicsContext3D::synthesizeGLError):
1730         (WebKit::MockWebGraphicsContext3D::isContextLost):
1731         (WebKit::MockWebGraphicsContext3D::mapBufferSubDataCHROMIUM):
1732         (WebKit::MockWebGraphicsContext3D::unmapBufferSubDataCHROMIUM):
1733         (WebKit::MockWebGraphicsContext3D::mapTexSubImage2DCHROMIUM):
1734         (WebKit::MockWebGraphicsContext3D::unmapTexSubImage2DCHROMIUM):
1735         (WebKit::MockWebGraphicsContext3D::setVisibilityCHROMIUM):
1736         (WebKit::MockWebGraphicsContext3D::getRequestableExtensionsCHROMIUM):
1737         (WebKit::MockWebGraphicsContext3D::requestExtensionCHROMIUM):
1738         (WebKit::MockWebGraphicsContext3D::blitFramebufferCHROMIUM):
1739         (WebKit::MockWebGraphicsContext3D::renderbufferStorageMultisampleCHROMIUM):
1740         (WebKit::MockWebGraphicsContext3D::activeTexture):
1741         (WebKit::MockWebGraphicsContext3D::attachShader):
1742         (WebKit::MockWebGraphicsContext3D::bindAttribLocation):
1743         (WebKit::MockWebGraphicsContext3D::bindBuffer):
1744         (WebKit::MockWebGraphicsContext3D::bindFramebuffer):
1745         (WebKit::MockWebGraphicsContext3D::bindRenderbuffer):
1746         (WebKit::MockWebGraphicsContext3D::bindTexture):
1747         (WebKit::MockWebGraphicsContext3D::blendColor):
1748         (WebKit::MockWebGraphicsContext3D::blendEquation):
1749         (WebKit::MockWebGraphicsContext3D::blendEquationSeparate):
1750         (WebKit::MockWebGraphicsContext3D::blendFunc):
1751         (WebKit::MockWebGraphicsContext3D::blendFuncSeparate):
1752         (WebKit::MockWebGraphicsContext3D::bufferData):
1753         (WebKit::MockWebGraphicsContext3D::bufferSubData):
1754         (WebKit::MockWebGraphicsContext3D::checkFramebufferStatus):
1755         (WebKit::MockWebGraphicsContext3D::clear):
1756         (WebKit::MockWebGraphicsContext3D::clearColor):
1757         (WebKit::MockWebGraphicsContext3D::clearDepth):
1758         (WebKit::MockWebGraphicsContext3D::clearStencil):
1759         (WebKit::MockWebGraphicsContext3D::colorMask):
1760         (WebKit::MockWebGraphicsContext3D::compileShader):
1761         (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
1762         (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
1763         (WebKit::MockWebGraphicsContext3D::copyTexImage2D):
1764         (WebKit::MockWebGraphicsContext3D::copyTexSubImage2D):
1765         (WebKit::MockWebGraphicsContext3D::cullFace):
1766         (WebKit::MockWebGraphicsContext3D::depthFunc):
1767         (WebKit::MockWebGraphicsContext3D::depthMask):
1768         (WebKit::MockWebGraphicsContext3D::depthRange):
1769         (WebKit::MockWebGraphicsContext3D::detachShader):
1770         (WebKit::MockWebGraphicsContext3D::disable):
1771         (WebKit::MockWebGraphicsContext3D::disableVertexAttribArray):
1772         (WebKit::MockWebGraphicsContext3D::drawArrays):
1773         (WebKit::MockWebGraphicsContext3D::drawElements):
1774         (WebKit::MockWebGraphicsContext3D::enable):
1775         (WebKit::MockWebGraphicsContext3D::enableVertexAttribArray):
1776         (WebKit::MockWebGraphicsContext3D::finish):
1777         (WebKit::MockWebGraphicsContext3D::flush):
1778         (WebKit::MockWebGraphicsContext3D::framebufferRenderbuffer):
1779         (WebKit::MockWebGraphicsContext3D::framebufferTexture2D):
1780         (WebKit::MockWebGraphicsContext3D::frontFace):
1781         (WebKit::MockWebGraphicsContext3D::generateMipmap):
1782         (WebKit::MockWebGraphicsContext3D::getActiveAttrib):
1783         (WebKit::MockWebGraphicsContext3D::getActiveUniform):
1784         (WebKit::MockWebGraphicsContext3D::getAttachedShaders):
1785         (WebKit::MockWebGraphicsContext3D::getAttribLocation):
1786         (WebKit::MockWebGraphicsContext3D::getBooleanv):
1787         (WebKit::MockWebGraphicsContext3D::getBufferParameteriv):
1788         (WebKit::MockWebGraphicsContext3D::getContextAttributes):
1789         (WebKit::MockWebGraphicsContext3D::getError):
1790         (WebKit::MockWebGraphicsContext3D::getFloatv):
1791         (WebKit::MockWebGraphicsContext3D::getFramebufferAttachmentParameteriv):
1792         (WebKit::MockWebGraphicsContext3D::getIntegerv):
1793         (WebKit::MockWebGraphicsContext3D::getProgramiv):
1794         (WebKit::MockWebGraphicsContext3D::getProgramInfoLog):
1795         (WebKit::MockWebGraphicsContext3D::getRenderbufferParameteriv):
1796         (WebKit::MockWebGraphicsContext3D::getShaderiv):
1797         (WebKit::MockWebGraphicsContext3D::getShaderInfoLog):
1798         (WebKit::MockWebGraphicsContext3D::getShaderSource):
1799         (WebKit::MockWebGraphicsContext3D::getString):
1800         (WebKit::MockWebGraphicsContext3D::getTexParameterfv):
1801         (WebKit::MockWebGraphicsContext3D::getTexParameteriv):
1802         (WebKit::MockWebGraphicsContext3D::getUniformfv):
1803         (WebKit::MockWebGraphicsContext3D::getUniformiv):
1804         (WebKit::MockWebGraphicsContext3D::getUniformLocation):
1805         (WebKit::MockWebGraphicsContext3D::getVertexAttribfv):
1806         (WebKit::MockWebGraphicsContext3D::getVertexAttribiv):
1807         (WebKit::MockWebGraphicsContext3D::getVertexAttribOffset):
1808         (WebKit::MockWebGraphicsContext3D::hint):
1809         (WebKit::MockWebGraphicsContext3D::isBuffer):
1810         (WebKit::MockWebGraphicsContext3D::isEnabled):
1811         (WebKit::MockWebGraphicsContext3D::isFramebuffer):
1812         (WebKit::MockWebGraphicsContext3D::isProgram):
1813         (WebKit::MockWebGraphicsContext3D::isRenderbuffer):
1814         (WebKit::MockWebGraphicsContext3D::isShader):
1815         (WebKit::MockWebGraphicsContext3D::isTexture):
1816         (WebKit::MockWebGraphicsContext3D::lineWidth):
1817         (WebKit::MockWebGraphicsContext3D::linkProgram):
1818         (WebKit::MockWebGraphicsContext3D::pixelStorei):
1819         (WebKit::MockWebGraphicsContext3D::polygonOffset):
1820         (WebKit::MockWebGraphicsContext3D::readPixels):
1821         (WebKit::MockWebGraphicsContext3D::releaseShaderCompiler):
1822         (WebKit::MockWebGraphicsContext3D::renderbufferStorage):
1823         (WebKit::MockWebGraphicsContext3D::sampleCoverage):
1824         (WebKit::MockWebGraphicsContext3D::scissor):
1825         (WebKit::MockWebGraphicsContext3D::shaderSource):
1826         (WebKit::MockWebGraphicsContext3D::stencilFunc):
1827         (WebKit::MockWebGraphicsContext3D::stencilFuncSeparate):
1828         (WebKit::MockWebGraphicsContext3D::stencilMask):
1829         (WebKit::MockWebGraphicsContext3D::stencilMaskSeparate):
1830         (WebKit::MockWebGraphicsContext3D::stencilOp):
1831         (WebKit::MockWebGraphicsContext3D::stencilOpSeparate):
1832         (WebKit::MockWebGraphicsContext3D::texImage2D):
1833         (WebKit::MockWebGraphicsContext3D::texParameterf):
1834         (WebKit::MockWebGraphicsContext3D::texParameteri):
1835         (WebKit::MockWebGraphicsContext3D::texSubImage2D):
1836         (WebKit::MockWebGraphicsContext3D::uniform1f):
1837         (WebKit::MockWebGraphicsContext3D::uniform1fv):
1838         (WebKit::MockWebGraphicsContext3D::uniform1i):
1839         (WebKit::MockWebGraphicsContext3D::uniform1iv):
1840         (WebKit::MockWebGraphicsContext3D::uniform2f):
1841         (WebKit::MockWebGraphicsContext3D::uniform2fv):
1842         (WebKit::MockWebGraphicsContext3D::uniform2i):
1843         (WebKit::MockWebGraphicsContext3D::uniform2iv):
1844         (WebKit::MockWebGraphicsContext3D::uniform3f):
1845         (WebKit::MockWebGraphicsContext3D::uniform3fv):
1846         (WebKit::MockWebGraphicsContext3D::uniform3i):
1847         (WebKit::MockWebGraphicsContext3D::uniform3iv):
1848         (WebKit::MockWebGraphicsContext3D::uniform4f):
1849         (WebKit::MockWebGraphicsContext3D::uniform4fv):
1850         (WebKit::MockWebGraphicsContext3D::uniform4i):
1851         (WebKit::MockWebGraphicsContext3D::uniform4iv):
1852         (WebKit::MockWebGraphicsContext3D::uniformMatrix2fv):
1853         (WebKit::MockWebGraphicsContext3D::uniformMatrix3fv):
1854         (WebKit::MockWebGraphicsContext3D::uniformMatrix4fv):
1855         (WebKit::MockWebGraphicsContext3D::useProgram):
1856         (WebKit::MockWebGraphicsContext3D::validateProgram):
1857         (WebKit::MockWebGraphicsContext3D::vertexAttrib1f):
1858         (WebKit::MockWebGraphicsContext3D::vertexAttrib1fv):
1859         (WebKit::MockWebGraphicsContext3D::vertexAttrib2f):
1860         (WebKit::MockWebGraphicsContext3D::vertexAttrib2fv):
1861         (WebKit::MockWebGraphicsContext3D::vertexAttrib3f):
1862         (WebKit::MockWebGraphicsContext3D::vertexAttrib3fv):
1863         (WebKit::MockWebGraphicsContext3D::vertexAttrib4f):
1864         (WebKit::MockWebGraphicsContext3D::vertexAttrib4fv):
1865         (WebKit::MockWebGraphicsContext3D::vertexAttribPointer):
1866         (WebKit::MockWebGraphicsContext3D::viewport):
1867         (WebKit::MockWebGraphicsContext3D::createBuffer):
1868         (WebKit::MockWebGraphicsContext3D::createFramebuffer):
1869         (WebKit::MockWebGraphicsContext3D::createProgram):
1870         (WebKit::MockWebGraphicsContext3D::createRenderbuffer):
1871         (WebKit::MockWebGraphicsContext3D::createShader):
1872         (WebKit::MockWebGraphicsContext3D::createTexture):
1873         (WebKit::MockWebGraphicsContext3D::deleteBuffer):
1874         (WebKit::MockWebGraphicsContext3D::deleteFramebuffer):
1875         (WebKit::MockWebGraphicsContext3D::deleteProgram):
1876         (WebKit::MockWebGraphicsContext3D::deleteRenderbuffer):
1877         (WebKit::MockWebGraphicsContext3D::deleteShader):
1878         (WebKit::MockWebGraphicsContext3D::deleteTexture):
1879         (WebKit::MockWebGraphicsContext3D::texStorage2DEXT):
1880         * tests/WebGLLayerChromiumTest.cpp:
1881         (WebKit::CompositorMockWebGraphicsContext3D::create):
1882         (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
1883         (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
1884         (WebKit::CompositorMockWebGraphicsContext3D::createShader):
1885         (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
1886         (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
1887         (WebKit::CompositorMockWebGraphicsContext3D::getContextAttributes):
1888         (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
1889         (WebKit::createGraphicsContext):
1890         (WebKit::TEST):
1891         * tests/WebLayerTest.cpp:
1892         (testing::WebLayerTest::WebLayerTest):
1893         (testing::TEST_F):
1894
1895 2011-12-17  Kenichi Ishibashi  <bashi@chromium.org>
1896
1897         [Chromium] Implement PluginViewBase::getFormValue
1898         https://bugs.webkit.org/show_bug.cgi?id=64434
1899
1900         Reviewed by Darin Fisher.
1901
1902         This patch was landed as r102873, but reverted because of Chromium Mac build failure.
1903         The fix was landed as Chromium r114920. The patch should be safe to land.
1904
1905         No new tests. No behavior change at this time. We should add a test for PPAPI after chromium supports the feature.
1906
1907         * public/WebPlugin.h: Added getFormValue().
1908         * src/WebPluginContainerImpl.cpp:
1909         (WebKit::WebPluginContainerImpl::getFormValue): Added.
1910         * src/WebPluginContainerImpl.h: Added getFormValue().
1911
1912 2011-12-16  James Robinson  <jamesr@chromium.org>
1913
1914         [chromium] CCLayerDelegate and WebLayerClient do not need notifySyncRequired
1915         https://bugs.webkit.org/show_bug.cgi?id=74376
1916
1917         Reviewed by Kenneth Russell.
1918
1919         WebLayerClient::notifyNeedsComposite() is an odd interface for the same reason that
1920         CCLayerDelegate::notifySyncRequired() is - all scheduling decisions should route through the WebLayerTreeView,
1921         not individual layers. In practice, all implementations of WebLayerClient::notifySyncRequired() do the exact
1922         same thing as WebLayerTreeView::scheduleComposite(). This removes that callback, making WebLayerClient an empty
1923         interface, and routes all calls that would go to that interface to WebLayerTreeView::scheduleComposite().
1924
1925         Once downstream implementations of WebLayerClient are removed, WebLayerClient.h and the constructors associated
1926         with it can be deleted.
1927
1928         The bulk of the changes here are to the test harness. Many tests that were designed around notifySyncRequired()
1929         are rewritten to check for CCLayerTreeHost::setNeedsCommit() or WebLayerTreeView::scheduleComposite() instead.
1930         In a few instances, this required changing the setup logic around somewhat so that the layers being manipulated
1931         were in a tree that initialized without errors.
1932
1933         * WebKit.gypi:
1934         * public/platform/WebContentLayer.h:
1935         * public/platform/WebExternalTextureLayer.h:
1936         * public/platform/WebLayer.h:
1937         * public/platform/WebLayerClient.h:
1938         * src/WebContentLayer.cpp:
1939         (WebKit::WebContentLayer::create):
1940         * src/WebContentLayerImpl.cpp:
1941         (WebKit::WebContentLayerImpl::create):
1942         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
1943         * src/WebContentLayerImpl.h:
1944         * src/WebExternalTextureLayer.cpp:
1945         (WebKit::WebExternalTextureLayer::create):
1946         * src/WebExternalTextureLayerImpl.cpp:
1947         (WebKit::WebExternalTextureLayerImpl::create):
1948         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
1949         * src/WebExternalTextureLayerImpl.h:
1950         * src/WebLayer.cpp:
1951         (WebKit::WebLayer::create):
1952         * src/WebLayerImpl.cpp:
1953         (WebKit::WebLayerImpl::create):
1954         (WebKit::WebLayerImpl::WebLayerImpl):
1955         * src/WebLayerImpl.h:
1956         * src/WebLayerTreeViewImpl.cpp:
1957         (WebKit::WebLayerTreeViewImpl::create):
1958         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
1959         * src/WebLayerTreeViewImpl.h:
1960         * tests/CCLayerTreeHostTest.cpp:
1961         (WTF::MockLayerTreeHost::create):
1962         (WTF::MockLayerTreeHost::MockLayerTreeHost):
1963         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1964         (WTF::CCLayerTreeHostTestScrollSimple::animateAndLayout):
1965         * tests/CompositorMockGraphicsContext3D.h: Added.
1966         (WebCore::createCompositorMockGraphicsContext3D):
1967         * tests/CompositorMockWebGraphicsContext3D.h: Added.
1968         (WebKit::CompositorMockWebGraphicsContext3D::create):
1969         (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
1970         (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
1971         (WebKit::CompositorMockWebGraphicsContext3D::createShader):
1972         (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
1973         (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
1974         (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
1975         * tests/LayerChromiumTest.cpp:
1976         * tests/MockWebGraphicsContext3D.h:
1977         (WebKit::MockWebGraphicsContext3D::getContextAttributes):
1978         * tests/WebGLLayerChromiumTest.cpp:
1979         (WebKit::TEST):
1980         * tests/WebLayerTest.cpp:
1981         (testing::MockWebLayerTreeViewClient::animateAndLayout):
1982         (testing::MockWebLayerTreeViewClient::applyScrollAndScale):
1983         (testing::MockWebLayerTreeViewClient::createContext3D):
1984         (testing::MockWebLayerTreeViewClient::didRebindGraphicsContext):
1985         (testing::WebLayerTest::SetUp):
1986         (testing::WebLayerTest::TearDown):
1987         (testing::TEST_F):
1988
1989 2011-12-16  Eric Penner  <epenner@google.com>
1990
1991         [chromium] Need to prepaint tiles in TiledLayerChromium
1992         https://bugs.webkit.org/show_bug.cgi?id=72686
1993
1994         Reviewed by James Robinson.
1995
1996         * tests/CCLayerTreeHostTest.cpp:
1997         (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsCount):
1998         (WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
1999         (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
2000         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
2001         (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
2002         * tests/TiledLayerChromiumTest.cpp:
2003         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
2004         (WTF::FakeTiledLayerChromium::needsIdlePaint):
2005         (WTF::TEST):
2006
2007 2011-12-16  James Robinson  <jamesr@chromium.org>
2008
2009         [chromium] Remove WebCString's dependency on WebCore
2010         https://bugs.webkit.org/show_bug.cgi?id=74761
2011
2012         Reviewed by Darin Fisher.
2013
2014         Remove WebCString::fromUTF16(), which are never called, and implement WebCString::utf16() using WTF instead of
2015         WebCore/platform/text/TextEncoding.
2016
2017         * public/platform/WebCString.h:
2018         * src/WebCString.cpp:
2019         (WebKit::WebCString::utf16):
2020
2021 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
2022
2023         Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
2024         https://bugs.webkit.org/show_bug.cgi?id=74748
2025
2026         Reviewed by Eric Seidel.
2027
2028         * src/EditorClientImpl.cpp:
2029         (WebKit::EditorClientImpl::registerUndoStep):
2030         (WebKit::EditorClientImpl::registerRedoStep):
2031         * src/EditorClientImpl.h:
2032
2033 2011-12-16  Sam Weinig  <sam@webkit.org>
2034
2035         Give PlatformEvents a base class
2036         https://bugs.webkit.org/show_bug.cgi?id=74685
2037
2038         Reviewed by Anders Carlsson.
2039
2040         Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
2041         and PlatformGestureEvent and move Type enumeration and modifiers down to it.
2042
2043         * src/EditorClientImpl.cpp:
2044         (WebKit::EditorClientImpl::interpretKeyEvent):
2045         (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
2046         * src/WebAccessibilityObject.cpp:
2047         (WebKit::WebAccessibilityObject::keyboardShortcut):
2048         * src/WebInputEventConversion.cpp:
2049         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
2050         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
2051         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2052         (WebKit::toPlatformKeyboardEventType):
2053         * src/WebViewImpl.cpp:
2054         (WebKit::WebViewImpl::dragSourceEndedAt):
2055         * tests/InnerGestureRecognizerTest.cpp:
2056         (SimulateAndTestFirstClick):
2057         (TEST_F):
2058         * tests/KeyboardTest.cpp:
2059         (WebKit::KeyboardTest::interpretKeyEvent):
2060         (WebKit::KeyboardTest::interpretOSModifierKeyPress):
2061         (WebKit::KeyboardTest::interpretCtrlKeyPress):
2062         (WebKit::KeyboardTest::interpretTab):
2063         (WebKit::KeyboardTest::interpretNewLine):
2064         (WebKit::TEST_F):
2065         * tests/PopupMenuTest.cpp:
2066         (WebKit::SelectPopupMenuTest::simulateLeftMouseDownEvent):
2067         (WebKit::SelectPopupMenuTest::simulateLeftMouseUpEvent):
2068         (WebKit::TEST_F):
2069
2070 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
2071
2072         Only EditCommandComposition should implement unapply and reapply
2073         https://bugs.webkit.org/show_bug.cgi?id=74490
2074
2075         Reviewed by Eric Seidel.
2076
2077         * src/EditorClientImpl.cpp:
2078         (WebKit::EditorClientImpl::registerCommandForUndo):
2079         (WebKit::EditorClientImpl::registerCommandForRedo):
2080         (WebKit::EditorClientImpl::undo):
2081         (WebKit::EditorClientImpl::redo):
2082         * src/EditorClientImpl.h:
2083
2084 2011-12-16  Joshua Bell  <jsbell@chromium.org>
2085
2086         IndexedDB: Implement IDBObjectStore.count() and IDBIndex.count()
2087         https://bugs.webkit.org/show_bug.cgi?id=73686
2088
2089         Reviewed by Tony Chang.
2090
2091         Plumbing to support the new methods in Chromium.
2092
2093         * src/IDBIndexBackendProxy.cpp:
2094         (WebKit::IDBIndexBackendProxy::count):
2095         * src/IDBIndexBackendProxy.h:
2096         * src/IDBObjectStoreBackendProxy.cpp:
2097         (WebKit::IDBObjectStoreBackendProxy::count):
2098         * src/IDBObjectStoreBackendProxy.h:
2099         * src/WebIDBIndexImpl.cpp:
2100         (WebKit::WebIDBIndexImpl::count):
2101         * src/WebIDBIndexImpl.h:
2102         * src/WebIDBObjectStoreImpl.cpp:
2103         (WebKit::WebIDBObjectStoreImpl::count):
2104         * src/WebIDBObjectStoreImpl.h:
2105
2106 2011-12-16  Adrienne Walker  <enne@google.com>
2107
2108         [chromium] Disable compositor CCLayerTreeHostTestsetNeedsCommit1 test
2109         https://bugs.webkit.org/show_bug.cgi?id=74623
2110
2111         Unreviewed gardening.
2112
2113         This has been failing (timeout) intermittently on Mac.
2114
2115         * tests/CCLayerTreeHostTest.cpp:
2116         (WTF::TEST_F):
2117
2118 2011-12-16  Dana Jansens  <danakj@chromium.org>
2119
2120         [chromium] Add setOpaque to WebMediaPlayerClient interface, don't set VideoLayer's opaque when grabbing current frame.
2121         https://bugs.webkit.org/show_bug.cgi?id=74722
2122
2123         Reviewed by Darin Fisher.
2124
2125         * public/WebMediaPlayerClient.h:
2126         * src/WebMediaPlayerClientImpl.cpp:
2127         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
2128         (WebKit::WebMediaPlayerClientImpl::setOpaque):
2129         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
2130         (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
2131         * src/WebMediaPlayerClientImpl.h:
2132
2133 2011-12-15  Stephen White  <senorblanco@chromium.org>
2134
2135         Enable CSS_FILTERS in Chromium.
2136         https://bugs.webkit.org/show_bug.cgi?id=74334
2137
2138         Reviewed by Chris Marrin.
2139
2140         * features.gypi:
2141
2142 2011-12-15  Yongjun Zhang  <yongjun_zhang@apple.com>
2143
2144         PODIntervalTree takes 1.7MB memory on www.nytimes.com.
2145         https://bugs.webkit.org/show_bug.cgi?id=73712
2146
2147         Reviewed by Kenneth Russell.
2148
2149         Change the test code in chromium port since PODRedBlackTree now takes PODFreeListArena<T>
2150         in its constructor.
2151
2152         * tests/PODRedBlackTreeTest.cpp:
2153         (WebCore::TEST):
2154
2155 2011-12-15  Joshua Bell  <jsbell@chromium.org>
2156
2157         IndexedDB: Clean up WebIDBObjectStore createIndex temp code
2158         https://bugs.webkit.org/show_bug.cgi?id=74205
2159
2160         Reviewed by Darin Fisher.
2161
2162         Remove a method and an implementation that only needed for
2163         older Chromium revisions.
2164
2165         * public/WebIDBObjectStore.h:
2166         (WebKit::WebIDBObjectStore::createIndex):
2167
2168 2011-12-15  Tony Chang  <tony@chromium.org>
2169
2170         Chromium Windows (Tests) is failing to build
2171         https://bugs.webkit.org/show_bug.cgi?id=74320
2172
2173         Reviewed by Kenneth Russell.
2174
2175         Roll chromium deps to r114686 to pull in a change to how generated
2176         headers include files from third_party/WebKit.  This should make the
2177         file path shorter, reducing the chance of hitting the 260 char path
2178         limit on Windows.
2179
2180         * DEPS: roll to r114686
2181
2182 2011-12-15  James Robinson  <jamesr@chromium.org>
2183
2184         [chromium] Set the CCLayerTreeHost pointer on LayerChromium instances eagerly
2185         https://bugs.webkit.org/show_bug.cgi?id=74477
2186
2187         Reviewed by Kenneth Russell.
2188
2189         Add some new tests for LayerChromium::m_layerTreeHost behavior.
2190
2191         * tests/CCLayerTreeHostTest.cpp:
2192         (::MockLayerTreeHost::create):
2193         (::MockLayerTreeHost::MockLayerTreeHost):
2194         (::CCLayerTreeHostTestShortlived1::beginTest):
2195         (::CCLayerTreeHostTestShortlived2::beginTest):
2196         (::CCLayerTreeHostTestShortlived3::beginTest):
2197         * tests/LayerChromiumTest.cpp:
2198
2199 2011-12-15  Nat Duca  <nduca@chromium.org>
2200
2201         [chromium] Add forUseOnAnotherThread to WebGraphicsContext3D::Attributes
2202         https://bugs.webkit.org/show_bug.cgi?id=74557
2203
2204         Reviewed by Kenneth Russell.
2205
2206         * public/platform/WebGraphicsContext3D.h:
2207         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
2208         * src/GraphicsContext3DChromium.cpp:
2209
2210 2011-12-15  Tommy Widenflycht  <tommyw@google.com>
2211
2212         [chromium] MediaStream API: Fixing #include statements and removing forwarding header file
2213         https://bugs.webkit.org/show_bug.cgi?id=74598
2214
2215         Reviewed by Darin Fisher.
2216
2217         WebMediaStreamSource.h had some issues when accessed from chromium. Also cleaned up the forwarding header.
2218
2219         * WebKit.gyp:
2220         * public/WebMediaStreamSource.h: Removed.
2221         * public/platform/WebMediaStreamSource.h:
2222
2223 2011-12-15  Stephen White  <senorblanco@chromium.org>
2224
2225         Unreviewed, rolling out r102956.
2226         http://trac.webkit.org/changeset/102956
2227         https://bugs.webkit.org/show_bug.cgi?id=74334
2228
2229         Broke Chromium/Win build.
2230
2231         * features.gypi:
2232
2233 2011-12-15  Kenneth Russell  <kbr@google.com>
2234
2235         Unreviewed. Disable flaky tests. Built and tested on Linux.
2236         https://bugs.webkit.org/show_bug.cgi?id=74623
2237
2238         * tests/CCLayerTreeHostTest.cpp:
2239         (WTF::TEST_F):
2240
2241 2011-12-15  Stephen White  <senorblanco@chromium.org>
2242
2243         Enable CSS_FILTERS in Chromium.
2244         https://bugs.webkit.org/show_bug.cgi?id=74334
2245
2246         Reviewed by Kenneth Russell.
2247
2248         * features.gypi:
2249
2250 2011-12-15  Martin Kosiba  <mkosiba@google.com>
2251
2252         Fix find on web pages with -webkit-user-select: none for Chromium
2253         https://bugs.webkit.org/show_bug.cgi?id=72281
2254
2255         Reviewed by Ryosuke Niwa.
2256
2257         This will make it possible to search for text that has
2258         selection disabled (via the webkit-user-select attribute).
2259
2260         WebFrameImpl::find will use findStringAndScrollToVisible, which is
2261         similar to findString except that it uses Range directly rather
2262         than passing the find result in the active selection.
2263
2264         * src/WebFrameImpl.cpp:
2265         (WebKit::WebFrameImpl::find):
2266
2267 2011-12-15  Kenneth Russell  <kbr@google.com>
2268
2269         [chromium] Add DRT support for WebKitPageCacheSupportsPluginsPreferenceKey
2270         https://bugs.webkit.org/show_bug.cgi?id=74581
2271
2272         Reviewed by Darin Fisher.
2273
2274         * public/WebSettings.h:
2275         * src/WebSettingsImpl.cpp:
2276         (WebKit::WebSettingsImpl::setPageCacheSupportsPlugins):
2277         * src/WebSettingsImpl.h:
2278
2279 2011-12-15  Andrey Kosyakov  <caseq@chromium.org>
2280
2281         Web Inspector: [Chromium] add support to inspector test suite to fetch test execution results from console
2282         https://bugs.webkit.org/show_bug.cgi?id=74208
2283
2284         Reviewed by Yury Semikhatsky.
2285
2286         This adds waitForTestResultsInConsole, a test suite method that monitors console for a message containing
2287         either PASS or FAIL and sets result accordingly. This is used by tests running in the extension context to
2288         communicate test results to the test driver (see devtools_sanity_unittest.cc for an example).
2289
2290         * src/js/Tests.js:
2291         (.TestSuite.prototype.testWaitForResultsInConsole.onConsoleMessage):
2292         (.TestSuite.prototype.testWaitForResultsInConsole):
2293
2294 2011-12-15  Peter Beverloo  <peter@chromium.org>
2295
2296         [Chromium] Enable TestNetscapePlugIn to link for Android
2297         https://bugs.webkit.org/show_bug.cgi?id=74597
2298
2299         Reviewed by Tony Gentilcore.
2300
2301         The -nostdlib linker flag is being passed to all targets being build
2302         for Android, which conflicts with the shared library the
2303         TestNetscapePlugIn target created. Explicitly exclude the flag.
2304
2305         * WebKit.gyp:
2306
2307 2011-12-14  David Levin  <levin@chromium.org>
2308
2309         [chromium] DatabaseObserver needs threadsafe fixes and other clean-up.
2310         https://bugs.webkit.org/show_bug.cgi?id=74558
2311
2312         Reviewed by Dmitry Titov.
2313
2314         The important part of this fix is the removal of AllowCrossThreadAccess so
2315         that ref counting happens appropriately.
2316
2317         Minor clean up throughout: Removed unnecessary WTF prefix in many
2318         of these places and unnecessary String().
2319
2320         * src/DatabaseObserver.cpp:
2321         (WebKit::AllowDatabaseMainThreadBridge::create):
2322         (WebKit::AllowDatabaseMainThreadBridge::signalCompleted): Get rid of
2323         AllowCrossThreadAccess so that "this" get ref counted and remove mode from being
2324         a member variable since a String in a ThreadSafeRefCounted class is bad.
2325         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge): Ditto.
2326         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask): Pass through mode
2327         and minor code cleaning to do only one call to signalCompleted.
2328         (WebKit::allowDatabaseForWorker): Just removed unnecessary String()'s.
2329
2330 2011-12-14  Tony Chang  <tony@chromium.org>
2331
2332         [chromium] Remove redundant third_party entries from chromium DEPS
2333         https://bugs.webkit.org/show_bug.cgi?id=74472
2334
2335         Reviewed by Kenneth Russell.
2336
2337         Removed redundant DEPS entries for third_party subdirectories
2338         coming from chromium_svn, which were causing intermittent gclient
2339         failures on the bots.
2340
2341         * DEPS:
2342
2343 2011-12-14  Scott Graham  <scottmg@chromium.org>
2344
2345         Increase maximum number of gamepad buttons in Chromium port interface
2346         https://bugs.webkit.org/show_bug.cgi?id=74559
2347
2348         Reviewed by Darin Fisher.
2349
2350         * public/platform/WebGamepad.h:
2351
2352 2011-12-14  Kenichi Ishibashi  <bashi@chromium.org>
2353
2354         Unreviewed, rolling out r102873.
2355         http://trac.webkit.org/changeset/102873
2356         https://bugs.webkit.org/show_bug.cgi?id=64434
2357
2358         Break the build
2359
2360         * public/WebPlugin.h:
2361         * src/WebPluginContainerImpl.cpp:
2362         * src/WebPluginContainerImpl.h:
2363
2364 2011-12-14  Nat Duca  <nduca@chromium.org>
2365
2366         [chromium] Add inhibitDraw to CCScheduler and drop root impl to prevent background flash on tab restore
2367         https://bugs.webkit.org/show_bug.cgi?id=74351
2368
2369         Reviewed by James Robinson.
2370
2371         * tests/CCSchedulerStateMachineTest.cpp:
2372         (WebCore::StateMachine::inhibitDraw):
2373         (WebCore::TEST):
2374         * tests/CCSchedulerTest.cpp:
2375         (WebKitTests::FakeCCSchedulerClient::setInhibitDraw):
2376         (WebKitTests::FakeCCSchedulerClient::inhibitDraw):
2377         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::inhibitDraw):
2378         (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::inhibitDraw):
2379
2380 2011-12-14  Jing Zhao  <jingzhao@chromium.org>
2381
2382         Opening two popup menus by dispatchEvent() makes problems.
2383         https://bugs.webkit.org/show_bug.cgi?id=73304
2384
2385         Reviewed by Kent Tamura.
2386
2387         By using element.dispatchEvent(), a user written script can open two
2388         popup menus, which causes the assertion in WebViewImpl::popupOpened()
2389         fail.
2390
2391         ChromeClientImpl::hasOpenedPopup() is called by Chrome::hasOpenedPopup()
2392         in RenderMenuList::showPopup(), to check if there is an opened popup
2393         menu before opening a new popup menu.
2394
2395         * src/ChromeClientImpl.cpp:
2396         (WebKit::ChromeClientImpl::hasOpenedPopup): Checks the popup in WebViewImpl.
2397         * src/ChromeClientImpl.h: Overrides hasOpenedPopup().
2398
2399 2011-12-14  Kenichi Ishibashi  <bashi@chromium.org>
2400
2401         [Chromium] Implement PluginViewBase::getFormValue
2402         https://bugs.webkit.org/show_bug.cgi?id=64434
2403
2404         Adds getFormValue() to WebPluginContainerImpl as an implementation of PluginViewBase::getFormValue().
2405
2406         Reviewed by Darin Fisher.
2407
2408         No new tests. No behavior change at this time. We should add a test for PPAPI after chromium supports the feature.
2409
2410         * public/WebPlugin.h: Added getFormValue().
2411         * src/WebPluginContainerImpl.cpp:
2412         (WebKit::WebPluginContainerImpl::getFormValue): Added.
2413         * src/WebPluginContainerImpl.h: Added getFormValue().
2414
2415 2011-12-14  Sami Kyostila  <skyostil@chromium.org>
2416
2417         [chromium] Fix CCLayerTreeHostTest shutdown race
2418         https://bugs.webkit.org/show_bug.cgi?id=73926
2419
2420         This patch fixes a shutdown race condition in CCLayerTreeHostTest which
2421         may happen if endTest() is called from within the drawLayersOnCCThread()
2422         test hook. The sequence of events leading to the problem is:
2423
2424           1. CCThreadProxy::scheduledActionDrawAndSwap() is called when a frame
2425              begins.
2426           2. CCThreadProxy calls drawLayersOnCCThread(), which in turn calls
2427              endTest().
2428           3. Seeing it's not running in the main thread, endTest() posts a task
2429              calling itself in the main thread.
2430           4. CCThreadProxy posts a task for calling didCommitAndDrawFrame() in
2431              the main thread.
2432
2433         The race is between the task posted in step #3 and the CC thread running
2434         in scheduledActionDrawAndSwap(). If the endTask() task is scheduled
2435         before the CC thread reaches step #4, it drains the pending message
2436         queue (CCLayerTreeHostTest.cpp:369) before the task in step #4 is
2437         posted.
2438
2439         The result is that the didCommitAndDrawFrame() task is executed after
2440         the test fixture has been torn down, causing a read of unallocated
2441         memory in CCScopedThreadProxy::runTaskIfNotShutdown (as m_targetThread
2442         is no longer valid).
2443
2444         The fix is check m_shutdown before touching m_targetThread in
2445         CCScopedThreadProxy. That is, events will still be queued after shutdown
2446         but they will not be processed.
2447
2448         Reviewed by James Robinson.
2449
2450 2011-12-14  Jonathan Backer  <backer@chromium.org>
2451
2452         [chromium] Plumb through flag for enabling partial swap
2453         https://bugs.webkit.org/show_bug.cgi?id=74513
2454
2455         Reviewed by James Robinson.
2456
2457         * public/WebSettings.h:
2458         * public/platform/WebLayerTreeView.h:
2459         (WebKit::WebLayerTreeView::Settings::Settings):
2460         * src/WebLayerTreeView.cpp:
2461         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
2462         * src/WebSettingsImpl.cpp:
2463         (WebKit::WebSettingsImpl::setPartialSwapEnabled):
2464         * src/WebSettingsImpl.h:
2465         * src/WebViewImpl.cpp:
2466         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2467
2468 2011-12-14  Peter Beverloo  <peter@chromium.org>
2469
2470         [Chromium] Roll chromium DEPS (r113807 -> r114356)
2471         https://bugs.webkit.org/show_bug.cgi?id=74496
2472
2473         Reviewed by Tony Gentilcore.
2474
2475         Roll deps to r114356 and update the location of sfntly to
2476         pick up the change at Chromium.
2477
2478         * DEPS:
2479
2480 2011-12-13  Dirk Pranke  <dpranke@chromium.org>
2481
2482         chromium port - remove nacl hack in DEPS/gyp_webkit
2483         https://bugs.webkit.org/show_bug.cgi?id=74150
2484
2485         Reviewed by Tony Chang.
2486
2487         This change reverts the change added in r101011; it is
2488         no longer necessary to pull in anything from Native Client for
2489         the chromium port to build.
2490
2491         * DEPS:
2492         * gyp_webkit:
2493
2494 2011-12-13  Dave Michael  <dmichael@chromium.org>
2495
2496         Export WebArrayBuffer::byteLength
2497         https://bugs.webkit.org/show_bug.cgi?id=74438
2498
2499         Reviewed by Darin Fisher.
2500
2501         * public/WebArrayBuffer.h:
2502
2503 2011-12-13  Kenneth Russell  <kbr@google.com>
2504
2505         Unreviewed, rolling out r102693.
2506         http://trac.webkit.org/changeset/102693
2507         https://bugs.webkit.org/show_bug.cgi?id=74334
2508
2509         Broke Chromium Windows DRT build
2510
2511         * features.gypi:
2512
2513 2011-12-13  Peter Beverloo  <peter@chromium.org>
2514
2515         [Chromium] Pull in FreeType and decrease check-out complexity for Android
2516         https://bugs.webkit.org/show_bug.cgi?id=74401
2517
2518         Pull in FreeType in the third_party/ directory from a separate git
2519         repository at Chromium. This introduces a new prerequisite for checking
2520         out the Chromium WebKit port for Android, namely that git needs to be
2521         available on the system. gclient can handle this just fine.
2522
2523         Reviewed by Adam Barth.
2524
2525         * DEPS:
2526
2527 2011-12-13  Alok Priyadarshi  <alokp@chromium.org>
2528
2529         [chromium] compositing/masks layout tests fail with accelerated drawing
2530         https://bugs.webkit.org/show_bug.cgi?id=72760
2531
2532         Reviewed by Stephen White.
2533
2534         * tests/TiledLayerChromiumTest.cpp:
2535         (WTF::FakeLayerTextureUpdater::createTexture):
2536
2537 2011-12-13  Stephen White  <senorblanco@chromium.org>
2538
2539         Enable CSS_FILTERS in Chromium.
2540         https://bugs.webkit.org/show_bug.cgi?id=74334
2541
2542         Reviewed by Kenneth Russell.
2543
2544         * features.gypi:
2545
2546 2011-12-12  Ryosuke Niwa  <rniwa@webkit.org>
2547
2548         WebKit code shouldn't be calling applyCommand directly
2549         https://bugs.webkit.org/show_bug.cgi?id=74337
2550
2551         Reviewed by Darin Adler.
2552
2553         * src/WebFrameImpl.cpp:
2554         (WebKit::WebFrameImpl::replaceSelection):
2555
2556 2011-12-12  David Grogan  <dgrogan@chromium.org>
2557
2558         Fix compilation error when !ENABLE(WORKERS)
2559         https://bugs.webkit.org/show_bug.cgi?id=74029
2560
2561         Reviewed by Yury Semikhatsky.
2562
2563         * features.gypi:
2564         * src/IDBFactoryBackendProxy.cpp:
2565         (WebKit::IDBFactoryBackendProxy::openFromWorker):
2566         * src/PlatformSupport.cpp:
2567         * src/WebDevToolsAgentImpl.cpp:
2568         (WebKit::WebDevToolsAgent::disconnectEventAsText):
2569         * src/WebWorkerRunLoop.cpp:
2570
2571 2011-12-12  Shawn Singh  <shawnsingh@chromium.org>
2572
2573         [chromium] Remove assumption that empty surface is always at end of list
2574         https://bugs.webkit.org/show_bug.cgi?id=74037
2575
2576         Reviewed by James Robinson.
2577
2578         * tests/CCLayerTreeHostCommonTest.cpp:
2579         (WebCore::TEST):
2580
2581 2011-12-09  Daniel Cheng  <dcheng@chromium.org>
2582
2583         [chromium] Remove BufferDrag from WebClipboard::Buffer enum.
2584         https://bugs.webkit.org/show_bug.cgi?id=74227
2585
2586         Reviewed by Tony Chang.
2587
2588         This enum value was intended for asynchronous data retrieval during drop operations; since
2589         that was never implemented, I'm removing this enum value.
2590
2591         * public/platform/WebClipboard.h:
2592         * src/AssertMatchingEnums.cpp:
2593
2594 2011-12-12  Tommy Widenflycht  <tommyw@google.com>
2595
2596         [chromium] MediaStream API: Moving WebMediaStreamSource.h
2597         https://bugs.webkit.org/show_bug.cgi?id=74081
2598
2599         Moving WebMediaStreamSource.h to public/platform.
2600         Keeping a stub in public as to not affect chromium right now.
2601
2602         Reviewed by Darin Fisher.
2603
2604         * WebKit.gyp:
2605         * public/WebMediaStreamSource.h:
2606         * public/platform/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/WebMediaStreamSource.h.
2607         (WebKit::WebMediaStreamSource::WebMediaStreamSource):
2608         (WebKit::WebMediaStreamSource::~WebMediaStreamSource):
2609         (WebKit::WebMediaStreamSource::isNull):
2610         * src/AssertMatchingEnums.cpp:
2611         * src/UserMediaClientImpl.cpp:
2612         * src/WebMediaStreamDescriptor.cpp:
2613         * src/WebMediaStreamRegistry.cpp:
2614         * src/WebMediaStreamSource.cpp:
2615         * src/WebUserMediaRequest.cpp:
2616
2617 2011-12-09  James Robinson  <jamesr@chromium.org>
2618
2619         [chromium] Remove forwarding headers for WebLayer APIs
2620         https://bugs.webkit.org/show_bug.cgi?id=73729
2621
2622         Reviewed by Adam Barth.
2623
2624         These are no longer necessary.
2625
2626         * WebKit.gyp:
2627         * public/WebContentLayer.h: Removed.
2628         * public/WebContentLayerClient.h: Removed.
2629         * public/WebExternalTextureLayer.h: Removed.
2630         * public/WebLayer.h: Removed.
2631         * public/WebLayerClient.h: Removed.
2632         * public/WebLayerTreeView.h: Removed.
2633         * public/WebLayerTreeViewClient.h: Removed.
2634
2635 2011-12-09  Karl Koscher  <supersat@chromium.org>
2636
2637         [chromium] add accessors to WebDOMMessageEvent
2638         https://bugs.webkit.org/show_bug.cgi?id=73346
2639
2640         Reviewed by Darin Fisher.
2641
2642         * public/WebDOMMessageEvent.h:
2643         * src/WebDOMMessageEvent.cpp:
2644         (WebKit::WebDOMMessageEvent::data):
2645         (WebKit::WebDOMMessageEvent::origin):
2646
2647 2011-12-09  Karl Koscher  <supersat@chromium.org>
2648
2649         [chromium] add event methods to WebFrame
2650         https://bugs.webkit.org/show_bug.cgi?id=73259
2651
2652         Reviewed by Darin Fisher.
2653
2654         * public/WebDOMEventListener.h: Use EventTarget instead of Node
2655         * public/WebFrame.h: Add event methods
2656         * src/WebDOMEventListener.cpp: Use EventTarget instead of Node
2657         (WebKit::WebDOMEventListener::createEventListenerWrapper):
2658         (WebKit::WebDOMEventListener::getEventListenerWrapper):
2659         * src/WebDOMEventListenerPrivate.cpp: Use EventTarget instead of Node
2660         (WebKit::WebDOMEventListenerPrivate::createEventListenerWrapper):
2661         (WebKit::WebDOMEventListenerPrivate::getEventListenerWrapper):
2662         * src/WebDOMEventListenerPrivate.h: Use EventTarget instead of Node
2663         (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo):
2664         * src/WebFrameImpl.cpp:
2665         (WebKit::WebFrameImpl::addEventListener): register a listener on a WebFrame
2666         (WebKit::WebFrameImpl::removeEventListener): remove a listener on a WebFrame
2667         (WebKit::WebFrameImpl::dispatchEvent): dispatch an event to a WebFrame
2668         * src/WebFrameImpl.h: Add event methods
2669
2670 2011-12-09  Dirk Pranke  <dpranke@chromium.org>
2671
2672         chromium win build: revert build_webkit_exes_from_webkit_gyp change
2673         https://bugs.webkit.org/show_bug.cgi?id=74225
2674
2675         Reviewed by Tony Chang.
2676
2677         This change sets build_webkit_exes_from_webkit_gyp back to 1;
2678         the "All.gyp" solution doesn't work on windows.
2679
2680         * gyp_webkit:
2681
2682 2011-12-09  Dirk Pranke  <dpranke@chromium.org>
2683
2684         chromium: visual studio projects are busted when build_webkit_exes_from_webkit_gyp==0
2685         https://bugs.webkit.org/show_bug.cgi?id=74212
2686
2687         Reviewed by Tony Chang.
2688
2689         The change introduced in r102201 to split the executables out of
2690         WebKit.gyp apparently doesn't work right on Windows, since
2691         WebKit.gyp and Tools.gyp refer to dependent projects by
2692         different relative paths (it appears gyp doesn't normalize the
2693         paths). This change moves Tools.gyp to be in the same directory
2694         as WebKit.gyp (and All.gyp), which should fix this and
2695         conveniently will also solve the problem of how to add Tools.gyp
2696         to the chromium DEPS file.
2697
2698         * All.gyp:
2699         * Tools.gyp: Renamed from ../../../Tools/Tools.gyp.
2700
2701 2011-12-09  Cary Clark  <caryclark@google.com>
2702
2703         Chromium DEPS roll to pick up new use_skia=1 default on Chromium-Mac
2704         https://bugs.webkit.org/show_bug.cgi?id=74118
2705
2706         Reviewed by Adam Barth.
2707
2708         * DEPS:
2709
2710 2011-12-08  Fady Samuel  <fsamuel@chromium.org>
2711
2712         [Chromium] Enable viewport metatag
2713         https://bugs.webkit.org/show_bug.cgi?id=73495
2714
2715         Reviewed by Darin Fisher.
2716
2717         Compute the appropriate fixed layout size, page, and device scale factors,
2718         based on the viewport meta tag parameters.
2719
2720         See http://developer.android.com/guide/webapps/targeting.html for more information.
2721
2722
2723         * features.gypi:
2724         * public/WebView.h:
2725         * src/ChromeClientImpl.cpp:
2726         (WebKit::ChromeClientImpl::layoutUpdated):
2727         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
2728         * src/ChromeClientImpl.h:
2729         * src/WebFrameImpl.cpp:
2730         (WebKit::WebFrameImpl::createFrameView):
2731         * src/WebViewImpl.cpp:
2732         (WebKit::WebViewImpl::WebViewImpl):
2733         (WebKit::WebViewImpl::isPageScaleFactorSet):
2734         (WebKit::WebViewImpl::setPageScaleFactor):
2735         (WebKit::WebViewImpl::observeNewNavigation):
2736         * src/WebViewImpl.h:
2737
2738 2011-12-08  Pierre Rossi  <pierre.rossi@gmail.com>
2739
2740         Drop ENABLE_NO_LISTBOX_RENDERING, and make it a runtime decision.
2741         https://bugs.webkit.org/show_bug.cgi?id=73916
2742
2743         Reviewed by Kent Tamura.
2744
2745         * src/ExternalPopupMenu.cpp:
2746         (WebKit::ExternalPopupMenu::didAcceptIndices):
2747         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
2748
2749 2011-12-08  David Reveman  <reveman@chromium.org>
2750
2751         [Chromium] Add per-tile painting flag to DumpRenderTree and rename AcceleratedDrawing to AcceleratedPainting in chromium specific code.
2752         https://bugs.webkit.org/show_bug.cgi?id=74017
2753
2754         Reviewed by James Robinson.
2755
2756         Add WebSettings::setAcceleratedPaintingEnabled to public API.
2757
2758         * public/WebSettings.h:
2759         * src/WebSettingsImpl.cpp:
2760         (WebKit::WebSettingsImpl::WebSettingsImpl):
2761         (WebKit::WebSettingsImpl::setAcceleratedPaintingEnabled):
2762         (WebKit::WebSettingsImpl::setPerTilePaintingEnabled):
2763         * src/WebSettingsImpl.h:
2764         * src/WebViewImpl.cpp:
2765         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2766
2767 2011-12-08  James Robinson  <jamesr@chromium.org>
2768
2769         [chromium] Move NonCompositedContentHost to WebKit
2770         https://bugs.webkit.org/show_bug.cgi?id=74047
2771
2772         Reviewed by Kenneth Russell.
2773
2774         Moves NonCompositedContentHost into WebKit/chromium/src. This class is a helper class designed to make it easier
2775         for WebViewImpl to interface with the compositor. The compositor proper should not depend on this class, and
2776         other clients of the compositor do not need this functionality.
2777
2778         Follow-up patches will transition this code from using compositor-internal interfaces directly to using
2779         higher-level interfaces like the WebKit platform APIs. This patch simply does a file mv and updates namespaces
2780         to keep things simpler.
2781
2782         Refactor only and covered by several unit tests.
2783
2784         * WebKit.gyp:
2785         * src/NonCompositedContentHost.cpp: Renamed from Source/WebCore/platform/graphics/chromium/NonCompositedContentHost.cpp.
2786         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
2787         (WebKit::NonCompositedContentHost::~NonCompositedContentHost):
2788         (WebKit::NonCompositedContentHost::setBackgroundColor):
2789         (WebKit::NonCompositedContentHost::setScrollLayer):
2790         (WebKit::NonCompositedContentHost::setViewport):
2791         (WebKit::NonCompositedContentHost::scrollLayer):
2792         (WebKit::NonCompositedContentHost::protectVisibleTileTextures):
2793         (WebKit::NonCompositedContentHost::invalidateRect):
2794         (WebKit::NonCompositedContentHost::notifyAnimationStarted):
2795         (WebKit::NonCompositedContentHost::notifySyncRequired):
2796         (WebKit::NonCompositedContentHost::paintContents):
2797         (WebKit::NonCompositedContentHost::showDebugBorders):
2798         (WebKit::NonCompositedContentHost::showRepaintCounter):
2799         * src/NonCompositedContentHost.h: Renamed from Source/WebCore/platform/graphics/chromium/NonCompositedContentHost.h.
2800         (WebKit::NonCompositedContentHost::create):
2801         (WebKit::NonCompositedContentHost::topLevelRootLayer):
2802         * src/WebViewImpl.cpp:
2803         (WebKit::WebViewImpl::nonCompositedContentHost):
2804         * src/WebViewImpl.h:
2805         * tests/LayerChromiumTest.cpp:
2806
2807 2011-12-08  Sami Kyostila  <skyostil@google.com>
2808
2809         [chromium] Layer contents scale change should trigger invalidation
2810
2811         https://bugs.webkit.org/show_bug.cgi?id=74086
2812
2813         When the contents scale of a layer is changed, the entire contents of
2814         the layer should be marked dirty.
2815
2816         Reviewed by James Robinson.
2817
2818         * tests/LayerChromiumTest.cpp:
2819
2820 2011-12-08  Dana Jansens  <danakj@chromium.org>
2821
2822         [chromium] Set opaque() for VideoLayerChromium
2823         https://bugs.webkit.org/show_bug.cgi?id=73858
2824
2825         Reviewed by James Robinson.
2826
2827         * src/WebMediaPlayerClientImpl.cpp:
2828         (WebKit::isVideoFrameFormatOpaque):
2829         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
2830
2831 2011-12-08  Elliot Poger  <epoger@google.com>
2832
2833         Chromium DEPS roll 112974 -> 113603
2834         https://bugs.webkit.org/show_bug.cgi?id=74105
2835
2836         Reviewed by Adam Barth.
2837
2838         * DEPS:
2839
2840 2011-12-08  Tony Chang  <tony@chromium.org>
2841
2842         [chromium] remove headers from WebKit.gyp that moved into WebKit/chromium/public/platform
2843         https://bugs.webkit.org/show_bug.cgi?id=74106
2844
2845         Reviewed by Darin Fisher.
2846
2847         * WebKit.gyp:
2848
2849 2011-12-08  Peter Beverloo  <peter@chromium.org>
2850
2851         [Chromium] Exclude the four RenderTableCellDeathTest death tests for Android
2852         https://bugs.webkit.org/show_bug.cgi?id=73997
2853
2854         The ASSERT_DEATH macro is not yet available in Google Test when
2855         building for Android, which causes compilation errors. This code
2856         will be removed once support lands in the GTest version Chromium
2857         uses. See https://bugs.webkit.org/show_bug.cgi?id=74089.
2858
2859         Reviewed by Julien Chaffraix.
2860
2861         * tests/RenderTableCellTest.cpp:
2862
2863 2011-12-08  Joshua Bell  <jsbell@chromium.org>
2864
2865         IndexedDB: WebKit API addition of IDBObjectStore.count() and IDBIndex.count()
2866         https://bugs.webkit.org/show_bug.cgi?id=73685
2867
2868         Reviewed by Darin Fisher.
2869
2870         Implementation to follow - this just extends the WebKit API.
2871
2872         * public/WebIDBIndex.h:
2873         (WebKit::WebIDBIndex::count):
2874         * public/WebIDBObjectStore.h:
2875         (WebKit::WebIDBObjectStore::count):
2876
2877 2011-12-07  Alexandre Elias  <aelias@google.com>
2878
2879         [chromium] Add page-scale animation support to Impl thread
2880         https://bugs.webkit.org/show_bug.cgi?id=72996
2881
2882         Reviewed by James Robinson.
2883
2884         This adds a new math helper class to compute the progress of the
2885         animation, and code in the CCLayerTreeHostImpl to apply the animation
2886         frame by frame.
2887
2888         No new tests. (https://bugs.webkit.org/show_bug.cgi?id=71529 filed.)
2889
2890         * public/WebCompositor.h:
2891         * public/WebInputEvent.h:
2892         (WebKit::WebPageScaleAnimationEvent::WebPageScaleAnimationEvent):
2893         * public/android/WebInputEventFactory.h:
2894         * src/WebCompositorImpl.cpp:
2895         (WebKit::WebCompositorImpl::handlePageScaleAnimationEvent):
2896         * src/WebCompositorImpl.h:
2897         * src/WebPopupMenuImpl.cpp:
2898         (WebKit::WebPopupMenuImpl::handleInputEvent):
2899         * src/android/WebInputEventFactory.cpp:
2900         (WebKit::WebInputEventFactory::pageScaleAnimationEvent):
2901
2902 2011-12-07  Fady Samuel  <fsamuel@chromium.org>
2903
2904         [Chromium] Plumb DPI info into PlatformScreen
2905         https://bugs.webkit.org/show_bug.cgi?id=70556
2906
2907         Reviewed by Darin Fisher.
2908         
2909         Make DPI information accessible from WebKit through
2910         PlatformScreen. This is useful when making scaling 
2911         computations on various devices (e.g. Viewport meta tag).
2912
2913         This patch adds DPI plumbing on Chromium Win/Mac/Linux
2914         platforms.
2915
2916         * public/WebScreenInfo.h:
2917         (WebKit::WebScreenInfo::WebScreenInfo):
2918         * src/PlatformSupport.cpp:
2919         (WebCore::PlatformSupport::screenHorizontalDPI):
2920         (WebCore::PlatformSupport::screenVerticalDPI):
2921         * src/mac/WebScreenInfoFactory.mm:
2922         (WebKit::WebScreenInfoFactory::screenInfo):
2923         * src/win/WebScreenInfoFactory.cpp:
2924         (WebKit::WebScreenInfoFactory::screenInfo):
2925         * src/x11/WebScreenInfoFactory.cpp:
2926         (WebKit::WebScreenInfoFactory::screenInfo):
2927
2928 2011-12-07  Alexandre Elias  <aelias@google.com>
2929
2930         [chromium] Preserve original pageScale limits in WebViewImpl
2931         https://bugs.webkit.org/show_bug.cgi?id=72983
2932
2933         Reviewed by Darin Fisher.
2934
2935         Preserve the originally viewport-tag specified page scale limits, and
2936         compute the final ones in a new private method
2937         computePageScaleFactorLimits().  This is then called when contents
2938         size change (which can affect the minimum).
2939
2940         Also clean up several minor bugs, namely clamping issues (reorder
2941         clampNegativeToZero to avoid negative scroll offsets, and force max to
2942         be greater than min), and incorrect behavior in the presence of
2943         "solid" scrollbars.
2944
2945         * src/ChromeClientImpl.cpp:
2946         (WebKit::ChromeClientImpl::contentsSizeChanged):
2947         * src/WebViewImpl.cpp:
2948         (WebKit::WebViewImpl::WebViewImpl):
2949         (WebKit::WebViewImpl::clampPageScaleFactorToLimits):
2950         (WebKit::WebViewImpl::clampOffsetAtScale):
2951         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
2952         (WebKit::WebViewImpl::setPageScaleFactor):
2953         (WebKit::WebViewImpl::setPageScaleFactorLimits):
2954         (WebKit::WebViewImpl::computePageScaleFactorLimits):
2955         (WebKit::WebViewImpl::didChangeContentsSize):
2956         * src/WebViewImpl.h:
2957
2958 2011-12-07  Chris Sharp  <csharp@chromium.org>
2959         
2960         Exposing boundsInScreenSpace in WebElement.
2961         https://bugs.webkit.org/show_bug.cgi?id=71579
2962
2963         Exposing boundsInScreenSpace through a new function,
2964         boundsInViewportSpace, to assist in moving the Autofill UI out of
2965         WebKit in Chromium. Renamed the exposed function to provide a better
2966         meaning of what the function does in the Chromium code.
2967         More information can be found at:
2968         http://crbug.com/51644
2969
2970
2971         Reviewed by Darin Fisher.
2972
2973         * public/WebElement.h:
2974         * src/WebElement.cpp:
2975         (WebKit::WebElement::boundsInViewportSpace):
2976
2977 2011-12-07  Adam Klein  <adamk@chromium.org>
2978
2979         [MutationObservers] Enable in Chromium trunk
2980         https://bugs.webkit.org/show_bug.cgi?id=73851
2981
2982         Reviewed by Ojan Vafai.
2983
2984         Re-landing after fixing Chromium unit test crashes in r102171
2985         and inspector debugger crash in r102264.
2986
2987         * features.gypi:
2988
2989 2011-12-07  Jonathan Backer  <backer@chromium.org>
2990
2991         [chromium] Plumb damage from WebExternalTextureLayer and WebPluginContainer to CCDamageTracker
2992         https://bugs.webkit.org/show_bug.cgi?id=73485
2993
2994         Reviewed by Darin Fisher.
2995
2996         * public/platform/WebExternalTextureLayer.h:
2997         * src/WebExternalTextureLayer.cpp:
2998         (WebKit::WebExternalTextureLayer::invalidateRect):
2999         * src/WebPluginContainerImpl.cpp:
3000         (WebKit::WebPluginContainerImpl::commitBackingTexture):
3001
3002 2011-12-06  Dirk Pranke  <dpranke@chromium.org>
3003
3004         Fix typo in WebKit.gyp introduced in previous change.
3005
3006         Unreviewed, build fix.
3007
3008         * WebKit.gyp:
3009
3010 2011-12-06  Dirk Pranke  <dpranke@chromium.org>
3011
3012         binaries in webkit.gyp should be split into a new file to break circular dependencies on webkit_support
3013         https://bugs.webkit.org/show_bug.cgi?id=73382
3014
3015         Reviewed by Tony Chang.
3016
3017         XCode (and hence GYP) can't handle circular dependencies between
3018         files (and projects). Accordingly, although the binaries in
3019         WebKit.gyp depend on webkit_support and webkit_support depends
3020         on webkit, we don't mention the latter dependency in the file.
3021         To fix this, this change moves the binaries like DRT into a new
3022         GYP file, and modifies gyp_webkit to build from that file
3023         instead of WebKit.gyp.
3024
3025         * WebKit.gyp:
3026         * All.gyp:
3027         * WebKitUnitTests.gyp:
3028         * gyp_webkit:
3029
3030 2011-12-06  Adrienne Walker  <enne@google.com>
3031
3032         [chromium] setNeedsCommit on non-composited host layers should trigger commit
3033         https://bugs.webkit.org/show_bug.cgi?id=73711
3034
3035         Reviewed by James Robinson.
3036
3037         Add some tests to make sure that modifying the noncomposited content
3038         host triggers commits.
3039
3040         Properties that trigger setNeedsCommit should only do so when the
3041         property changes. Additionally, make more property changes properly
3042         trigger commits.
3043
3044         * tests/LayerChromiumTest.cpp:
3045
3046 2011-12-06  David Reveman  <reveman@chromium.org>
3047
3048         [Chromium] Implement tile-sized painting using SkPicture.
3049         https://bugs.webkit.org/show_bug.cgi?id=71869
3050
3051         Reviewed by James Robinson.
3052
3053         Add perTilePainting setting that is used by compositor to determine
3054         what texture uploader to use.
3055
3056         * public/WebSettings.h:
3057         * src/WebSettingsImpl.cpp:
3058         (WebKit::WebSettingsImpl::WebSettingsImpl):
3059         (WebKit::WebSettingsImpl::setPerTilePainting):
3060         * src/WebSettingsImpl.h:
3061         (WebKit::WebSettingsImpl::perTilePainting):
3062         * src/WebViewImpl.cpp:
3063         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3064
3065 2011-12-06  Dana Jansens  <danakj@chromium.org>
3066
3067         [chromium] Set opaque flag for ImageLayerChromium
3068         https://bugs.webkit.org/show_bug.cgi?id=72964
3069
3070         Reviewed by James Robinson.
3071
3072         * WebKit.gypi:
3073         * tests/DragImageTest.cpp:
3074         (WebCore::TestImage::TestImage):
3075         (WebCore::TestImage::nativeImageForCurrentFrame):
3076         * tests/ImageLayerChromiumTest.cpp: Added.
3077         (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
3078         (WebCore::MockGraphicsLayerClient::notifySyncRequired):
3079         (WebCore::MockGraphicsLayerClient::paintContents):
3080         (WebCore::MockGraphicsLayerClient::showDebugBorders):
3081         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
3082         (WebCore::TestImage::create):
3083         (WebCore::TestImage::TestImage):
3084         (WebCore::TestImage::isBitmapImage):
3085         (WebCore::TestImage::currentFrameHasAlpha):
3086         (WebCore::TestImage::size):
3087         (WebCore::TestImage::nativeImageForCurrentFrame):
3088         (WebCore::TestImage::destroyDecodedData):
3089         (WebCore::TestImage::decodedSize):
3090         (WebCore::TestImage::draw):
3091         (WebCore::TEST):
3092
3093 2011-12-06  Adam Klein  <adamk@chromium.org>
3094
3095         [chromium] Guard access to WebKitPlatformSupport::currentThread with a null check
3096         https://bugs.webkit.org/show_bug.cgi?id=73937
3097
3098         Reviewed by Adam Barth.
3099
3100         Though |currentThread| is never null in production code, it is null in
3101         unit tests (such as Chromium's unit_tests) that call WebKit::initialize()
3102         without first constructing a MessageLoop.
3103
3104         * src/WebKit.cpp:
3105         (WebKit::initialize):
3106         (WebKit::shutdown):
3107
3108 2011-12-06  Alexandre Elias  <aelias@google.com>
3109
3110         [chromium] Apply sent deltas on finishCommit
3111         https://bugs.webkit.org/show_bug.cgi?id=73884
3112
3113         Reviewed by James Robinson.
3114
3115         This moves scroll and pageScale "sent" deltas to be applied to
3116         the layer at the end of the commit, instead of the beginning.
3117
3118         This has several advantages, especially for page scale:
3119         - When pageScale changes, no longer any need to change the scroll's
3120         coordinate space at beginning of commit, which is complex and prone to
3121         bugs (this fixes a problem where we were forgetting to modify the
3122         scrollPosition before).
3123         - No need for non-commit-related code to consider the "sent" values.
3124         m_pageScale is now always the content scale factor, and
3125         m_pageScaleDelta is the scale to be on the impl-side matrix.
3126         - This will make it easy to send arbitrary fake or future delta
3127         values for example while pinch zooming out.
3128
3129         The scroll logic is similarly altered for consistency's sake.  Note that
3130         I also moved the tree synchronize to the beginning of finishCommit
3131         in order to avoid having to change the pageScale coordinate space of
3132         sentScrollDelta in adjustScrollsForPageScaleChange().
3133
3134         * tests/CCLayerTreeHostImplTest.cpp:
3135         (WebKit::TEST_F):
3136
3137 2011-12-06  Adam Barth  <abarth@webkit.org>
3138
3139         Remove forwarding header now that downstream has been fixed to refer to
3140         the actual location of this header.
3141
3142         * public/WebRect.h: Removed.
3143
3144 2011-12-06  Dimitri Glazkov  <dglazkov@chromium.org>
3145
3146         Unreviewed, rolling out r102091.
3147         http://trac.webkit.org/changeset/102091
3148         https://bugs.webkit.org/show_bug.cgi?id=73711
3149
3150         Caused Clang Linux compile failure.
3151
3152         * tests/LayerChromiumTest.cpp:
3153
3154 2011-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>
3155
3156         Unreviewed, rolling out r102102.
3157         http://trac.webkit.org/changeset/102102
3158         https://bugs.webkit.org/show_bug.cgi?id=73925
3159
3160         Causes segmentation fault on chromium unit_tests,
3161         content_unittests, sync_unit_tests (Requested by vsevik on
3162         #webkit).
3163
3164         * features.gypi:
3165
3166 2011-12-06  Vsevolod Vlasov  <vsevik@chromium.org>
3167
3168         Unreviewed chromium expectations update.
3169
3170         * tests/KURLTest.cpp:
3171         (ComponentCase::TEST):
3172
3173 2011-12-06  Eric Penner  <epenner@google.com>
3174
3175         [chromium] Set texture limits as multiples of viewport size instead of hardcoded values
3176         https://bugs.webkit.org/show_bug.cgi?id=72202
3177
3178         Reviewed by James Robinson.
3179
3180         * tests/TiledLayerChromiumTest.cpp:
3181         (WTF::TEST):
3182
3183 2011-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>
3184
3185         Unreviewed, rolling out r102043.
3186         http://trac.webkit.org/changeset/102043
3187         https://bugs.webkit.org/show_bug.cgi?id=73898
3188
3189         Breaks chromium mac-cg compilation. (Requested by vsevik on
3190         #webkit).
3191
3192         * WebKit.gypi:
3193         * tests/ImageLayerChromiumTest.cpp: Removed.
3194
3195 2011-12-05  Rafael Weinstein  <rafaelw@chromium.org>
3196
3197         [MutationObservers] Enable in Chromium trunk
3198         https://bugs.webkit.org/show_bug.cgi?id=73851
3199
3200         Reviewed by Ojan Vafai.
3201
3202         * features.gypi:
3203
3204 2011-12-05  James Robinson  <jamesr@chromium.org>
3205
3206         chromium build fix
3207
3208         * src/WebLayerTreeView.cpp:
3209
3210 2011-12-05  James Robinson  <jamesr@chromium.org>
3211
3212         Rollout http://trac.webkit.org/changeset/102019, dependent has not
3213         landed in chromium
3214
3215         * WebKit.gyp:
3216         * public/WebContentLayer.h: Added.
3217         * public/WebExternalTextureLayer.h: Added.
3218         * public/WebLayer.h: Added.
3219         * public/WebLayerClient.h: Added.
3220         * public/WebLayerTreeView.h: Added.
3221         * public/WebLayerTreeViewClient.h: Added.
3222         * src/WebLayerTreeView.cpp:
3223         * src/WebLayerTreeViewImpl.cpp:
3224
3225 2011-12-05  Dana Jansens  <danakj@chromium.org>
3226
3227         Set opaque flag for WebGLLayerChromium
3228         https://bugs.webkit.org/show_bug.cgi?id=73876
3229
3230         Reviewed by James Robinson.
3231
3232         * WebKit.gypi:
3233         * tests/WebGLLayerChromiumTest.cpp: Added.
3234         (WebKit::CompositorMockWebGraphicsContext3D::create):
3235         (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
3236         (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
3237         (WebKit::CompositorMockWebGraphicsContext3D::createShader):
3238         (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
3239         (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
3240         (WebKit::CompositorMockWebGraphicsContext3D::getContextAttributes):
3241         (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
3242         (WebKit::createGraphicsContext):
3243         (WebKit::TEST):
3244
3245 2011-12-05  Adrienne Walker  <enne@google.com>
3246
3247         [chromium] setNeedsCommit on non-composited host layers should trigger commit
3248         https://bugs.webkit.org/show_bug.cgi?id=73711
3249
3250         Reviewed by James Robinson.
3251
3252         Add some tests to make sure that modifying the noncomposited content
3253         host triggers commits.
3254
3255         Properties that trigger setNeedsCommit should only do so when the
3256         property changes. Additionally, make more property changes properly
3257         trigger commits.
3258
3259         * tests/LayerChromiumTest.cpp:
3260
3261 2011-12-05  Stephen White  <senorblanco@chromium.org>
3262
3263         Allow the ImageBuffers used by SVG filters to be accelerated
3264         https://bugs.webkit.org/show_bug.cgi?id=73842
3265
3266         Reviewed by Kenneth Russell.
3267
3268         * public/WebSettings.h:
3269         * src/WebSettingsImpl.cpp:
3270         (WebKit::WebSettingsImpl::setAcceleratedFiltersEnabled):
3271         * src/WebSettingsImpl.h:
3272
3273 2011-12-05  Adam Barth  <abarth@webkit.org>
3274
3275         [Chromium] Chromium fails to compile due to missing WebContentLayerClient.h
3276         https://bugs.webkit.org/show_bug.cgi?id=73881
3277
3278         This patch adds a forwarding header to fix the downstream Windows build:
3279         http://build.chromium.org/p/chromium.webkit/builders/Win%20Builder/builds/12955/steps/compile/logs/stdio
3280
3281         * public/WebContentLayerClient.h: Added.
3282
3283 2011-12-05  Adam Barth  <abarth@webkit.org>
3284
3285         Add a shim to fix the downstream Chromium compile.  The real fix should
3286         be made downstream via http://codereview.chromium.org/8801036/, but the
3287         Chromium tree is closed at the moment.
3288
3289         * public/WebRect.h: Added.
3290
3291 2011-12-01  Vangelis Kokkevis  <vangelis@chromium.org>
3292
3293         Use ANGLE's texture_usage and texture_storage extensions when allocating compositor textures.
3294         https://bugs.webkit.org/show_bug.cgi?id=73621
3295
3296         Add the necessary entry points and enums to GraphicsContext3D.
3297
3298         Reviewed by Kenneth Russell.
3299
3300         * public/platform/WebGraphicsContext3D.h:
3301         * src/Extensions3DChromium.cpp:
3302         (WebCore::Extensions3DChromium::texStorage2DEXT):
3303         * src/GraphicsContext3DChromium.cpp:
3304         * src/GraphicsContext3DPrivate.h:
3305         * tests/MockWebGraphicsContext3D.h:
3306         (WebKit::MockWebGraphicsContext3D::texStorage2DEXT):
3307
3308 2011-12-05  Adam Barth  <abarth@webkit.org>
3309
3310         Another attempted build fix.
3311
3312         * src/linux/WebFontInfo.cpp:
3313
3314 2011-12-05  Adam Barth  <abarth@webkit.org>
3315
3316         Fix Linux build.
3317
3318         * public/linux/WebFontInfo.h:
3319
3320 2011-12-05  Adam Barth  <abarth@webkit.org>
3321
3322         [Chromium] Remove no-longer-used forwarding headers in the WebKit API
3323         https://bugs.webkit.org/show_bug.cgi?id=73845
3324
3325         Reviewed by Darin Fisher.
3326
3327         Delete unused forwarding headers and update includes to the new header
3328         locations.
3329
3330         * WebKit.gyp:
3331         * bridge/PeerConnectionHandlerInternal.cpp:
3332         * bridge/PeerConnectionHandlerInternal.h:
3333         * public/WebArrayBuffer.h:
3334         * public/WebArrayBufferView.h: Removed.
3335         * public/WebAudioBus.h: Removed.
3336         * public/WebAudioDevice.h: Removed.
3337         * public/WebBlobData.h: Removed.
3338         * public/WebBlobRegistry.h: Removed.
3339         * public/WebCString.h: Removed.
3340         * public/WebCanvas.h: Removed.
3341         * public/WebClipboard.h: Removed.
3342         * public/WebColor.h: Removed.
3343         * public/WebColorName.h: Removed.
3344         * public/WebCommon.h: Removed.
3345         * public/WebCompositorInputHandler.h:
3346         * public/WebCookie.h: Removed.
3347         * public/WebCookieJar.h: Removed.
3348         * public/WebData.h: Removed.
3349         * public/WebDragData.h: Removed.
3350         * public/WebFileSystem.h: Removed.
3351         * public/WebFloatPoint.h: Removed.
3352         * public/WebFloatQuad.h: Removed.
3353         * public/WebFloatRect.h: Removed.
3354         * public/WebGamepad.h: Removed.
3355         * public/WebGamepads.h: Removed.
3356         * public/WebGraphicsContext3D.h: Removed.
3357         * public/WebHTTPBody.h: Removed.
3358         * public/WebHTTPHeaderVisitor.h: Removed.
3359         * public/WebHTTPLoadInfo.h: Removed.
3360         * public/WebIDBCallbacks.h:
3361         * public/WebImage.h: Removed.
3362         * public/WebIntent.h:
3363         * public/WebIntentServiceInfo.h:
3364         * public/WebKitPlatformSupport.h: Removed.
3365         * public/WebLocalizedString.h: Removed.
3366         * public/WebMediaStreamDescriptor.h: Removed.
3367         * public/WebMimeRegistry.h: Removed.
3368         * public/WebNonCopyable.h: Removed.
3369         * public/WebPageOverlay.h:
3370         * public/WebPeerConnectionHandler.h: Removed.
3371         * public/WebPeerConnectionHandlerClient.h: Removed.
3372         * public/WebPoint.h: Removed.
3373         * public/WebPrivateOwnPtr.h: Removed.
3374         * public/WebPrivatePtr.h: Removed.
3375         * public/WebRect.h: Removed.
3376         * public/WebSerializedScriptValue.h: Removed.
3377         * public/WebSize.h: Removed.
3378         * public/WebSocketStreamError.h: Removed.
3379         * public/WebSocketStreamHandle.h: Removed.
3380         * public/WebSocketStreamHandleClient.h: Removed.
3381         * public/WebString.h: Removed.
3382         * public/WebThread.h: Removed.
3383         * public/WebThreadSafeData.h: Removed.
3384         * public/WebURL.h: Removed.
3385         * public/WebURLError.h: Removed.
3386         * public/WebURLLoadTiming.h: Removed.
3387         * public/WebURLLoader.h: Removed.
3388         * public/WebURLLoaderClient.h: Removed.
3389         * public/WebURLRequest.h: Removed.
3390         * public/WebURLResponse.h: Removed.
3391         * public/WebVector.h: Removed.
3392         * public/WebWorkerRunLoop.h:
3393         * public/android/WebThemeEngine.h: Removed.
3394         * public/linux/WebFontFamily.h: Removed.
3395         * public/linux/WebThemeEngine.h: Removed.
3396         * public/mac/WebThemeEngine.h: Removed.
3397         * public/win/WebThemeEngine.h: Removed.
3398         * src/ApplicationCacheHost.cpp:
3399         * src/ApplicationCacheHostInternal.h:
3400         * src/AssertMatchingEnums.cpp:
3401         * src/AssociatedURLLoader.cpp:
3402         * src/AssociatedURLLoader.h:
3403         * src/AsyncFileSystemChromium.cpp:
3404         * src/AsyncFileWriterChromium.cpp:
3405         * src/AudioDestinationChromium.cpp:
3406         * src/AudioDestinationChromium.h:
3407         * src/AutofillPopupMenuClient.cpp:
3408         * src/BlobRegistryProxy.cpp:
3409         * src/CCThreadImpl.cpp:
3410         * src/ChromeClientImpl.cpp:
3411         * src/ChromiumCurrentTime.cpp:
3412         * src/ChromiumOSRandomSource.cpp:
3413         * src/ChromiumThreading.cpp:
3414         * src/CompositionUnderlineBuilder.h:
3415         * src/CompositionUnderlineVectorBuilder.h:
3416         * src/ContextMenuClientImpl.cpp:
3417         * src/DragClientImpl.cpp:
3418         * src/DragScrollTimer.h:
3419         * src/ExternalPopupMenu.cpp:
3420         * src/FrameLoaderClientImpl.cpp:
3421         * src/GraphicsContext3DChromium.cpp:
3422         * src/IDBCallbacksProxy.cpp:
3423         * src/IDBCursorBackendProxy.cpp:
3424         * src/IDBFactoryBackendProxy.cpp:
3425         * src/IDBObjectStoreBackendProxy.cpp:
3426     &n