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