0ec248e41cd5c79d7604a670796d06c7bb4270bd
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-03-09  Emil A Eklund  <eae@chromium.org>
2
3         Add roundedPoint to HitTestResult and change platform code to use it
4         https://bugs.webkit.org/show_bug.cgi?id=80715
5
6         Reviewed by James Robinson.
7
8         Change ports to use roundedPoint to avoid exposing subpixel types to
9         platform code.
10
11         * src/ChromeClientImpl.cpp:
12         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
13         * src/ContextMenuClientImpl.cpp:
14         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
15
16 2012-03-09  W. James MacLean  <wjmaclean@chromium.org>
17
18         [chromium] Implement scroll physics architecture for impl/main thread
19         https://bugs.webkit.org/show_bug.cgi?id=79827
20
21         Reviewed by James Robinson.
22
23         * WebKit.gypi:
24         * tests/PlatformGestureCurveTest.cpp: Added.
25
26 2012-03-09  Tien-Ren Chen  <trchen@chromium.org>
27
28         [chromium] ScrollbarLayerChromium/CCScrollbarLayerImpl for CC-side scrollbar painting
29         https://bugs.webkit.org/show_bug.cgi?id=78872
30
31         Reviewed by James Robinson.
32
33         * WebKit.gypi:
34         * tests/ScrollbarLayerChromiumTest.cpp: Added.
35         (WebCore):
36         (MockScrollbar):
37         (WebCore::MockScrollbar::x):
38         (WebCore::MockScrollbar::y):
39         (WebCore::MockScrollbar::width):
40         (WebCore::MockScrollbar::height):
41         (WebCore::MockScrollbar::size):
42         (WebCore::MockScrollbar::location):
43         (WebCore::MockScrollbar::parent):
44         (WebCore::MockScrollbar::root):
45         (WebCore::MockScrollbar::setFrameRect):
46         (WebCore::MockScrollbar::frameRect):
47         (WebCore::MockScrollbar::invalidate):
48         (WebCore::MockScrollbar::invalidateRect):
49         (WebCore::MockScrollbar::scrollbarOverlayStyle):
50         (WebCore::MockScrollbar::getTickmarks):
51         (WebCore::MockScrollbar::isScrollableAreaActive):
52         (WebCore::MockScrollbar::isScrollViewScrollbar):
53         (WebCore::MockScrollbar::convertFromContainingWindow):
54         (WebCore::MockScrollbar::isCustomScrollbar):
55         (WebCore::MockScrollbar::orientation):
56         (WebCore::MockScrollbar::value):
57         (WebCore::MockScrollbar::currentPos):
58         (WebCore::MockScrollbar::visibleSize):
59         (WebCore::MockScrollbar::totalSize):
60         (WebCore::MockScrollbar::maximum):
61         (WebCore::MockScrollbar::controlSize):
62         (WebCore::MockScrollbar::lineStep):
63         (WebCore::MockScrollbar::pageStep):
64         (WebCore::MockScrollbar::pressedPart):
65         (WebCore::MockScrollbar::hoveredPart):
66         (WebCore::MockScrollbar::styleChanged):
67         (WebCore::MockScrollbar::enabled):
68         (WebCore::MockScrollbar::setEnabled):
69         (WebCore::MockScrollbar::MockScrollbar):
70         (WebCore::MockScrollbar::~MockScrollbar):
71         (WebCore::TEST):
72
73 2012-03-08  James Robinson  <jamesr@chromium.org>
74
75         [chromium] Expose the shared graphics context on WebView so callers can allocate resources on the main thread for the compositor to use
76         https://bugs.webkit.org/show_bug.cgi?id=80670
77
78         Reviewed by Stephen White.
79
80         This exposes a context on WebView that is in the compositor's share group and can be used directly from the main
81         thread. This is useful for content that needs to allocate resources for the compositor to use, but cannot
82         directly use the compositor's context either because it cannot access the correct thread or because it needs to
83         initialize in situations where we cannot initialize a compositor (view) context - for instance before the native
84         window is created.
85
86         * public/WebView.h:
87         (WebView):
88         * src/WebViewImpl.cpp:
89         (WebKit::WebViewImpl::sharedGraphicsContext3D):
90         (WebKit):
91         * src/WebViewImpl.h:
92         (WebViewImpl):
93
94 2012-03-09  Dana Jansens  <danakj@chromium.org>
95
96         [chromium] Use opaque paints in CCOcclusionTracker
97         https://bugs.webkit.org/show_bug.cgi?id=80173
98
99         Reviewed by Adrienne Walker.
100
101         * tests/CCOcclusionTrackerTest.cpp:
102         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
103         (LayerChromiumWithForcedDrawsContent):
104         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
105         (WebCore::setLayerPropertiesForTesting):
106         (WebCore):
107         (WebCore::layerAddedToOccludedRegion):
108         (WebCore::layerAddedToOccludedRegionWithRotation):
109         (WebCore::layerAddedToOccludedRegionWithTranslation):
110         (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
111         (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
112         (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
113         (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
114         (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
115         (WebCore::surfaceOcclusionInScreenSpace):
116         (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
117         (WebCore::occlusionInteractionWithFilters):
118         (WebCore::layerScissorRectOverTile):
119         (WebCore::screenScissorRectOverTile):
120         (WebCore::layerScissorRectOverCulledTile):
121         (WebCore::screenScissorRectOverCulledTile):
122         (WebCore::layerScissorRectOverPartialTiles):
123         (WebCore::screenScissorRectOverPartialTiles):
124         (WebCore::layerScissorRectOverNoTiles):
125         (WebCore::screenScissorRectOverNoTiles):
126         (WebCore::layerScissorRectForLayerOffOrigin):
127         (WebCore::damageRectOverTile):
128         (WebCore::damageRectOverCulledTile):
129         (WebCore::damageRectOverPartialTiles):
130         (WebCore::damageRectOverNoTiles):
131         (WebCore::TEST):
132         * tests/TiledLayerChromiumTest.cpp:
133         (WTF::TEST):
134         (WTF):
135
136 2012-03-09  Jon Lee  <jonlee@apple.com>
137
138         Add support for ENABLE(LEGACY_NOTIFICATIONS)
139         https://bugs.webkit.org/show_bug.cgi?id=80497
140
141         Reviewed by Adam Barth.
142
143         Prep for b80472: Update API for Web Notifications
144         * features.gypi:
145
146 2012-03-09  Ian Vollick  <vollick@chromium.org>
147
148         [chromium] Ensure we use the correct time when notifying animation started
149         https://bugs.webkit.org/show_bug.cgi?id=79537
150
151         Reviewed by James Robinson
152
153         * src/WebCompositorInputHandlerImpl.cpp:
154         (WebKit::WebCompositorInputHandlerImpl::willDraw):
155         * src/WebCompositorInputHandlerImpl.h:
156         (WebCompositorInputHandlerImpl):
157         * tests/CCLayerTreeHostImplTest.cpp:
158         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
159         (WebKit::TEST_F):
160         * tests/CCLayerTreeHostTest.cpp:
161         (WTF::TestHooks::animateLayers):
162         (WTF::TestHooks::updateAnimations):
163         (WTF::MockLayerTreeHostImpl::animateLayers):
164         (WTF::MockLayerTreeHostClient::updateAnimations):
165         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
166         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
167         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
168         (CCLayerTreeHostTestAddAnimation):
169
170 2012-03-09  Sheriff Bot  <webkit.review.bot@gmail.com>
171
172         Unreviewed, rolling out r110191, r110202, and r110279.
173         http://trac.webkit.org/changeset/110191
174         http://trac.webkit.org/changeset/110202
175         http://trac.webkit.org/changeset/110279
176         https://bugs.webkit.org/show_bug.cgi?id=80694
177
178         They broke !ENABLE(INSPECTOR) builds (Requested by Ossy on
179         #webkit).
180
181         * features.gypi:
182
183 2012-03-09  Alexander Pavlov  <apavlov@chromium.org>
184
185         [chromium] Unreviewed, build fix after r110191
186
187         * features.gypi:
188
189 2012-03-08  Ian Vollick  <vollick@chromium.org>
190
191         [chromium] Ensure that the cc thread animation framework continues to tick when the tab is backgrounded
192         https://bugs.webkit.org/show_bug.cgi?id=77668
193
194         Reviewed by James Robinson.
195
196         * tests/CCLayerTreeHostTest.cpp:
197         (WTF::CCLayerTreeHostTest::postAddInstantAnimationToMainThread):
198         (CCLayerTreeHostTest):
199         (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
200         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
201         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
202         (WTF):
203         (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
204         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::CCLayerTreeHostTestTickAnimationWhileBackgrounded):
205         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::beginTest):
206         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
207         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::afterTest):
208         (WTF::TEST_F):
209
210 2012-03-08  Jeff Timanus  <twiz@chromium.org>
211
212         [chromium] Force the Canvas2D GPU texture cache to 0 bytes for backgrounded tabs.
213         https://bugs.webkit.org/show_bug.cgi?id=79948
214
215         Reviewed by Stephen White.
216
217         * src/GraphicsContext3DChromium.cpp:
218         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
219         (WebCore::GraphicsContext3DPrivate::grContext):
220         (WebCore::GraphicsContext3DPrivate::setVisibilityCHROMIUM):
221
222 2012-03-08  Dana Jansens  <danakj@chromium.org>
223
224         [chromium] Replace completelyContains with Region::contains()
225         https://bugs.webkit.org/show_bug.cgi?id=80617
226
227         Reviewed by James Robinson.
228
229         * tests/CCLayerTestCommon.cpp:
230         (CCLayerTestCommon):
231         (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
232         * tests/CCLayerTestCommon.h:
233         (CCLayerTestCommon):
234
235 2012-03-08  James Robinson  <jamesr@chromium.org>
236
237         Use an explicit attribute to signal that a context prefers to use a discrete GPU
238         https://bugs.webkit.org/show_bug.cgi?id=80639
239
240         Reviewed by Stephen White.
241
242         * src/GraphicsContext3DChromium.cpp:
243         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
244         (WebCore::GraphicsContext3D::create):
245         * src/WebViewImpl.cpp:
246         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
247
248 2012-03-08  Scott Byer  <scottbyer@chromium.org>
249
250         Have ScrollAnimatorNone use requestAnimationFrame
251         https://bugs.webkit.org/show_bug.cgi?id=78938
252
253         Reviewed by James Robinson.
254
255         * src/ScrollbarGroup.h:
256         (WebCore):
257         (WebKit::ScrollbarGroup::hostWindow):
258         (ScrollbarGroup):
259         * tests/ScrollAnimatorNoneTest.cpp:
260         (MockScrollableArea::hostWindow):
261
262 2012-03-08  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
263
264         Make elements with attributes smaller by eliminating the m_element back pointer in NamedNodeMap
265         https://bugs.webkit.org/show_bug.cgi?id=75069
266
267         Reviewed by Ryosuke Niwa.
268
269         * src/WebElement.cpp: Include NamedNodeMap.h since Element.h doesn't include it anymore.
270
271 2012-03-07  Kent Tamura  <tkent@chromium.org>
272
273         Remove meaningless code in RenderTextControlSingleLine::preferredContentWidth()
274         https://bugs.webkit.org/show_bug.cgi?id=80493
275
276         Reviewed by Hajime Morita.
277
278         * src/WebInputElement.cpp:
279         RenderTextControlSingleLine::speechButtonElement() is removed. The
280         following functions get it from HTMLInputElement.
281         (WebKit::WebInputElement::getSpeechInputState):
282         (WebKit::WebInputElement::startSpeechInput):
283         (WebKit::WebInputElement::stopSpeechInput):
284
285 2012-03-07  Adam Barth  <abarth@webkit.org>
286
287         Remove #define private public from WebCache.cpp
288         https://bugs.webkit.org/show_bug.cgi?id=80520
289
290         Reviewed by Eric Seidel.
291
292         This patch removes a hack we added long ago when Chromium used a forked
293         copy of WebKit and editing WebCore caused merge pain.  Now that we're
294         on trunk, we can unwind this hack.
295
296         * src/WebCache.cpp:
297         (WebKit::WebCache::getUsageStats):
298
299 2012-03-07  Joshua Bell  <jsbell@chromium.org>
300
301         [Chromium] IndexedDB: V8LocalContext creation in IDBKey extraction/injection is slow
302         https://bugs.webkit.org/show_bug.cgi?id=80358
303
304         Reviewed by Tony Chang.
305
306         * tests/IDBBindingUtilitiesTest.cpp:
307         (WebCore::TEST):
308
309 2012-03-07  Scott Byer  <scottbyer@chromium.org>
310
311         Get ScrollAnimatorNone to handle the stop and reverse cases.
312         https://bugs.webkit.org/show_bug.cgi?id=80455
313
314         Reviewed by James Robinson.
315
316         * tests/ScrollAnimatorNoneTest.cpp:
317         (ScrollAnimatorNoneTest::updateDataFromParameters):
318         (TEST_F):
319
320 2012-03-07  Dana Jansens  <danakj@chromium.org>
321
322         [chromium] Cull occluded tiles during paint
323         https://bugs.webkit.org/show_bug.cgi?id=76838
324
325         Reviewed by Adrienne Walker.
326
327         * tests/CCLayerTreeHostTest.cpp:
328         (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
329         * tests/TiledLayerChromiumTest.cpp:
330         (WTF::FakeLayerTextureUpdater::Texture::prepareRect):
331         (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
332         (FakeLayerTextureUpdater):
333         (WTF::FakeLayerTextureUpdater::prepareRectCount):
334         (WTF::FakeLayerTextureUpdater::clearPrepareRectCount):
335         (WTF::FakeLayerTextureUpdater::prepareRect):
336         (WTF::FakeTiledLayerChromium::prepareToUpdate):
337         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
338         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
339         (WTF::TEST):
340         (WTF):
341
342 2012-03-07  Elliot Poger  <epoger@google.com>
343
344         [Chromium] Remove use_skia option from GYP
345         https://bugs.webkit.org/show_bug.cgi?id=75811
346
347         Reviewed by Tony Chang.
348
349         * WebKit.gyp:
350         * WebKit.gypi:
351         * features.gypi:
352
353 2012-03-06  Dana Jansens  <danakj@chromium.org>
354
355         [chromium] Add clipping to scissor rect to CCOcclusionTracker
356         https://bugs.webkit.org/show_bug.cgi?id=79927
357
358         Reviewed by Adrienne Walker.
359
360         * tests/CCOcclusionTrackerTest.cpp:
361         (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
362         (TestCCOcclusionTracker):
363         (WebCore::TestCCOcclusionTracker::setLayerScissorRect):
364         (WebCore::TestCCOcclusionTracker::useDefaultLayerScissorRect):
365         (WebCore::TestCCOcclusionTracker::layerScissorRect):
366         (WebCore):
367         (TestDamageClient):
368         (WebCore::TestDamageClient::damageRect):
369         (WebCore::TestDamageClient::TestDamageClient):
370         (WebCore::TestDamageClient::setDamageRect):
371         (WebCore::TEST):
372
373 2012-03-06  Kenichi Ishibashi  <bashi@chromium.org>
374
375         [WebSocket] Introduce ThreadableWebSocketChannel::SendResult
376         https://bugs.webkit.org/show_bug.cgi?id=80356
377
378         Reviewed by Kent Tamura.
379
380         * src/WebSocketImpl.cpp:
381         (WebKit::WebSocketImpl::sendText): Checks whether the return value of send() is ThreadableWebSocketChannel::SendSuccess.
382         (WebKit::WebSocketImpl::sendArrayBuffer): Ditto.
383
384 2012-03-06  Nat Duca  <nduca@chromium.org>
385
386         [chromium] CCThreadProxy context lost support
387         https://bugs.webkit.org/show_bug.cgi?id=80100
388
389         Reviewed by James Robinson.
390
391         * tests/CCSchedulerStateMachineTest.cpp:
392         * tests/CCSchedulerTest.cpp:
393         (WebKitTests::FakeCCSchedulerClient::scheduledActionBeginContextRecreation):
394         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginContextRecreation):
395         (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionBeginContextRecreation):
396
397 2012-03-06  James Robinson  <jamesr@chromium.org>
398
399         [chromium] Null-check m_layerRenderer in CCLayerTreeHostImpl::finishAllRendering()
400         https://bugs.webkit.org/show_bug.cgi?id=80445
401
402         Reviewed by Adrienne Walker.
403
404         * tests/CCLayerTreeHostImplTest.cpp:
405         (FakeWebGraphicsContext3DMakeCurrentFails):
406         (WebKit::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
407         (WebKit):
408         (WebKit::TEST_F):
409
410 2012-03-06  David Grogan  <dgrogan@chromium.org>
411
412         [Chromium] Add OVERRIDEs to WebWorkerClientImpl.h
413         https://bugs.webkit.org/show_bug.cgi?id=80434
414
415         Reviewed by Tony Chang.
416
417         Tests: just that it compiles.
418
419         * src/WebWorkerClientImpl.h:
420         (WebWorkerClientImpl):
421
422 2012-03-06  David Grogan  <dgrogan@chromium.org>
423
424         IndexedDB: Check WebCommonWorkerClient::allowIndexedDB before proceeding from a shared worker
425         https://bugs.webkit.org/show_bug.cgi?id=79954
426
427         Tests: The 'allow' case will be tested once the patch at
428         http://webkit.org/b/80189 and
429         https://chromiumcodereview.appspot.com/9585031/ both land. Bug for
430         testing the 'deny' case is http://crbug.com/113738.
431
432         Reviewed by Tony Chang.
433
434         * public/WebCommonWorkerClient.h:
435         (WebKit::WebCommonWorkerClient::allowDatabase):
436         (WebKit::WebCommonWorkerClient::allowFileSystem):
437         (WebKit::WebCommonWorkerClient::openFileSystem):
438         (WebCommonWorkerClient):
439         (WebKit::WebCommonWorkerClient::allowIndexedDB):
440         * public/WebSharedWorkerClient.h:
441         (WebSharedWorkerClient):
442         * src/IDBFactoryBackendProxy.cpp:
443         (WebKit::AllowIndexedDBMainThreadBridge::create):
444         (WebKit::AllowIndexedDBMainThreadBridge::cancel):
445         (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
446         (WebKit::AllowIndexedDBMainThreadBridge::AllowIndexedDBMainThreadBridge):
447         (WebKit::AllowIndexedDBMainThreadBridge::allowIndexedDBTask):
448         (AllowIndexedDBMainThreadBridge):
449         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
450         * src/WebWorkerClientImpl.cpp:
451         (WebKit):
452         (WebKit::WebWorkerClientImpl::allowIndexedDB):
453         * src/WebWorkerClientImpl.h:
454         (WebWorkerClientImpl):
455
456 2012-03-06  Stephen White  <senorblanco@chromium.org>
457
458         Unreviewed, rolling out r109825.
459         http://trac.webkit.org/changeset/109825
460         https://bugs.webkit.org/show_bug.cgi?id=79413
461
462         Broke webkit_unit_tests on Chromium Win
463
464         * WebKit.gypi:
465         * tests/LevelDBTest.cpp: Removed.
466
467 2012-03-06  Takashi Toyoshima  <toyoshim@chromium.org>
468
469         [Chromium] [WebSocket] Add WebSocket extensions query WebKit API
470         https://bugs.webkit.org/show_bug.cgi?id=80190
471
472         Reviewed by Darin Fisher.
473
474         * public/WebSocket.h: Add extensions() declaration.
475         (WebSocket):
476         * src/WebSocketImpl.cpp: Implement extensions() bridge.
477         (WebKit::WebSocketImpl::extensions):
478         (WebKit):
479         * src/WebSocketImpl.h: Add extensions() declaration.
480         (WebSocketImpl):
481
482 2012-03-05  Kent Tamura  <tkent@chromium.org>
483
484         Do not reformat strings in <input type=number> on platforms using LocalizedNumberICU.
485         https://bugs.webkit.org/show_bug.cgi?id=78326
486
487         Reviewed by Hajime Morita.
488
489         Add a test for WebCore/platform/text/LocalizedNumberICU.
490
491         * WebKit.gypi: Added LocalizedNumberICUTest.cpp
492         * tests/LocalizedNumberICUTest.cpp: Added.
493
494 2012-03-05  Kenneth Russell  <kbr@google.com>
495
496         [chromium] Notify CCLayerImpl tree of context loss and restoration
497         https://bugs.webkit.org/show_bug.cgi?id=80339
498
499         Reviewed by James Robinson.
500
501         Unit test for notification of context loss and restoration.
502
503         * tests/CCLayerTreeHostImplTest.cpp:
504         (WebKit):
505         (ContextLostNotificationCheckLayer):
506         (WebKit::ContextLostNotificationCheckLayer::create):
507         (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContext):
508         (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContextCalled):
509         (WebKit::ContextLostNotificationCheckLayer::ContextLostNotificationCheckLayer):
510         (WebKit::TEST_F):
511
512 2012-03-05  Changhun Kang  <temoochin@company100.net>
513
514         Change the argument orders to match OpenGL's in GraphicsContext3D functions
515         https://bugs.webkit.org/show_bug.cgi?id=80120
516
517         Reviewed by Kenneth Russell.
518
519         No new tests because this patch just change the order of arguments.
520
521         * src/GraphicsContext3DChromium.cpp:
522         (WebCore::GraphicsContext3DPrivate::uniform1fv):
523         (WebCore::GraphicsContext3DPrivate::uniform1iv):
524         (WebCore::GraphicsContext3DPrivate::uniform2fv):
525         (WebCore::GraphicsContext3DPrivate::uniform2iv):
526         (WebCore::GraphicsContext3DPrivate::uniform3fv):
527         (WebCore::GraphicsContext3DPrivate::uniform3iv):
528         (WebCore::GraphicsContext3DPrivate::uniform4fv):
529         (WebCore::GraphicsContext3DPrivate::uniform4iv):
530         (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
531         (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
532         (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
533         (WebCore):
534         * src/GraphicsContext3DPrivate.h:
535         (GraphicsContext3DPrivate):
536
537 2012-03-05  Yoshifumi Inoue  <yosin@chromium.org>
538
539         [Chromium] WebOptionElement should inherit WebElement instead of WebFormControlElement
540         https://bugs.webkit.org/show_bug.cgi?id=80089
541
542         Change class hierarchy of WebOptionElement to match with specification.
543
544         Reviewed by Darin Fisher.
545
546         * public/WebOptionElement.h: Replace to WebElement from WebFormControlElement 
547         (WebKit::WebOptionElement::WebOptionElement):
548         (WebKit::WebOptionElement::operator=):
549         (WebKit::WebOptionElement::assign):
550         * src/WebOptionElement.cpp:
551         (WebKit::WebOptionElement::WebOptionElement):
552
553 2012-03-05  Joshua Bell  <jsbell@chromium.org>
554
555         IndexedDB: Handle LevelDB database corruption
556         https://bugs.webkit.org/show_bug.cgi?id=79413
557
558         Reviewed by Tony Chang.
559
560         * WebKit.gypi:
561         * tests/LevelDBTest.cpp: Added.
562         (WebCore):
563         (SimpleComparator):
564         (WebCore::SimpleComparator::compare):
565         (WebCore::SimpleComparator::name):
566         (WebCore::encodeString):
567         (WebCore::TEST):
568
569 2012-03-05  Min Qin  <qinmin@google.com>
570
571         Enable context menu on android
572
573         For android, long press is converted into a right mouse down event
574         So we will use that to invoke the context menu
575         https://bugs.webkit.org/show_bug.cgi?id=80332
576
577         Reviewed by Adam Barth.
578
579         * src/WebViewImpl.cpp:
580         (WebKit::WebViewImpl::mouseDown):
581
582 2012-03-05  Kent Tamura  <tkent@chromium.org>
583
584         [Chromium] Add new popup type: PagePopup
585         https://bugs.webkit.org/show_bug.cgi?id=80106
586
587         Reviewed by Darin Fisher.
588
589         This is a preparation of implementing ChromeClient::openPagePopup and
590         closePagePopup.
591
592         * WebKit.gyp: Add WebPagePopup.h and WebPagePopupImpl.cpp.
593         * public/WebPagePopup.h:
594         (WebPagePopup): Add WebPagePopup interface.
595         * public/WebPopupType.h: Add WebPopupTypePage.
596         * src/WebPagePopupImpl.cpp:
597         (WebKit::WebPagePopup::create): Temprary implementation which just returns 0.
598
599 2012-03-05  Charlie Reis  <creis@chromium.org>
600
601         [chromium] Pass WebNavigationPolicy to WebViewClient::createView
602         https://bugs.webkit.org/show_bug.cgi?id=80057
603
604         Reviewed by Darin Fisher.
605
606         * public/WebViewClient.h:
607         (WebViewClient):
608         (WebKit::WebViewClient::createView):
609         * src/ChromeClientImpl.cpp:
610         (WebKit::ChromeClientImpl::ChromeClientImpl):
611         (WebKit::ChromeClientImpl::createWindow):
612         (WebKit::ChromeClientImpl::getNavigationPolicy):
613         (WebKit):
614         (WebKit::ChromeClientImpl::show):
615         (WebKit::ChromeClientImpl::setNewWindowNavigationPolicy):
616         * src/ChromeClientImpl.h:
617         (ChromeClientImpl):
618         * src/FrameLoaderClientImpl.cpp:
619         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
620         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
621
622 2012-03-05  James Robinson  <jamesr@chromium.org>
623
624         [chromium] Initialize CCOverdrawCounts struct to zero
625         https://bugs.webkit.org/show_bug.cgi?id=80204
626
627         Reviewed by Adrienne Walker.
628
629         Update test to use c'tor instead of {} struct initialization.
630
631         * tests/CCQuadCullerTest.cpp:
632         (WebCore):
633
634 2012-03-05  Takashi Toyoshima  <toyoshim@chromium.org>
635
636         [Chromium] [WebSocket] use OVERRIDE in WebSocketImpl.h
637         https://bugs.webkit.org/show_bug.cgi?id=80192
638
639         Reviewed by Kent Tamura.
640
641         * src/WebSocketImpl.h: use OVERRIDE macro.
642         (WebSocketImpl):
643
644 2012-03-05  Adam Barth  <abarth@webkit.org>
645
646         Geolocation should use a ScriptExecutionContext as its context object
647         https://bugs.webkit.org/show_bug.cgi?id=80248
648
649         Reviewed by Kentaro Hara.
650
651         Rather than indirecting through the Frame to get the SecurityOrigin, we
652         should get the SecurityOrigin directly from ScriptExecutionContext.
653
654         * src/WebGeolocationPermissionRequest.cpp:
655         (WebKit::WebGeolocationPermissionRequest::securityOrigin):
656
657 2012-03-02  Andrey Kosyakov  <caseq@chromium.org>
658
659         Add instrumentation for frame start/end on timeline.
660
661         Web Inspector: add timeline instrumentation for frame events
662         https://bugs.webkit.org/show_bug.cgi?id=80127
663
664         Reviewed by Pavel Feldman.
665
666         - expose an instrumentation method from WebWidget to mark frame update start
667
668         * public/WebWidget.h:
669         (WebWidget):
670         (WebKit::WebWidget::instrumentBeginFrame):
671         * src/WebViewImpl.cpp:
672         (WebKit::WebViewImpl::instrumentBeginFrame):
673         (WebKit):
674         * src/WebViewImpl.h:
675         (WebViewImpl):
676
677 2012-03-03  Benjamin Poulain  <benjamin@webkit.org>
678
679         Remove the redundant method KURL::protocolInHTTPFamily()
680         https://bugs.webkit.org/show_bug.cgi?id=80216
681
682         Reviewed by Anders Carlsson.
683
684         * src/FrameLoaderClientImpl.cpp:
685         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
686         * src/WebPageSerializer.cpp:
687         (WebCore::retrieveResourcesForElement):
688
689 2012-03-03  Hans Wennborg  <hans@chromium.org>
690
691         Implement Speech JavaScript API
692         https://bugs.webkit.org/show_bug.cgi?id=80019
693
694         Reviewed by Adam Barth.
695
696         Add ENABLE_SCRIPTED_SPEECH and runtime flag.
697
698         * features.gypi:
699         * public/WebRuntimeFeatures.h:
700         (WebRuntimeFeatures):
701         * src/WebRuntimeFeatures.cpp:
702         (WebKit::WebRuntimeFeatures::enableScriptedSpeech):
703         (WebKit):
704         (WebKit::WebRuntimeFeatures::isScriptedSpeechEnabled):
705
706 2012-03-03  Bill Budge  <bbudge@chromium.org>
707
708         Fixes AssociatedURLLoader support for Access-Control-Expose-Headers field in response.
709         https://bugs.webkit.org/show_bug.cgi?id=80198
710
711         Reviewed by Adam Barth.
712
713         * src/AssociatedURLLoader.cpp:
714         * tests/AssociatedURLLoaderTest.cpp:
715
716 2012-03-02  Dana Jansens  <danakj@chromium.org>
717
718         [Chromium] Allow plugins to set opaque() on their platform layer
719         https://bugs.webkit.org/show_bug.cgi?id=80171
720
721         Reviewed by James Robinson.
722
723         * public/WebPluginContainer.h:
724         (WebPluginContainer):
725         * src/WebPluginContainerImpl.cpp:
726         (WebKit::WebPluginContainerImpl::setOpaque):
727         (WebKit):
728         * src/WebPluginContainerImpl.h:
729         (WebPluginContainerImpl):
730
731 2012-03-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
732
733         Make parser code not depend on NamedNodeMap
734         https://bugs.webkit.org/show_bug.cgi?id=79963
735
736         Reviewed by Adam Barth.
737
738         * src/WebNamedNodeMap.cpp:
739         (WebKit::WebNamedNodeMap::attributeItem):
740
741 2012-03-01  Dana Jansens  <danakj@chromium.org>
742
743         [chromium] Make opaque paint tracker aware of SkCanvas layers
744         https://bugs.webkit.org/show_bug.cgi?id=79145
745
746         Reviewed by Stephen White.
747
748         * tests/PlatformContextSkiaTest.cpp:
749         (WebCore::TEST):
750         (WebCore):
751
752 2012-03-01  Hironori Bono  <hbono@chromium.org>
753
754         Render overflow controls of an RTL element to its left-side.
755         https://bugs.webkit.org/show_bug.cgi?id=54623
756
757         This change adds a new flag WTF_USE_RTL_SCROLLBAR and render the
758         vertical scrollbars and resizers of RTL elements to their left side if
759         this new flag is enabled.
760
761         Reviewed by Ryosuke Niwa.
762
763         * features.gypi: Set WTF_USE_RTL_SCROLLBAR to 1 on Chromium.
764
765 2012-03-01  James Robinson  <jamesr@chromium.org>
766
767         [chromium] Rename LayerChromium::name to debugName to be more consistent with other debug properties, make threadsafe
768         https://bugs.webkit.org/show_bug.cgi?id=79723
769
770         Reviewed by Adrienne Walker.
771
772         * tests/LayerChromiumTest.cpp:
773
774 2012-03-01  Dale Curtis  <dalecurtis@chromium.org>
775
776         Remove deprecated FFmpeg build directories.
777         https://bugs.webkit.org/show_bug.cgi?id=79282
778
779         We've switched the layout of the FFmpeg repo in Chrome and these paths
780         are no longer needed or valid.
781
782         Reviewed by Dirk Pranke.
783
784         * DEPS:
785
786 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
787
788         Roll chromium DEPS to 124511
789
790         Unreviewed, DEPS change.
791
792         * DEPS:
793
794 2012-02-29  Nat Duca  <nduca@chromium.org>
795
796         [chromium] Move context lost control code from CCSingleThreadProxy to CCLayerTreeHost
797         https://bugs.webkit.org/show_bug.cgi?id=79964
798
799         Reviewed by James Robinson.
800
801         * src/WebLayerTreeView.cpp:
802         (WebKit::WebLayerTreeView::loseCompositorContext):
803         * src/WebLayerTreeViewImpl.cpp:
804         (WebKit::WebLayerTreeViewImpl::createContext):
805         (WebKit::WebLayerTreeViewImpl::didRecreateContext):
806         * src/WebLayerTreeViewImpl.h:
807         (WebLayerTreeViewImpl):
808         * tests/CCLayerTreeHostTest.cpp:
809         (WTF::MockLayerTreeHostClient::createContext):
810         (WTF::MockLayerTreeHostClient::didRecreateContext):
811         * tests/FakeCCLayerTreeHostClient.h:
812         (WebCore::FakeCCLayerTreeHostClient::createContext):
813         (WebCore::FakeCCLayerTreeHostClient::didRecreateContext):
814
815 2012-03-01  Kentaro Hara  <haraken@chromium.org>
816
817         REGRESSION(r109288): WebViewImpl::enableAutoResizeMode loops infinitely
818         https://bugs.webkit.org/show_bug.cgi?id=77452
819
820         Reviewed by Hajime Morita.
821
822         WebViewImpl::enableAutoResizeMode loops infinitely.
823         This patch fixes the following line:
824
825             enableAutoResizeMode(enable, minSize, maxSize);
826
827         to
828             enableAutoResizeMode(minSize, maxSize);
829
830         to avoid the infinite loop. I guess this is the change originally intended.
831
832         Test: webkit_unit_tests.WebViewTest.AutoResizeMinimumSize
833
834         * src/WebViewImpl.cpp:
835         (WebKit::WebViewImpl::enableAutoResizeMode):
836
837 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
838
839         Use the new createSnapshotFileAndReadMetadata API for FileEntry.file()
840         https://bugs.webkit.org/show_bug.cgi?id=79928
841
842         Reviewed by David Levin.
843
844         In the new flow we first create an internal Blob URL for the
845         snapshot file and call the new createSnapshotFileAndReadMetadata()
846         WebKit API with the Blob URL.
847
848         The implementor of createSnapshotFileAndReadMetadata() (i.e. chromium)
849         registers the created snapshot file with the given internal Blob URL.
850
851         In the callback chain we call File::createWithName() to create a
852         new File using the returned platform path, and then call
853         unregisterBlobURL() to clean up the internal Blob URL.
854
855         * src/AsyncFileSystemChromium.cpp:
856         (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
857         (WebCore::AsyncFileSystemChromium::createSnapshotFileCallback): Added.
858         * src/AsyncFileSystemChromium.h:
859         * src/WorkerAsyncFileSystemChromium.cpp:
860         (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
861         * src/WorkerAsyncFileSystemChromium.h:
862         * src/WorkerFileSystemCallbacksBridge.cpp:
863         (WebKit::WorkerFileSystemCallbacksBridge::postCreateSnapshotFileToMainThread): Added.
864         (WebKit::WorkerFileSystemCallbacksBridge::createSnapshotFileOnMainThread): Added.
865         * src/WorkerFileSystemCallbacksBridge.h:
866         (WorkerFileSystemCallbacksBridge):
867
868 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
869
870         Unreviewed.  Rolled DEPS.
871
872         * DEPS:
873
874 2012-02-29  W. James MacLean  <wjmaclean@chromium.org>
875
876         [chromium] Estimate pixel count for frame rate control
877         https://bugs.webkit.org/show_bug.cgi?id=74982
878
879         Reviewed by James Robinson.
880
881         Adds mechanism to compute and collect statistics on pixel overdraw for selected frames.
882
883         * tests/CCQuadCullerTest.cpp:
884         (WebCore):
885         (WebCore::TEST):
886
887 2012-02-29  James Simonsen  <simonjam@chromium.org>
888
889         [chromium] Fix navigation start time on cross-renderer navigation
890         https://bugs.webkit.org/show_bug.cgi?id=75922
891
892         Reviewed by Darin Fisher.
893
894         * public/WebDataSource.h:
895         * src/WebDataSource.cpp:
896         (WebKit::WebDataSource::setNavigationStartTime): Added.
897         * src/WebDataSource.h:
898
899 2012-02-29  Ian Vollick  <vollick@chromium.org>
900
901         [chromium] Add impl-thread support for animation-timing-function
902         https://bugs.webkit.org/show_bug.cgi?id=79819
903
904         Reviewed by James Robinson.
905
906         * tests/CCKeyframedAnimationCurveTest.cpp:
907         (WebCore::TEST):
908         (WebCore):
909
910 2012-02-29  David Levin  <levin@chromium.org>
911
912         [chromium] Add the ability to turn off autoresize.
913         https://bugs.webkit.org/show_bug.cgi?id=77452
914
915         Reviewed by Darin Fisher.
916
917         * public/WebView.h:
918         (WebKit::WebViewImpl::enableAutoResizeMode): Cleaned up the api.
919         (WebKit::WebViewImpl::disableAutoResizeMode): Added the ability to disable auto-resize.
920         (WebKit::WebViewImpl::enableAutoResizeMode): Deprecated it.
921         * src/WebViewImpl.cpp:
922         (WebKit::WebViewImpl::enableAutoResizeMode): Adjust for new api.
923         (WebKit::WebViewImpl::disableAutoResizeMode): Allow turning off autoresize.
924         (WebKit::WebViewImpl::enableAutoResizeMode): Call the other two apis, but
925         this api will be deleted shortly.
926         (WebKit::WebViewImpl::configureAutoResizeMode): Common code.
927         * src/WebViewImpl.h:
928         (WebViewImpl): Adjust to new public api.
929
930 2012-02-29  Sheriff Bot  <webkit.review.bot@gmail.com>
931
932         Unreviewed.  Rolled DEPS.
933
934         * DEPS:
935
936 2012-02-29  Dana Jansens  <danakj@chromium.org>
937
938         [chromium] Don't let invalidation for next frame prevent tile upload
939         https://bugs.webkit.org/show_bug.cgi?id=79841
940
941         Reviewed by James Robinson.
942
943         * tests/TiledLayerChromiumTest.cpp:
944         (WTF::TEST):
945
946 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
947
948         Unreviewed, rolling out r107917 and r109188.
949         http://trac.webkit.org/changeset/107917
950         http://trac.webkit.org/changeset/109188
951         https://bugs.webkit.org/show_bug.cgi?id=79865
952
953         Fix the chromium build. (Requested by dcheng on #webkit).
954
955         * src/WebDragData.cpp:
956         (WebKit::WebDragData::items):
957
958 2012-02-28  Ryosuke Niwa  <rniwa@webkit.org>
959
960         Chromium build fix attempt.
961
962         * src/WebDragData.cpp:
963
964 2012-02-28  Jonathan Backer  <backer@chromium.org>
965
966         [chromium] Reset damage tracker on visibility change.
967         https://bugs.webkit.org/show_bug.cgi?id=79267
968
969         Reviewed by James Robinson.
970
971         * tests/CCLayerTreeHostImplTest.cpp:
972         (WebKit::PartialSwapTrackerContext::getString):
973         (WebKit):
974         (WebKit::TEST_F):
975
976 2012-02-28  Tim Dresser  <tdresser@chromium.org>
977
978         Provide DefaultDeviceScaleFactor though WebSettings
979         https://bugs.webkit.org/show_bug.cgi?id=79534
980
981         Reviewed by Darin Fisher.
982
983         * public/WebSettings.h:
984         * src/WebSettingsImpl.cpp:
985         (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
986         (WebKit):
987         * src/WebSettingsImpl.h:
988         (WebSettingsImpl):
989
990 2012-02-28  Gary Kacmarcik  <garykac@chromium.org>
991
992         [chromium] Set nativeKeyCode to include Windows scan code
993         https://bugs.webkit.org/show_bug.cgi?id=79289
994
995         Reviewed by Ryosuke Niwa.
996
997         Set the key event's nativeKeyCode on Windows Chromium so that it
998         actually includes the native scancode and other context bits.
999         Currently on Windows, the nativeKeyCode is set to be the same value as
1000         the windowsKeyCode, which is redundant.
1001
1002         The actual native key information is required so that components (like
1003         plugins) can reconstruct the original key event. The value stored in
1004         the windowsKeyCode is a Windows virtual key code which does not provide
1005         sufficient info to disambiguate the actual key being pressed (for
1006         example, it cannot distinguish between the left and right shift keys).
1007
1008         All platforms except Windows currently send native key event info, so
1009         this change will bring Windows in line with other platforms.
1010
1011         This change is part of our effort to send enhanced keycode information
1012         to Pepper plugins in Chromium.
1013
1014         * src/win/WebInputEventFactory.cpp:
1015         (WebKit::WebInputEventFactory::keyboardEvent):
1016
1017 2012-02-28  Adam Klein  <adamk@chromium.org>
1018
1019         Unreviewed, speculative test fix after r109016.
1020
1021         * tests/TransparencyWinTest.cpp:
1022         (WebCore::TEST): Update all ImageBuffer::create calls to include a scale of 1.
1023
1024 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1025
1026         Unreviewed.  Rolled DEPS.
1027
1028         * DEPS:
1029
1030 2012-02-27  James Kozianski  <koz@chromium.org>
1031
1032         Add missing parameter to didCreateScriptContext() so it overrides base class again.
1033         https://bugs.webkit.org/show_bug.cgi?id=79742
1034
1035         Reviewed by Kent Tamura.
1036
1037         * tests/WebFrameTest.cpp:
1038
1039 2012-02-27  Kenichi Ishibashi  <bashi@chromium.org>
1040
1041         [Chromium] Unreviewed gardening, Disable TransparencyWin.OpaqueCompositeLayerPixel
1042
1043         * tests/TransparencyWinTest.cpp:
1044         (WebCore::TEST):
1045
1046 2012-02-27  Kinuko Yasuda  <kinuko@chromium.org>
1047
1048         [chromium] Add createSnapshotFile API to WebFileSystem to create File snapshots for filesystem files
1049         https://bugs.webkit.org/show_bug.cgi?id=79394
1050
1051         Reviewed by Darin Fisher.
1052
1053         * public/platform/WebFileSystem.h:
1054         (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): Added.
1055
1056 2012-02-27  James Kozianski  <koz@chromium.org>
1057
1058         [chromium] Plumb extensionGroup into didCreateScriptContext().
1059         https://bugs.webkit.org/show_bug.cgi?id=79072
1060
1061         Reviewed by Darin Fisher.
1062
1063         * public/WebFrameClient.h:
1064         (WebKit::WebFrameClient::didCreateScriptContext):
1065         * src/FrameLoaderClientImpl.cpp:
1066         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
1067         * src/FrameLoaderClientImpl.h:
1068         (FrameLoaderClientImpl):
1069
1070 2012-02-27  Adrienne Walker  <enne@google.com>
1071
1072         [chromium] Unreviewed gardening, disable TransparencyWinTest unit tests
1073         https://bugs.webkit.org/show_bug.cgi?id=79718
1074
1075         * tests/TransparencyWinTest.cpp:
1076
1077 2012-02-26  Hajime Morrita  <morrita@chromium.org>
1078
1079         Move ChromeClient::showContextMenu() to ContextMenuClient
1080         https://bugs.webkit.org/show_bug.cgi?id=79427
1081
1082         Reviewed by Adam Barth.
1083
1084         * src/ChromeClientImpl.h:
1085         (ChromeClientImpl):
1086
1087 2012-02-26  James Robinson  <jamesr@chromium.org>
1088
1089         Take 2 build fix.
1090
1091         * tests/CCLayerTreeHostImplTest.cpp:
1092         (WebKit::TEST_F):
1093
1094 2012-02-26  James Robinson  <jamesr@chromium.org>
1095
1096         Compile fix for CCLayerTreeHostImpl test.
1097
1098         * tests/CCLayerTreeHostImplTest.cpp:
1099         (WebKit::TEST_F):
1100
1101 2012-02-26  James Robinson  <jamesr@chromium.org>
1102
1103         [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
1104         https://bugs.webkit.org/show_bug.cgi?id=79155
1105
1106         Reviewed by Adam Barth.
1107
1108         Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
1109
1110         * tests/CCLayerTreeHostImplTest.cpp:
1111         (WebKit::TEST_F):
1112         (WebKit):
1113         * tests/LayerChromiumTest.cpp:
1114
1115 2012-02-25  Adrienne Walker  <enne@google.com>
1116
1117         [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
1118         https://bugs.webkit.org/show_bug.cgi?id=78404
1119
1120         r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
1121         constructor (i.e. "has internal linkage but is not defined"). Fixed
1122         locally by changing copy initialization to direct initialization.
1123
1124         * tests/TiledLayerChromiumTest.cpp:
1125         (WTF::TEST):
1126
1127 2012-02-24  Tien-Ren Chen  <trchen@chromium.org>
1128
1129         [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
1130         https://bugs.webkit.org/show_bug.cgi?id=78404
1131
1132         Reviewed by James Robinson.
1133
1134         * tests/CCDamageTrackerTest.cpp:
1135         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1136         (WebKitTests::emulateDrawingOneFrame):
1137         (WebKitTests::createTestTreeWithOneSurface):
1138         (WebKitTests::createTestTreeWithTwoSurfaces):
1139         (WebKitTests::createAndSetUpTestTreeWithOneSurface):
1140         (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
1141         (WebKitTests::TEST_F):
1142         * tests/CCLayerImplTest.cpp:
1143         (WebCore::TEST):
1144         * tests/CCLayerIteratorTest.cpp:
1145         * tests/CCLayerSorterTest.cpp:
1146         (WebCore::TEST):
1147         * tests/CCLayerTreeHostCommonTest.cpp:
1148         (WebCore::TEST):
1149         * tests/CCLayerTreeHostImplTest.cpp:
1150         (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
1151         (WebKit::TEST_F):
1152         (WebKit::DidDrawCheckLayer::create):
1153         (WebKit::BlendStateCheckLayer::create):
1154         * tests/CCRenderSurfaceTest.cpp:
1155         (WebCore::TEST):
1156         * tests/CCSolidColorLayerImplTest.cpp:
1157         (CCLayerTestCommon::TEST):
1158         * tests/CCTiledLayerImplTest.cpp:
1159         (CCLayerTestCommon::createLayer):
1160         (CCLayerTestCommon::TEST):
1161         (CCLayerTestCommon::getQuads):
1162         * tests/Canvas2DLayerChromiumTest.cpp:
1163         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
1164         * tests/TiledLayerChromiumTest.cpp:
1165         (WTF::TEST):
1166         * tests/TreeSynchronizerTest.cpp:
1167         (WebKitTests::MockCCLayerImpl::create):
1168         (WebKitTests::MockLayerChromium::createCCLayerImpl):
1169         (WebKitTests::expectTreesAreIdentical):
1170         (WebKitTests::TEST):
1171
1172 2012-02-08  James Robinson  <jamesr@chromium.org>
1173
1174         [chromium] Make WebViewImpl depend on WebLayerTreeView instead of CCLayerTreeHost
1175         https://bugs.webkit.org/show_bug.cgi?id=75591
1176
1177         Reviewed by Kenneth Russell.
1178
1179         This converts WebViewImpl from depending on CCLayerTreeHost to WebLayerTreeView in order to provide better
1180         isolation and allow for future refactorings. The changes to WebViewImpl are mostly mechanical. The
1181         WebLayerTreeView and WebLayerTreeViewClient interfaces have both grown and changed slightly:
1182
1183         - Setup path for WebLayerTreeView changed to expose an initialize() function instead of a create() factory
1184         function. The new model is that a WebLayerTreeView when constructed is in a null state. Calling initialize()
1185         attempts to re-initialize the WLTV, which can either fail or succeed.  All other functions must be called on a
1186         successfully initialized view.
1187
1188         - WebLayerTreeView expanded to include functionality that CCLayerTreeHost exposes but WebLayerTreeView did not.
1189         Some of this is only valid for the single thread case and will be removed when we invert the scheduling control
1190         logic, these bits are commented.
1191
1192         - WebLayerTreeViewClient expanded with some flow-control related APIs.
1193
1194         Refactor only, no change in behavior.
1195
1196         * public/platform/WebLayerTreeView.h:
1197         (WebKit::WebLayerTreeView::Settings::Settings):
1198         (WebKit::WebLayerTreeView::isNull):
1199         * public/platform/WebLayerTreeViewClient.h:
1200         * src/ChromeClientImpl.cpp:
1201         (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
1202         * src/WebLayerTreeView.cpp:
1203         (WebKit::WebLayerTreeView::initialize):
1204         (WebKit::WebLayerTreeView::compositorIdentifier):
1205         (WebKit::WebLayerTreeView::setVisible):
1206         (WebKit::WebLayerTreeView::setNeedsAnimate):
1207         (WebKit::WebLayerTreeView::updateAnimations):
1208         (WebKit::WebLayerTreeView::setNeedsRedraw):
1209         (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
1210         (WebKit::WebLayerTreeView::startPageScaleAnimation):
1211         (WebKit::WebLayerTreeView::finishAllRendering):
1212         (WebKit::WebLayerTreeView::context):
1213         (WebKit::WebLayerTreeView::loseCompositorContext):
1214         * src/WebLayerTreeViewImpl.cpp:
1215         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
1216         (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
1217         (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
1218         * src/WebViewImpl.cpp:
1219         (WebKit::WebViewImpl::animate):
1220         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
1221         (WebKit::WebViewImpl::paint):
1222         (WebKit::WebViewImpl::composite):
1223         (WebKit::WebViewImpl::loseCompositorContext):
1224         (WebKit::WebViewImpl::computePageScaleFactorLimits):
1225         (WebKit::WebViewImpl::addPageOverlay):
1226         (WebKit::WebViewImpl::removePageOverlay):
1227         (WebKit::WebViewImpl::setRootGraphicsLayer):
1228         (WebKit::WebViewImpl::scheduleCompositingLayerSync):
1229         (WebKit::WebViewImpl::scrollRootLayerRect):
1230         (WebKit::WebViewImpl::invalidateRootLayerRect):
1231         (WebKit::WebViewImpl::scheduleAnimation):
1232         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1233         (WebKit::WebViewImpl::createContext3D):
1234         (WebKit::WebViewImpl::applyScrollAndScale):
1235         (WebKit::WebViewImpl::didRebindGraphicsContext):
1236         (WebKit::WebViewImpl::updateLayerTreeViewport):
1237         (WebKit::WebViewImpl::graphicsContext3D):
1238         (WebKit::WebViewImpl::setVisibilityState):
1239         * src/WebViewImpl.h:
1240         * tests/WebLayerTest.cpp:
1241
1242 2012-02-24  Ian Vollick  <vollick@chromium.org>
1243
1244         [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
1245         https://bugs.webkit.org/show_bug.cgi?id=77646
1246
1247         Reviewed by James Robinson.
1248
1249         * tests/CCLayerTreeHostTest.cpp:
1250         (TestHooks):
1251         (WTF::TestHooks::notifyAnimationStarted):
1252         (WTF::TestHooks::notifyAnimationFinished):
1253         (WTF::MockLayerTreeHost::create):
1254         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
1255         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
1256         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
1257         (CCLayerTreeHostTestAddAnimation):
1258         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationFinished):
1259
1260 2012-02-24  James Robinson  <jamesr@chromium.org>
1261
1262         [chromium] WebKit::setColorNames is a client API
1263         https://bugs.webkit.org/show_bug.cgi?id=79539
1264
1265         Reviewed by Darin Fisher.
1266
1267         * WebKit.gyp:
1268         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
1269         (WebKit):
1270         * public/platform/WebColorName.h:
1271         * src/WebColor.cpp:
1272
1273 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1274
1275         Unreviewed, rolling out r108860.
1276         http://trac.webkit.org/changeset/108860
1277         https://bugs.webkit.org/show_bug.cgi?id=79544
1278
1279         "Breaks Linux compile" (Requested by enne on #webkit).
1280
1281         * WebKit.gyp:
1282         * public/platform/WebColorName.h:
1283         * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
1284         (WebKit):
1285         (WebKit::toCSSValueKeyword):
1286         (WebKit::setNamedColors):
1287
1288 2012-02-24  James Robinson  <jamesr@chromium.org>
1289
1290         [chromium] WebKit::setColorNames is a client API
1291         https://bugs.webkit.org/show_bug.cgi?id=79539
1292
1293         Reviewed by Darin Fisher.
1294
1295         * WebKit.gyp:
1296         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
1297         (WebKit):
1298         * public/platform/WebColorName.h:
1299         * src/WebColor.cpp:
1300
1301 2012-02-22  James Robinson  <jamesr@chromium.org>
1302
1303         [chromium] Move WebGraphicsContext3D header into the Platform directory
1304         https://bugs.webkit.org/show_bug.cgi?id=79301
1305
1306         Reviewed by Adam Barth.
1307
1308         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
1309
1310         * public/platform/WebGraphicsContext3D.h:
1311         * public/platform/WebNonCopyable.h:
1312
1313 2012-02-24  Michal Mocny  <mmocny@google.com>
1314
1315         [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
1316         https://bugs.webkit.org/show_bug.cgi?id=78265
1317
1318         Reviewed by Stephen White.
1319
1320         * src/GraphicsContext3DChromium.cpp:
1321         (GrMemoryAllocationChangedCallback):
1322         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
1323         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
1324         (WebCore):
1325         (WebCore::GraphicsContext3DPrivate::grContext):
1326
1327 2012-02-24  James Robinson  <jamesr@chromium.org>
1328
1329         [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
1330         https://bugs.webkit.org/show_bug.cgi?id=79296
1331
1332         Reviewed by Kenneth Russell.
1333
1334         The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
1335         WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
1336
1337         * public/platform/WebGraphicsContext3D.h:
1338         (WebKit):
1339         * tests/CCLayerTreeHostImplTest.cpp:
1340         * tests/FakeWebGraphicsContext3D.h:
1341
1342 2012-02-23  James Robinson  <jamesr@chromium.org>
1343
1344         [chromium] Move Web*Layer* headers into Platform
1345         https://bugs.webkit.org/show_bug.cgi?id=79425
1346
1347         Reviewed by Adam Barth.
1348
1349         Adds forwarding headers for Web*Layer* APIs and their dependencies.  The forwarding headers for the Web*Layer*
1350         APIs are temporary since Web*Layer* is not exposed in the client interface.  The other headers (such as
1351         WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
1352         might move them back down to public/ at some point.
1353
1354         * public/platform/WebCanvas.h:
1355         * public/platform/WebColor.h:
1356         * public/platform/WebColorName.h:
1357         * public/platform/WebContentLayer.h:
1358         * public/platform/WebContentLayerClient.h:
1359         * public/platform/WebExternalTextureLayer.h:
1360         * public/platform/WebLayer.h:
1361         * public/platform/WebLayerTreeView.h:
1362         * public/platform/WebLayerTreeViewClient.h:
1363         * public/platform/WebPrivatePtr.h:
1364         * public/platform/WebSolidColorLayer.h:
1365
1366 2012-02-24  Peter Collingbourne  <peter@pcc.me.uk>
1367
1368         [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
1369         https://bugs.webkit.org/show_bug.cgi?id=77307
1370
1371         Reviewed by Tony Chang.
1372
1373         This function is currently used to build markup in order to
1374         print the selection, and will also be used to build markup for
1375         the clipboard.  Without this change, the markup will refer to
1376         (for example) nonexistent CSS classes and invalid relative
1377         paths and therefore will not be interpreted correctly.
1378
1379         Chromium bug: http://crbug.com/23329
1380
1381         * src/WebFrameImpl.cpp:
1382         (WebKit::WebFrameImpl::selectionAsMarkup):
1383
1384 2012-02-24  Pavel Feldman  <pfeldman@chromium.org>
1385
1386         Not reviewed: chromium image for inspector status bar button updated.
1387
1388         * src/js/Images/segmentSelectedEndChromium.png:
1389
1390 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
1391
1392         SpellCheckRequest needs to know the context where the spellcheck happened.
1393         https://bugs.webkit.org/show_bug.cgi?id=79320
1394
1395         Reviewed by Hajime Morita.
1396
1397         * src/EditorClientImpl.cpp:
1398         (WebKit::EditorClientImpl::requestCheckingOfString):
1399         * src/EditorClientImpl.h:
1400         (EditorClientImpl):
1401         * src/WebFrameImpl.cpp:
1402         (WebKit::WebFrameImpl::requestTextChecking):
1403
1404 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
1405
1406         Unreviewed.  Rolled DEPS.
1407
1408         * DEPS:
1409
1410 2012-02-23  Ian Vollick  <vollick@chromium.org>
1411
1412         [chromium] Implement keyframed animations for the cc thread.
1413         https://bugs.webkit.org/show_bug.cgi?id=77229
1414
1415         Reviewed by James Robinson.
1416
1417         * WebKit.gypi:
1418         * tests/CCAnimationTestCommon.cpp:
1419         (WebCore):
1420         (WebCore::addOpacityTransition):
1421         (WebKitTests::addOpacityTransitionToController):
1422         (WebKitTests::addOpacityTransitionToLayer):
1423         * tests/CCAnimationTestCommon.h:
1424         (WebCore):
1425         (WebKitTests):
1426         * tests/CCKeyframedAnimationCurveTest.cpp: Added.
1427         (WebCore):
1428         (WebCore::expectTranslateX):
1429         (WebCore::TEST):
1430         * tests/CCLayerAnimationControllerTest.cpp:
1431         (WebKitTests::expectTranslateX):
1432         (WebKitTests):
1433         (WebKitTests::TEST):
1434         * tests/CCLayerTreeHostTest.cpp:
1435         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
1436         (WTF::CCLayerTreeHostTest::doBeginTest):
1437
1438 2012-02-23  James Robinson  <jamesr@chromium.org>
1439
1440         [chromium] Clean up GraphicsContext3D initialization paths
1441         https://bugs.webkit.org/show_bug.cgi?id=79321
1442
1443         Reviewed by Kenneth Russell.
1444
1445         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
1446         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
1447         WebLayerTreeViewImpl.
1448
1449         Offscreen initialization path:
1450         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
1451         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
1452         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
1453         GraphicsContext3D's m_private pointer.
1454
1455         Onscreen initialization path:
1456         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
1457         or WebLayerTreeViewClient, respectively
1458         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
1459         GraphicsContext3D's m_private pointer.
1460
1461         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
1462         within WebCore.
1463
1464         * src/GraphicsContext3DChromium.cpp:
1465         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1466         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
1467         (WebCore):
1468         (WebCore::GraphicsContext3DPrivate::platformTexture):
1469         (WebCore::GraphicsContext3D::create):
1470         * src/GraphicsContext3DPrivate.h:
1471         (GraphicsContext3DPrivate):
1472         * src/WebLayerTreeViewImpl.cpp:
1473         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1474         * src/WebViewImpl.cpp:
1475         (std::getCompositorContextAttributes):
1476         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
1477         (WebKit):
1478         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1479         (WebKit::WebViewImpl::graphicsContext3D):
1480         * src/WebViewImpl.h:
1481         (WebViewImpl):
1482         * tests/CCLayerTreeHostImplTest.cpp:
1483         (WebKit::CCLayerTreeHostImplTest::createContext):
1484         (CCLayerTreeHostImplTest):
1485         (WebKit::TEST_F):
1486         * tests/CCLayerTreeHostTest.cpp:
1487         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1488         * tests/Canvas2DLayerChromiumTest.cpp:
1489         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
1490         * tests/CompositorFakeGraphicsContext3D.h:
1491         (WebCore::createCompositorMockGraphicsContext3D):
1492         * tests/FakeGraphicsContext3DTest.cpp:
1493         (TEST):
1494
1495 2012-02-23  Jonathan Backer  <backer@chromium.org>
1496
1497         [chromium] Plumb video damage to the damage tracker.
1498         https://bugs.webkit.org/show_bug.cgi?id=79373
1499
1500         Reviewed by James Robinson.
1501
1502         * src/WebMediaPlayerClientImpl.cpp:
1503         (WebKit::WebMediaPlayerClientImpl::repaint):
1504
1505 2012-02-21  James Robinson  <jamesr@chromium.org>
1506
1507         [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
1508         https://bugs.webkit.org/show_bug.cgi?id=79133
1509
1510         Reviewed by Dimitri Glazkov.
1511
1512         Rips out old wheel event notification and adds unit tests for new LayerChromium property.
1513
1514         * src/NonCompositedContentHost.cpp:
1515         (WebKit::NonCompositedContentHost::setViewport):
1516         * src/WebCompositorInputHandlerImpl.cpp:
1517         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
1518         * src/WebViewImpl.cpp:
1519         (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
1520         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1521         * src/WebViewImpl.h:
1522         * tests/CCLayerTreeHostImplTest.cpp:
1523         (WebKit::TEST_F):
1524         (WebKit):
1525         * tests/LayerChromiumTest.cpp:
1526         * tests/WebCompositorInputHandlerImplTest.cpp:
1527
1528 2012-02-23  Adrienne Walker  <enne@google.com>
1529
1530         Unreviewed, rolling out r108666.
1531         http://trac.webkit.org/changeset/108666
1532         https://bugs.webkit.org/show_bug.cgi?id=79321
1533
1534         Breaks webplugin tests: http://goo.gl/CoHIi
1535
1536         * src/GraphicsContext3DChromium.cpp:
1537         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1538         (WebCore):
1539         (WebCore::GraphicsContext3DPrivate::create):
1540         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
1541         (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
1542         (WebCore::GraphicsContext3DPrivate::platformTexture):
1543         (WebCore::GraphicsContext3D::create):
1544         * src/GraphicsContext3DPrivate.h:
1545         (WebKit):
1546         (GraphicsContext3DPrivate):
1547         * src/WebLayerTreeViewImpl.cpp:
1548         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1549         * src/WebViewImpl.cpp:
1550         (std::getCompositorContextAttributes):
1551         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1552         (WebKit::WebViewImpl::graphicsContext3D):
1553         * tests/CCLayerTreeHostImplTest.cpp:
1554         (CCLayerTreeHostImplTest):
1555         (WebKit::TEST_F):
1556         * tests/CCLayerTreeHostTest.cpp:
1557         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1558         * tests/Canvas2DLayerChromiumTest.cpp:
1559         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
1560         * tests/CompositorFakeGraphicsContext3D.h:
1561         (WebCore::createCompositorMockGraphicsContext3D):
1562         * tests/FakeGraphicsContext3DTest.cpp:
1563         (TEST):
1564
1565 2012-02-23  Daniel Sievers  <sievers@chromium.org>
1566
1567         [Chromium] Add video stream texture support
1568         https://bugs.webkit.org/show_bug.cgi?id=78398
1569
1570         This upstreams the abstraction used on Android for
1571         hardware video decoding with the compositor.
1572
1573         Most of the interfaces are kept generic and the core
1574         of this change is to allow texturing from an external
1575         texture while receiving notifications (on the compositor
1576         thread if we are running it) when there are new frames to
1577         be displayed.
1578
1579         Reviewed by James Robinson.
1580
1581         * WebKit.gyp:
1582         * public/WebMediaPlayer.h:
1583         (WebKit):
1584         (WebKit::WebMediaPlayer::setStreamTextureClient):
1585         (WebMediaPlayer):
1586         * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
1587         (WebKit):
1588         (WebStreamTextureClient):
1589         (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
1590         * public/WebVideoFrame.h:
1591         * src/WebMediaPlayerClientImpl.cpp:
1592         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
1593         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
1594         (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
1595         (WebKit):
1596         (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
1597         * src/WebMediaPlayerClientImpl.h:
1598         (WebMediaPlayerClientImpl):
1599
1600 2012-02-22  James Robinson  <jamesr@chromium.org>
1601
1602         [chromium] Clean up GraphicsContext3D initialization paths
1603         https://bugs.webkit.org/show_bug.cgi?id=79321
1604
1605         Reviewed by Kenneth Russell.
1606
1607         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
1608         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
1609         WebLayerTreeViewImpl.
1610
1611         Offscreen initialization path:
1612         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
1613         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
1614         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
1615         GraphicsContext3D's m_private pointer.
1616
1617         Onscreen initialization path:
1618         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
1619         or WebLayerTreeViewClient, respectively
1620         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
1621         GraphicsContext3D's m_private pointer.
1622
1623         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
1624         within WebCore.
1625
1626         * src/GraphicsContext3DChromium.cpp:
1627         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1628         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
1629         (WebCore):
1630         (WebCore::GraphicsContext3DPrivate::platformTexture):
1631         (WebCore::GraphicsContext3D::create):
1632         * src/GraphicsContext3DPrivate.h:
1633         (GraphicsContext3DPrivate):
1634         * src/WebLayerTreeViewImpl.cpp:
1635         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1636         * src/WebViewImpl.cpp:
1637         (std::getCompositorContextAttributes):
1638         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1639         (WebKit::WebViewImpl::graphicsContext3D):
1640         * tests/CCLayerTreeHostImplTest.cpp:
1641         (WebKit::CCLayerTreeHostImplTest::createContext):
1642         (CCLayerTreeHostImplTest):
1643         (WebKit::TEST_F):
1644         * tests/CCLayerTreeHostTest.cpp:
1645         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1646         * tests/Canvas2DLayerChromiumTest.cpp:
1647         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
1648         * tests/CompositorFakeGraphicsContext3D.h:
1649         (WebCore::createCompositorMockGraphicsContext3D):
1650         * tests/FakeGraphicsContext3DTest.cpp:
1651         (TEST):
1652
1653 2012-02-23  Greg Billock  <gbillock@google.com>
1654
1655         Add UserGestureIndicator capability to Chromium API.
1656         https://bugs.webkit.org/show_bug.cgi?id=77690
1657
1658         Reviewed by Darin Fisher.
1659
1660         * WebKit.gyp:
1661         * public/WebScopedUserGesture.h: Added.
1662         * src/WebScopedUserGesture.cpp: Added.
1663
1664 2012-02-23  Peter Beverloo  <peter@chromium.org>
1665
1666         Unreviewed, rolling out r108627 and r108630.
1667         https://bugs.webkit.org/show_bug.cgi?id=79367
1668
1669         ffmpeg is creating issues and was just reverted upstream as well.
1670
1671         * DEPS:
1672
1673 2012-02-23  Peter Beverloo  <peter@chromium.org>
1674
1675         Unreviewed build fix. Remove the ffmpeg binary directory from the
1676         Chromium-Windows DEPS file, following the commit done in the
1677         Chromium repository:
1678         http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
1679
1680         * DEPS:
1681
1682 2012-02-23  Peter Beverloo  <peter@chromium.org>
1683
1684         Unreviewed.  Rolled DEPS.
1685
1686         * DEPS:
1687
1688 2012-02-22  Hajime Morrita  <morrita@chromium.org>
1689
1690         NOTIFICATIONS should be implemented as PageSupplement
1691         https://bugs.webkit.org/show_bug.cgi?id=79052
1692
1693         Reviewed by Adam Barth.
1694
1695         * src/WebViewImpl.cpp:
1696         (WebKit::WebViewImpl::WebViewImpl):
1697
1698 2012-02-22  Dana Jansens  <danakj@chromium.org>
1699
1700         [chromium] Add unit test for surface occlusion
1701         https://bugs.webkit.org/show_bug.cgi?id=79302
1702
1703         Reviewed by James Robinson.
1704
1705         * tests/CCOcclusionTrackerTest.cpp:
1706         (WebCore::TEST):
1707         (WebCore):
1708
1709 2012-02-22  James Robinson  <jamesr@chromium.org>
1710
1711         Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
1712         https://bugs.webkit.org/show_bug.cgi?id=79317
1713
1714         Reviewed by Kenneth Russell.
1715
1716         Remove paintsIntoCanvasBuffer() implementations.
1717
1718         * src/GraphicsContext3DChromium.cpp:
1719         (WebCore):
1720         * src/GraphicsContext3DPrivate.h:
1721
1722 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
1723
1724         Unreviewed, rolling out r108590.
1725         http://trac.webkit.org/changeset/108590
1726
1727         I mistakenly disabled tests even though the fix was already
1728         in.
1729
1730         * tests/CCOcclusionTrackerTest.cpp:
1731         (WebCore::TEST):
1732
1733 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
1734
1735         [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
1736         which cause assertion failures.
1737
1738         * tests/CCOcclusionTrackerTest.cpp:
1739         (WebCore):
1740         (WebCore::TEST):
1741
1742 2012-02-22  Dana Jansens  <danakj@chromium.org>
1743
1744         [chromium] Fix CCOcclusionTracker unit test assertion
1745         https://bugs.webkit.org/show_bug.cgi?id=79275
1746
1747         Reviewed by James Robinson.
1748
1749         * tests/CCOcclusionTrackerTest.cpp:
1750         (WebCore::TEST):
1751
1752 2012-02-22  Ian Vollick  <vollick@chromium.org>
1753
1754         [chromium] Plumb from GraphicsLayer to the cc thread animation code
1755         https://bugs.webkit.org/show_bug.cgi?id=75874
1756
1757         Reviewed by James Robinson.
1758
1759         * WebKit.gypi:
1760         * public/WebSettings.h:
1761         * public/platform/WebLayerTreeView.h:
1762         (WebKit::WebLayerTreeView::Settings::Settings):
1763         (Settings):
1764         * src/WebLayerTreeView.cpp:
1765         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1766         * src/WebSettingsImpl.cpp:
1767         (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
1768         (WebKit):
1769         * src/WebSettingsImpl.h:
1770         (WebSettingsImpl):
1771         * src/WebViewImpl.cpp:
1772         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1773         * tests/CCActiveAnimationTest.cpp:
1774         (WebCore::createActiveAnimation):
1775         * tests/CCAnimationTestCommon.cpp: Added.
1776         (WebKitTests):
1777         (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
1778         (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
1779         (WebKitTests::FakeFloatAnimationCurve::clone):
1780         (WebKitTests::FakeTransformTransition::FakeTransformTransition):
1781         (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
1782         (WebKitTests::FakeTransformTransition::getValue):
1783         (WebKitTests::FakeTransformTransition::clone):
1784         (WebKitTests::FakeFloatTransition::FakeFloatTransition):
1785         (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
1786         (WebKitTests::FakeFloatTransition::getValue):
1787         (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
1788         (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
1789         (WebKitTests::FakeFloatTransition::clone):
1790         (WebKitTests::addOpacityTransition):
1791         * tests/CCAnimationTestCommon.h: Added.
1792         (WebCore):
1793         (WebKitTests):
1794         (FakeFloatAnimationCurve):
1795         (WebKitTests::FakeFloatAnimationCurve::duration):
1796         (WebKitTests::FakeFloatAnimationCurve::getValue):
1797         (FakeTransformTransition):
1798         (WebKitTests::FakeTransformTransition::duration):
1799         (FakeFloatTransition):
1800         (WebKitTests::FakeFloatTransition::duration):
1801         (FakeLayerAnimationControllerImplClient):
1802         (WebKitTests::FakeLayerAnimationControllerImplClient::id):
1803         (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
1804         (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
1805         (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
1806         (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
1807         (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
1808         * tests/CCLayerAnimationControllerImplTest.cpp:
1809         (WebKitTests::createActiveAnimation):
1810         (WebKitTests::TEST):
1811         * tests/CCLayerAnimationControllerTest.cpp: Added.
1812         (WebKitTests):
1813         (WebKitTests::createActiveAnimation):
1814         (WebKitTests::TEST):
1815         * tests/CCLayerTreeHostImplTest.cpp:
1816         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
1817         * tests/CCLayerTreeHostTest.cpp:
1818         (WTF::TestHooks::animateLayers):
1819         (MockLayerTreeHostImpl):
1820         (WTF::MockLayerTreeHostImpl::animateLayers):
1821         (WTF::MockLayerTreeHost::create):
1822         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
1823         (WTF):
1824         (MockLayerAnimationController):
1825         (WTF::MockLayerAnimationController::create):
1826         (WTF::MockLayerAnimationController::addAnimation):
1827         (WTF::MockLayerTreeHostClient::scheduleComposite):
1828         (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
1829         (CCLayerTreeHostTest):
1830         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
1831         (WTF::CCLayerTreeHostTest::doBeginTest):
1832         (CCLayerTreeHostTestAddAnimation):
1833         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
1834         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
1835         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
1836         (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
1837         (WTF::TEST_F):
1838         * tests/TreeSynchronizerTest.cpp:
1839         (FakeLayerAnimationController):
1840         (WebKitTests::FakeLayerAnimationController::create):
1841         (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
1842         (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
1843         (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
1844         (WebKitTests):
1845         (WebKitTests::TEST):
1846
1847 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
1848
1849         Remove the remaining uses of CSSStyleDeclaration in Editor
1850         https://bugs.webkit.org/show_bug.cgi?id=78939
1851
1852         Reviewed by Enrica Casucci.
1853
1854         * src/EditorClientImpl.cpp:
1855         (WebKit::EditorClientImpl::shouldApplyStyle):
1856         * src/EditorClientImpl.h:
1857         (EditorClientImpl):
1858
1859 2012-02-22  Daniel Cheng  <dcheng@chromium.org>
1860
1861         [chromium] Cleanup unused WebDragData methods after r107846
1862         https://bugs.webkit.org/show_bug.cgi?id=78837
1863
1864         Reviewed by Tony Chang.
1865
1866         The deleted methods have been replaced by items() and setItems().
1867
1868         * public/platform/WebDragData.h:
1869         (WebDragData):
1870         * src/WebDragData.cpp:
1871         (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
1872                                         mutating the item store.
1873
1874 2012-02-22  Tim Dresser  <tdresser@chromium.org>
1875
1876         CCLayerTreeHostImpl calls didDraw more frequently than willDraw
1877         https://bugs.webkit.org/show_bug.cgi?id=79139
1878
1879         Reviewed by James Robinson.
1880
1881         * tests/CCLayerTreeHostImplTest.cpp:
1882         (WebKit::DidDrawCheckLayer::willDraw):
1883         (DidDrawCheckLayer):
1884         (WebKit::DidDrawCheckLayer::willDrawCalled):
1885         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
1886         (WebKit::TEST_F):
1887         (WebKit):
1888
1889 2012-02-22  Dana Jansens  <danakj@chromium.org>
1890
1891         [Chromium] New CCOcclusionTracker class with tests
1892         https://bugs.webkit.org/show_bug.cgi?id=78549
1893
1894         Reviewed by James Robinson.
1895
1896         * WebKit.gypi:
1897         * tests/CCLayerTreeHostCommonTest.cpp:
1898         (WebCore):
1899         * tests/CCOcclusionTrackerTest.cpp: Added.
1900         (WebCore):
1901         (WebCore::setLayerPropertiesForTesting):
1902         (LayerChromiumWithForcedDrawsContent):
1903         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
1904         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
1905         (TestCCOcclusionTracker):
1906         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
1907         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
1908         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
1909         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
1910         (WebCore::TEST):
1911
1912 2012-02-22  Hao Zheng  <zhenghao@chromium.org>
1913
1914         [chromium] Build WebKit with MEDIA_STREAM disabled.
1915         https://bugs.webkit.org/show_bug.cgi?id=79214
1916
1917         Reviewed by Kent Tamura.
1918
1919         * src/UserMediaClientImpl.h:
1920
1921 2012-02-20  Roland Steiner  <rolandsteiner@chromium.org>
1922
1923         <style scoped>: Add runtime-flag
1924         https://bugs.webkit.org/show_bug.cgi?id=79074
1925
1926         Added a runtime-flag.
1927         Enable default STYLE_SCOPED compile-time flag for Chromium.
1928
1929         Reviewed by Dimitri Glazkov.
1930
1931         * features.gypi: enable STYLE_SCOPED
1932         * public/WebRuntimeFeatures.h:
1933         (WebRuntimeFeatures):
1934         * src/WebRuntimeFeatures.cpp:
1935         (WebKit::WebRuntimeFeatures::enableStyleScoped):
1936         (WebKit):
1937         (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
1938
1939 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
1940
1941         Unreviewed, rolling out r108453.
1942         http://trac.webkit.org/changeset/108453
1943         https://bugs.webkit.org/show_bug.cgi?id=78549
1944
1945         Broke Chromium's webkit_unit_tests.
1946
1947         * WebKit.gypi:
1948         * tests/CCLayerTreeHostCommonTest.cpp:
1949         (WebCore::TEST):
1950         (WebCore):
1951         * tests/CCOcclusionTrackerTest.cpp: Removed.
1952
1953 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
1954
1955         Remove the remaining uses of CSSStyleDeclaration in Editor
1956         https://bugs.webkit.org/show_bug.cgi?id=78939
1957
1958         Reviewed by Enrica Casucci.
1959
1960         * src/EditorClientImpl.cpp:
1961         (WebKit::EditorClientImpl::shouldApplyStyle):
1962         * src/EditorClientImpl.h:
1963         (EditorClientImpl):
1964
1965 2012-02-22  Dana Jansens  <danakj@chromium.org>
1966
1967         [chromium] Cull quads outside of the scissoring damage rect
1968         https://bugs.webkit.org/show_bug.cgi?id=79181
1969
1970         Reviewed by James Robinson.
1971
1972         * tests/CCQuadCullerTest.cpp:
1973         (WebCore::TEST):
1974         (WebCore):
1975
1976 2012-02-21  Dana Jansens  <danakj@chromium.org>
1977
1978         [Chromium] New CCOcclusionTracker class with tests
1979         https://bugs.webkit.org/show_bug.cgi?id=78549
1980
1981         Reviewed by James Robinson.
1982
1983         * WebKit.gypi:
1984         * tests/CCLayerTreeHostCommonTest.cpp:
1985         (WebCore):
1986         * tests/CCOcclusionTrackerTest.cpp: Added.
1987         (WebCore):
1988         (WebCore::setLayerPropertiesForTesting):
1989         (LayerChromiumWithForcedDrawsContent):
1990         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
1991         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
1992         (TestCCOcclusionTracker):
1993         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
1994         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
1995         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
1996         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
1997         (WebCore::TEST):
1998
1999 2012-02-21  MORITA Hajime  <morrita@google.com>
2000
2001         INPUT_SPEECH should be implemented as a PageSupplement.
2002         https://bugs.webkit.org/show_bug.cgi?id=79051
2003
2004         Reviewed by Adam Barth.
2005
2006         * src/WebViewImpl.cpp:
2007         (WebKit::WebViewImpl::WebViewImpl):
2008
2009 2012-02-20  MORITA Hajime  <morrita@google.com>
2010
2011         MEDIA_STREAM should be implemented as a PageSupplement.
2012         https://bugs.webkit.org/show_bug.cgi?id=79050
2013
2014         Reviewed by Adam Barth.
2015
2016         * src/WebViewImpl.cpp:
2017         (WebKit::WebViewImpl::WebViewImpl):
2018
2019 2012-02-21  Dana Jansens  <danakj@chromium.org>
2020
2021         [chromium] Painting a layer clears opaque rect in untouched tiles
2022         https://bugs.webkit.org/show_bug.cgi?id=79157
2023
2024         Reviewed by James Robinson.
2025
2026         * tests/TiledLayerChromiumTest.cpp:
2027         (WTF::TEST):
2028
2029 2012-02-21  James Robinson  <jamesr@chromium.org>
2030
2031         Enable ScrollingCoordinator in chromium whenever compositing is enabled
2032         https://bugs.webkit.org/show_bug.cgi?id=79165
2033
2034         Reviewed by Adam Barth.
2035
2036         * src/NonCompositedContentHost.cpp:
2037         (WebKit::NonCompositedContentHost::setViewport):
2038             Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
2039             externally to RenderLayerCompositor, so set it here.
2040         * src/WebSettingsImpl.cpp:
2041         (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
2042
2043 2012-02-21  Daniel Cheng  <dcheng@chromium.org>
2044
2045         [chromium] Fix image drag out on Chromium
2046         https://bugs.webkit.org/show_bug.cgi?id=79158
2047
2048         Reviewed by Tony Chang.
2049
2050         We constructed the WebDragData::Item for dragging out an image but never added it to the
2051         item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
2052         but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
2053         had diverged.
2054
2055         * src/WebDragData.cpp:
2056         (WebKit::WebDragData::items):
2057
2058 2012-02-21  David Grogan  <dgrogan@chromium.org>
2059
2060         IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
2061         https://bugs.webkit.org/show_bug.cgi?id=78659
2062
2063         After crrev.com/121669, indexed db doesn't use the web frame for
2064         anything if called from a web worker.
2065
2066         No new tests - this check was defensive and possibly not ever
2067         triggered.
2068
2069         Reviewed by Tony Chang.
2070
2071         * src/IDBFactoryBackendProxy.cpp:
2072         (WebKit::IDBFactoryBackendProxy::openFromWorker):
2073
2074 2012-02-21  Yury Semikhatsky  <yurys@chromium.org>
2075
2076         [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
2077         https://bugs.webkit.org/show_bug.cgi?id=79097
2078
2079         Worker script execution will be interrupted for dispatching inspector commands.
2080
2081         Reviewed by Pavel Feldman.
2082
2083         * src/WebSharedWorkerImpl.cpp:
2084         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
2085
2086 2012-02-20  Peter Beverloo  <peter@chromium.org>
2087
2088         Unreviewed.  Rolled DEPS.
2089
2090         * DEPS:
2091
2092 2012-02-20  Kenichi Ishibashi  <bashi@chromium.org>
2093
2094         [WebSocket] Add deflater/inflater classes
2095         https://bugs.webkit.org/show_bug.cgi?id=78449
2096
2097         Add tests which ensure WebSocketDeflater/WebSocketInflater can
2098         compress/decompress data correctly.
2099
2100         Reviewed by Kent Tamura.
2101
2102         * WebKit.gypi: Added zlib dependency.
2103         * WebKitUnitTests.gyp: Ditto.
2104         * tests/WebSocketDeflaterTest.cpp: Added.
2105         (WebCore):
2106         (WebCore::TEST):
2107
2108 2012-02-17  Yury Semikhatsky  <yurys@chromium.org>
2109
2110         [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
2111         https://bugs.webkit.org/show_bug.cgi?id=78899
2112
2113         Pass original WorkerContextProxy object to the inspector instrumentation instead
2114         of Chromium-specific one for consistency with WorkerMessagingProxy implementation
2115         in WebCore.
2116
2117         Reviewed by Pavel Feldman.
2118
2119         * src/WebWorkerClientImpl.cpp:
2120         (WebKit::WebWorkerClientImpl::startWorkerContext):
2121
2122 2012-02-18  raman Tenneti  <rtenneti@chromium.org>
2123
2124         Track the NPN protocol version negotiated with the server
2125         https://bugs.webkit.org/show_bug.cgi?id=77349
2126
2127         Reviewed by Darin Fisher.
2128
2129         [chromium] Added ExtraData to WebURLResponse.
2130
2131         * WebKit.gypi:
2132         * public/platform/WebURLResponse.h:
2133         (ExtraData):
2134         (WebKit::WebURLResponse::ExtraData::~ExtraData):
2135         (WebURLResponse):
2136         * src/WebURLResponse.cpp:
2137         (WebKit::WebURLResponse::extraData):
2138         (WebKit):
2139         (WebKit::WebURLResponse::setExtraData):
2140         * tests/WebURLResponseTest.cpp: Added.
2141         (WebKit):
2142         (TestExtraData):
2143         (WebKit::TestExtraData::TestExtraData):
2144         (WebKit::TestExtraData::~TestExtraData):
2145         (WebKit::TEST):
2146
2147 2012-02-17  Joshua Bell  <jsbell@chromium.org>
2148
2149         IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
2150         https://bugs.webkit.org/show_bug.cgi?id=78399
2151
2152         Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
2153         to exercise the overload capability.
2154
2155         Reviewed by Tony Chang.
2156
2157         * src/IDBObjectStoreBackendProxy.cpp:
2158         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
2159         (WebKit):
2160         * src/IDBObjectStoreBackendProxy.h:
2161         (IDBObjectStoreBackendProxy):
2162         * src/WebIDBObjectStoreImpl.cpp:
2163         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
2164         (WebKit):
2165         * src/WebIDBObjectStoreImpl.h:
2166         (WebIDBObjectStoreImpl):
2167
2168 2012-02-17  Michal Mocny  <mmocny@google.com>
2169
2170         [chromium] GL_CHROMIUM_gpu_memory_manager extension
2171         https://bugs.webkit.org/show_bug.cgi?id=77155
2172
2173         Reviewed by James Robinson.
2174
2175         * public/platform/WebGraphicsContext3D.h:
2176         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2177         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2178         (WebGraphicsContext3D):
2179         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2180         * src/Extensions3DChromium.cpp:
2181         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
2182         (WebCore):
2183         * src/GraphicsContext3DChromium.cpp:
2184         (WebCore::GraphicsContext3D::~GraphicsContext3D):
2185         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2186         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2187         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2188         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
2189         (WebCore):
2190         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
2191         * src/GraphicsContext3DPrivate.h:
2192         (WebCore):
2193         * tests/FakeWebGraphicsContext3D.h:
2194         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2195         (FakeWebGraphicsContext3D):
2196
2197 2012-02-17  Mihnea Ovidenie  <mihnea@adobe.com>
2198
2199         CSS regions enabled by default
2200         https://bugs.webkit.org/show_bug.cgi?id=78525
2201
2202         Reviewed by David Hyatt.
2203
2204         Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
2205         CSSRegions are still enabled by default.
2206         In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
2207
2208         * public/WebSettings.h:
2209         * src/WebSettingsImpl.cpp:
2210         (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
2211         (WebKit):
2212         * src/WebSettingsImpl.h:
2213         (WebSettingsImpl):
2214
2215 2012-02-17  Scott Graham  <scottmg@chromium.org>
2216
2217         [Chromium] pack Gamepad shared memory structure
2218         https://bugs.webkit.org/show_bug.cgi?id=78022
2219
2220         Reviewed by Darin Fisher.
2221
2222         Add #pragma pack around definition of shared memory structures to
2223         avoid differences across compilers and platforms. Add COMPILE_ASSERT
2224         to verify expected size.
2225
2226         * public/platform/WebGamepad.h:
2227         (WebKit):
2228         * public/platform/WebGamepads.h:
2229         (WebKit):
2230
2231 2012-02-17  Tim Dresser  <tdresser@chromium.org>
2232
2233         [chromium] Refactor video drawing to be more data driven
2234         https://bugs.webkit.org/show_bug.cgi?id=76720
2235
2236         Reviewed by James Robinson.
2237
2238         CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
2239         CCLayerImpl::didDraw() is called on all layers, including layers
2240         on different render surfaces.
2241
2242         * tests/CCLayerTreeHostImplTest.cpp:
2243         (DidDrawCheckLayer):
2244         (WebKit::DidDrawCheckLayer::create):
2245         (WebKit::DidDrawCheckLayer::didDraw):
2246         (WebKit::DidDrawCheckLayer::didDrawCalled):
2247         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
2248         (WebKit):
2249         (WebKit::TEST_F):
2250
2251 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
2252
2253         Unreviewed, rolling out r108071.
2254         http://trac.webkit.org/changeset/108071
2255         https://bugs.webkit.org/show_bug.cgi?id=77155
2256
2257         chromium-mac compilation failed
2258
2259         * public/platform/WebGraphicsContext3D.h:
2260         (WebGraphicsContext3D):
2261         * src/Extensions3DChromium.cpp:
2262         * src/GraphicsContext3DChromium.cpp:
2263         (WebCore::GraphicsContext3D::~GraphicsContext3D):
2264         * src/GraphicsContext3DPrivate.h:
2265         (WebCore):
2266         * tests/FakeWebGraphicsContext3D.h:
2267
2268 2012-02-17  Michal Mocny  <mmocny@google.com>
2269
2270         [chromium] GL_CHROMIUM_gpu_memory_manager extension
2271         https://bugs.webkit.org/show_bug.cgi?id=77155
2272
2273         Reviewed by James Robinson.
2274
2275         * public/platform/WebGraphicsContext3D.h:
2276         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2277         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2278         (WebGraphicsContext3D):
2279         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2280         * src/Extensions3DChromium.cpp:
2281         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
2282         (WebCore):
2283         * src/GraphicsContext3DChromium.cpp:
2284         (WebCore::GraphicsContext3D::~GraphicsContext3D):
2285         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2286         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2287         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2288         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
2289         (WebCore):
2290         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
2291         * src/GraphicsContext3DPrivate.h:
2292         (WebCore):
2293         * tests/FakeWebGraphicsContext3D.h:
2294         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2295         (FakeWebGraphicsContext3D):
2296
2297 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
2298
2299         Unreviewed. Chromium DEPS roll
2300
2301         * DEPS: from 122122 to 122498
2302
2303 2012-02-16  Alexandre Elias  <aelias@google.com>
2304
2305         [chromium] Bundle page scale factor and limits in CCLayerTreeHost
2306         https://bugs.webkit.org/show_bug.cgi?id=78762
2307
2308         Setting page scale factor and its limits in separate methods
2309         may cause clamping bugs if one of them makes it to the
2310         impl thread before the other.  Change the API to bundle them together,
2311         which matches the existing impl-side interface.
2312
2313         Reviewed by James Robinson.
2314
2315         * src/WebViewImpl.cpp:
2316         (WebKit::WebViewImpl::computePageScaleFactorLimits):
2317         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2318         (WebKit::WebViewImpl::updateLayerTreeViewport):
2319         * tests/CCLayerTreeHostTest.cpp:
2320         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
2321
2322 2012-02-16  Varun Jain  <varunjain@google.com>
2323
2324         [Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices
2325         https://bugs.webkit.org/show_bug.cgi?id=72909
2326
2327         Reviewed by James Robinson.
2328
2329         * src/WebViewImpl.cpp:
2330         (std):
2331         (WebKit):
2332         (WebKit::WebViewImpl::computeBlockBounds):
2333         (WebKit::WebViewImpl::widenRectWithinPageBounds):
2334         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
2335         * src/WebViewImpl.h:
2336         (WebViewImpl):
2337         * tests/WebFrameTest.cpp:
2338         (WebKit):
2339         (WebKit::TEST_F):
2340         * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
2341
2342 2012-02-16  Sami Kyostila  <skyostil@chromium.org>
2343
2344         [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
2345         https://bugs.webkit.org/show_bug.cgi?id=77464
2346
2347         Added a new unit test for TiledLayerChromium to verify its invalidation behavior when
2348         the contents scale changes. Also enhance and existing unit test for LayerChromium to
2349         verify the paint rectangle dimensions instead just checking that it is not empty.
2350
2351         Reviewed by James Robinson.
2352
2353         * tests/LayerChromiumTest.cpp:
2354         * tests/TiledLayerChromiumTest.cpp:
2355         (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
2356         (FakeTiledLayerChromium):
2357         (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
2358         (WTF::TEST):
2359         (WTF):
2360
2361 2012-02-16  MORITA Hajime  <morrita@google.com>
2362
2363         https://bugs.webkit.org/show_bug.cgi?id=78065
2364         [Chromium] Should eliminate WebTextCheckingResult legacy APIs
2365
2366         Reviewed by Kent Tamura.
2367
2368         Removed unused legacy members.
2369
2370         * public/WebTextCheckingResult.h:
2371         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
2372         (WebTextCheckingResult):
2373         * src/AssertMatchingEnums.cpp:
2374
2375 2012-02-16  Evan Martin  <evan@chromium.org>
2376
2377         [chromium] pull third_party/gold to fix linux build
2378         https://bugs.webkit.org/show_bug.cgi?id=78842
2379
2380         Reviewed by Tony Chang.
2381
2382         The Chrome build now depends on third_party/gold also being checked out.
2383
2384         * DEPS:
2385
2386 2012-02-15  Michael Nordman  <michaeln@google.com>
2387
2388         Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
2389         https://bugs.webkit.org/show_bug.cgi?id=78841
2390
2391         WebDatabase now delegates this function entirely to DatabaseTracker.
2392         This is part of resolving http://crbug.com/98939
2393
2394         Reviewed by David Levin.
2395
2396         * src/WebDatabase.cpp:
2397         (WebKit::WebDatabase::closeDatabaseImmediately):
2398
2399 2012-02-16  Dana Jansens  <danakj@chromium.org>
2400
2401         [Chromium] Occlusion tracking with CSS filters
2402         https://bugs.webkit.org/show_bug.cgi?id=77498
2403
2404         Reviewed by James Robinson.
2405
2406         * tests/CCLayerTreeHostTest.cpp:
2407         (CCLayerTreeHostTestLayerOcclusionWithFilters):
2408         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
2409         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
2410         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
2411         (WTF):
2412
2413 2012-02-16  Joshua Bell  <jsbell@chromium.org>
2414
2415         IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
2416         https://bugs.webkit.org/show_bug.cgi?id=78619
2417
2418         Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
2419
2420         Reviewed by Darin Fisher.
2421
2422         * public/WebIDBObjectStore.h:
2423         (WebKit::WebIDBObjectStore::deleteFunction):
2424
2425 2012-02-16  Dana Jansens  <danakj@chromium.org>
2426
2427         [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
2428         https://bugs.webkit.org/show_bug.cgi?id=78775
2429
2430         Reviewed by Stephen White.
2431
2432         * tests/PlatformContextSkiaTest.cpp:
2433         (WebCore::TEST):
2434
2435 2012-02-16  Daniel Cheng  <dcheng@chromium.org>
2436
2437         [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
2438         https://bugs.webkit.org/show_bug.cgi?id=78843
2439
2440         Reviewed by Tony Chang.
2441
2442         * public/platform/WebDragData.h:
2443         (WebDragData):
2444
2445 2012-02-16  Viet-Trung Luu  <viettrungluu@chromium.org>
2446
2447         [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
2448         https://bugs.webkit.org/show_bug.cgi?id=78166
2449
2450         Reviewed by Darin Fisher.
2451
2452         * public/WebPluginContainer.h:
2453         (WebPluginContainer):
2454         * src/WebPluginContainerImpl.cpp:
2455         * src/WebPluginContainerImpl.h:
2456         (WebPluginContainerImpl):
2457
2458 2012-02-16  Yosifumi Inoue  <yosin@chromium.org>
2459
2460         Build Fix: R107894 breaks Chromium Linux Build.
2461         https://bugs.webkit.org/show_bug.cgi?id=78790
2462
2463         WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
2464
2465         Reviewed by Kent Tamura.
2466
2467         * src/WebDragData.cpp:
2468         (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
2469
2470 2012-02-15  Sami Kyostila  <skyostil@google.com>
2471
2472         Enable -webkit-overflow-scrolling CSS property
2473         https://bugs.webkit.org/show_bug.cgi?id=78664
2474
2475         Reviewed by Eric Seidel.
2476
2477         * features.gypi:
2478
2479 2012-02-15  Tommy Widenflycht  <tommyw@google.com>
2480
2481         MediaStream API: Removing SecurityContext from the embedder API
2482         https://bugs.webkit.org/show_bug.cgi?id=73816
2483
2484         Reviewed by Darin Fisher.
2485
2486         * bridge/PeerConnectionHandler.cpp:
2487         (WebCore::PeerConnectionHandler::create):
2488         (WebCore::PeerConnectionHandler::PeerConnectionHandler):
2489         * bridge/PeerConnectionHandlerInternal.cpp:
2490         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
2491         * bridge/PeerConnectionHandlerInternal.h:
2492         (WebCore):
2493         (PeerConnectionHandlerInternal):
2494         * public/platform/WebPeerConnectionHandler.h:
2495         (WebPeerConnectionHandler):
2496         (WebKit::WebPeerConnectionHandler::initialize):
2497
2498 2012-02-15  Peter Beverloo  <peter@chromium.org>
2499
2500         [Chromium] Roll DEPS to r122122
2501         https://bugs.webkit.org/show_bug.cgi?id=78754
2502
2503         Unreviewed DEPS roll.
2504
2505         * DEPS:
2506
2507 2012-02-01  Daniel Cheng  <dcheng@chromium.org>
2508
2509         [chromium] Add setter/getter to expose drag data as a list of items
2510         https://bugs.webkit.org/show_bug.cgi?id=77125
2511
2512         This change supports the unification of the data store backing ChromiumDataObject and
2513         DataTransferItemListChromium. ChromiumDataObject will represent dragging and clipboard data
2514         as a list of data nodes to make it more straightforward to implement the HTML spec for
2515         DataTransferItemList. Thus, we extend the abstraction to the webkit glue layer to
2516         simplify the serialization/deserialization between platform-specific data and WebDragData.
2517         The other setter/getter methods are deprecated and will be removed once the dependencies in
2518         Chromium code are gone.
2519
2520         Reviewed by Darin Fisher.
2521
2522         * public/platform/WebDragData.h:
2523         (WebKit):
2524         (WebDragData):
2525         * src/WebDragData.cpp:
2526         (WebKit::WebDragData::items):
2527         (WebKit):
2528         (WebKit::WebDragData::setItems):
2529         (WebKit::WebDragData::addItem):
2530
2531 2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2532
2533         Notify ChromeClient when touch-event handlers are installed/removed.
2534         https://bugs.webkit.org/show_bug.cgi?id=77440
2535
2536         Reviewed by Darin Fisher and Ryosuke Niwa.
2537
2538         * public/WebViewClient.h:
2539         (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
2540         * src/ChromeClientImpl.cpp:
2541         (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
2542         (WebKit):
2543         * src/ChromeClientImpl.h:
2544         (ChromeClientImpl):
2545         * src/WebViewImpl.cpp:
2546         (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
2547         (WebKit):
2548         * src/WebViewImpl.h:
2549         (WebViewImpl):
2550
2551 2012-02-15  Anders Carlsson  <andersca@apple.com>
2552
2553         Remove ScrollableArea::handleGestureEvent
2554         https://bugs.webkit.org/show_bug.cgi?id=78661
2555
2556         Reviewed by Adam Roben.
2557
2558         Update for WebCore changes.
2559
2560         * src/WebPluginContainerImpl.cpp:
2561         * src/WebPluginContainerImpl.h:
2562         (WebPluginContainerImpl):
2563         * src/WebViewImpl.cpp:
2564         (WebKit::WebViewImpl::gestureEvent):
2565
2566 2012-02-14  Takashi Toyoshima  <toyoshim@chromium.org>
2567
2568         Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
2569         https://bugs.webkit.org/show_bug.cgi?id=78581
2570
2571         Reviewed by Kent Tamura.
2572
2573         Now, there is no way to convert SocketStreamHandle to
2574         WebSocketStreamHandle. In subsequent changes, I'll use this function
2575         in FrameLoaderClientImpl.
2576
2577         * src/SocketStreamHandle.cpp: Remove SocketStreamHandleInternal class declaration.
2578         * src/SocketStreamHandleInternal.h: Move SocketStreamHandleInternal class declaration from SocketStreamHandle.cpp to expose, and add conversion function to WebSocketStreamHandle from SocketStreamHandle.
2579         (WebKit):
2580         (WebCore):
2581         (SocketStreamHandleInternal):
2582         (WebCore::SocketStreamHandleInternal::create):
2583         (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
2584         * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
2585
2586 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2587
2588         Unreviewed, rolling out r107766.
2589         http://trac.webkit.org/changeset/107766
2590         https://bugs.webkit.org/show_bug.cgi?id=78665
2591
2592         Breaks Chromium Win build (Requested by bashi1 on #webkit).
2593
2594         * WebKit.gypi:
2595         * tests/WebSocketDeflaterTest.cpp: Removed.
2596
2597 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
2598
2599         [WebSocket] Add extension attribute support
2600         https://bugs.webkit.org/show_bug.cgi?id=78557
2601
2602         Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
2603
2604         Reviewed by Kent Tamura.
2605
2606         * tests/WebSocketExtensionDispatcherTest.cpp:
2607         (WebCore::TEST_F):
2608
2609 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
2610
2611         [WebSocket] Add deflater/inflater classes.
2612         https://bugs.webkit.org/show_bug.cgi?id=78449
2613
2614         Add tests which ensure WebSocketDeflater/WebSocketInflater can
2615         compress/decompress data correctly.
2616
2617         Reviewed by Kent Tamura.
2618
2619         * WebKit.gypi:
2620         * tests/WebSocketDeflaterTest.cpp: Added.
2621         (WebCore):
2622         (WebCore::TEST):
2623
2624 2012-02-14  Dana Jansens  <danakj@chromium.org>
2625
2626         [chromium] Compare filters on impl thread when setting them, and test setting in unit tests
2627         https://bugs.webkit.org/show_bug.cgi?id=78643
2628
2629         Reviewed by James Robinson.
2630
2631         * tests/CCLayerImplTest.cpp:
2632         (WebCore::TEST):
2633
2634 2012-02-14  Ramya Chandrasekaran  <cramya@google.com>
2635
2636         Last character display for passwords in Android.
2637         https://bugs.webkit.org/show_bug.cgi?id=78532
2638
2639         Reviewed by Adam Barth.
2640
2641         * public/WebSettings.h:
2642         * src/WebSettingsImpl.cpp:
2643         (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
2644         (WebKit):
2645         (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
2646         * src/WebSettingsImpl.h:
2647         (WebSettingsImpl):
2648
2649 2012-02-14  David Reveman  <reveman@chromium.org>
2650
2651         [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
2652         https://bugs.webkit.org/show_bug.cgi?id=76937
2653
2654         Reviewed by James Robinson.
2655
2656         Add perTilePainting to WebLayerTreeView::Settings.
2657
2658         * public/platform/WebLayerTreeView.h:
2659         (WebKit::WebLayerTreeView::Settings::Settings):
2660         (Settings):
2661         * src/WebLayerTreeView.cpp:
2662         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
2663
2664 2012-02-14  Vsevolod Vlasov  <vsevik@chromium.org>
2665
2666         Web Inspector: Make ScriptsNavigator default file selector.
2667         https://bugs.webkit.org/show_bug.cgi?id=78349
2668
2669         Reviewed by Pavel Feldman.
2670
2671         * src/js/Tests.js:
2672         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
2673         (.TestSuite.prototype.uiSourceCodesToString_):
2674         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
2675         (.TestSuite.prototype._scriptsAreParsed):
2676         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
2677         (.TestSuite.prototype._waitUntilScriptsAreParsed):
2678
2679 2012-02-14  Hayato Ito  <hayato@chromium.org>
2680
2681         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
2682         https://bugs.webkit.org/show_bug.cgi?id=77514
2683
2684         Reviewed by Dimitri Glazkov.
2685
2686         NodeType.SHADOW_ROOT_NODE type is finally gone.
2687
2688         * src/WebPageSerializerImpl.cpp:
2689         (WebKit::WebPageSerializerImpl::buildContentForNode):
2690
2691 2012-02-14  David Reveman  <reveman@chromium.org>
2692
2693         [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.
2694         https://bugs.webkit.org/show_bug.cgi?id=76927
2695
2696         Reviewed by James Robinson.
2697
2698         Remove unnecessary initialization and include maxPartialTextureUpdates
2699         in FIXME comment.
2700
2701         * src/WebLayerTreeView.cpp:
2702         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
2703
2704 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2705
2706         Unreviewed, rolling out r107661.
2707         http://trac.webkit.org/changeset/107661
2708         https://bugs.webkit.org/show_bug.cgi?id=78591
2709
2710         crash on lion/qt bots (Requested by hayato on #webkit).
2711
2712         * src/WebPageSerializerImpl.cpp:
2713         (WebKit::WebPageSerializerImpl::buildContentForNode):
2714
2715 2012-02-14  Yuzhu Shen  <yzshen@chromium.com>
2716
2717         [chromium] Pepper plugins don't receive mouse movement information in
2718         non-mouse-lock mode.
2719         https://bugs.webkit.org/show_bug.cgi?id=78014
2720
2721         This change makes WebMouseEventBuilder pass along mouse movement
2722         information properly.
2723
2724         There isn't test for this change because:
2725         - the movement information added is only used by pepper, and there
2726           isn't any test for pepper at the WebKit side. (WebKit doesn't know
2727           about pepper.)
2728         - this change is trivial. It just copies two newly-added data fields
2729           from MouseEvent to WebMouseEventBuilder during conversion.
2730
2731         Reviewed by Tony Chang.
2732
2733         * src/WebInputEventConversion.cpp:
2734         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2735
2736 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
2737
2738         Convert svg/animations to use SMIL methods for driving the timeline
2739         https://bugs.webkit.org/show_bug.cgi?id=78422
2740
2741         Reviewed by Dirk Schulze.
2742
2743         Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
2744         Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
2745
2746         * public/WebFrame.h:
2747         (WebFrame):
2748         * src/WebFrameImpl.cpp:
2749         * src/WebFrameImpl.h:
2750         (WebFrameImpl):
2751
2752 2012-02-13  Mihai Parparita  <mihaip@chromium.org>
2753
2754         [Chromium] Remove BoundObject
2755         https://bugs.webkit.org/show_bug.cgi?id=78531
2756
2757         Reviewed by Pavel Feldman.
2758
2759         Remove the BoundObject class, references to it were removed in r56999.
2760
2761         * WebKit.gyp:
2762         * src/BoundObject.cpp: Removed.
2763         * src/BoundObject.h: Removed.
2764         * src/WebDevToolsFrontendImpl.cpp:
2765
2766 2012-02-13  W. James MacLean  <wjmaclean@chromium.org>
2767
2768         [chromium] Remove obsolete zoom animation pathway.
2769         https://bugs.webkit.org/show_bug.cgi?id=78359
2770
2771         Reviewed by James Robinson.
2772
2773         This patch removes dead code from the previous incarnation of zoom animation for chromium.
2774
2775         * src/WebViewImpl.cpp:
2776
2777 2012-02-13  Hayato Ito  <hayato@chromium.org>
2778
2779         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
2780         https://bugs.webkit.org/show_bug.cgi?id=77514
2781
2782         Reviewed by Dimitri Glazkov.
2783
2784         NodeType.SHADOW_ROOT_NODE type is finally gone.
2785
2786         * src/WebPageSerializerImpl.cpp:
2787         (WebKit::WebPageSerializerImpl::buildContentForNode):
2788
2789 2012-02-13  Nico Weber  <thakis@chromium.org>
2790
2791         [chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
2792         https://bugs.webkit.org/show_bug.cgi?id=78246
2793
2794         This allows removing a bunch of code in chromium land (https://chromiumcodereview.appspot.com/9374020/),
2795         and helps with the component build on mac (InitWebCoreSystemInterface is not an
2796         exported function, and it shouldn't be).
2797
2798         Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm early-returns when it's
2799         called twice, so it's safe to land this change, and remove the calls in client
2800         code in a later CL.
2801
2802         Reviewed by Darin Fisher.
2803
2804         * src/WebKit.cpp:
2805         (WebKit::initializeWithoutV8):
2806
2807 2012-02-13  Yosifumi Inoue  <yosin@chromium.org>
2808
2809         [Forms] Use enum instead of bool for HTMLInputElement::setValue
2810         https://bugs.webkit.org/show_bug.cgi?id=75217
2811
2812         Reviewed by Kent Tamura.
2813
2814         * src/WebInputElement.cpp:
2815         (WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue
2816
2817 2012-02-12  Hajime Morrita  <morrita@chromium.org>
2818
2819         Page should have less intrusive way to associate API implementation objects.
2820         https://bugs.webkit.org/show_bug.cgi?id=78085
2821
2822         Reviewed by Adam Barth.
2823
2824         * src/WebViewImpl.cpp:
2825         (WebKit::WebViewImpl::WebViewImpl):
2826
2827 2012-02-10  David Grogan  <dgrogan@chromium.org>
2828
2829         Disable IndexedDB permissions check from shared workers
2830         https://bugs.webkit.org/show_bug.cgi?id=78316
2831
2832         We want to temporarily bypass this check because it causes a crash
2833         when called from a shared worker.  We'll have to fix it before
2834         including idb on shared workers in a release but don't want to stop
2835         developers from testing out idb on shared workers.
2836
2837         No new tests because it affects shared workers only, which aren't
2838         testable by DRT.
2839
2840         Reviewed by Tony Chang.
2841
2842         * src/IDBFactoryBackendProxy.cpp:
2843         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
2844
2845 2012-02-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2846
2847         Unreviewed.  Rolled DEPS.
2848
2849         * DEPS:
2850
2851 2012-02-09  Kenichi Ishibashi  <bashi@chromium.org>
2852
2853         Add WebSocket extension support
2854         https://bugs.webkit.org/show_bug.cgi?id=78079
2855
2856         Add some tests which check WebSocketExtensions::processHeaderValue()
2857         parses the given response correctly.
2858
2859         Reviewed by Kent Tamura.
2860
2861         * WebKit.gypi:
2862         * tests/WebSocketExtensionDispatcherTest.cpp: Added.
2863         (WebCore):
2864         (MockWebSocketExtensionProcessor):
2865         (WebCore::MockWebSocketExtensionProcessor::MockWebSocketExtensionProcessor):
2866         (WebSocketExtensionDispatcherTest):
2867         (WebCore::WebSocketExtensionDispatcherTest::WebSocketExtensionDispatcherTest):
2868         (WebCore::WebSocketExtensionDispatcherTest::SetUp):
2869         (WebCore::WebSocketExtensionDispatcherTest::TearDown):
2870         (WebCore::WebSocketExtensionDispatcherTest::addMockProcessor):
2871         (WebCore::WebSocketExtensionDispatcherTest::appendResult):
2872         (WebCore::MockWebSocketExtensionProcessor::processResponse):
2873         (WebCore::TEST_F):
2874
2875 2012-02-09  W. James MacLean  <wjmaclean@chromium.org>
2876
2877         [chromium] Add support for starting page/scale animations on CC impl thread from WebViewImpl
2878         https://bugs.webkit.org/show_bug.cgi?id=77872
2879
2880         Reviewed by James Robinson.
2881
2882         Provides a pathway to invoke CCLayerTreeHostImpl::startPageScaleAnimation() from
2883         WebViewImpl. This is intended to support scale and scroll animations, such as WebInputEvent::GestureDoubleTap.
2884
2885         * src/WebViewImpl.cpp:
2886         (WebKit):
2887         (WebKit::WebViewImpl::startPageScaleAnimation):
2888         * src/WebViewImpl.h:
2889         (WebViewImpl):
2890         * tests/CCLayerTreeHostTest.cpp:
2891         (WTF):
2892         (CCLayerTreeHostTestStartPageScaleAnimation):
2893         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::CCLayerTreeHostTestStartPageScaleAnimation):
2894         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::beginTest):
2895         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::requestStartPageScaleAnimation):
2896         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::drawLayersOnCCThread):
2897         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
2898         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::commitCompleteOnCCThread):
2899         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::afterTest):
2900         (WTF::TEST_F):
2901
2902 2012-02-09  John Bates  <jbates@google.com>
2903
2904         [Chromium] Add chromium-style tracing support
2905         https://bugs.webkit.org/show_bug.cgi?id=76885
2906
2907         Reviewed by Darin Fisher.
2908
2909         This code enables WebKit trace events to pass through more data to the
2910         chromium platform tracing API and generally to use the full tracing
2911         API provided by chromium.
2912
2913         * public/platform/WebKitPlatformSupport.h:
2914         (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
2915         (WebKit::WebKitPlatformSupport::addTraceEvent):
2916         * src/PlatformSupport.cpp:
2917         (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
2918         (WebCore::PlatformSupport::addTraceEvent):
2919
2920 2012-02-09  Jonathan Backer  <backer@chromium.org>
2921
2922         [chromium] Plumb setNeedsRedraw.
2923         https://bugs.webkit.org/show_bug.cgi?id=78248
2924
2925         Reviewed by James Robinson.
2926
2927         * public/platform/WebLayerTreeView.h:
2928         (WebLayerTreeView):
2929         * src/WebLayerTreeView.cpp:
2930         (WebKit::WebLayerTreeView::setNeedsRedraw):
2931         (WebKit):
2932
2933 2012-02-09  Jonathan Backer  <backer@chromium.org>
2934
2935         [chromium] Add setNeedsRedraw to WebWidget
2936         https://bugs.webkit.org/show_bug.cgi?id=77555
2937
2938         Reviewed by James Robinson.
2939
2940         * public/WebWidget.h:
2941         (WebWidget):
2942         (WebKit::WebWidget::setNeedsRedraw):
2943         * src/WebViewImpl.cpp:
2944         (WebKit::WebViewImpl::setNeedsRedraw):
2945         (WebKit):
2946         * src/WebViewImpl.h:
2947         (WebViewImpl):
2948
2949 2012-02-08  Raymond Liu  <raymond.liu@intel.com>
2950
2951         Fix a typo for r107125
2952         https://bugs.webkit.org/show_bug.cgi?id=77804
2953
2954         Reviewed by James Robinson.
2955
2956         * tests/WebCompositorInputHandlerImplTest.cpp:
2957
2958 2012-02-08  David Reveman  <reveman@chromium.org>
2959
2960         [Chromium] Avoid unnecessary full tile updates without breaking atomicity of commits.
2961         https://bugs.webkit.org/show_bug.cgi?id=76740
2962
2963         Reviewed by James Robinson.
2964
2965         Add CCLayerTreeHostTestAtomicCommitWithPartialUpdate and
2966         TiledLayerChromiumTest.partialUpdates tests that verifies
2967         atomicity of commits with partial updates.
2968
2969         * tests/CCLayerTreeHostTest.cpp:
2970         (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
2971         (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
2972         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
2973         (WTF::CCLayerTreeHostTestAtomicCommit::layout):
2974         (CCLayerTreeHostTestAtomicCommit):
2975         (CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
2976         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
2977         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
2978         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
2979         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
2980         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout):
2981         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::afterTest):
2982         (WTF):
2983         (WTF::TEST_F):
2984         * tests/TiledLayerChromiumTest.cpp:
2985         (WTF::FakeLayerTextureUpdater::Texture::Texture):
2986         (WTF::FakeLayerTextureUpdater::Texture::updateRect):
2987         (Texture):
2988         (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
2989         (FakeLayerTextureUpdater):
2990         (WTF::FakeLayerTextureUpdater::updateCount):
2991         (WTF::FakeLayerTextureUpdater::clearUpdateCount):
2992         (WTF::FakeLayerTextureUpdater::updateRect):
2993         (WTF::FakeLayerTextureUpdater::createTexture):
2994         (FakeTiledLayerChromium):
2995         (WTF::TEST):
2996         (WTF):
2997
2998 2012-02-07  MORITA Hajime  <morrita@google.com>
2999
3000         Replacement text should be available from the marker.
3001         https://bugs.webkit.org/show_bug.cgi?id=77934
3002
3003         didFinishCheckingText() accidentally dropped the description text
3004         given from the backend. Fixed to copy it on the API-to-Core
3005         convertion. The test won't work without this fix.
3006
3007         Reviewed by Kent Tamura.
3008
3009         * src/WebTextCheckingCompletionImpl.cpp:
3010         (WebKit::toCoreResults):
3011
3012 2012-02-08  Dmitry Lomov  <dslomov@chromium.org>
3013
3014         [V8][Chromium] Race between worker accessing WebDatabase and frame closing down.
3015         https://bugs.webkit.org/show_bug.cgi?id=78150
3016         Handle case when the frame is shut down under us gracefully.
3017
3018         Reviewed by David Levin.
3019
3020         * src/DatabaseObserver.cpp:
3021         (WebCore::DatabaseObserver::canEstablishDatabase): Handle WebWorkerBase::view returning 0.
3022         * src/IDBFactoryBackendProxy.cpp:
3023         (WebKit::IDBFactoryBackendProxy::openFromWorker): Handle WebWorkerBase::view returning 0.
3024         * src/WebWorkerClientImpl.cpp:
3025         (WebKit::WebWorkerClientImpl::allowFileSystem):
3026         (WebKit::WebWorkerClientImpl::allowDatabase):
3027         (WebKit::WebWorkerClientImpl::view):
3028
3029 2012-02-08  Adam Klein  <adamk@chromium.org>
3030
3031         DOM mutations should not be delivered on worker threads
3032         https://bugs.webkit.org/show_bug.cgi?id=77898
3033
3034         Reviewed by Dmitry Titov.
3035
3036         * src/WebDevToolsFrontendImpl.cpp:
3037         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
3038
3039 2012-02-08  Scott Graham  <scottmg@chromium.org>
3040
3041         Roll Chromium DEPS
3042         https://bugs.webkit.org/show_bug.cgi?id=78152
3043
3044         Reviewed by Adam Barth.
3045
3046         * DEPS:
3047
3048 2012-02-08  Dana Jansens  <danakj@chromium.org>
3049
3050         [Chromium] Fix opaque tracking for box shadows and non-composited child elements
3051         https://bugs.webkit.org/show_bug.cgi?id=78073
3052
3053         Reviewed by Stephen White.
3054
3055         * tests/PlatformContextSkiaTest.cpp:
3056         (WebCore::TEST):
3057         (WebCore):
3058
3059 2012-02-08  Shawn Singh  <shawnsingh@chromium.org>
3060
3061         [chromium] Remove incorrect early exit in CCDamageTracker
3062         https://bugs.webkit.org/show_bug.cgi?id=76924
3063
3064         Reviewed by James Robinson.
3065
3066         * tests/CCDamageTrackerTest.cpp:
3067         (WebKitTests::emulateDrawingOneFrame):
3068         (WebKitTests::TEST_F):
3069         (WebKitTests):
3070
3071 2012-02-08  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3072
3073         Add support for pinch gesture processing in the MT compositor.
3074         https://bugs.webkit.org/show_bug.cgi?id=77804
3075
3076         Reviewed by James Robinson.
3077
3078         * public/WebInputEvent.h:
3079         * src/WebCompositorInputHandlerImpl.cpp:
3080         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
3081         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
3082         * src/WebCompositorInputHandlerImpl.h:
3083         (WebCompositorInputHandlerImpl):
3084         * src/WebInputEventConversion.cpp:
3085         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
3086         * src/WebPopupMenuImpl.cpp:
3087         (WebKit::WebPopupMenuImpl::handleInputEvent):
3088         * src/WebViewImpl.cpp:
3089         (WebKit::WebViewImpl::handleInputEvent):
3090         * tests/WebCompositorInputHandlerImplTest.cpp:
3091
3092 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
3093
3094         [chromium] Make dependency on Accelerate.framework explicit.
3095         https://bugs.webkit.org/show_bug.cgi?id=78131
3096
3097         It's used by platform/audio/mac/FFTFrameMac.cpp. The explicit
3098         dependency is needed to build a libwebkit.dylib.
3099
3100         Reviewed by Tony Chang.
3101
3102         * WebKit.gyp:
3103
3104 2012-02-08  Bernhard Bauer  <bauerb@google.com>
3105
3106         [Chromium] Don't add selection from password fields to context menu.
3107         https://bugs.webkit.org/show_bug.cgi?id=77733
3108
3109         Reviewed by Adam Barth.
3110
3111         * src/ContextMenuClientImpl.cpp:
3112         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3113
3114 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
3115
3116         [chromium] Let -Wglobal-constructors hack in shared build metastasize to mac
3117         https://bugs.webkit.org/show_bug.cgi?id=78130
3118
3119         Reviewed by Tony Chang.
3120
3121         * WebKit.gyp:
3122
3123 2012-02-08  Alexei Svitkine  <asvitkine@chromium.org>
3124
3125         Chromium: Fix Mac rubber band overhang drawing on composited pages and re-enable tests.
3126         https://bugs.webkit.org/show_bug.cgi?id=78007
3127
3128         This got broken by: http://trac.webkit.org/changeset/105470
3129         And the tests were accidentally(?) disabled in: http://trac.webkit.org/changeset/95191
3130
3131         There is still three tests that fail from the set, but the cause for these is different,
3132         which I'm still investigating.
3133
3134         Reviewed by James Robinson.
3135
3136         * src/NonCompositedContentHost.cpp:
3137         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
3138
3139 2012-02-07  James Robinson  <jamesr@chromium.org>
3140
3141         [chromium] Move geometry headers in Platform API to Platform directory
3142         https://bugs.webkit.org/show_bug.cgi?id=78067
3143
3144         Reviewed by Adam Barth.
3145
3146         Add forwarding headers for several API types moved into Platform.
3147
3148         * public/platform/WebFloatPoint.h:
3149         * public/platform/WebFloatQuad.h:
3150         * public/platform/WebFloatRect.h:
3151         * public/platform/WebPoint.h:
3152         * public/platform/WebRect.h:
3153         * public/platform/WebSize.h:
3154
3155 2012-02-07  MORITA Hajime  <morrita@google.com>
3156
3157         [Chromium] WebTextCheckingResult should have new default constructor
3158         https://bugs.webkit.org/show_bug.cgi?id=78066
3159
3160         Reviewed by Ryosuke Niwa.
3161
3162         Added a new default constructor. ex-default constructor will be removed
3163         in an upcoming change.
3164
3165         * public/WebTextCheckingResult.h:
3166         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
3167         (WebTextCheckingResult):
3168
3169 2012-02-07  Gregg Tavares  <gman@google.com>
3170
3171         Plumb through webGLErrorsToConsoleEnable in WebSettings
3172         https://bugs.webkit.org/show_bug.cgi?id=78061
3173
3174         Reviewed by Kenneth Russell.
3175
3176         * public/WebSettings.h:
3177         * src/WebSettingsImpl.cpp:
3178         (WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
3179         (WebKit):
3180         * src/WebSettingsImpl.h:
3181         (WebSettingsImpl):
3182
3183 2012-02-07  Robert Kroeger  <rjkroege@chromium.org>
3184
3185         [chromium] Remove no longer necessary Chromium gesture recognizer code.
3186         https://bugs.webkit.org/show_bug.cgi?id=77492
3187
3188         Reviewed by Adam Barth.
3189
3190         * WebKit.gypi:
3191         * features.gypi:
3192         * src/WebFrameImpl.cpp:
3193         (WebKit::WebFrameImpl::createFrameView):
3194         * src/WebPopupMenuImpl.cpp:
3195         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
3196         (WebKit::WebPopupMenuImpl::handleTouchEvent):
3197         * src/WebPopupMenuImpl.h:
3198         * src/WebViewImpl.cpp:
3199         (WebKit::WebViewImpl::WebViewImpl):
3200         (WebKit::WebViewImpl::touchEvent):
3201         * src/WebViewImpl.h:
3202         (WebCore):
3203         (WebViewImpl):
3204         * tests/InnerGestureRecognizerTest.cpp: Removed.
3205
3206 2012-02-07  David Reveman  <reveman@chromium.org>
3207
3208         [Chromium] REGRESSION(r101854): Causing large amounts of unnecessary repainting.
3209         https://bugs.webkit.org/show_bug.cgi?id=78020
3210
3211         Reviewed by James Robinson.
3212
3213         Update TextureManagerTest.requestTextureExceedingPreferredLimit test.
3214
3215         * tests/TextureManagerTest.cpp:
3216         (WTF::TextureManagerTest::requestTexture):
3217         (WTF::TEST_F):
3218
3219 2012-02-07  Dana Jansens  <danakj@chromium.org>
3220
3221         [chromium] Unit test for bug #77996
3222         https://bugs.webkit.org/show_bug.cgi?id=78019
3223
3224         Reviewed by James Robinson.
3225
3226         * tests/CCLayerTreeHostTest.cpp:
3227         (CCLayerTreeHostTestManySurfaces):
3228         (WTF::CCLayerTreeHostTestManySurfaces::CCLayerTreeHostTestManySurfaces):
3229         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
3230         (WTF::CCLayerTreeHostTestManySurfaces::afterTest):
3231         (WTF):
3232
3233 2012-02-07  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3234
3235         Process Scroll-gesture events from the compositor.
3236         https://bugs.webkit.org/show_bug.cgi?id=77477
3237
3238         Reviewed by James Robinson.
3239
3240         * src/WebCompositorInputHandlerImpl.cpp:
3241         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
3242         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
3243         * src/WebCompositorInputHandlerImpl.h:
3244         (WebCompositorInputHandlerImpl):
3245
3246 2012-02-07  Anders Carlsson  <andersca@apple.com>
3247
3248         ScrollableAreaSet should be moved from Page to FrameView
3249         https://bugs.webkit.org/show_bug.cgi?id=62762
3250
3251         Reviewed by Beth Dakin.
3252
3253         Update for changes to WebCore now that the scrollable area set is kept per frame view.
3254
3255         * src/ScrollbarGroup.cpp:
3256         (WebKit::ScrollbarGroup::ScrollbarGroup):
3257         (WebKit::ScrollbarGroup::~ScrollbarGroup):
3258         * src/ScrollbarGroup.h:
3259         (WebCore):
3260         (ScrollbarGroup):
3261         * src/WebPluginContainerImpl.cpp:
3262         (WebKit::WebPluginContainerImpl::scrollbarGroup):
3263
3264 2012-02-07  Hans Wennborg  <hans@chromium.org>
3265
3266         Chromium: remove WebSpeechInputResult::set
3267         https://bugs.webkit.org/show_bug.cgi?id=77977
3268
3269         Reviewed by Darin Fisher.
3270
3271         It was renamed to assign() in r106475.
3272
3273         * public/WebSpeechInputResult.h:
3274
3275 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
3276
3277         Unreviewed, rolling out r106935.
3278         http://trac.webkit.org/changeset/106935
3279         https://bugs.webkit.org/show_bug.cgi?id=77994
3280
3281         "Crashes runMultiThread webkit_unit_test" (Requested by tonyg-
3282         cr on #webkit).
3283
3284         * public/WebWidget.h:
3285         (WebWidget):
3286         * src/WebViewImpl.cpp:
3287         * src/WebViewImpl.h:
3288         (WebViewImpl):
3289
3290 2012-02-07  Jonathan Backer  <backer@chromium.org>
3291
3292         [chromium] Add setNeedsRedraw to WebWidget
3293         https://bugs.webkit.org/show_bug.cgi?id=77555
3294
3295         Reviewed by James Robinson.
3296
3297         * public/WebWidget.h:
3298         (WebWidget):
3299         (WebKit::WebWidget::setNeedsRedraw):
3300         * src/WebViewImpl.cpp:
3301         (WebKit::WebViewImpl::setNeedsRedraw):
3302         (WebKit):
3303         * src/WebViewImpl.h:
3304         (WebViewImpl):
3305
3306 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
3307
3308         Unreviewed.  Rolled DEPS.
3309
3310         * DEPS:
3311
3312 2012-02-06  James Robinson  <jamesr@chromium.org>
3313
3314         [chromium] canvas demo is slow due to unnecessary resource cleanups
3315         https://bugs.webkit.org/show_bug.cgi?id=77135
3316
3317         Reviewed by Kenneth Russell.
3318
3319         * tests/Canvas2DLayerChromiumTest.cpp:
3320         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3321         * tests/TextureManagerTest.cpp:
3322         * tests/TiledLayerChromiumTest.cpp:
3323
3324 2012-02-06  Julien Chaffraix  <jchaffraix@webkit.org>
3325
3326         Unreviewed gardening.
3327
3328         * DEPS: Rolling the DEPS to get the apple_webkit update
3329         and fix the Chromium build.
3330
3331 2012-02-06  Emil A Eklund  <eae@chromium.org>
3332
3333         Convert PopupMenuClient::clientPadding over to new layout abstraction
3334         https://bugs.webkit.org/show_bug.cgi?id=77798
3335
3336         Reviewed by Eric Seidel.
3337
3338         Change PopupMenuClient and all classes inheriting from it to use the new
3339         layout types for padding.
3340
3341         * src/AutofillPopupMenuClient.cpp:
3342         (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
3343         (WebKit::AutofillPopupMenuClient::clientPaddingRight):
3344         * src/AutofillPopupMenuClient.h:
3345         (AutofillPopupMenuClient):
3346         * tests/PopupMenuTest.cpp:
3347         (WebKit::TestPopupMenuClient::clientPaddingLeft):
3348         (WebKit::TestPopupMenuClient::clientPaddingRight):
3349
3350 2012-02-06  James Robinson  <jamesr@chromium.org>
3351
3352         [chromium] Drop tiles completely outside of layer bounds when resizing to a smaller size
3353         https://bugs.webkit.org/show_bug.cgi?id=77910
3354
3355         Reviewed by Kenneth Russell.
3356
3357         Adds test for resizing a layer to cover fewer tiles. Test hits ASSERT()s without any code changes.
3358
3359         * tests/TiledLayerChromiumTest.cpp:
3360         (::TEST):
3361
3362 2012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
3363
3364         Revert r106859. It was completely bogus.
3365
3366         * src/WebViewImpl.cpp:
3367         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3368
3369 2012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
3370
3371         Chromium build fix after r106836.
3372
3373         * src/WebViewImpl.cpp:
3374         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3375
3376 2012-02-06  Eric Uhrhane  <ericu@chromium.org>
3377
3378         [filesystem/Chromium] crackFileSystemURL needs to use innerURL
3379         https://bugs.webkit.org/show_bug.cgi?id=77881
3380
3381         Reviewed by Adam Barth.
3382
3383         * src/AsyncFileSystemChromium.cpp:
3384         (WebCore::AsyncFileSystem::crackFileSystemURL):
3385         Add the new code path, taken only if innerURL is present.
3386
3387 2012-02-03  James Robinson  <jamesr@chromium.org>
3388
3389         [chromium] Support detaching TextureManager from ManagedTexture
3390         https://bugs.webkit.org/show_bug.cgi?id=77655
3391
3392         Adds unit test for destroying a TextureManager while ManagedTextures are still alive referring to it.
3393
3394         Reviewed by Kenneth Russell.
3395
3396         * tests/TextureManagerTest.cpp:
3397
3398 2012-02-06  Matthew Delaney  <mdelaney@apple.com>
3399
3400         toDataURL() uses stale data after putImageData()
3401         https://bugs.webkit.org/show_bug.cgi?id=65767
3402
3403         Reviewed by Chris Marrin.
3404
3405         * src/WebViewImpl.cpp: Updated method name.
3406         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3407
3408 2012-02-06  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3409
3410         Provide more attribute methods in Element
3411         https://bugs.webkit.org/show_bug.cgi?id=77800
3412
3413         Reviewed by Ryosuke Niwa.
3414
3415         * src/WebPageSerializerImpl.cpp:
3416         (WebKit::WebPageSerializerImpl::openTagToString): access attributes via Element interface.
3417
3418 2012-02-04  Shawn Singh  <shawnsingh@chromium.org>
3419
3420         [chromium] Add support to force full damage in CCDamageTracker
3421         https://bugs.webkit.org/show_bug.cgi?id=76805
3422
3423         Reviewed by James Robinson.
3424
3425         * tests/CCDamageTrackerTest.cpp:
3426         (WebKitTests::TEST_F):
3427         (WebKitTests):
3428
3429 2012-02-03  James Robinson  <jamesr@chromium.org>
3430
3431         [chromium] Defer makeContextCurrent in compositor until first frame
3432         https://bugs.webkit.org/show_bug.cgi?id=77269
3433
3434         Reviewed by Kenneth Russell.
3435
3436         * tests/CCLayerTreeHostTest.cpp:
3437         (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
3438         * tests/TiledLayerChromiumTest.cpp:
3439         (WTF::TEST):
3440
3441 2012-02-03  Beth Dakin  <bdakin@apple.com>
3442
3443         https://bugs.webkit.org/show_bug.cgi?id=77691
3444         Fix PlatformScreen layering violation and PlatformScreenMac's incorrect use 
3445         of device scale
3446
3447         Reviewed by Andy Estes.
3448
3449         These two functions now take a Widget again rather than a FrameView.
3450         * src/PlatformSupport.cpp:
3451         (WebCore::PlatformSupport::screenRect):
3452         (WebCore::PlatformSupport::screenAvailableRect):
3453
3454 2012-02-03  John Knottenbelt  <jknotten@chromium.org>
3455
3456         [skia] Fix unit test PlatformContextSkiaTest.trackOpaqueOvalTest
3457         https://bugs.webkit.org/show_bug.cgi?id=77738
3458
3459         We need to clear the bitmap before the test runs, otherwise the
3460         contents of the bitmap will be uninitialised. This causes an
3461         unpredicatable result as the canvas draw operations blend the
3462         destination bitmap with the source colour.
3463
3464         Similarly, valgrind discovered that
3465         PlatformContextSkiaTest.trackOpaqueTest and
3466         PlatformContextSkiaTest.trackOpaqueLineTest suffers from the same
3467         problem.
3468
3469         Also, re-enable WebFrameTest.FindInPage which was falsely
3470         blamed for making this test fail.
3471
3472         Reviewed by Stephen White.
3473
3474         * tests/PlatformContextSkiaTest.cpp:
3475         (WebCore::TEST):
3476         * tests/WebFrameTest.cpp:
3477         (WebKit::TEST_F):
3478
3479 2012-02-03  Dana Jansens  <danakj@chromium.org>
3480
3481         [Chromium] Use the current clip when marking paints as opaque
3482         https://bugs.webkit.org/show_bug.cgi?id=77582
3483
3484         Reviewed by Stephen White.
3485
3486         * tests/PlatformContextSkiaTest.cpp:
3487         (WebCore::TEST):
3488         (WebCore):
3489
3490 2012-02-03  Yury Semikhatsky  <yurys@chromium.org>
3491
3492         Unreviewed. Update Chromium deps.
3493
3494         * DEPS:
3495
3496 2012-02-02  Tommy Widenflycht  <tommyw@google.com>
3497
3498         [chromium] MediaStream API: Adding the embedding code for MediaStreamCenter
3499         https://bugs.webkit.org/show_bug.cgi?id=73130
3500
3501         Reviewed by Darin Fisher.
3502
3503         * WebKit.gyp:
3504         * bridge/MediaStreamCenter.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3505         (WebCore):
3506         (WebCore::MediaStreamCenter::MediaStreamCenter):
3507         (WebCore::MediaStreamCenter::~MediaStreamCenter):
3508         (WebCore::MediaStreamCenter::queryMediaStreamSources):
3509         (WebCore::MediaStreamCenter::didSetMediaStreamTrackEnabled):
3510         (WebCore::MediaStreamCenter::didStopLocalMediaStream):
3511         (WebCore::MediaStreamCenter::didConstructMediaStream):
3512         * bridge/MediaStreamCenterInternal.cpp: Added.
3513         (WebCore):
3514         (WebCore::MediaStreamCenterInternal::MediaStreamCenterInternal):
3515         (WebCore::MediaStreamCenterInternal::~MediaStreamCenterInternal):
3516         (WebCore::MediaStreamCenterInternal::queryMediaStreamSources):
3517         (WebCore::MediaStreamCenterInternal::didSetMediaStreamTrackEnabled):
3518         (WebCore::MediaStreamCenterInternal::didStopLocalMediaStream):
3519         (WebCore::MediaStreamCenterInternal::didConstructMediaStream):
3520         (WebCore::MediaStreamCenterInternal::stopLocalMediaStream):
3521         * bridge/MediaStreamCenterInternal.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3522         (WebKit):
3523         (WebCore):
3524         (MediaStreamCenterInternal):
3525         * public/platform/WebKitPlatformSupport.h:
3526         (WebKit):
3527         (WebKit::WebKitPlatformSupport::createMediaStreamCenter):
3528         * public/platform/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3529         (WebKit):
3530         (WebMediaStreamCenter):
3531         (WebKit::WebMediaStreamCenter::~WebMediaStreamCenter):
3532         * public/platform/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3533         (WebKit):
3534         (WebMediaStreamCenterClient):
3535         (WebKit::WebMediaStreamCenterClient::~WebMediaStreamCenterClient):
3536         * public/platform/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3537         (WebCore):
3538         (WebKit):
3539         (WebMediaStreamComponent):
3540         (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
3541         (WebKit::WebMediaStreamComponent::~WebMediaStreamComponent):
3542         (WebKit::WebMediaStreamComponent::isNull):
3543         * public/platform/WebMediaStreamDescriptor.h:
3544         (WebKit):
3545         (WebMediaStreamDescriptor):
3546         * public/platform/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3547         (WebCore):
3548         (WebKit):
3549         (WebMediaStreamSourcesRequest):
3550         (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
3551         (WebKit::WebMediaStreamSourcesRequest::~WebMediaStreamSourcesRequest):
3552         (WebKit::WebMediaStreamSourcesRequest::isNull):
3553         * src/UserMediaClientImpl.h:
3554         (UserMediaClientImpl):
3555         * src/WebMediaStreamComponent.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3556         (WebKit):
3557         (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
3558         (WebKit::WebMediaStreamComponent::operator=):
3559         (WebKit::WebMediaStreamComponent::reset):
3560         (WebKit::WebMediaStreamComponent::operator PassRefPtr<MediaStreamComponent>):
3561         (WebKit::WebMediaStreamComponent::operator MediaStreamComponent*):
3562         (WebKit::WebMediaStreamComponent::isEnabled):
3563         (WebKit::WebMediaStreamComponent::source):
3564         * src/WebMediaStreamDescriptor.cpp:
3565         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
3566         (WebKit):
3567         (WebKit::WebMediaStreamDescriptor::audioSources):
3568         (WebKit::WebMediaStreamDescriptor::videoSources):
3569         * src/WebMediaStreamSourcesRequest.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3570         (WebKit):
3571         (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
3572         (WebKit::WebMediaStreamSourcesRequest::reset):
3573         (WebKit::WebMediaStreamSourcesRequest::audio):
3574         (WebKit::WebMediaStreamSourcesRequest::video):
3575         (WebKit::WebMediaStreamSourcesRequest::didCompleteQuery):
3576
3577 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
3578
3579         Unreviewed.  Rolled DEPS.
3580
3581         * DEPS:
3582
3583 2012-02-02  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
3584
3585         Update enum name for HitTestRequest::RequestType
3586         https://bugs.webkit.org/show_bug.cgi?id=77620
3587
3588         Reviewed by Kenneth Rohde Christiansen.
3589
3590         * src/WebFrameImpl.cpp:
3591         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
3592
3593 2012-02-02  Kinuko Yasuda  <kinuko@chromium.org>
3594
3595         Cleanup: Move chrome-specific filesystem type handling code (for FileSystem API) under chromium directory (re-landing r105395)
3596         https://bugs.webkit.org/show_bug.cgi?id=76551
3597
3598         * src/AssertMatchingEnums.cpp: Removed the matching assertion for AsyncFileSystem::External (as now we directly use WebFileSystem::TypeExternal).
3599         * src/AsyncFileSystemChromium.cpp:
3600         (WebCore::AsyncFileSystem::crackFileSystemURL): Added.
3601         (WebCore::AsyncFileSystem::isValidType): Added.
3602         (WebCore::AsyncFileSystemChromium::toURL): Added.
3603         * src/AsyncFileSystemChromium.h:
3604         (AsyncFileSystemChromium):
3605         * src/WorkerAsyncFileSystemChromium.cpp: Made this subclass of AsyncFileSystemChromium (rather than that of AsyncFileSystem)
3606         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
3607         * src/WorkerAsyncFileSystemChromium.h:
3608         (WorkerAsyncFileSystemChromium):
3609
3610 2012-02-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3611
3612         Avoid creating NamedNodeMap unnecessarily
3613         https://bugs.webkit.org/show_bug.cgi?id=77574
3614
3615         Reviewed by Ryosuke Niwa.
3616
3617         * src/WebPageSerializerImpl.cpp:
3618         (WebKit::WebPageSerializerImpl::openTagToString): use updatedAttributes().
3619
3620 2012-02-01  Justin Novosad  <junov@chromium.org>
3621
3622         [Chromium] Enable deferred canvas rendering in the skia port
3623         https://bugs.webkit.org/show_bug.cgi?id=76732
3624
3625         Reviewed by Stephen White.
3626
3627         Adding a new setting for enabling deferred 2d canvas rendering
3628
3629         * public/WebSettings.h:
3630         * src/WebSettingsImpl.cpp:
3631         (WebKit::WebSettingsImpl::setDeferred2dCanvasEnabled):
3632         (WebKit):
3633         * src/WebSettingsImpl.h:
3634         (WebSettingsImpl):
3635
3636 2012-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
3637
3638         Unreviewed, rolling out r106382.
3639         http://trac.webkit.org/changeset/106382
3640         https://bugs.webkit.org/show_bug.cgi?id=77571
3641
3642         Causing chromium crashes in PNGImageDecoder (Requested by
3643         japhet on #webkit).
3644
3645         * public/platform/WebKitPlatformSupport.h:
3646         (WebKitPlatformSupport):
3647         (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
3648         (WebKit::WebKitPlatformSupport::traceEventBegin):
3649         (WebKit::WebKitPlatformSupport::traceEventEnd):
3650         * src/PlatformSupport.cpp:
3651         (WebCore::PlatformSupport::isTraceEventEnabled):
3652         (WebCore):
3653         (WebCore::PlatformSupport::traceEventBegin):
3654         (WebCore::PlatformSupport::traceEventEnd):
3655
3656 2012-02-01  Dirk Pranke  <dpranke@chromium.org>
3657
3658         TestWebKitAPI isn't being built on chromium bots any more
3659         https://bugs.webkit.org/show_bug.cgi?id=77563
3660
3661         Reviewed by Dimitri Glazkov.
3662
3663         I accidentally dropped it in the refactoring in r105449.
3664
3665         * All.gyp:
3666
3667 2012-02-01  Hans Wennborg  <hans@chromium.org>
3668
3669         Rename WebSpeechInputResult::set() to assign()
3670         https://bugs.webkit.org/show_bug.cgi?id=77540
3671
3672         Reviewed by Darin Fisher.
3673
3674         It was suggested in a previous code review
3675         (https://bugs.webkit.org/show_bug.cgi?id=77083#c5)
3676         that this function should be called assign().
3677
3678         * public/WebSpeechInputResult.h:
3679         (WebSpeechInputResult):
3680         (WebKit::WebSpeechInputResult::set):
3681         * src/WebSpeechInputResult.cpp:
3682         (WebKit::WebSpeechInputResult::assign):
3683
3684 2012-02-01  Kent Tamura  <tkent@chromium.org>
3685
3686         [Chromium] Disable WebFrameTest.FindInPage
3687         https://bugs.webkit.org/show_bug.cgi?id=77186
3688
3689         Disable it because PlatformContextSkiaTest.trackOpaqueOvalTest has
3690         been failing since FindInPage test was committed.
3691
3692         * tests/WebFrameTest.cpp:
3693         (WebKit::TEST_F):
3694
3695 2012-01-31  Ami Fischman  <fischman@chromium.org>
3696
3697         [chromium] enable -Wexit-time-destructors for webkit unit tests
3698         https://bugs.webkit.org/show_bug.cgi?id=77300
3699         Fix the only extant violation (verified by building webkit_unit_tests in static build).
3700
3701         Reviewed by Tony Chang.
3702
3703         * WebKitUnitTests.gyp:
3704         * tests/FrameTestHelpers.cpp:
3705         (WebKit::FrameTestHelpers::defaultWebFrameClient):
3706         (WebKit::FrameTestHelpers::defaultWebViewClient):
3707
3708 2012-01-31  Nico Weber  <thakis@chromium.org>
3709
3710         [chromium] Expose windowResizerRectChanged() on WebWidget.
3711         https://bugs.webkit.org/show_bug.cgi?id=77453
3712
3713         Needed for http://crbug.com/111266
3714
3715         Reviewed by Darin Fisher.
3716
3717         * public/WebWidget.h:
3718         (WebWidget):
3719         (WebKit::WebWidget::didChangeWindowResizerRect):
3720         * src/WebViewImpl.cpp:
3721         (WebKit::WebViewImpl::didChangeWindowResizerRect):
3722         (WebKit):
3723         * src/WebViewImpl.h:
3724         (WebViewImpl):
3725
3726 2012-01-31  Nat Duca  <nduca@chromium.org>
3727
3728         [chromium] Import PaintAggregator
3729         https://bugs.webkit.org/show_bug.cgi?id=53715
3730
3731         Reviewed by Darin Fisher.
3732
3733         * WebKit.gyp:
3734         * WebKit.gypi:
3735         * src/painting/PaintAggregator.cpp: Added.
3736         (WebKit::calculateArea):
3737         (WebKit::subtractIntersection):
3738         (WebKit::sharesEdge):
3739         (WebKit::PaintAggregator::PendingUpdate::PendingUpdate):
3740         (WebKit::PaintAggregator::PendingUpdate::~PendingUpdate):
3741         (WebKit::PaintAggregator::PendingUpdate::calculateScrollDamage):
3742         (WebKit::PaintAggregator::PendingUpdate::calculatePaintBounds):
3743         (WebKit::PaintAggregator::hasPendingUpdate):
3744         (WebKit::PaintAggregator::clearPendingUpdate):
3745         (WebKit::PaintAggregator::popPendingUpdate):
3746         (WebKit::PaintAggregator::invalidateRect):
3747         (WebKit::PaintAggregator::scrollRect):
3748         (WebKit::PaintAggregator::scrollPaintRect):
3749         (WebKit::PaintAggregator::shouldInvalidateScrollRect):
3750         (WebKit::PaintAggregator::invalidateScrollRect):
3751         (WebKit::PaintAggregator::combinePaintRects):
3752         * src/painting/PaintAggregator.h: Added.
3753         * tests/PaintAggregatorTest.cpp: Added.
3754         (WebKit::TEST):
3755
3756 2012-01-31  Fady Samuel  <fsamuel@chromium.org>
3757
3758         [Chromium] ChromeClientImpl::dispatchViewportPropertiesDidChange is repeatedly called in Google News
3759         https://bugs.webkit.org/show_bug.cgi?id=77429
3760
3761         Reviewed by Darin Fisher.
3762
3763         m_webView->isPageScaleFactorSet() is tested in ChromeClientImpl::layoutUpdated, and it is never true, 
3764         because WebViewImpl::setPageScaleFactorPreservingScrollOffset is called repeatedly and exits early 
3765         and thus never calls WebViewImpl::setPageScaleFactor which sets the flag.
3766         
3767         The simplest solution is to simply get rid of the early return in 
3768         WebViewImpl::setPageScaleFactorPreservingScrollOffset.
3769
3770         * src/WebViewImpl.cpp:
3771         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
3772
3773 2012-01-31  Fady Samuel  <fsamuel@chromium.org>
3774
3775         [Chromium] Expose setLayoutFallbackWidth as a WebSetting
3776         https://bugs.webkit.org/show_bug.cgi?id=77431
3777
3778         Reviewed by Darin Fisher.
3779
3780         The layout fallback width is the default fixed layout width
3781         set for desktop web pages that lack a viewport tag. This width
3782         can vary from platform to platform and can depend on other factors,
3783         and so it should be a setting exposed to Chromium.
3784
3785         * public/WebSettings.h:
3786         ():
3787         * src/WebSettingsImpl.cpp:
3788         (WebKit::WebSettingsImpl::setLayoutFallbackWidth):
3789         (WebKit):
3790         * src/WebSettingsImpl.h:
3791         (WebSettingsImpl):
3792
3793 2012-01-31  Dana Jansens  <danakj@chromium.org>
3794
3795         [chromium] Compute occlusion during paint loop
3796         https://bugs.webkit.org/show_bug.cgi?id=76858
3797
3798         Reviewed by James Robinson.
3799
3800         * tests/CCLayerTreeHostCommonTest.cpp:
3801         (WebCore::TEST):
3802         (WebCore):
3803         * tests/CCLayerTreeHostTest.cpp:
3804         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
3805         (WTF):
3806         (TestLayerChromium):
3807         (WTF::TestLayerChromium::create):
3808         (WTF::TestLayerChromium::paintContentsIfDirty):
3809         (WTF::TestLayerChromium::drawsContent):
3810         (WTF::TestLayerChromium::occludedScreenSpace):
3811         (WTF::TestLayerChromium::clearOccludedScreenSpace):
3812         (WTF::TestLayerChromium::TestLayerChromium):
3813         (WTF::setLayerPropertiesForTesting):
3814         (CCLayerTreeHostTestLayerOcclusion):
3815         (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
3816         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
3817         (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
3818         * tests/Canvas2DLayerChromiumTest.cpp:
3819         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3820         * tests/TiledLayerChromiumTest.cpp:
3821         (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
3822         (FakeLayerTextureUpdater):
3823         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
3824         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
3825         (WTF::TEST):
3826         (WTF):
3827
3828 2012-01-31  John Bates  <jbates@google.com>
3829
3830         [Chromium] Add chromium-style tracing support
3831         https://bugs.webkit.org/show_bug.cgi?id=76885
3832
3833         Reviewed by Darin Fisher.
3834
3835         This code enables WebKit trace events to pass through more data to the
3836         chromium platform tracing API and generally to use the full tracing
3837         API provided by chromium.
3838
3839         * public/platform/WebKitPlatformSupport.h:
3840         (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
3841         (WebKit::WebKitPlatformSupport::addTraceEvent):
3842         * src/PlatformSupport.cpp:
3843         (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
3844         (WebCore::PlatformSupport::addTraceEvent):
3845
3846 2012-01-31  Antoine Labour  <piman@chromium.org>
3847
3848         Add back temporarily WebKitPlatformSupport::createGraphicsContext3D() to fix build
3849         https://bugs.webkit.org/show_bug.cgi?id=77467
3850
3851         Rubber-stamped by Nate Chapin <japhet@chromium.org>.
3852
3853         * public/platform/WebKitPlatformSupport.h:
3854         (WebKitPlatformSupport):
3855         (WebKit::WebKitPlatformSupport::createGraphicsContext3D):
3856
3857 2012-01-31  Antoine Labour  <piman@chromium.org>
3858
3859         Merge WebGraphicsContext3D creation and initialization, and move it to
3860         WebViewClient.
3861         https://bugs.webkit.org/show_bug.cgi?id=76593
3862
3863         Reviewed by Darin Fisher.
3864
3865         * public/WebViewClient.h:
3866         (WebKit::WebViewClient::createGraphicsContext3D):
3867         * public/platform/WebGraphicsContext3D.h:
3868         (WebKit::WebGraphicsContext3D::initialize):
3869         * public/platform/WebKitPlatformSupport.h:
3870         * src/GraphicsContext3DChromium.cpp:
3871
3872 2012-01-26  Hans Wennborg  <hans@chromium.org>
3873
3874         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
3875         https://bugs.webkit.org/show_bug.cgi?id=77083
3876
3877         Reviewed by Darin Fisher.
3878
3879         Remove the WebSpeechInputControllerMock interface and proxy
3880         implementation. The mock is moving to the DumpRenderTree
3881         implementation instead, which removes the need to expose this
3882         interface in the WebKit API.
3883
3884         Also add a proper copy constructor for WebSpeechInputResult.
3885         The default one doesn't do a proper copy.
3886
3887         * WebKit.gyp:
3888         * public/WebSpeechInputControllerMock.h: Removed.
3889         * public/WebSpeechInputResult.h:
3890         (WebKit::WebSpeechInputResult::WebSpeechInputResult):
3891         (WebSpeechInputResult):
3892         * src/WebSpeechInputControllerMockImpl.cpp: Removed.
3893         * src/WebSpeechInputControllerMockImpl.h: Removed.
3894         * src/WebSpeechInputResult.cpp:
3895         (WebKit::WebSpeechInputResult::set):
3896         (WebKit):
3897
3898 2012-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
3899
3900         Unreviewed.  Rolled DEPS.
3901
3902         * DEPS:
3903
3904 2012-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
3905
3906         Unreviewed, rolling out r106324.
3907         http://trac.webkit.org/changeset/106324
3908         https://bugs.webkit.org/show_bug.cgi?id=77406
3909
3910         Broke CCLayerTreeHostTestLayerOcclusion.runMultiThread and
3911         runSingleThread (Requested by yuzo1 on #webkit).
3912
3913         * tests/CCLayerTreeHostCommonTest.cpp:
3914         (WebCore):
3915         * tests/CCLayerTreeHostTest.cpp:
3916         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
3917         * tests/Canvas2DLayerChromiumTest.cpp:
3918         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3919         * tests/TiledLayerChromiumTest.cpp:
3920         (FakeLayerTextureUpdater):
3921         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
3922         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
3923
3924 2012-01-30  Dana Jansens  <danakj@chromium.org>
3925
3926         [chromium] Compute occlusion during paint loop
3927         https://bugs.webkit.org/show_bug.cgi?id=76858
3928
3929         Reviewed by James Robinson.
3930
3931         * tests/CCLayerTreeHostCommonTest.cpp:
3932         (WebCore::TEST):
3933         (WebCore):
3934         * tests/CCLayerTreeHostTest.cpp:
3935         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
3936         (WTF):
3937         (TestLayerChromium):
3938         (WTF::TestLayerChromium::create):
3939         (WTF::TestLayerChromium::paintContentsIfDirty):
3940         (WTF::TestLayerChromium::drawsContent):
3941         (WTF::TestLayerChromium::occludedScreenSpace):
3942         (WTF::TestLayerChromium::clearOccludedScreenSpace):
3943         (WTF::TestLayerChromium::TestLayerChromium):
3944         (WTF::setLayerPropertiesForTesting):
3945         (CCLayerTreeHostTestLayerOcclusion):
3946         (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
3947         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
3948         (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
3949         * tests/Canvas2DLayerChromiumTest.cpp:
3950         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3951         * tests/TiledLayerChromiumTest.cpp:
3952         (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
3953         (FakeLayerTextureUpdater):
3954         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
3955         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
3956         (WTF::TEST):
3957         (WTF):
3958
3959 2012-01-30  Gregg Tavares  <gman@google.com>
3960
3961         Add Plumming to get graphics error messages to JS Console
3962         https://bugs.webkit.org/show_bug.cgi?id=77238
3963
3964         Reviewed by Kenneth Russell.
3965
3966         * public/platform/WebGraphicsContext3D.h:
3967         (WebGraphicsErrorMessageCallback):
3968         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
3969         (WebGraphicsContext3D):
3970         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
3971         * src/GraphicsContext3DChromium.cpp:
3972         (WebCore::GraphicsContext3D::~GraphicsContext3D):
3973         (WebCore):
3974         (GraphicsErrorMessageCallbackAdapter):
3975         (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
3976         (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
3977         (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
3978         (WebCore::GraphicsErrorMessageCallbackAdapter::create):
3979         (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
3980         * src/GraphicsContext3DPrivate.h:
3981         (WebCore):
3982         ():
3983
3984 2012-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
3985
3986         Unreviewed, rolling out r106259.
3987         http://trac.webkit.org/changeset/106259
3988         https://bugs.webkit.org/show_bug.cgi?id=77395
3989
3990         Breaks shared builders as they also build webkittests with
3991         -Wexit-time-destructors. (Requested by leviw on #webkit).
3992
3993         * WebKitUnitTests.gyp:
3994
3995 2012-01-30  Dana Jansens  <danakj@chromium.org>
3996
3997         [chromium] Use region reported painted opaque for draw culling
3998         https://bugs.webkit.org/show_bug.cgi?id=76015
3999
4000         Reviewed by James Robinson.
4001
4002         * tests/CCLayerTreeHostImplTest.cpp:
4003         (WebKit::BlendStateCheckLayer::appendQuads):
4004         (WebKit::BlendStateCheckLayer::setOpaqueColor):
4005         (BlendStateCheckLayer):
4006         (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
4007         (WebKit::TEST_F):
4008         * tests/CCQuadCullerTest.cpp:
4009         (WebCore::MakeTileQuad):
4010         (WebCore::setQuads):
4011         (WebCore::TEST):
4012         (WebCore):
4013         * tests/CCTiledLayerImplTest.cpp:
4014         (CCLayerTestCommon::createLayer):
4015         (CCLayerTestCommon::TEST):
4016         (CCLayerTestCommon::getQuads):
4017         (CCLayerTestCommon::coverageVisibleRectOnTileBoundaries):
4018         (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
4019         (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
4020         (CCLayerTestCommon):
4021
4022 2012-01-30  Adrienne Walker  <enne@google.com>
4023
4024         [chromium] Always pre-reserve scrollbar and scroll corner textures
4025         https://bugs.webkit.org/show_bug.cgi?id=77251
4026
4027         Reviewed by James Robinson.
4028
4029         * src/NonCompositedContentHost.cpp:
4030         (WebKit::reserveScrollbarLayers):
4031         (WebKit):
4032         (WebKit::NonCompositedContentHost::setViewport):
4033
4034 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
4035
4036         Roll Chromium DEPS from 119623 to 119700.
4037
4038         * DEPS:
4039
4040 2012-01-30  Beth Dakin  <bdakin@apple.com>
4041
4042         https://bugs.webkit.org/show_bug.cgi?id=77263
4043         PlatformScreenMac should not rely on NSWindow for important bits of data
4044
4045         Reviewed by Geoff Garen.
4046
4047         These two functions now take a FrameView instead of a Widget.
4048         * src/PlatformSupport.cpp:
4049         (WebCore::PlatformSupport::screenRect):
4050         (WebCore::PlatformSupport::screenAvailableRect):
4051
4052 2012-01-30  Ami Fischman  <fischman@chromium.org>
4053
4054         [chromium] enable -Wexit-time-destructors for webkit unit tests
4055         https://bugs.webkit.org/show_bug.cgi?id=77300
4056
4057         Reviewed by Tony Chang.
4058
4059         * WebKitUnitTests.gyp: Enable clang check for exit time destructors.
4060
4061 2012-01-30  Tommy Widenflycht  <tommyw@google.com>
4062
4063         [chromium] MediaStream API: Fix a few memory leaks
4064         https://bugs.webkit.org/show_bug.cgi?id=77334
4065
4066         Reviewed by Darin Fisher.
4067
4068         It seems that either the behaviour of WebPrivatePtr has changed or I misunderstood
4069         something, but I fixed a memory leak in WebMediaStreamDescriptor and safeguarded
4070         WebMediaStreamSource.
4071
4072         * public/platform/WebMediaStreamDescriptor.h:
4073         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
4074         * public/platform/WebMediaStreamSource.h:
4075         (WebKit::WebMediaStreamSource::WebMediaStreamSource):
4076         (WebKit::WebMediaStreamSource::operator=):
4077         (WebMediaStreamSource):
4078         * src/WebMediaStreamDescriptor.cpp:
4079         (WebKit::WebMediaStreamDescriptor::assign):
4080         * src/WebMediaStreamSource.cpp:
4081         (WebKit::WebMediaStreamSource::assign):
4082         (WebKit):
4083
4084 2012-01-30  Jochen Eisinger  <jochen@chromium.org>
4085
4086         [chromium] remove exit time destructors from TextureManagerTest
4087         https://bugs.webkit.org/show_bug.cgi?id=77333
4088
4089         Reviewed by Tony Gentilcore.
4090
4091         Non-trivial, global objects require an at-exit time destructor which add
4092         unnecessary complexity and delays to shutdown.
4093
4094         * tests/FakeCCLayerTreeHostClient.h: added newline at EOF
4095         * tests/TextureManagerTest.cpp:
4096         (WTF::FakeTextureAllocator::~FakeTextureAllocator):
4097         (TextureManagerTest):
4098         (WTF::TextureManagerTest::TextureManagerTest):
4099         (WTF::TextureManagerTest::~TextureManagerTest):
4100         (WTF::TextureManagerTest::texturesMemorySize):
4101         (WTF::TextureManagerTest::createTextureManager):
4102         (WTF::TextureManagerTest::requestTexture):
4103         (WTF::TEST_F):
4104
4105 2012-01-30  Hans Wennborg  <hans@chromium.org>
4106
4107         Unreviewed, rolling out r106219.
4108         http://trac.webkit.org/changeset/106219
4109         https://bugs.webkit.org/show_bug.cgi?id=77083
4110
4111         This broke Chromium's test_shell.
4112
4113         * WebKit.gyp:
4114         * public/WebSpeechInputControllerMock.h: Added.
4115         (WebKit):
4116         (WebSpeechInputControllerMock):
4117         (WebKit::WebSpeechInputControllerMock::~WebSpeechInputControllerMock):
4118         * public/WebSpeechInputResult.h:
4119         (WebSpeechInputResult):
4120         * src/WebSpeechInputControllerMockImpl.cpp: Added.
4121         (WebKit):
4122         (WebKit::WebSpeechInputControllerMock::create):
4123         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
4124         (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl):
4125         (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult):
4126         (WebKit::WebSpeechInputControllerMockImpl::clearResults):
4127         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
4128         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
4129         (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
4130         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
4131         (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
4132         (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
4133         * src/WebSpeechInputControllerMockImpl.h: Added.
4134         (WebCore):
4135         (WebKit):
4136         (WebSpeechInputControllerMockImpl):
4137         * src/WebSpeechInputResult.cpp:
4138
4139 2012-01-26  Hans Wennborg  <hans@chromium.org>
4140
4141         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
4142         https://bugs.webkit.org/show_bug.cgi?id=77083
4143
4144         Reviewed by Darin Fisher.
4145
4146         Remove the WebSpeechInputC