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