NRWT lies about the number of tests that it's skipping when used with --repeat-each
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-09-05  James Robinson  <jamesr@chromium.org>
2
3         [chromium] Test WebSolidColorLayer in WebLayerTest.Client unit test
4         https://bugs.webkit.org/show_bug.cgi?id=95819
5
6         Reviewed by Adam Barth.
7
8         This unit test doesn't do all that much, but it does verify that WebSolidColorLayer doesn't completely explode
9         upon use and also makes sure that the WebSolidColorLayer::create() symbol is referenced and not dropped from
10         webkit.dll in the component build.
11
12         * tests/WebLayerTest.cpp:
13
14 2012-09-05  Victoria Kirst  <vrk@chromium.org>
15
16         Add the duration attribute to MediaSource
17         https://bugs.webkit.org/show_bug.cgi?id=95149
18
19         Reviewed by Eric Carlson.
20
21         Add support for the duration attribute recently added to the MediaSource spec.
22         http://dev.w3.org/html5/spec/media-elements.html#dom-media-duration
23
24         * public/WebMediaPlayer.h:
25         (WebKit::WebMediaPlayer::sourceSetDuration): Add empty definition.
26         * src/WebMediaPlayerClientImpl.cpp:
27         (WebKit::WebMediaPlayerClientImpl::sourceSetDuration): Forward call to m_webMediaPlayer.
28         (WebKit):
29         * src/WebMediaPlayerClientImpl.h:
30         (WebMediaPlayerClientImpl):
31
32 2012-09-05  Mihai Parparita  <mihaip@chromium.org>
33
34         [Chromium] history.{push,replace}State should no longer be V8EnabledAtRuntime
35         https://bugs.webkit.org/show_bug.cgi?id=95865
36
37         Reviewed by Darin Fisher.
38
39         Make WebRuntimeFeatures::{enablePushState,isPushStateEnabled} into
40         no-ops.
41
42         * public/WebRuntimeFeatures.h:
43         (WebRuntimeFeatures):
44         * src/WebRuntimeFeatures.cpp:
45         (WebKit::WebRuntimeFeatures::enablePushState):
46         (WebKit::WebRuntimeFeatures::isPushStateEnabled):
47
48 2012-09-05  Mark Pilgrim  <pilgrim@chromium.org>
49
50         [Chromium] Remove getRenderStyleForStrike from PlatformSupport
51         https://bugs.webkit.org/show_bug.cgi?id=95363
52
53         Reviewed by Adam Barth.
54
55         Part of a refactoring series. See tracking bug 82948.
56
57         * public/linux/WebFontInfo.h:
58         * public/linux/WebFontRenderStyle.h:
59         * src/PlatformSupport.cpp:
60         (WebCore):
61
62 2012-09-05  Ilya Tikhonovsky  <loislo@chromium.org>
63
64         Unreviewed: WebInspector: remove accidentally committed speed test.
65
66         * tests/MemoryInstrumentationTest.cpp:
67
68 2012-09-05  Sami Kyostila  <skyostil@chromium.org>
69
70         [chromium] Wire up scrollable sublayers in ScrollingCoordinatorChromium
71         https://bugs.webkit.org/show_bug.cgi?id=95679
72
73         Reviewed by James Robinson.
74
75         Introduce WebLayerScrollClient for getting notified about scroll events targeting a WebLayer.
76
77         * src/WebLayerImpl.cpp:
78         (WebKit::WebLayerImpl::setMaxScrollPosition):
79         (WebKit):
80         (WebKit::WebLayerImpl::setScrollClient):
81         (WebKit::WebLayerImpl::scrollBy):
82         * src/WebLayerImpl.h:
83         (WebLayerImpl):
84         * tests/CCLayerTreeHostTest.cpp:
85         * tests/GraphicsLayerChromiumTest.cpp:
86         (MockScrollableArea):
87         (WebKit):
88         (WebKit::TEST_F):
89         * tests/WebLayerTest.cpp:
90
91 2012-09-05  Ilya Tikhonovsky  <loislo@chromium.org>
92
93         Web Inspector: NMI: extract MemoryObjectType constants from MemoryInstrumentation.
94         https://bugs.webkit.org/show_bug.cgi?id=95850
95
96         Reviewed by Yury Semikhatsky.
97
98         I'd like to extract MemoryObjectTypes into separate classes.
99         After that we will be able to move core NMI instrumentation code to WTF.
100
101         * tests/MemoryInstrumentationTest.cpp:
102         (WebCore::Instrumented::reportMemoryUsage):
103         (WebCore::InstrumentedRefPtr::reportMemoryUsage):
104         (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
105         (WebCore::InstrumentedOther::reportMemoryUsage):
106         (WebCore::InstrumentedDOM::reportMemoryUsage):
107         (WebCore::TEST):
108         (WebCore::NonVirtualInstrumented::reportMemoryUsage):
109
110 2012-09-05  Peter Beverloo  <peter@chromium.org>
111
112         Unreviewed, rolling out r127590.
113         http://trac.webkit.org/changeset/127590
114
115         Broke the Chromium bots because of a compile error in the compositor.
116
117         * DEPS:
118
119 2012-09-05  Peter Beverloo  <peter@chromium.org>
120
121         Unreviewed.  Rolled DEPS.
122
123         * DEPS:
124
125 2012-09-04  Ilya Tikhonovsky  <loislo@chromium.org>
126
127         Web Inspector: NMI: replace ObjectType enum with static const char* string identifiers.
128         https://bugs.webkit.org/show_bug.cgi?id=95739
129
130         Reviewed by Yury Semikhatsky.
131
132         When we go deeper into different parts of browser like skia, chromium itself etc.
133         we can't use a single enum for all reported object types.
134         The current idea is to use plain simple strings as ObjectType identifiers.
135         In the future patches we will extract these identifiers into separate class or namespace
136         and and split it between components.
137
138         * tests/MemoryInstrumentationTest.cpp:
139         (WebCore::TEST):
140         (WebCore):
141
142 2012-09-04  Keishi Hattori  <keishi@webkit.org>
143
144         Move PagePopupClient implementation for input[type=date] to Chromium WebKit layer
145         https://bugs.webkit.org/show_bug.cgi?id=95681
146
147         Reviewed by Kent Tamura.
148
149         * WebKit.gyp:
150         * src/ChromeClientImpl.cpp:
151         (WebKit):
152         (WebKit::ChromeClientImpl::openDateTimeChooser):
153         * src/ChromeClientImpl.h:
154         (WebCore):
155         (ChromeClientImpl):
156         * src/DateTimeChooserImpl.cpp: Added.
157         (WebKit):
158         (WebKit::DateTimeChooserImpl::DateTimeChooserImpl):
159         (WebKit::DateTimeChooserImpl::~DateTimeChooserImpl):
160         (WebKit::DateTimeChooserImpl::endChooser):
161         (WebKit::DateTimeChooserImpl::contentSize):
162         (WebKit::DateTimeChooserImpl::writeDocument):
163         (WebKit::DateTimeChooserImpl::setValueAndClosePopup):
164         (WebKit::DateTimeChooserImpl::didClosePopup):
165         * src/DateTimeChooserImpl.h:
166         (WebCore):
167         (WebKit):
168         (DateTimeChooserImpl):
169
170 2012-09-04  Adam Barth  <abarth@chromium.org>
171
172         Make chromium-linux build without WTF_DEPRECATED_STRING_OPERATORS
173         https://bugs.webkit.org/show_bug.cgi?id=95798
174
175         Reviewed by Eric Seidel.
176
177         * src/WebAccessibilityObject.cpp:
178         (WebKit::WebAccessibilityObject::keyboardShortcut):
179           - Remove use of WTF::String::operator+=
180         * src/WebPageSerializerImpl.cpp:
181           - Whitelist use of WTF::String::operator+=. Remove this use will take
182             some more careful thought.
183
184 2012-09-04  Alec Flett  <alecflett@chromium.org>
185
186         IndexedDB: remove final createIndex backend glue
187         https://bugs.webkit.org/show_bug.cgi?id=95385
188
189         Reviewed by Adam Barth.
190
191         Remove chromium glue for old key-generation code.
192
193         * public/WebIDBKey.h:
194         (WebIDBKey):
195         * src/WebIDBKey.cpp:
196
197 2012-09-04  Tien-Ren Chen  <trchen@chromium.org>
198
199         [chromium] Rename WebViewClient::handleDisambiguationPopup
200         https://bugs.webkit.org/show_bug.cgi?id=95529
201
202         Reviewed by Adam Barth.
203
204         Rename it to something more descriptive (WebViewClient::didTapMultipleTargets) before people start using it.
205
206         * public/WebViewClient.h:
207         (WebKit::WebViewClient::didTapMultipleTargets):
208         * src/WebViewImpl.cpp:
209         (WebKit::WebViewImpl::handleGestureEvent):
210         * tests/WebFrameTest.cpp:
211
212 2012-09-03  Tao Bai  <michaelbai@chromium.org>
213
214         Added ANDROID_GDBSERVER definition for Ant
215         https://bugs.webkit.org/show_bug.cgi?id=95265
216
217         Reviewed by Adam Barth.
218
219         ANDROID_GDBSERVER will replace ANDROID_TOOLCHAIN, because the ANDROID_TOOLCHAIN
220         is only used for finding the gdbserver.
221
222         * WebKitUnitTests.gyp:
223
224 2012-09-03  Peter Beverloo  <peter@chromium.org>
225
226         Unreviewed.  Rolled DEPS.
227
228         * DEPS:
229
230 2012-09-03  Tommy Widenflycht  <tommyw@google.com>
231
232         MediaStream API: Add Ice-related functionality to RTCPeerConnection
233         https://bugs.webkit.org/show_bug.cgi?id=95565
234
235         Reviewed by Adam Barth.
236
237         * src/AssertMatchingEnums.cpp:
238
239 2012-09-01  James Robinson  <jamesr@chromium.org>
240
241         Unreviewed chromium buildfix when use_libcc_for_compositor=1
242
243         This gyp target was renamed downstream.
244
245         * WebKit.gyp:
246
247 2012-09-01  Tommy Widenflycht  <tommyw@google.com>
248
249         MediaStream API: Add MediaStream management to RTCPeerConnection
250         https://bugs.webkit.org/show_bug.cgi?id=95543
251
252         Reviewed by Adam Barth.
253
254         * src/AssertMatchingEnums.cpp:
255
256 2012-08-31  Koji Ishii  <kojiishi@gmail.com>
257
258         Glyphs in vertical text tests are rotated 90 degrees clockwise on Chromium Windows
259         https://bugs.webkit.org/show_bug.cgi?id=51450
260
261         Reviewed by Tony Chang.
262
263         When writing-mode is vertical-*, Chromium Win does not render glyphs correctly.
264         http://dev.w3.org/csswg/css3-writing-modes/#writing-mode
265         Glyphs are now drawn in the correct orientation, regardless of the leading '@' in the font name,
266         and vertical alternate glyphs (OpenType 'vert' feature) is not enabled.
267         CJK characters drawn at wrong baseline position is also fixed.
268         In addition, fontMetrics().unitsPerEm() and SimpleFontData::platformBoundsForGlyph() were empty
269         in Chromium Win but they were implemented because they were needed to draw vertical flow correctly.
270
271         Note that this patch does not address issues in vertical flow for complex code path.
272         The issue is under discussion with Google people and it will not be fixed in short term.
273
274         Existing tests in fast/writing-mode/* are enabled in LayoutTests/platform/chromium/TestExpectations.
275
276         * features.gypi: ENABLE_OPENTYPE_VERTICAL=1.
277
278 2012-08-31  W. James MacLean  <wjmaclean@chromium.org>
279
280         [chromium] Make link highlighter use same node selection criteria as Chromium for Android.
281         https://bugs.webkit.org/show_bug.cgi?id=95371
282
283         Reviewed by James Robinson.
284
285         This CL brings the selection criteria for link highlight targets into alignment with Chromium for Android.
286
287         * src/WebViewImpl.cpp:
288         (WebKit::highlightConditions):
289         (WebKit::WebViewImpl::bestTouchLinkNode):
290         * tests/data/test_touch_link_highlight.html:
291
292 2012-08-31  James Robinson  <jamesr@chromium.org>
293
294         [chromium] Consolidate geometry unit testing functions for cc
295         https://bugs.webkit.org/show_bug.cgi?id=95526
296
297         Reviewed by Julien Chaffraix.
298
299         This consolidates geometry equality (rects, matrices) in CCGeometryUtils and removes a few duplicate macros for
300         testing rect equality.
301
302         * WebKit.gypi:
303         * tests/CCDamageTrackerTest.cpp:
304         (WebKitTests::TEST_F):
305         * tests/CCGeometryTestUtils.cpp: Added.
306         (WebKitTests):
307         (WebKitTests::ExpectTransformationMatrixEq):
308         * tests/CCGeometryTestUtils.h: Renamed from Source/WebKit/chromium/tests/CCLayerTreeTestCommon.h.
309         (WebKit):
310         (WebKitTests):
311         * tests/CCLayerTreeHostTest.cpp:
312         * tests/CCMathUtilTest.cpp:
313         (WebKit::TEST):
314         * tests/TiledLayerChromiumTest.cpp:
315
316 2012-08-31  James Robinson  <jamesr@chromium.org>
317
318         [chromium] Clean up Web*Layer initialization paths
319         https://bugs.webkit.org/show_bug.cgi?id=95523
320
321         Reviewed by Darin Fisher.
322
323         Constructing a Web*LayerImpl (or other compositor type) wrapper shouldn't require knowledge of the underyling
324         implementation. Also normalizes naming conventions in these files.
325
326         * src/WebAnimationImpl.cpp:
327         (WebKit::WebAnimation::create):
328         (WebKit::WebAnimationImpl::WebAnimationImpl):
329         * src/WebAnimationImpl.h:
330         (WebAnimationImpl):
331         * src/WebContentLayerImpl.cpp:
332         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
333         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
334         (WebKit::WebContentLayerImpl::layer):
335         (WebKit::WebContentLayerImpl::setDoubleSided):
336         (WebKit::WebContentLayerImpl::setContentsScale):
337         (WebKit::WebContentLayerImpl::setUseLCDText):
338         (WebKit::WebContentLayerImpl::setDrawCheckerboardForMissingTiles):
339         * src/WebContentLayerImpl.h:
340         (WebContentLayerImpl):
341         * src/WebFloatAnimationCurveImpl.cpp:
342         (WebKit::WebFloatAnimationCurve::create):
343         (WebKit::WebFloatAnimationCurveImpl::WebFloatAnimationCurveImpl):
344         * src/WebFloatAnimationCurveImpl.h:
345         (WebFloatAnimationCurveImpl):
346         * src/WebIOSurfaceLayerImpl.cpp:
347         (WebKit::WebIOSurfaceLayer::create):
348         (WebKit::WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl):
349         * src/WebIOSurfaceLayerImpl.h:
350         (WebIOSurfaceLayerImpl):
351         * src/WebImageLayerImpl.cpp:
352         (WebKit::WebImageLayer::create):
353         (WebKit::WebImageLayerImpl::WebImageLayerImpl):
354         * src/WebImageLayerImpl.h:
355         (WebImageLayerImpl):
356         * src/WebLayerImpl.cpp:
357         (WebKit::WebLayer::create):
358         (WebKit):
359         (WebKit::WebLayerImpl::WebLayerImpl):
360         * src/WebLayerImpl.h:
361         (WebLayerImpl):
362         * src/WebScrollbarLayerImpl.cpp:
363         (WebKit::WebScrollbarLayer::create):
364         (WebKit::WebScrollbarLayerImpl::WebScrollbarLayerImpl):
365         * src/WebScrollbarLayerImpl.h:
366         (WebScrollbarLayerImpl):
367         * src/WebSolidColorLayerImpl.cpp:
368         (WebKit::WebSolidColorLayer::create):
369         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
370         * src/WebSolidColorLayerImpl.h:
371         (WebSolidColorLayerImpl):
372         * src/WebTransformAnimationCurveImpl.cpp:
373         (WebKit::WebTransformAnimationCurve::create):
374         (WebKit::WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl):
375         * src/WebTransformAnimationCurveImpl.h:
376         (WebTransformAnimationCurveImpl):
377         * src/WebVideoLayerImpl.cpp:
378         (WebKit::WebVideoLayer::create):
379         (WebKit::WebVideoLayerImpl::WebVideoLayerImpl):
380         * src/WebVideoLayerImpl.h:
381         (WebVideoLayerImpl):
382
383 2012-08-31  Tony Chang  <tony@chromium.org>
384
385         Remove ENABLE_CSS3_FLEXBOX compile time flag
386         https://bugs.webkit.org/show_bug.cgi?id=95382
387
388         Reviewed by Ojan Vafai.
389
390         Everyone is already enabling this by default and the spec has stablized.
391
392         * features.gypi:
393
394 2012-08-31  Christopher Cameron  <ccameron@chromium.org>
395
396         [chromium] Add main versus impl thread asserts
397         https://bugs.webkit.org/show_bug.cgi?id=95596
398
399         Reviewed by James Robinson.
400
401         Add asserts to prioritized texture manager that specify that a
402         function be called on the main or impl thread.
403
404         Add debug signs that the main thread is blocked to the threaded
405         proxy.
406
407         Add a mechanism to simultaneously set the thread to the impl thread
408         and indicate that the main thread is blocked.
409
410         Update tests that hit asserts in the prioritized texture manager to
411         set their impl thread and main thread blocked state correctly.
412
413         * tests/CCPrioritizedTextureTest.cpp:
414         (WTF::CCPrioritizedTextureTest::CCPrioritizedTextureTest):
415         (WTF::CCPrioritizedTextureTest::~CCPrioritizedTextureTest):
416         (WTF::CCPrioritizedTextureTest::validateTexture):
417         (WTF::TEST_F):
418         * tests/TiledLayerChromiumTest.cpp:
419
420 2012-08-30  James Robinson  <jamesr@chromium.org>
421
422         [chromium] Put compositor client interfaces in separate headers, normalize naming
423         https://bugs.webkit.org/show_bug.cgi?id=95522
424
425         Reviewed by Adam Barth.
426
427         * src/WebContentLayerImpl.cpp:
428         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
429         * src/WebContentLayerImpl.h:
430         (WebContentLayerImpl):
431         * src/WebExternalTextureLayerImpl.h:
432         * src/WebLayerTreeViewImpl.h:
433         (WebCore):
434         * tests/CCLayerTreeHostCommonTest.cpp:
435         * tests/CCLayerTreeHostTest.cpp:
436         (WebKitTests::ContentLayerChromiumWithUpdateTracking::create):
437         (WebKitTests::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
438         (WebKitTests::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers):
439         (WebKitTests::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
440         (WebKitTests::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
441         (WebKitTests::CCLayerTreeHostTestLostContextWhileUpdatingResources::CCLayerTreeHostTestLostContextWhileUpdatingResources):
442         (CCLayerTreeHostTestLostContextWhileUpdatingResources):
443         * tests/ContentLayerChromiumTest.cpp:
444         (WebKit::MockContentLayerChromiumClient::MockContentLayerChromiumClient):
445         (WebKit::TEST):
446
447 2012-08-31  Gavin Peters  <gavinp@chromium.org>
448
449         [chromium] DEPS roll with a test skip.
450         https://bugs.webkit.org/show_bug.cgi?id=95601
451
452         Unreviewed gardening & DEPS roll.
453
454
455         fast/frames/cached-frame-counter.html was never the most stable test, and now it's failing on more platforms. Marking it flaky, along with a DEPS roll (earlier attempts at the DEPS roll failed on this)
456
457         * DEPS:
458
459 2012-08-31  Gavin Peters  <gavinp@chromium.org>
460
461         [chromium] Disable WebViewTest.AutoResizeMinimumSize
462         https://bugs.webkit.org/show_bug.cgi?id=95571
463
464         Unreviewed gardening.
465
466         Disabling this test since it started failing in build 17225, see http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Win/builds/17247 for instance. Will shortly file bug to re-enable this.
467
468         * tests/WebViewTest.cpp:
469
470 2012-08-30  James Robinson  <jamesr@chromium.org>
471
472         [chromium] Revert WebCompositorSupport to raw ptrs, make dtor protected
473         https://bugs.webkit.org/show_bug.cgi?id=95520
474
475         Reviewed by Darin Fisher.
476
477         Adopt the return value of WebCompositorSupport explicitly.
478
479         * src/LinkHighlight.cpp:
480         (WebKit::LinkHighlight::LinkHighlight):
481         (WebKit::LinkHighlight::startHighlightAnimation):
482         * src/WebMediaPlayerClientImpl.cpp:
483         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
484         * src/WebPluginContainerImpl.cpp:
485         (WebKit::WebPluginContainerImpl::setBackingTextureId):
486         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
487
488 2012-08-30  James Robinson  <jamesr@chromium.org>
489
490         [chromium] Make webkit_compositor specific unit test compilation conditional on gyp var
491         https://bugs.webkit.org/show_bug.cgi?id=95401
492
493         Reviewed by Dirk Pranke.
494
495         If use_libcc_for_compositor is set, these tests are being compiled and run elsewhere.
496
497         * WebKit.gyp:
498         * WebKit.gypi:
499         * WebKitUnitTests.gyp:
500
501 2012-08-27  James Robinson  <jamesr@chromium.org>
502
503         [chromium] Add CompositorSupport interface for constructing compositor classes
504         https://bugs.webkit.org/show_bug.cgi?id=95040
505
506         Reviewed by Darin Fisher.
507
508         * src/LinkHighlight.cpp:
509         (WebKit::LinkHighlight::LinkHighlight):
510         (WebKit::LinkHighlight::startHighlightAnimation):
511         * src/WebMediaPlayerClientImpl.cpp:
512         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
513         * src/WebMediaPlayerClientImpl.h:
514         (WebKit):
515         * src/WebPluginContainerImpl.cpp:
516         (WebKit::WebPluginContainerImpl::setBackingTextureId):
517         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
518         * src/WebPluginContainerImpl.h:
519         (WebKit):
520
521 2012-08-30  Gavin Peters  <gavinp@chromium.org>
522
523         [chromium] Disable CCLayerTreeHostTestScrollMultipleRedraw.runMultiThread
524         https://bugs.webkit.org/show_bug.cgi?id=95472
525
526         Unreviewed gardening.
527
528         When landing r127079, this test was re-enabled, and has not passed since. I'm disabling it, and created bug 95473 to track fixing this issue.
529
530         * tests/CCLayerTreeHostTest.cpp:
531         (WebKitTests::TEST_F):
532
533 2012-08-30  James Robinson  <jamesr@chromium.org>
534
535         [chromium] Clean up some webkit compositor unit tests
536         https://bugs.webkit.org/show_bug.cgi?id=95410
537
538         Reviewed by Adrienne Walker.
539
540         This adds includes that were implicitly being picked up, removes ones that weren't being used, removes
541         dead code, adds OVERRIDE on functions that OVERRIDE, and deinlines virtuals that the chromium clang style
542         plugin is unhappy about.
543
544         * tests/CCAnimationTestCommon.cpp:
545         (WebKitTests::FakeFloatAnimationCurve::duration):
546         (WebKitTests):
547         (WebKitTests::FakeFloatAnimationCurve::getValue):
548         (WebKitTests::FakeTransformTransition::duration):
549         (WebKitTests::FakeFloatTransition::duration):
550         (WebKitTests::FakeLayerAnimationControllerClient::id):
551         (WebKitTests::FakeLayerAnimationControllerClient::setOpacityFromAnimation):
552         (WebKitTests::FakeLayerAnimationControllerClient::opacity):
553         (WebKitTests::FakeLayerAnimationControllerClient::setTransformFromAnimation):
554         (WebKitTests::FakeLayerAnimationControllerClient::transform):
555         * tests/CCAnimationTestCommon.h:
556         (FakeFloatAnimationCurve):
557         (FakeTransformTransition):
558         (FakeFloatTransition):
559         (FakeLayerAnimationControllerClient):
560         * tests/CCTiledLayerTestCommon.cpp:
561         (WebKitTests::FakeLayerTextureUpdater::sampledTexelFormat):
562         (WebKitTests):
563         (WebKitTests::FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds):
564         (WebKitTests::FakeTiledLayerChromium::textureManager):
565         (WebKitTests::FakeTiledLayerChromium::textureUpdater):
566         (WebKitTests::FakeTiledLayerWithScaledBounds::contentBounds):
567         (WebKitTests::FakeTextureUploader::isBusy):
568         (WebKitTests::FakeTextureUploader::uploadTexture):
569         * tests/CCTiledLayerTestCommon.h:
570         (FakeLayerTextureUpdater):
571         (FakeTiledLayerChromium):
572         (FakeTiledLayerWithScaledBounds):
573         (FakeTextureUploader):
574         * tests/FakeWebCompositorOutputSurface.h:
575         * tests/TextureCopierTest.cpp:
576         (MockContext):
577         (TEST):
578         * tests/ThrottledTextureUploaderTest.cpp:
579         (WebKit::TEST):
580         * tests/WebLayerTreeViewTest.cpp:
581
582 2012-08-29  Hironori Bono  <hbono@chromium.org>
583
584         Fix Chromium builds (Win and Mac)
585         https://bugs.webkit.org/show_bug.cgi?id=95421
586
587         Reviewed by James Robinson.
588
589         This change replaces 'class WebRect' with 'struct WebRect' to fix build breaks
590         on the "Chromium Mac Release" and the "Chromium Win Release" bot caused by
591         r127095.
592
593         * public/WebViewClient.h:
594         (WebKit):
595
596 2012-08-29  Nat Duca  <nduca@chromium.org>
597
598         [chromium] setNeedsAnimate should not cause commitRequested to become true
599         https://bugs.webkit.org/show_bug.cgi?id=95393
600
601         Reviewed by James Robinson.
602
603         * tests/CCLayerTreeHostTest.cpp:
604         (CCLayerTreeHostTestSetNeedsAnimateShouldNotSetCommitRequested):
605         (CCLayerTreeHostTestSetNeedsAnimateShouldNotSetCommitRequested::CCLayerTreeHostTestSetNeedsAnimateShouldNotSetCommitRequested):
606
607 2012-08-29  Tien-Ren Chen  <trchen@chromium.org>
608
609         [chromium] Implement disambiguation popup (a.k.a. Link Preview)
610         https://bugs.webkit.org/show_bug.cgi?id=94182
611
612         Reviewed by Adam Barth.
613
614         In this new implementation, we add a new WebViewClient::handleDisambiguationPopup delegate.
615         The disambiguation sequence will be initiated by the gesture event handler
616         in WebViewImpl if an ambiguous tap is detected, then
617         m_client->handleDisambiguationPopup will be called, so the embedder can
618         decide whether to swallow the touch event and show a popup.
619
620         New test: WebFrameTest.DisambiguationPopupTest
621
622         * WebKit.gyp:
623         * features.gypi:
624         * public/WebInputEvent.h:
625         (WebGestureEvent):
626         (WebKit::WebGestureEvent::WebGestureEvent):
627         * public/WebTouchCandidatesInfo.h: Removed.
628         * public/WebView.h:
629         (WebKit):
630         * public/WebViewClient.h:
631         (WebKit):
632         (WebViewClient):
633         (WebKit::WebViewClient::triggersLinkPreview):
634         * src/WebInputEvent.cpp:
635         (SameSizeAsWebGestureEvent):
636         * src/WebViewImpl.cpp:
637         (WebKit):
638         (WebKit::WebViewImpl::handleGestureEventWithLinkPreview):
639         (WebKit::WebViewImpl::handleGestureEvent):
640         * src/WebViewImpl.h:
641         (WebViewImpl):
642
643 2012-08-29  Dominic Mazzoni  <dmazzoni@google.com>
644
645         AX: Canvas should have a distinct role
646         https://bugs.webkit.org/show_bug.cgi?id=95248
647
648         Reviewed by Chris Fleizach.
649
650         Add support for canvas accessibility role.
651
652         * public/WebAccessibilityRole.h:
653         * src/AssertMatchingEnums.cpp:
654
655 2012-08-29  Alex Sakhartchouk  <alexst@chromium.org>
656
657         [chromium] CCLayerTreeHost::finishCommitOnImplThread wrong setter order
658         https://bugs.webkit.org/show_bug.cgi?id=94828
659
660         Reviewed by Adrienne Walker.
661
662         Testing that setDeviceScaleFactor properly changes maxScrollPosition
663
664         * tests/CCLayerTreeHostImplTest.cpp:
665
666 2012-08-29  James Robinson  <jamesr@chromium.org>
667
668         Unreviewed, rolling out r126956.
669         http://trac.webkit.org/changeset/126956
670         https://bugs.webkit.org/show_bug.cgi?id=94721
671
672         Breaks several unit tests
673
674         * tests/CCSchedulerTest.cpp:
675         (WebKitTests::FakeCCSchedulerClient::reset):
676         (WebKitTests::FakeCCSchedulerClient::setHasMoreResourceUpdates):
677         (WebKitTests::TEST):
678         * tests/CCTextureUpdateControllerTest.cpp:
679
680 2012-08-29  James Robinson  <jamesr@chromium.org>
681
682         [chromium] Register/unregister contents layers with GraphicsLayerChromium
683         https://bugs.webkit.org/show_bug.cgi?id=95379
684
685         Reviewed by Adrienne Walker.
686
687         * src/WebMediaPlayerClientImpl.cpp:
688         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
689         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
690         * src/WebPluginContainerImpl.cpp:
691         (WebKit::WebPluginContainerImpl::setBackingTextureId):
692         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
693         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
694
695 2012-08-29  W. James MacLean  <wjmaclean@chromium.org>
696
697         [chromium] Add WebSettings support for flag to enable/disable gesture tap highlights.
698         https://bugs.webkit.org/show_bug.cgi?id=95119
699
700         Reviewed by Adam Barth.
701
702         Add support to WebSettings for flag to enable/disable gesture tap highlights. Relies on existing tests.
703
704         * public/WebSettings.h:
705         * src/WebSettingsImpl.cpp:
706         (WebKit::WebSettingsImpl::WebSettingsImpl):
707         (WebKit::WebSettingsImpl::setGestureTapHighlightEnabled):
708         (WebKit):
709         * src/WebSettingsImpl.h:
710         (WebSettingsImpl):
711         (WebKit::WebSettingsImpl::gestureTapHighlightEnabled):
712         * src/WebViewImpl.cpp:
713         (WebKit::WebViewImpl::handleGestureEvent):
714
715 2012-08-29  Dana Jansens  <danakj@chromium.org>
716
717         [chromium] Remove HUD layer when rootLayer is set to null
718         https://bugs.webkit.org/show_bug.cgi?id=95257
719
720         Reviewed by James Robinson.
721
722         * WebKit.gypi:
723         * tests/CCHeadsUpDisplayTest.cpp: Added.
724         (CCHeadsUpDisplayTest):
725         (DrawsContentLayerChromium):
726         (DrawsContentLayerChromium::create):
727         (DrawsContentLayerChromium::DrawsContentLayerChromium):
728         (CCHudWithRootLayerChange):
729         (CCHudWithRootLayerChange::CCHudWithRootLayerChange):
730         (TEST_F):
731         * tests/CCLayerTreeHostTest.cpp:
732         * tests/CCThreadedTest.cpp:
733         (WebKitTests::CCThreadedTest::runTest):
734         * tests/CCThreadedTest.h:
735         (WebKitTests::CCThreadedTest::initializeSettings):
736         (CCThreadedTest):
737
738 2012-08-29  Shawn Singh  <shawnsingh@chromium.org>
739
740         [chromium] Add more unit test coverage for semantics of drawableContentRect and visibleContentRect
741         https://bugs.webkit.org/show_bug.cgi?id=94542
742
743         Reviewed by Adrienne Walker.
744
745         To make upcoming refactors safer, it was appropriate to (finally)
746         add unit tests that check the behavior of drawableContentRect and
747         visibleContentRect computations in calculateDrawTransforms.
748
749         * tests/CCLayerTreeHostCommonTest.cpp:
750
751 2012-08-29  W. James MacLean  <wjmaclean@chromium.org>
752
753         [chromium] Link highlight should clear on page navigation.
754         https://bugs.webkit.org/show_bug.cgi?id=95129
755
756         Reviewed by James Robinson.
757
758         Modified WebViewImpl to clear link highlight when navigating to new url.
759
760         * src/WebViewImpl.cpp:
761         (WebKit::WebViewImpl::didCommitLoad):
762
763 2012-08-29  James Robinson  <jamesr@chromium.org>
764
765         [chromium] CCThreadImpl / WebCompositorImpl shouldn't compile from webkit when use_libcc_for_compositor=1
766         https://bugs.webkit.org/show_bug.cgi?id=94995
767
768         Reviewed by Adam Barth.
769
770         * WebKit.gyp:
771
772 2012-08-28  Shawn Singh  <shawnsingh@chromium.org>
773
774         [chromium] Do not clip root layer's subtree to viewport
775         https://bugs.webkit.org/show_bug.cgi?id=95235
776
777         Reviewed by Adrienne Walker.
778
779         Existing tests updated, and otherwise this change is already
780         covered by layout and unit tests.
781
782         * tests/CCLayerTreeHostCommonTest.cpp:
783         * tests/CCOcclusionTrackerTest.cpp:
784         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
785         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
786         (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
787         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
788         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
789         (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
790         (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
791         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
792         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
793         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
794
795 2012-08-29  Julien Chaffraix  <jchaffraix@webkit.org>
796
797         [Chromium] CCLayerTreeHostTestScrollChildLayer makes the wrong assumptions
798         https://bugs.webkit.org/show_bug.cgi?id=95358
799
800         Unreviewed gardening.
801
802         * tests/CCLayerTreeHostTest.cpp:
803         Disabled the test until it is fixed.
804
805 2012-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
806
807         Unreviewed, rolling out r126972.
808         http://trac.webkit.org/changeset/126972
809         https://bugs.webkit.org/show_bug.cgi?id=95349
810
811         accessibility/canvas-description-and-role.html has been
812         failing consistently on several bots and Dominic needs some
813         time to investigate why (Requested by jchaffraix on #webkit).
814
815         * public/WebAccessibilityRole.h:
816         * src/AssertMatchingEnums.cpp:
817
818 2012-08-29  Peter Beverloo  <peter@chromium.org>
819
820         Unreviewed.  Rolled DEPS.
821
822         * DEPS:
823
824 2012-08-29  Dominic Mazzoni  <dmazzoni@google.com>
825
826         AX: Canvas should have a distinct role
827         https://bugs.webkit.org/show_bug.cgi?id=95248
828
829         Reviewed by Chris Fleizach.
830
831         Add support for canvas accessibility role.
832
833         * public/WebAccessibilityRole.h:
834         * src/AssertMatchingEnums.cpp:
835
836 2012-08-28  David Reveman  <reveman@chromium.org>
837
838         [Chromium] Scheduler will never process a commit until it receives a vsync tick.
839         https://bugs.webkit.org/show_bug.cgi?id=94721
840
841         Reviewed by James Robinson.
842
843         * tests/CCSchedulerTest.cpp:
844         (WebKitTests::FakeCCSchedulerClient::reset):
845         (WebKitTests::TEST):
846         * tests/CCTextureUpdateControllerTest.cpp:
847
848 2012-08-28  Adam Barth  <abarth@webkit.org>
849
850         Fix ASSERT in fast/events/touch/gesture/context-menu-on-two-finger-tap.html
851
852         * src/WebViewImpl.cpp:
853         (WebKit::WebViewImpl::detectContentOnTouch):
854
855 2012-08-28  Leandro Gracia Gil  <leandrogracia@chromium.org>
856
857         Content detection should not disrupt the page behaviour
858         https://bugs.webkit.org/show_bug.cgi?id=94727
859
860         Reviewed by Adam Barth.
861
862         Triggers content detection in the embedder on tap gestures and
863         add checks for the appropriate event listeners in order to prevent
864         triggering content detection when it would disrupt the page's behaviour.
865
866         * src/WebViewImpl.cpp:
867         (WebKit::WebViewImpl::handleGestureEvent):
868         (WebKit::WebViewImpl::detectContentOnTouch):
869         * tests/WebViewTest.cpp:
870         * tests/data/content_listeners.html: Added.
871
872 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
873
874         Unreviewed, rolling out r126933.
875         http://trac.webkit.org/changeset/126933
876         https://bugs.webkit.org/show_bug.cgi?id=95261
877
878         Turns out we do need this! (Requested by abarth on #webkit).
879
880         * public/WebWidget.h:
881         (WebKit::WebWidget::paint):
882         * src/WebPagePopupImpl.cpp:
883         (WebKit::WebPagePopupImpl::paint):
884         * src/WebPagePopupImpl.h:
885         (WebPagePopupImpl):
886         * src/WebPopupMenuImpl.cpp:
887         (WebKit::WebPopupMenuImpl::paint):
888         * src/WebPopupMenuImpl.h:
889         * src/WebViewImpl.cpp:
890         (WebKit::WebViewImpl::paint):
891         * src/WebViewImpl.h:
892         (WebViewImpl):
893
894 2012-08-28  Mark Pilgrim  <pilgrim@chromium.org>
895
896         [Chromium] Remove decodeAudioFileData from PlatformSupport
897         https://bugs.webkit.org/show_bug.cgi?id=95250
898
899         Reviewed by Adam Barth.
900
901         Part of a refactoring series. See tracking bug 82948.
902
903         * src/PlatformSupport.cpp:
904         (WebCore):
905
906 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
907
908         Unreviewed, rolling out r126344.
909         http://trac.webkit.org/changeset/126344
910         https://bugs.webkit.org/show_bug.cgi?id=95253
911
912         This change is no longer needed (Requested by abarth on
913         #webkit).
914
915         * public/WebWidget.h:
916         (WebKit::WebWidget::paint):
917         * src/WebPagePopupImpl.cpp:
918         (WebKit::WebPagePopupImpl::paint):
919         * src/WebPagePopupImpl.h:
920         (WebPagePopupImpl):
921         * src/WebPopupMenuImpl.cpp:
922         (WebKit::WebPopupMenuImpl::paint):
923         * src/WebPopupMenuImpl.h:
924         * src/WebViewImpl.cpp:
925         (WebKit::WebViewImpl::paint):
926         * src/WebViewImpl.h:
927         (WebViewImpl):
928
929 2012-08-28  Dominic Mazzoni  <dmazzoni@google.com>
930
931         AX: Crash due to object getting deleted inside updateBackingStore
932         https://bugs.webkit.org/show_bug.cgi?id=94619
933
934         Reviewed by Chris Fleizach.
935
936         Chromium now calls updateBackingStoreAndCheckValidity explicitly,
937         so we can now get rid of calls to updateBackingStore in the
938         method implementations, and just make sure we're checking isDetached.
939
940         * public/WebAccessibilityObject.h:
941         (WebAccessibilityObject):
942         * src/WebAccessibilityObject.cpp:
943         (WebKit::WebAccessibilityObject::axID):
944         (WebKit::WebAccessibilityObject::accessibilityDescription):
945         (WebKit::WebAccessibilityObject::actionVerb):
946         (WebKit::WebAccessibilityObject::canSetFocusAttribute):
947         (WebKit::WebAccessibilityObject::canSetValueAttribute):
948         (WebKit::WebAccessibilityObject::childCount):
949         (WebKit::WebAccessibilityObject::childAt):
950         (WebKit::WebAccessibilityObject::firstChild):
951         (WebKit::WebAccessibilityObject::focusedChild):
952         (WebKit::WebAccessibilityObject::lastChild):
953         (WebKit::WebAccessibilityObject::nextSibling):
954         (WebKit::WebAccessibilityObject::parentObject):
955         (WebKit::WebAccessibilityObject::previousSibling):
956         (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
957         (WebKit::WebAccessibilityObject::isAnchor):
958         (WebKit::WebAccessibilityObject::isAriaReadOnly):
959         (WebKit::WebAccessibilityObject::isButtonStateMixed):
960         (WebKit::WebAccessibilityObject::isChecked):
961         (WebKit::WebAccessibilityObject::isCollapsed):
962         (WebKit::WebAccessibilityObject::isControl):
963         (WebKit::WebAccessibilityObject::isEnabled):
964         (WebKit::WebAccessibilityObject::isFocused):
965         (WebKit::WebAccessibilityObject::isHovered):
966         (WebKit::WebAccessibilityObject::isIndeterminate):
967         (WebKit::WebAccessibilityObject::isLinked):
968         (WebKit::WebAccessibilityObject::isLoaded):
969         (WebKit::WebAccessibilityObject::isMultiSelectable):
970         (WebKit::WebAccessibilityObject::isOffScreen):
971         (WebKit::WebAccessibilityObject::isPasswordField):
972         (WebKit::WebAccessibilityObject::isPressed):
973         (WebKit::WebAccessibilityObject::isReadOnly):
974         (WebKit::WebAccessibilityObject::isRequired):
975         (WebKit::WebAccessibilityObject::isSelected):
976         (WebKit::WebAccessibilityObject::isSelectedOptionActive):
977         (WebKit::WebAccessibilityObject::isVertical):
978         (WebKit::WebAccessibilityObject::isVisible):
979         (WebKit::WebAccessibilityObject::isVisited):
980         (WebKit::WebAccessibilityObject::accessKey):
981         (WebKit::WebAccessibilityObject::ariaHasPopup):
982         (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
983         (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
984         (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
985         (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
986         (WebKit::WebAccessibilityObject::boundingBoxRect):
987         (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
988         (WebKit::WebAccessibilityObject::helpText):
989         (WebKit::WebAccessibilityObject::headingLevel):
990         (WebKit::WebAccessibilityObject::hierarchicalLevel):
991         (WebKit::WebAccessibilityObject::hitTest):
992         (WebKit::WebAccessibilityObject::keyboardShortcut):
993         (WebKit::WebAccessibilityObject::performDefaultAction):
994         (WebKit::WebAccessibilityObject::roleValue):
995         (WebKit::WebAccessibilityObject::selectionEnd):
996         (WebKit::WebAccessibilityObject::selectionStart):
997         (WebKit::WebAccessibilityObject::stringValue):
998         (WebKit::WebAccessibilityObject::title):
999         (WebKit::WebAccessibilityObject::titleUIElement):
1000         (WebKit::WebAccessibilityObject::url):
1001         (WebKit::WebAccessibilityObject::valueDescription):
1002         (WebKit::WebAccessibilityObject::valueForRange):
1003         (WebKit::WebAccessibilityObject::maxValueForRange):
1004         (WebKit::WebAccessibilityObject::minValueForRange):
1005         (WebKit::WebAccessibilityObject::node):
1006         (WebKit::WebAccessibilityObject::document):
1007         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
1008         (WebKit::WebAccessibilityObject::lineBreaks):
1009         (WebKit::WebAccessibilityObject::columnCount):
1010         (WebKit::WebAccessibilityObject::rowCount):
1011         (WebKit::WebAccessibilityObject::cellForColumnAndRow):
1012         (WebKit::WebAccessibilityObject::cellColumnIndex):
1013         (WebKit::WebAccessibilityObject::cellColumnSpan):
1014         (WebKit::WebAccessibilityObject::cellRowIndex):
1015         (WebKit::WebAccessibilityObject::cellRowSpan):
1016         (WebKit::WebAccessibilityObject::scrollToMakeVisible):
1017         (WebKit::WebAccessibilityObject::scrollToMakeVisibleWithSubFocus):
1018         (WebKit::WebAccessibilityObject::scrollToGlobalPoint):
1019
1020 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1021
1022         Unreviewed, rolling out r126914.
1023         http://trac.webkit.org/changeset/126914
1024         https://bugs.webkit.org/show_bug.cgi?id=95239
1025
1026         it breaks everything and fixes nothing (Requested by pizlo on
1027         #webkit).
1028
1029         * src/WebGeolocationPermissionRequestManager.cpp:
1030         (WebGeolocationPermissionRequestManager::remove):
1031         * src/WebIDBMetadata.cpp:
1032         (WebKit::WebIDBMetadata::WebIDBMetadata):
1033         * src/WebIntent.cpp:
1034         (WebKit::WebIntent::extrasValue):
1035         * tests/WebSocketExtensionDispatcherTest.cpp:
1036         (WebCore::TEST_F):
1037
1038 2012-08-28  W. James MacLean  <wjmaclean@chromium.org>
1039
1040         [unreviewed] Compile fix: windows compiler expects float but find double.
1041  
1042         Need to specify a float literal when initialising the highlight animation duration.
1043  
1044         * src/LinkHighlight.cpp:
1045         (WebKit::LinkHighlight::startHighlightAnimation):
1046
1047 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1048
1049         Rename first/second to key/value in HashMap iterators
1050         https://bugs.webkit.org/show_bug.cgi?id=82784
1051
1052         Reviewed by Eric Seidel.
1053
1054         * src/WebGeolocationPermissionRequestManager.cpp:
1055         (WebGeolocationPermissionRequestManager::remove):
1056         * src/WebIDBMetadata.cpp:
1057         (WebKit::WebIDBMetadata::WebIDBMetadata):
1058         * src/WebIntent.cpp:
1059         (WebKit::WebIntent::extrasValue):
1060         * tests/WebSocketExtensionDispatcherTest.cpp:
1061         (WebCore::TEST_F):
1062
1063 2012-08-28  W. James MacLean  <wjmaclean@chromium.org>
1064
1065         [chromium] Drastically shorten the link highlight duration.
1066         https://bugs.webkit.org/show_bug.cgi?id=95216
1067
1068         Reviewed by James Robinson.
1069
1070         Parameter change; covered by existing layout tests.
1071
1072         * src/LinkHighlight.cpp:
1073         (WebKit::LinkHighlight::startHighlightAnimation):
1074
1075 2012-08-27  Tien-Ren Chen  <trchen@chromium.org>
1076
1077         [Chromium] Remove stub for WebView::getTouchHighlightQuads()
1078         https://bugs.webkit.org/show_bug.cgi?id=95164
1079
1080         Reviewed by Adam Barth.
1081
1082         Reverts https://bugs.webkit.org/show_bug.cgi?id=92997
1083         We're uploading a new implementation that no longer uses this API.
1084         See https://bugs.webkit.org/show_bug.cgi?id=94182
1085
1086         * WebKit.gyp:
1087         * public/WebTouchCandidatesInfo.h: Removed.
1088         * public/WebView.h:
1089         (WebKit):
1090         * src/WebViewImpl.cpp:
1091         * src/WebViewImpl.h:
1092         (WebViewImpl):
1093
1094 2012-08-27  Ian Vollick  <vollick@chromium.org>
1095
1096         [chromium] Should accelerate rotations of >= 180 degrees
1097         https://bugs.webkit.org/show_bug.cgi?id=94860
1098
1099         Reviewed by James Robinson.
1100
1101         Added new unit tests:
1102           WebTransformOperationTest.transformTypesAreUnique
1103           WebTransformOperationTest.matchTypesSameLength
1104           WebTransformOperationTest.identityAlwaysMatches
1105           WebTransformOperationTest.largeRotationsWithSameAxis
1106           WebTransformOperationTest.largeRotationsWithSameAxisInDifferentDirection
1107           WebTransformOperationTest.largeRotationsWithDifferentAxes
1108           WebTransformOperationTest.blendRotationFromIdentity
1109           WebTransformOperationTest.blendTranslationFromIdentity
1110           WebTransformOperationTest.blendScaleFromIdentity
1111           WebTransformOperationTest.blendSkewFromIdentity
1112           WebTransformOperationTest.blendPerspectiveFromIdentity
1113           WebTransformOperationTest.blendRotationToIdentity
1114           WebTransformOperationTest.blendTranslationToIdentity
1115           WebTransformOperationTest.blendScaleToIdentity
1116           WebTransformOperationTest.blendSkewToIdentity
1117           WebTransformOperationTest.blendPerspectiveToIdentity
1118           AnimationTranslationUtilTest.createTransformAnimationWithBigRotation
1119           AnimationTranslationUtilTest.createTransformAnimationWithBigRotationAndEmptyTransformOperationList
1120
1121         * tests/AnimationTranslationUtilTest.cpp:
1122         (WebKit::TEST):
1123         * tests/WebTransformOperationsTest.cpp:
1124         (TEST):
1125         (getIdentityOperations):
1126
1127 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1128
1129         Unreviewed, rolling out r126836.
1130         http://trac.webkit.org/changeset/126836
1131         https://bugs.webkit.org/show_bug.cgi?id=95163
1132
1133         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
1134         #webkit).
1135
1136         * src/WebGeolocationPermissionRequestManager.cpp:
1137         (WebGeolocationPermissionRequestManager::remove):
1138         * src/WebIDBMetadata.cpp:
1139         (WebKit::WebIDBMetadata::WebIDBMetadata):
1140         * src/WebIntent.cpp:
1141         (WebKit::WebIntent::extrasValue):
1142         * tests/WebSocketExtensionDispatcherTest.cpp:
1143         (WebCore::TEST_F):
1144
1145 2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1146
1147         Rename first/second to key/value in HashMap iterators
1148         https://bugs.webkit.org/show_bug.cgi?id=82784
1149
1150         Reviewed by Eric Seidel.
1151
1152         * src/WebGeolocationPermissionRequestManager.cpp:
1153         (WebGeolocationPermissionRequestManager::remove):
1154         * src/WebIDBMetadata.cpp:
1155         (WebKit::WebIDBMetadata::WebIDBMetadata):
1156         * src/WebIntent.cpp:
1157         (WebKit::WebIntent::extrasValue):
1158         * tests/WebSocketExtensionDispatcherTest.cpp:
1159         (WebCore::TEST_F):
1160
1161 2012-08-27  David Reveman  <reveman@chromium.org>
1162
1163         [Chromium] Stop texture updates when context is lost.
1164         https://bugs.webkit.org/show_bug.cgi?id=94983
1165
1166         Reviewed by James Robinson.
1167
1168         * tests/CCLayerTreeHostTest.cpp:
1169         (CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext):
1170         (CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext::create):
1171         (CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext::setContextLostCallback):
1172         (CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext::isContextLost):
1173         (CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext::beginQueryEXT):
1174         (CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext::endQueryEXT):
1175         (CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext::getQueryObjectuivEXT):
1176         (CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext::CompositorFakeWebGraphicsContext3DWithEndQueryCausingLostContext):
1177         (CCLayerTreeHostTestLostContextWhileUpdatingResources):
1178         (CCLayerTreeHostTestLostContextWhileUpdatingResources::CCLayerTreeHostTestLostContextWhileUpdatingResources):
1179         (CCLayerTreeHostTestLostContextWhileUpdatingResources::createOutputSurface):
1180         (CCLayerTreeHostTestLostContextWhileUpdatingResources::beginTest):
1181         (CCLayerTreeHostTestLostContextWhileUpdatingResources::commitCompleteOnCCThread):
1182         (CCLayerTreeHostTestLostContextWhileUpdatingResources::layout):
1183         (CCLayerTreeHostTestLostContextWhileUpdatingResources::afterTest):
1184         (TEST_F):
1185
1186 2012-08-27  Dana Jansens  <danakj@chromium.org>
1187
1188         [chromium] A general mechanism for passing data into and out of appendQuads and quadCuller via CCAppendQuadsData
1189         https://bugs.webkit.org/show_bug.cgi?id=95109
1190
1191         Reviewed by Adrienne Walker.
1192
1193         Update tests to use the new data structure.
1194
1195         * tests/CCLayerTreeHostImplTest.cpp:
1196         * tests/CCLayerTreeHostTest.cpp:
1197         * tests/CCQuadCullerTest.cpp:
1198         * tests/CCRenderSurfaceTest.cpp:
1199         * tests/CCSolidColorLayerImplTest.cpp:
1200         (CCLayerTestCommon::TEST):
1201         * tests/CCTiledLayerImplTest.cpp:
1202         (CCLayerTestCommon::TEST):
1203         (CCLayerTestCommon::getQuads):
1204         * tests/MockCCQuadCuller.h:
1205
1206 2012-08-24  James Robinson  <jamesr@chromium.org>
1207
1208         [chromium] Clean up dependencies of WebScrollbar and WebScrollbarLayer
1209         https://bugs.webkit.org/show_bug.cgi?id=94996
1210
1211         Reviewed by Adrienne Walker.
1212
1213         Fix up tests for API changes.
1214
1215         * WebKit.gyp:
1216         * src/WebScrollbarLayerImpl.cpp:
1217         (WebKit::WebScrollbarLayer::create):
1218         * tests/ScrollbarLayerChromiumTest.cpp:
1219         (WebCore::TEST):
1220
1221 2012-08-27  Adrienne Walker  <enne@google.com>
1222
1223         [chromium] Prevent scrollbar thumb size from changing during compositor zoom
1224         https://bugs.webkit.org/show_bug.cgi?id=94859
1225
1226         Reviewed by James Robinson.
1227
1228         Update test.
1229
1230         * tests/CCLayerTreeHostImplTest.cpp:
1231
1232 2012-08-27  Dana Jansens  <danakj@chromium.org>
1233
1234         [chromium] Have RenderSurface create and add its own generated RenderPass
1235         https://bugs.webkit.org/show_bug.cgi?id=94957
1236
1237         Reviewed by Adrienne Walker.
1238
1239         Test that a RenderSurface generates the RenderPass that we expect.
1240
1241         * tests/CCRenderSurfaceTest.cpp:
1242
1243 2012-08-27  Justin Novosad  <junov@chromium.org>
1244
1245         [Chromium] Fixing infinite recursion in Canvas2DLayerManager
1246         https://bugs.webkit.org/show_bug.cgi?id=95110
1247
1248         Reviewed by Stephen White.
1249
1250         Breaking recursion cycle by not reporting a change in memory allocation
1251         when no memory is freed in FakeCanvas2DLayer::freeMemoryIfPossible.
1252
1253         * tests/Canvas2DLayerManagerTest.cpp:
1254
1255 2012-08-27  Justin Novosad  <junov@chromium.org>
1256
1257         [Chromium] Implementing a global limit on memory consumed by deferred 2D canvases
1258         https://bugs.webkit.org/show_bug.cgi?id=94386
1259
1260         Reviewed by Stephen White.
1261
1262         Adding unit tests for WebCore::Canvas2DLayerManager
1263
1264         * WebKit.gypi:
1265
1266 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1267
1268         Unreviewed.  Rolled DEPS.
1269
1270         * DEPS:
1271
1272 2012-08-27  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1273
1274         Rename RegisterProtocolHandler API to NavigatorContentUtils
1275         https://bugs.webkit.org/show_bug.cgi?id=94920
1276
1277         Reviewed by Adam Barth.
1278
1279         Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
1280         RegisterProtocolHandlerClientImpl is renamed to NavigatorContentUtilsClientImpl.
1281
1282         * features.gypi:
1283         * src/ChromeClientImpl.cpp:
1284         (WebKit):
1285         (WebKit::NavigatorContentUtilsClientImpl::create):
1286         (WebKit::NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl):
1287         (WebKit::NavigatorContentUtilsClientImpl::registerProtocolHandler):
1288         * src/ChromeClientImpl.h:
1289         (NavigatorContentUtilsClientImpl):
1290         (WebKit::NavigatorContentUtilsClientImpl::~NavigatorContentUtilsClientImpl):
1291         * src/WebViewImpl.cpp:
1292         (WebKit::WebViewImpl::WebViewImpl):
1293         * src/WebViewImpl.h:
1294
1295 2012-08-27  Johnny Ding  <jnd@chromium.org>
1296
1297         [Chromium-Android]Move webkit_unit_tests_apk and TestWebKitAPI_apk into a
1298         condition block:['OS=="android" and gtest_target_type == "shared_library"'].
1299         https://bugs.webkit.org/show_bug.cgi?id=95049
1300
1301         Reviewed by Adam Barth.
1302
1303         Move webkit_unit_tests_apk and TestWebKitAPI_apk into block of gtest_target_type == "shared_library"
1304
1305         * All.gyp:
1306
1307 2012-08-24  Dominic Mazzoni  <dmazzoni@google.com>
1308
1309         Chromium: WebAccessibilityObject should expose updateBackingStore
1310         https://bugs.webkit.org/show_bug.cgi?id=94611
1311
1312         Reviewed by Chris Fleizach.
1313
1314         This change just exposes a method, with no new tests. Next, Chromium
1315         will be modified to call this new method, and this will be followed
1316         by a change that gets rid of calls to updateBackingStore under the
1317         hood. That last change may add a test or update an existing test.
1318
1319         * public/WebAccessibilityObject.h:
1320         (WebAccessibilityObject):
1321         * src/WebAccessibilityObject.cpp:
1322         (WebKit::WebAccessibilityObject::updateBackingStoreAndCheckValidity):
1323         (WebKit):
1324
1325 2012-08-24  W. James MacLean  <wjmaclean@chromium.org>
1326
1327         [chromium] WebViewImpl::enableTouchHighlight() should always clear any existing highlight when invoked.
1328         https://bugs.webkit.org/show_bug.cgi?id=94978
1329
1330         Reviewed by James Robinson.
1331
1332         Modified WebViewImpl::enableTouchHighlight() so it always clears any existing highlight, even if no new
1333         highlight target is found.
1334
1335         * src/WebViewImpl.cpp:
1336         (WebKit::WebViewImpl::enableTouchHighlight):
1337
1338 2012-08-23  James Robinson  <jamesr@chromium.org>
1339
1340         [chromium] Convert WebLayerTreeView interface into pure virtual
1341         https://bugs.webkit.org/show_bug.cgi?id=94866
1342
1343         Reviewed by Adrienne Walker.
1344
1345         Updates WebLayerTreeView implementation and callers to new interface. The createGraphicsContext3D() wrapper
1346         stuff can just go away now since downstream has updated to createOutputSurface().
1347
1348         * WebKit.gypi:
1349         * src/WebLayerTreeView.cpp: Removed.
1350         * src/WebLayerTreeViewImpl.cpp:
1351         (WebKit::WebLayerTreeView::create):
1352         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
1353         (WebKit::WebLayerTreeViewImpl::initialize):
1354         (WebKit):
1355         (WebKit::WebLayerTreeViewImpl::setSurfaceReady):
1356         (WebKit::WebLayerTreeViewImpl::setRootLayer):
1357         (WebKit::WebLayerTreeViewImpl::clearRootLayer):
1358         (WebKit::WebLayerTreeViewImpl::compositorIdentifier):
1359         (WebKit::WebLayerTreeViewImpl::setViewportSize):
1360         (WebKit::WebLayerTreeViewImpl::layoutViewportSize):
1361         (WebKit::WebLayerTreeViewImpl::deviceViewportSize):
1362         (WebKit::WebLayerTreeViewImpl::setDeviceScaleFactor):
1363         (WebKit::WebLayerTreeViewImpl::deviceScaleFactor):
1364         (WebKit::WebLayerTreeViewImpl::setBackgroundColor):
1365         (WebKit::WebLayerTreeViewImpl::setHasTransparentBackground):
1366         (WebKit::WebLayerTreeViewImpl::setVisible):
1367         (WebKit::WebLayerTreeViewImpl::setPageScaleFactorAndLimits):
1368         (WebKit::WebLayerTreeViewImpl::startPageScaleAnimation):
1369         (WebKit::WebLayerTreeViewImpl::setNeedsAnimate):
1370         (WebKit::WebLayerTreeViewImpl::setNeedsRedraw):
1371         (WebKit::WebLayerTreeViewImpl::commitRequested):
1372         (WebKit::WebLayerTreeViewImpl::composite):
1373         (WebKit::WebLayerTreeViewImpl::updateAnimations):
1374         (WebKit::WebLayerTreeViewImpl::compositeAndReadback):
1375         (WebKit::WebLayerTreeViewImpl::finishAllRendering):
1376         (WebKit::WebLayerTreeViewImpl::renderingStats):
1377         (WebKit::WebLayerTreeViewImpl::setFontAtlas):
1378         (WebKit::WebLayerTreeViewImpl::loseCompositorContext):
1379         (WebKit::WebLayerTreeViewImpl::willBeginFrame):
1380         (WebKit::WebLayerTreeViewImpl::didBeginFrame):
1381         (WebKit::WebLayerTreeViewImpl::animate):
1382         (WebKit::WebLayerTreeViewImpl::layout):
1383         (WebKit::WebLayerTreeViewImpl::applyScrollAndScale):
1384         (WebKit::WebLayerTreeViewImpl::createOutputSurface):
1385         (WebKit::WebLayerTreeViewImpl::didRecreateOutputSurface):
1386         (WebKit::WebLayerTreeViewImpl::willCommit):
1387         (WebKit::WebLayerTreeViewImpl::didCommit):
1388         (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
1389         (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
1390         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
1391         * src/WebLayerTreeViewImpl.h:
1392         (WebLayerTreeViewImpl):
1393         * src/WebViewImpl.cpp:
1394         (WebKit::WebViewImpl::renderingStats):
1395         (WebKit::WebViewImpl::startPageScaleAnimation):
1396         (WebKit::WebViewImpl::setCompositorSurfaceReady):
1397         (WebKit::WebViewImpl::animate):
1398         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
1399         (WebKit::WebViewImpl::paint):
1400         (WebKit::WebViewImpl::composite):
1401         (WebKit::WebViewImpl::setNeedsRedraw):
1402         (WebKit::WebViewImpl::isInputThrottled):
1403         (WebKit::WebViewImpl::loseCompositorContext):
1404         (WebKit::WebViewImpl::setDeviceScaleFactor):
1405         (WebKit::WebViewImpl::computePageScaleFactorLimits):
1406         (WebKit::WebViewImpl::setIsTransparent):
1407         (WebKit::WebViewImpl::setRootGraphicsLayer):
1408         (WebKit::WebViewImpl::scheduleCompositingLayerSync):
1409         (WebKit::WebViewImpl::invalidateRootLayerRect):
1410         (WebKit::WebViewImpl::setBackgroundColor):
1411         (WebKit::WebViewImpl::scheduleAnimation):
1412         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1413         (WebKit):
1414         (WebKit::WebViewImpl::updateLayerTreeViewport):
1415         (WebKit::WebViewImpl::setVisibilityState):
1416         * src/WebViewImpl.h:
1417         (WebKit):
1418         * tests/CCLayerTreeHostTest.cpp:
1419         * tests/CCThreadedTest.cpp:
1420         * tests/CCThreadedTest.h:
1421         (WebKitTests::TestHooks::animate):
1422         * tests/FakeCCLayerTreeHostClient.h:
1423         * tests/GraphicsLayerChromiumTest.cpp:
1424         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1425         (WebKit::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
1426         (GraphicsLayerChromiumTest):
1427         * tests/WebLayerTest.cpp:
1428         * tests/WebLayerTreeViewTest.cpp:
1429         * tests/WebLayerTreeViewTestCommon.h:
1430         (MockWebLayerTreeViewClient):
1431
1432 2012-08-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1433
1434         Unreviewed.  Rolled DEPS.
1435
1436         * DEPS:
1437
1438 2012-08-24  James Robinson  <jamesr@chromium.org>
1439
1440         [chromium] Clean up WebAnimation animationId/groupId generation
1441         https://bugs.webkit.org/show_bug.cgi?id=94973
1442
1443         Reviewed by Adrienne Walker.
1444
1445         * src/WebAnimationImpl.cpp:
1446         (WebKit::WebAnimation::create):
1447         (WebKit::WebAnimationImpl::WebAnimationImpl):
1448         (WebKit::WebAnimationImpl::id):
1449         (WebKit):
1450         * src/WebAnimationImpl.h:
1451         (WebAnimationImpl):
1452         * tests/AnimationTranslationUtilTest.cpp:
1453         (WebKit::animationCanBeTranslated):
1454         * tests/GraphicsLayerChromiumTest.cpp:
1455         (WebKit::TEST_F):
1456
1457 2012-08-24  Mark Pilgrim  <pilgrim@chromium.org>
1458
1459         [Chromium] Remove visitedLinkHash from PlatformSupport
1460         https://bugs.webkit.org/show_bug.cgi?id=94965
1461
1462         Reviewed by Adam Barth.
1463
1464         Part of a refactoring series. See tracking bug 82948.
1465
1466         * src/PlatformSupport.cpp:
1467         (WebCore):
1468
1469 2012-08-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1470
1471         Unreviewed, rolling out r126620.
1472         http://trac.webkit.org/changeset/126620
1473         https://bugs.webkit.org/show_bug.cgi?id=94976
1474
1475         ASSERT((intptr_t)m_bytesAllocated + deltaBytes > 0) is
1476         triggering on the bots (Requested by jchaffraix on #webkit).
1477
1478         * WebKit.gypi:
1479         * tests/Canvas2DLayerManagerTest.cpp: Removed.
1480
1481 2012-08-24  Justin Novosad  <junov@chromium.org>
1482
1483         [Chromium] Implementing a global limit on memory consumed by deferred 2D canvases
1484         https://bugs.webkit.org/show_bug.cgi?id=94386
1485
1486         Reviewed by Stephen White.
1487
1488         Adding unit tests for WebCore::Canvas2DLayerManager
1489
1490         * WebKit.gypi:
1491         * tests/Canvas2DLayerManagerTest.cpp: Added.
1492         (FakeCanvas2DLayerBridge):
1493         (FakeCanvas2DLayerBridge::FakeCanvas2DLayerBridge):
1494         (FakeCanvas2DLayerBridge::fakeFreeableBytes):
1495         (Canvas2DLayerManagerTest):
1496         (Canvas2DLayerManagerTest::storageAllocationTrackingTest):
1497         (Canvas2DLayerManagerTest::evictionTest):
1498         (Canvas2DLayerManagerTest::flushEvictionTest):
1499
1500 2012-08-24  Cris Neckar  <cdn@chromium.org>
1501
1502         Plumb consumeUserGesture() to the chromium platform layer.
1503         https://bugs.webkit.org/show_bug.cgi?id=9475294867
1504
1505         Reviewed by Adam Barth.
1506
1507         * public/WebFrame.h:
1508         (WebFrame):
1509         * src/WebFrameImpl.cpp:
1510         (WebKit::WebFrameImpl::consumeUserGesture):
1511         (WebKit):
1512         * src/WebFrameImpl.h:
1513         (WebFrameImpl):
1514
1515 2012-08-24  W. James MacLean  <wjmaclean@chromium.org>
1516
1517         [chromium] gestureTapDown should not select a RenderView node as target.
1518         https://bugs.webkit.org/show_bug.cgi?id=94956
1519
1520         Reviewed by James Robinson.
1521
1522         Add check to prevent selecting a RenderView node as a highlight target.
1523
1524         * src/WebViewImpl.cpp:
1525         (WebKit::WebViewImpl::bestTouchLinkNode):
1526
1527 2012-08-24  Tommy Widenflycht  <tommyw@google.com>
1528
1529         MediaStream API: Add readyState functionality to RTCPeerConnection
1530         https://bugs.webkit.org/show_bug.cgi?id=94813
1531
1532         Reviewed by Adam Barth.
1533
1534         * src/AssertMatchingEnums.cpp:
1535
1536 2012-08-24  Dan Carney  <dcarney@google.com>
1537
1538         [V8] Refactor away IsolatedWorld
1539         https://bugs.webkit.org/show_bug.cgi?id=93971
1540
1541         Reviewed by Kentaro Hara.
1542
1543         Remove IsolatedWorld class as it was 1:1 with DOMWrapperWorld.
1544
1545         * src/WebViewImpl.cpp:
1546         (WebKit::WebView::addUserScript):
1547         (WebKit::WebView::addUserStyleSheet):
1548
1549 2012-08-23  Antoine Labour  <piman@chromium.org>
1550
1551         [chromium] Fix lost context when textures are evicted
1552         https://bugs.webkit.org/show_bug.cgi?id=94892
1553
1554         Reviewed by James Robinson.
1555
1556         After eviction, the CCPrioritizedTextureManager is in a limbo state
1557         where all its resources are invalid. If we try to release them we will
1558         double-destroy them.
1559
1560         New test: CCLayerTreeHostTestLostContextAfterEvictTextures.
1561
1562         * tests/CCLayerTreeHostTest.cpp:
1563         (CCLayerTreeHostTestLostContextAfterEvictTextures):
1564         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::CCLayerTreeHostTestLostContextAfterEvictTextures):
1565         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::beginTest):
1566         (EvictTexturesAndLoseContextTask):
1567         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::EvictTexturesAndLoseContextTask):
1568         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::~EvictTexturesAndLoseContextTask):
1569         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::run):
1570         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::postEvictTexturesAndLoseContext):
1571         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::didCommitAndDrawFrame):
1572         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::commitCompleteOnCCThread):
1573         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::didRecreateOutputSurface):
1574         (WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::afterTest):
1575         (WTF):
1576         (WTF::TEST_F):
1577
1578 2012-08-23  Antoine Labour  <piman@chromium.org>
1579
1580         [chromium] Add OVERRIDEs in test code
1581         https://bugs.webkit.org/show_bug.cgi?id=94894
1582
1583         Reviewed by James Robinson.
1584
1585         * tests/CCLayerTreeHostTest.cpp:
1586
1587 2012-08-23  Joshua Bell  <jsbell@chromium.org>
1588
1589         IndexedDB: Expose mechanism for database to force a connection to close
1590         https://bugs.webkit.org/show_bug.cgi?id=91010
1591
1592         Reviewed by Tony Chang.
1593
1594         In Chromium, the browsing data deleter has a WebIDBDatabase handle which
1595         it can use to terminate a connection. This handles forcefully closing
1596         the front end connections and the back end, to unblock disk cleanup.
1597
1598         * public/WebIDBDatabase.h:
1599         (WebKit::WebIDBDatabase::forceClose): Entry point.
1600         * public/WebIDBDatabaseCallbacks.h:
1601         (WebKit::WebIDBDatabaseCallbacks::onForcedClose): Plumbing back to front.
1602         * src/IDBDatabaseCallbacksProxy.cpp:
1603         (WebKit::IDBDatabaseCallbacksProxy::onForcedClose): Plumbing back to front.
1604         (WebKit):
1605         * src/IDBDatabaseCallbacksProxy.h:
1606         (IDBDatabaseCallbacksProxy): Plumbing.
1607         * src/WebIDBDatabaseCallbacksImpl.cpp:
1608         (WebKit::WebIDBDatabaseCallbacksImpl::onForcedClose): Plumbing back to front.
1609         (WebKit):
1610         * src/WebIDBDatabaseCallbacksImpl.h:
1611         (WebIDBDatabaseCallbacksImpl): Plumbing back to front.
1612         * src/WebIDBDatabaseImpl.cpp:
1613         (WebKit::WebIDBDatabaseImpl::close): Tidy up dropping the callback reference.
1614         (WebKit):
1615         (WebKit::WebIDBDatabaseImpl::forceClose): Terminate the connection by notifying
1616         the back end and the front end, while avoid re-entrant badness.
1617         * src/WebIDBDatabaseImpl.h: Header tweak for unit test.
1618         (WebIDBDatabaseImpl):
1619         * tests/IDBDatabaseBackendTest.cpp: Added unit test to exercise connections.
1620
1621 2012-08-23  James Robinson  <jamesr@chromium.org>
1622
1623         [chromium] Convert WebAnimationCurve subtypes into pure virtual
1624         https://bugs.webkit.org/show_bug.cgi?id=94068
1625
1626         Reviewed by Adrienne Walker.
1627
1628         Updates the implementations, some callers and tests of Web*AnimationCurve to its new interface.
1629
1630         * WebKit.gyp:
1631         * src/WebAnimation.cpp:
1632         (WebKit::WebAnimation::initialize):
1633         * src/WebFloatAnimationCurveImpl.cpp: Renamed from Source/WebKit/chromium/src/WebFloatAnimationCurve.cpp.
1634         (WebKit):
1635         (WebKit::WebFloatAnimationCurve::create):
1636         (WebKit::WebFloatAnimationCurveImpl::WebFloatAnimationCurveImpl):
1637         (WebKit::WebFloatAnimationCurveImpl::~WebFloatAnimationCurveImpl):
1638         (WebKit::WebFloatAnimationCurveImpl::type):
1639         (WebKit::WebFloatAnimationCurveImpl::add):
1640         (WebKit::WebFloatAnimationCurveImpl::getValue):
1641         (WebKit::WebFloatAnimationCurveImpl::cloneToCCAnimationCurve):
1642         * src/WebTransformAnimationCurve.cpp: Removed.
1643         * tests/WebAnimationTest.cpp:
1644         (WebKit::TEST):
1645         * tests/WebFloatAnimationCurveTest.cpp:
1646         (WebKit::TEST):
1647         * tests/WebTransformAnimationCurveTest.cpp:
1648         (WebKit::TEST):
1649
1650 2012-08-23  Kentaro Hara  <haraken@chromium.org>
1651
1652         [V8] Remove V8Proxy.{h,cpp}
1653         https://bugs.webkit.org/show_bug.cgi?id=94794
1654
1655         Reviewed by Dimitri Glazkov.
1656
1657         Now V8Proxy is no longer used. We can completely remove V8Proxy from the codebase.
1658
1659         No tests. No change in behavior.
1660
1661         * src/ChromeClientImpl.cpp:
1662         * src/WebBindings.cpp:
1663         * src/WebDOMMessageEvent.cpp:
1664         * src/WebDevToolsAgentImpl.cpp:
1665         * src/WebMediaPlayerClientImpl.cpp:
1666
1667 2012-08-23  Dana Jansens  <danakj@chromium.org>
1668
1669         [chromium] Don't require a RenderSurface* in order to create a RenderPass
1670         https://bugs.webkit.org/show_bug.cgi?id=94862
1671
1672         Reviewed by Adrienne Walker.
1673
1674         * tests/CCLayerTreeHostImplTest.cpp:
1675         * tests/CCRendererGLTest.cpp:
1676         (FakeCCRendererClient::FakeCCRendererClient):
1677
1678 2012-08-22  James Robinson  <jamesr@chromium.org>
1679
1680         [chromium] Remove WebLayer::setChildren API
1681         https://bugs.webkit.org/show_bug.cgi?id=94749
1682
1683         Reviewed by Adrienne Walker.
1684
1685         * src/WebLayer.cpp:
1686
1687 2012-08-23  Dana Jansens  <danakj@chromium.org>
1688
1689         [chromium] Create sharedQuadState at same time as creating quads and give them to the quadSink
1690         https://bugs.webkit.org/show_bug.cgi?id=94752
1691
1692         Reviewed by Adrienne Walker.
1693
1694         * tests/CCLayerTreeHostImplTest.cpp:
1695         * tests/CCLayerTreeHostTest.cpp:
1696         (WTF::EvictionTestLayerImpl::appendQuads):
1697         * tests/CCQuadCullerTest.cpp:
1698         * tests/CCRenderSurfaceTest.cpp:
1699         * tests/CCSolidColorLayerImplTest.cpp:
1700         (CCLayerTestCommon::TEST):
1701         * tests/CCTiledLayerImplTest.cpp:
1702         (CCLayerTestCommon::TEST):
1703         (CCLayerTestCommon::getQuads):
1704         (CCLayerTestCommon::coverageVisibleRectOnTileBoundaries):
1705         (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
1706         (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
1707         * tests/MockCCQuadCuller.h:
1708         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
1709         (MockCCQuadCuller):
1710         (WebCore::MockCCQuadCuller::quadList):
1711         (WebCore::MockCCQuadCuller::sharedQuadStateList):
1712
1713 2012-08-23  Pavel Feldman  <pfeldman@chromium.org>
1714
1715         Not reviewed - fixing input list for timeline inspector module.
1716         https://bugs.webkit.org/show_bug.cgi?id=94829
1717
1718         * WebKit.gyp:
1719
1720 2012-08-23  Alexandre Elias  <aelias@chromium.org>
1721
1722         [chromium] Rename LayerRendererChromium to GL-specific name
1723         https://bugs.webkit.org/show_bug.cgi?id=94835
1724
1725         Reviewed by James Robinson.
1726
1727         Over time, LayerRendererChromium has evolved to be a GL-specific
1728         subclass of CCRenderer that has no awareness of layers (as it operates
1729         only with drawQuads).
1730
1731         This patch renames LayerRendererChromium to CCRendererGL, replaces all
1732         instances of "layerRenderer" with just "renderer", and removes a
1733         few unnecessary includes of LayerRendererChromium.h.
1734
1735         * WebKit.gypi:
1736         * tests/CCLayerTreeHostImplTest.cpp:
1737         * tests/CCLayerTreeHostTest.cpp:
1738         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
1739         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
1740         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
1741         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::drawLayersOnCCThread):
1742         * tests/CCRendererGLTest.cpp: Renamed from Source/WebKit/chromium/tests/LayerRendererChromiumTest.cpp.
1743         (FrameCountingMemoryAllocationSettingContext):
1744         (FrameCountingMemoryAllocationSettingContext::FrameCountingMemoryAllocationSettingContext):
1745         (FrameCountingMemoryAllocationSettingContext::prepareTexture):
1746         (FrameCountingMemoryAllocationSettingContext::setMemoryAllocationChangedCallbackCHROMIUM):
1747         (FrameCountingMemoryAllocationSettingContext::getString):
1748         (FrameCountingMemoryAllocationSettingContext::frameCount):
1749         (FrameCountingMemoryAllocationSettingContext::setMemoryAllocation):
1750         (FakeCCRendererClient):
1751         (FakeCCRendererClient::FakeCCRendererClient):
1752         (FakeCCRendererClient::setFullRootLayerDamageCount):
1753         (FakeCCRendererClient::rootRenderPass):
1754         (FakeCCRendererClient::renderPassesInDrawOrder):
1755         (FakeCCRendererClient::renderPasses):
1756         (FakeCCRendererClient::memoryAllocationLimitBytes):
1757         (FakeCCRendererGL):
1758         (FakeCCRendererGL::FakeCCRendererGL):
1759         (CCRendererGLTest):
1760         (CCRendererGLTest::CCRendererGLTest):
1761         (CCRendererGLTest::SetUp):
1762         (CCRendererGLTest::TearDown):
1763         (CCRendererGLTest::swapBuffers):
1764         (CCRendererGLTest::context):
1765         (TEST_F):
1766         (ForbidSynchronousCallContext):
1767         (ForbidSynchronousCallContext::ForbidSynchronousCallContext):
1768         (ForbidSynchronousCallContext::getActiveAttrib):
1769         (ForbidSynchronousCallContext::getActiveUniform):
1770         (ForbidSynchronousCallContext::getAttachedShaders):
1771         (ForbidSynchronousCallContext::getAttribLocation):
1772         (ForbidSynchronousCallContext::getBooleanv):
1773         (ForbidSynchronousCallContext::getBufferParameteriv):
1774         (ForbidSynchronousCallContext::getContextAttributes):
1775         (ForbidSynchronousCallContext::getError):
1776         (ForbidSynchronousCallContext::getFloatv):
1777         (ForbidSynchronousCallContext::getFramebufferAttachmentParameteriv):
1778         (ForbidSynchronousCallContext::getIntegerv):
1779         (ForbidSynchronousCallContext::getProgramiv):
1780         (ForbidSynchronousCallContext::getShaderiv):
1781         (ForbidSynchronousCallContext::getString):
1782         (ForbidSynchronousCallContext::getProgramInfoLog):
1783         (ForbidSynchronousCallContext::getRenderbufferParameteriv):
1784         (ForbidSynchronousCallContext::getShaderInfoLog):
1785         (ForbidSynchronousCallContext::getShaderPrecisionFormat):
1786         (ForbidSynchronousCallContext::getShaderSource):
1787         (ForbidSynchronousCallContext::getTexParameterfv):
1788         (ForbidSynchronousCallContext::getTexParameteriv):
1789         (ForbidSynchronousCallContext::getUniformfv):
1790         (ForbidSynchronousCallContext::getUniformiv):
1791         (ForbidSynchronousCallContext::getUniformLocation):
1792         (ForbidSynchronousCallContext::getVertexAttribfv):
1793         (ForbidSynchronousCallContext::getVertexAttribiv):
1794         (ForbidSynchronousCallContext::getVertexAttribOffset):
1795         (TEST):
1796         (LoseContextOnFirstGetContext):
1797         (LoseContextOnFirstGetContext::LoseContextOnFirstGetContext):
1798         (ContextThatDoesNotSupportMemoryManagmentExtensions):
1799         (ContextThatDoesNotSupportMemoryManagmentExtensions::ContextThatDoesNotSupportMemoryManagmentExtensions):
1800         (ContextThatDoesNotSupportMemoryManagmentExtensions::prepareTexture):
1801         (ContextThatDoesNotSupportMemoryManagmentExtensions::setMemoryAllocationChangedCallbackCHROMIUM):
1802         (ContextThatDoesNotSupportMemoryManagmentExtensions::getString):
1803         (ClearCountingContext):
1804         (ClearCountingContext::ClearCountingContext):
1805         (ClearCountingContext::clear):
1806         (ClearCountingContext::clearCount):
1807         * tests/TiledLayerChromiumTest.cpp:
1808
1809 2012-08-23  Stephen White  <senorblanco@chromium.org>
1810
1811         Unreviewed.  Rolled DEPS.
1812
1813         * DEPS:
1814
1815 2012-08-23  Wei Jia  <wjia@chromium.org>
1816
1817         create different WebKit::WebMediaPlayer based on URL
1818         https://bugs.webkit.org/show_bug.cgi?id=91301
1819
1820         Reviewed by Adam Barth.
1821
1822         Pass URL to WebFrameClient::createMediaPlayer(). This allows creation
1823         of different WebMediaPlayer implementations based on the URL.
1824
1825         * public/WebFrameClient.h:
1826         (WebKit::WebFrameClient::createMediaPlayer): add URL as additional argument.
1827         * src/WebMediaPlayerClientImpl.cpp:
1828         (WebKit::createWebMediaPlayer): add URL as additional argument.
1829         (WebKit::WebMediaPlayerClientImpl::loadInternal):
1830
1831 2012-08-23  Joshua Bell  <jsbell@chromium.org>
1832
1833         IndexedDB: Move onSuccess(IDBDatabaseBackendInterface) to IDBOpenDBRequest
1834         https://bugs.webkit.org/show_bug.cgi?id=94757
1835
1836         Reviewed by Tony Chang.
1837
1838         Drop onSuccess(IDBDatabaseBackendImpl) overload from test, as it is no longer
1839         implemented by IDBRequest.
1840
1841         * tests/IDBRequestTest.cpp:
1842         (WebCore::TEST):
1843
1844 2012-08-23  Kenneth Russell  <kbr@google.com>
1845
1846         Convert ScrollableArea ASSERT_NOT_REACHED virtuals into pure virtuals
1847         https://bugs.webkit.org/show_bug.cgi?id=93306
1848
1849         Unreviewed build fix.
1850
1851         * src/ScrollbarGroup.h:
1852
1853 2012-08-23  Adrienne Walker  <enne@google.com>
1854
1855         Convert ScrollableArea ASSERT_NOT_REACHED virtuals
1856         https://bugs.webkit.org/show_bug.cgi?id=93306
1857
1858         Reviewed by Darin Adler.
1859
1860         Add implementations where necessary to make derived classes concrete.
1861         Add OVERRIDE for ScrollableArea functions.
1862
1863         * src/ScrollbarGroup.h:
1864         (ScrollbarGroup):
1865         (WebKit::ScrollbarGroup::scrollCornerRect):
1866         * tests/ScrollAnimatorNoneTest.cpp:
1867         (MockScrollableArea):
1868
1869 2012-08-23  David Reveman  <reveman@chromium.org>
1870
1871         [Chromium] Unnecessary delay when starting to update resources with an inactive vsync timer.
1872         https://bugs.webkit.org/show_bug.cgi?id=94719
1873
1874         Reviewed by James Robinson.
1875
1876         * tests/CCSchedulerTestCommon.h:
1877
1878 2012-08-23  Peter Beverloo  <peter@chromium.org>
1879
1880         Unreviewed.  Rolled DEPS.
1881
1882         * DEPS:
1883
1884 2012-08-22  Alec Flett  <alecflett@chromium.org>
1885
1886         IndexedDB: tests for injection/extraction of idb keys
1887         https://bugs.webkit.org/show_bug.cgi?id=94653
1888
1889         Reviewed by Tony Chang.
1890
1891         Added unit tests for key injection/extraction using
1892         SerializedScriptValue. These were moved from chromium, now
1893         that all uses of the API are through WebKit.
1894
1895         * tests/IDBKeyPathTest.cpp:
1896         (WebCore):
1897         (WebCore::TEST):
1898
1899 2012-08-22  James Robinson  <jamesr@chromium.org>
1900
1901         [chromium] Change WebLayer from a concrete type to a pure virtual interface
1902         https://bugs.webkit.org/show_bug.cgi?id=94174
1903
1904         Reviewed by Adrienne Walker.
1905
1906         This updates the implementation of the Web*Layer family to the new design and updates callers in WebViewImpl /
1907         NonCompositedContentHost / LinkHighlight.
1908
1909         * WebKit.gypi:
1910         * src/LinkHighlight.cpp:
1911         (WebKit::LinkHighlight::LinkHighlight):
1912         (WebKit::LinkHighlight::contentLayer):
1913         (WebKit::LinkHighlight::clipLayer):
1914         (WebKit::LinkHighlight::releaseResources):
1915         (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition):
1916         (WebKit::LinkHighlight::startHighlightAnimation):
1917         (WebKit::LinkHighlight::updateGeometry):
1918         * src/LinkHighlight.h:
1919         (LinkHighlight):
1920         * src/NonCompositedContentHost.cpp:
1921         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
1922         (WebKit::NonCompositedContentHost::setScrollLayer):
1923         (WebKit::NonCompositedContentHost::setViewport):
1924         (WebKit::NonCompositedContentHost::scrollLayer):
1925         * src/NonCompositedContentHost.h:
1926         * src/WebContentLayer.cpp: Removed.
1927         * src/WebContentLayerImpl.cpp:
1928         (WebKit::WebContentLayer::create):
1929         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
1930         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
1931         (WebKit::WebContentLayerImpl::layer):
1932         (WebKit):
1933         (WebKit::WebContentLayerImpl::setDoubleSided):
1934         (WebKit::WebContentLayerImpl::setContentsScale):
1935         (WebKit::WebContentLayerImpl::setUseLCDText):
1936         (WebKit::WebContentLayerImpl::setDrawCheckerboardForMissingTiles):
1937         (WebKit::WebContentLayerImpl::paintContents):
1938         * src/WebContentLayerImpl.h:
1939         (WebContentLayerImpl):
1940         * src/WebExternalTextureLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebExternalTextureLayer.cpp.
1941         (WebKit):
1942         (WebKit::WebExternalTextureLayer::create):
1943         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
1944         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
1945         (WebKit::WebExternalTextureLayerImpl::layer):
1946         (WebKit::WebExternalTextureLayerImpl::setTextureId):
1947         (WebKit::WebExternalTextureLayerImpl::setFlipped):
1948         (WebKit::WebExternalTextureLayerImpl::setUVRect):
1949         (WebKit::WebExternalTextureLayerImpl::setOpaque):
1950         (WebKit::WebExternalTextureLayerImpl::setPremultipliedAlpha):
1951         (WebKit::WebExternalTextureLayerImpl::willModifyTexture):
1952         (WebKit::WebExternalTextureLayerImpl::setRateLimitContext):
1953         (WebTextureUpdaterImpl):
1954         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
1955         (WebKit::WebExternalTextureLayerImpl::prepareTexture):
1956         (WebKit::WebExternalTextureLayerImpl::context):
1957         * src/WebExternalTextureLayerImpl.h: Copied from Source/Platform/chromium/public/WebVideoLayer.h.
1958         (WebKit):
1959         (WebExternalTextureLayerImpl):
1960         * src/WebIOSurfaceLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayer.cpp.
1961         (WebKit):
1962         (WebKit::WebIOSurfaceLayer::create):
1963         (WebKit::WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl):
1964         (WebKit::WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl):
1965         (WebKit::WebIOSurfaceLayerImpl::setIOSurfaceProperties):
1966         (WebKit::WebIOSurfaceLayerImpl::layer):
1967         * src/WebIOSurfaceLayerImpl.h: Copied from Source/Platform/chromium/public/WebImageLayer.h.
1968         (WebCore):
1969         (WebKit):
1970         (WebIOSurfaceLayerImpl):
1971         * src/WebImageLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebSolidColorLayer.cpp.
1972         (WebKit):
1973         (WebKit::WebImageLayer::create):
1974         (WebKit::WebImageLayerImpl::WebImageLayerImpl):
1975         (WebKit::WebImageLayerImpl::~WebImageLayerImpl):
1976         (WebKit::WebImageLayerImpl::layer):
1977         (WebKit::WebImageLayerImpl::setBitmap):
1978         * src/WebImageLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebImageLayer.cpp.
1979         (WebCore):
1980         (WebKit):
1981         (WebImageLayerImpl):
1982         * src/WebLayer.cpp: Removed.
1983         * src/WebLayerImpl.cpp:
1984         (WebKit::WebLayer::create):
1985         (WebKit::WebLayerImpl::WebLayerImpl):
1986         (WebKit::WebLayerImpl::~WebLayerImpl):
1987         (WebKit):
1988         (WebKit::WebLayerImpl::id):
1989         (WebKit::WebLayerImpl::invalidateRect):
1990         (WebKit::WebLayerImpl::invalidate):
1991         (WebKit::WebLayerImpl::addChild):
1992         (WebKit::WebLayerImpl::insertChild):
1993         (WebKit::WebLayerImpl::replaceChild):
1994         (WebKit::WebLayerImpl::setChildren):
1995         (WebKit::WebLayerImpl::removeFromParent):
1996         (WebKit::WebLayerImpl::removeAllChildren):
1997         (WebKit::WebLayerImpl::setAnchorPoint):
1998         (WebKit::WebLayerImpl::anchorPoint):
1999         (WebKit::WebLayerImpl::setAnchorPointZ):
2000         (WebKit::WebLayerImpl::anchorPointZ):
2001         (WebKit::WebLayerImpl::setBounds):
2002         (WebKit::WebLayerImpl::bounds):
2003         (WebKit::WebLayerImpl::setMasksToBounds):
2004         (WebKit::WebLayerImpl::masksToBounds):
2005         (WebKit::WebLayerImpl::setMaskLayer):
2006         (WebKit::WebLayerImpl::setReplicaLayer):
2007         (WebKit::WebLayerImpl::setOpacity):
2008         (WebKit::WebLayerImpl::opacity):
2009         (WebKit::WebLayerImpl::setOpaque):
2010         (WebKit::WebLayerImpl::opaque):
2011         (WebKit::WebLayerImpl::setPosition):
2012         (WebKit::WebLayerImpl::position):
2013         (WebKit::WebLayerImpl::setSublayerTransform):
2014         (WebKit::WebLayerImpl::sublayerTransform):
2015         (WebKit::WebLayerImpl::setTransform):
2016         (WebKit::WebLayerImpl::transform):
2017         (WebKit::WebLayerImpl::setDrawsContent):
2018         (WebKit::WebLayerImpl::drawsContent):
2019         (WebKit::WebLayerImpl::setPreserves3D):
2020         (WebKit::WebLayerImpl::setUseParentBackfaceVisibility):
2021         (WebKit::WebLayerImpl::setBackgroundColor):
2022         (WebKit::WebLayerImpl::setFilters):
2023         (WebKit::WebLayerImpl::setBackgroundFilters):
2024         (WebKit::WebLayerImpl::setDebugBorderColor):
2025         (WebKit::WebLayerImpl::setDebugBorderWidth):
2026         (WebKit::WebLayerImpl::setDebugName):
2027         (WebKit::WebLayerImpl::setAnimationDelegate):
2028         (WebKit::WebLayerImpl::addAnimation):
2029         (WebKit::WebLayerImpl::removeAnimation):
2030         (WebKit::WebLayerImpl::pauseAnimation):
2031         (WebKit::WebLayerImpl::suspendAnimations):
2032         (WebKit::WebLayerImpl::resumeAnimations):
2033         (WebKit::WebLayerImpl::hasActiveAnimation):
2034         (WebKit::WebLayerImpl::transferAnimationsTo):
2035         (WebKit::WebLayerImpl::setForceRenderSurface):
2036         (WebKit::WebLayerImpl::setScrollPosition):
2037         (WebKit::WebLayerImpl::setScrollable):
2038         (WebKit::WebLayerImpl::setHaveWheelEventHandlers):
2039         (WebKit::WebLayerImpl::setShouldScrollOnMainThread):
2040         (WebKit::WebLayerImpl::setNonFastScrollableRegion):
2041         (WebKit::WebLayerImpl::setIsContainerForFixedPositionLayers):
2042         (WebKit::WebLayerImpl::setFixedToContainerLayer):
2043         (WebKit::WebLayerImpl::layer):
2044         * src/WebLayerImpl.h:
2045         (WebCore):
2046         (WebLayerImpl):
2047         * src/WebLayerTreeView.cpp:
2048         (WebKit::WebLayerTreeView::setRootLayer):
2049         * src/WebLayerTreeViewImpl.cpp:
2050         (WebKit::WebLayerTreeViewImpl::create):
2051         * src/WebMediaPlayerClientImpl.cpp:
2052         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
2053         (WebKit::WebMediaPlayerClientImpl::repaint):
2054         (WebKit::WebMediaPlayerClientImpl::setOpaque):
2055         (WebKit::WebMediaPlayerClientImpl::platformLayer):
2056         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
2057         * src/WebMediaPlayerClientImpl.h:
2058         (WebMediaPlayerClientImpl):
2059         * src/WebPluginContainerImpl.cpp:
2060         (WebKit::WebPluginContainerImpl::setBackingTextureId):
2061         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
2062         (WebKit::WebPluginContainerImpl::commitBackingTexture):
2063         (WebKit::WebPluginContainerImpl::setOpaque):
2064         (WebKit::WebPluginContainerImpl::platformLayer):
2065         * src/WebPluginContainerImpl.h:
2066         (WebPluginContainerImpl):
2067         * src/WebScrollableLayer.cpp: Removed.
2068         * src/WebScrollbarLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarLayer.cpp.
2069         (WebKit):
2070         (WebKit::WebScrollbarLayer::create):
2071         (WebKit::WebScrollbarLayerImpl::WebScrollbarLayerImpl):
2072         (WebKit::WebScrollbarLayerImpl::~WebScrollbarLayerImpl):
2073         (WebKit::WebScrollbarLayerImpl::layer):
2074         (WebKit::WebScrollbarLayerImpl::setScrollLayer):
2075         * src/WebScrollbarLayerImpl.h: Copied from Source/WebKit/chromium/src/WebSolidColorLayerImpl.h.
2076         (WebCore):
2077         (WebKit):
2078         (WebScrollbarLayerImpl):
2079         * src/WebSolidColorLayerImpl.cpp:
2080         (WebKit::WebSolidColorLayer::create):
2081         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
2082         (WebKit::WebSolidColorLayerImpl::layer):
2083         (WebKit):
2084         (WebKit::WebSolidColorLayerImpl::setBackgroundColor):
2085         * src/WebSolidColorLayerImpl.h:
2086         (WebCore):
2087         (WebKit):
2088         (WebSolidColorLayerImpl):
2089         * src/WebVideoLayerImpl.cpp: Copied from Source/WebKit/chromium/src/WebVideoLayer.cpp.
2090         (WebKit):
2091         (WebKit::WebVideoLayer::create):
2092         (WebKit::WebVideoLayerImpl::WebVideoLayerImpl):
2093         (WebKit::WebVideoLayerImpl::~WebVideoLayerImpl):
2094         (WebKit::WebVideoLayerImpl::layer):
2095         (WebKit::WebVideoLayerImpl::active):
2096         * src/WebVideoLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebVideoLayer.cpp.
2097         (WebCore):
2098         (WebKit):
2099         (WebVideoLayerImpl):
2100         * src/WebViewImpl.cpp:
2101         (WebKit::WebViewImpl::WebViewImpl):
2102         (WebKit::WebViewImpl::setRootGraphicsLayer):
2103         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2104         (WebKit):
2105         * src/WebViewImpl.h:
2106         * tests/ImageLayerChromiumTest.cpp:
2107         (WebCore::TEST):
2108         * tests/WebLayerTest.cpp:
2109         * tests/WebLayerTreeViewTest.cpp:
2110
2111 2012-08-22  Alejandro PiƱeiro  <apinheiro@igalia.com>
2112
2113         Dojo toggle buttons should expose ROLE_TOGGLE_BUTTON not ROLE_PUSH_BUTTON
2114         https://bugs.webkit.org/show_bug.cgi?id=73819
2115
2116         Reviewed by Chris Fleizach.
2117
2118         Added a new role, Toggle Button, based on whether aria-pressed is present.
2119         http://www.w3.org/TR/wai-aria/states_and_properties#aria-pressed
2120
2121         * public/WebAccessibilityRole.h: added WebAccessibilityRoleToggleButton that
2122         matchs with WebCore ToggleButtonRole
2123         * src/AssertMatchingEnums.cpp: added the assert matching rule for
2124         WebAccessibilityRoleToggleButton and ToggleButtonRole
2125
2126 2012-08-17  Jeffrey Pfau  <jpfau@apple.com>
2127
2128         Allow blocking of Web SQL databases in third-party web workers
2129         https://bugs.webkit.org/show_bug.cgi?id=94170
2130
2131         Reviewed by Adam Barth.
2132
2133         Web workers did not previously know anything about the document that
2134         spawned them. This is undefined for shared workers, but for dedicated
2135         workers, we now pipe the information through.
2136
2137
2138         * src/WebWorkerClientImpl.cpp:
2139         (WebKit::WebWorkerClientImpl::startWorkerContext): Pass top document's origin
2140
2141 2012-08-22  Kentaro Hara  <haraken@chromium.org>
2142
2143         [V8] Move context() from V8Proxy to ScriptController
2144         https://bugs.webkit.org/show_bug.cgi?id=94593
2145
2146         Reviewed by Adam Barth.
2147
2148         To kill V8Proxy, we can move context() from V8Proxy to ScriptController.
2149
2150         No tests. No change in behavior.
2151
2152         * src/InspectorFrontendClientImpl.cpp:
2153         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
2154         * src/WebDevToolsFrontendImpl.cpp:
2155         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
2156
2157 2012-08-22  Nikhil Bhargava  <nbhargava@google.com>
2158
2159         Reduce Font.h includes across project -- improves RenderObject.h compile time
2160         https://bugs.webkit.org/show_bug.cgi?id=93629
2161
2162         Reviewed by Eric Seidel.
2163
2164         Adds includes due to change in RenderStyle.h
2165
2166         * src/WebFrameImpl.cpp:
2167         * src/mac/WebSubstringUtil.mm:
2168
2169 2012-08-22  Nikhil Bhargava  <nbhargava@google.com>
2170
2171         Speed up compilation of tests involving WebTransformationMatrix
2172         https://bugs.webkit.org/show_bug.cgi?id=94639
2173
2174         Reviewed by James Robinson.
2175
2176         EXPECT_TRANSFORMATION_MATRIX_EQ was changed to become mainly a function.
2177         As a macro that expanded into 16 other macros, it caused an unneeded
2178         slow down of close to 45s in the compile time of CCLayerTreeHostCommonTest
2179         Bugs have been filed to clang and gcc noting the errant behavior:
2180         http://llvm.org/bugs/show_bug.cgi?id=13651 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54337
2181
2182         * tests/CCLayerTreeHostCommonTest.cpp:
2183         * tests/CCLayerTreeTestCommon.h:
2184         (WebKitTests):
2185         (WebKitTests::ExpectTransformationMatrixEq):
2186         * tests/WebTransformOperationsTest.cpp:
2187         (TEST):
2188         (checkProgress):
2189         * tests/WebTransformationMatrixTest.cpp:
2190         (WebKit::TEST):
2191
2192 2012-08-22  Alexandre Elias  <aelias@google.com>
2193
2194         [chromium] Add software bitmap resources to CCResourceProvider
2195         https://bugs.webkit.org/show_bug.cgi?id=93677
2196
2197         Reviewed by Adrienne Walker.
2198
2199         Second commit after revert.
2200
2201         This adds the ability to CCResourceProvider to use software bitmaps.
2202         They are allocated as plain-old-memory, and exposed as Skia objects.
2203
2204         We want the ResourceProvider to be able to handle different resource
2205         types at the same time.  In practice, a default resource type is
2206         desired for most uses within a single compositor instance, which is
2207         specified by the default resource type.  Default resource types are
2208         expected to be mostly 1-to-1 with CCRenderer types.
2209
2210         New tests added by parametrizing existing CCResourceProvider tests.
2211
2212         * tests/CCResourceProviderTest.cpp:
2213         (WebKit::CCResourceProviderTest::getResourcePixels):
2214
2215 2012-08-22  W. James MacLean  <wjmaclean@chromium.org>
2216
2217         [chromium] Add touch link highlight animation layers.
2218         https://bugs.webkit.org/show_bug.cgi?id=84487
2219
2220         Reviewed by James Robinson.
2221
2222         Adds support for creating composited touch link highlights in renderer thread. Clipping not yet
2223         implemented for non-composited frames/overflow divs, but scrolling and layout changes are supported.
2224         Transform support currently limited to translation.
2225
2226         Unit tests for LinkHighlight revised.
2227
2228         * WebKit.gyp:
2229         * src/LinkHighlight.cpp: Added.
2230         (WebKit):
2231         (WebKit::LinkHighlight::create):
2232         (WebKit::LinkHighlight::LinkHighlight):
2233         (WebKit::LinkHighlight::~LinkHighlight):
2234         (WebKit::LinkHighlight::contentLayer): Accessor for layer containing highlight.
2235         (WebKit::LinkHighlight::clipLayer): Accessor for layer that provides clipping for highlight.
2236         (WebKit::LinkHighlight::releaseResources): Releases Node* for highlight target, clears client/delegate pointers.
2237         (WebKit::LinkHighlight::computeEnclosingCompositingLayer): Determines which GraphicsLayerChromium to attach highlight to.
2238         (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition): Determines coordinates of highlight in owning GraphicsLayerChromium's coordinates.
2239         (WebKit::LinkHighlight::paintContents): If highlight active, paints highlight.
2240         (WebKit::LinkHighlight::startHighlightAnimation): Called to start highlight animation.
2241         (WebKit::LinkHighlight::clearGraphicsLayerLinkHighlightPointer): Removes this LinkHighlight's pointer from owning GraphicsLayerChromium.
2242         (WebKit::LinkHighlight::notifyAnimationStarted): Implements WebAnimationDelegate.
2243         (WebKit::LinkHighlight::notifyAnimationFinished): Implements WebAnimationDelegate, releases resources when animation completes.
2244         (WebKit::LinkHighlight::updateGeometry): Invokes computation of which GraphicsLayerChromium to attach to, and highlight shape & position.
2245             Computations proceed only if preceded by call to invalidate().
2246         (WebKit::LinkHighlight::clearCurrentGraphicsLayer): Handles notification that current GraphicsLayerChromium* is no longer valid.
2247         (WebKit::LinkHighlight::invalidate): Sets flag to allow geometry update on next call from WebViewImpl::layout().
2248         (WebKit::LinkHighlight::layer): Exports WebLayer* for use in GraphicsLayerChromium.
2249         * src/LinkHighlight.h: Renamed from Source/WebCore/platform/graphics/chromium/LinkHighlight.h.
2250         (WebCore):
2251         (WebKit):
2252         (LinkHighlight):
2253         * src/WebViewImpl.cpp:
2254         (WebKit::WebViewImpl::handleGestureEvent):
2255         (WebKit):
2256         (WebKit::highlightConditions):
2257         (WebKit::WebViewImpl::bestTouchLinkNode): Find highlight target node for touch event location.
2258         (WebKit::WebViewImpl::enableTouchHighlight): Invokes highlight for node at current touch event location.
2259         (WebKit::WebViewImpl::layout): Adds call to LinkHighlight::updateGeometry().
2260         * src/WebViewImpl.h:
2261         (WebKit):
2262         (WebViewImpl):
2263         (WebKit::WebViewImpl::linkHighlight):
2264         * tests/LinkHighlightTest.cpp:
2265         (WebCore):
2266         (WebCore::TEST):
2267         * tests/data/test_touch_link_highlight.html: Added.
2268
2269 2012-08-22  Adam Barth  <abarth@webkit.org>
2270
2271         WebWidget should be able to paint into a zoomed canvas without aliasing
2272         https://bugs.webkit.org/show_bug.cgi?id=92043
2273
2274         Reviewed by James Robinson.
2275
2276         If accelerated compositing is enabled, WebWidget::paint reads back from
2277         the compositor rather than re-painting the widget. That approach works
2278         well if the canvas we're rendering into is at a similar resolution to
2279         the pixels in the compositor, but if the canvas has been scaled (e.g.,
2280         to help the user disambiguate links), then reading back from the
2281         compositor will cause aliasing artifacts.
2282
2283         This patch adds an option to paint to let the embedder request a
2284         software re-rendering of the widget to avoid these aliasing artifacts.
2285
2286         * public/WebWidget.h:
2287         (WebKit::WebWidget::paint):
2288         * src/WebPagePopupImpl.cpp:
2289         (WebKit::WebPagePopupImpl::paint):
2290         * src/WebPagePopupImpl.h:
2291         (WebPagePopupImpl):
2292         * src/WebPopupMenuImpl.cpp:
2293         (WebKit::WebPopupMenuImpl::paint):
2294         * src/WebPopupMenuImpl.h:
2295         * src/WebViewImpl.cpp:
2296         (WebKit::canvasBackgroundForTransparencey):
2297         (WebKit):
2298         (WebKit::WebViewImpl::paint):
2299         * src/WebViewImpl.h:
2300         (WebViewImpl):
2301
2302 2012-08-22  Eric Penner  <epenner@google.com>
2303
2304         [chromium] Simplify updateContentRect, removing rect parameter, refactor unit tests.
2305         https://bugs.webkit.org/show_bug.cgi?id=94165
2306
2307         Reviewed by Adrienne Walker.
2308
2309         Refactored tests to remove lots of boilerplate code.
2310
2311         * tests/CCTiledLayerTestCommon.cpp:
2312         * tests/CCTiledLayerTestCommon.h:
2313         (FakeTiledLayerChromium):
2314         * tests/TiledLayerChromiumTest.cpp:
2315
2316 2012-08-22  Iain Merrick  <husky@chromium.org>
2317
2318         [chromium] Remove WebFrame::setSelectionToRange
2319         https://bugs.webkit.org/show_bug.cgi?id=94685
2320
2321         Reviewed by Adam Barth.
2322
2323         It has basically the same functionality as WebFrame::selectRange.
2324         The calling code was removed in Chromium patch 152608.
2325
2326         * public/WebFrame.h:
2327         (WebFrame):
2328         * src/WebFrameImpl.cpp:
2329         * src/WebFrameImpl.h:
2330         (WebFrameImpl):
2331
2332 2012-08-22  Kenneth Russell  <kbr@google.com>
2333
2334         Unreviewed, rolling out r126319.
2335         http://trac.webkit.org/changeset/126319
2336         https://bugs.webkit.org/show_bug.cgi?id=84487
2337
2338         Broke Chromium Mac build
2339
2340         * WebKit.gyp:
2341         * src/LinkHighlight.cpp: Removed.
2342         * src/WebViewImpl.cpp:
2343         (WebKit::WebViewImpl::handleGestureEvent):
2344         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
2345         (WebKit::WebViewImpl::layout):
2346         * src/WebViewImpl.h:
2347         (WebKit):
2348         (WebViewImpl):
2349         * tests/LinkHighlightTest.cpp:
2350         * tests/data/test_touch_link_highlight.html: Removed.
2351
2352 2012-08-22  W. James MacLean  <wjmaclean@chromium.org>
2353
2354         [chromium] Add touch link highlight animation layers.
2355         https://bugs.webkit.org/show_bug.cgi?id=84487
2356
2357         Reviewed by James Robinson.
2358
2359         Adds support for creating composited touch link highlights in renderer thread. Clipping not yet
2360         implemented for non-composited frames/overflow divs, but scrolling and layout changes are supported.
2361         Transform support currently limited to translation.
2362
2363         Unit tests for LinkHighlight revised.
2364
2365         * WebKit.gyp:
2366         * src/LinkHighlight.cpp: Added.
2367         (WebKit):
2368         (WebKit::LinkHighlight::create):
2369         (WebKit::LinkHighlight::LinkHighlight):
2370         (WebKit::LinkHighlight::~LinkHighlight):
2371         (WebKit::LinkHighlight::contentLayer): Accessor for layer containing highlight.
2372         (WebKit::LinkHighlight::clipLayer): Accessor for layer that provides clipping for highlight.
2373         (WebKit::LinkHighlight::releaseResources): Releases Node* for highlight target, clears client/delegate pointers.
2374         (WebKit::LinkHighlight::computeEnclosingCompositingLayer): Determines which GraphicsLayerChromium to attach highlight to.
2375         (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition): Determines coordinates of highlight in owning GraphicsLayerChromium's coordinates.
2376         (WebKit::LinkHighlight::paintContents): If highlight active, paints highlight.
2377         (WebKit::LinkHighlight::startHighlightAnimation): Called to start highlight animation.
2378         (WebKit::LinkHighlight::clearGraphicsLayerLinkHighlightPointer): Removes this LinkHighlight's pointer from owning GraphicsLayerChromium.
2379         (WebKit::LinkHighlight::notifyAnimationStarted): Implements WebAnimationDelegate.
2380         (WebKit::LinkHighlight::notifyAnimationFinished): Implements WebAnimationDelegate, releases resources when animation completes.
2381         (WebKit::LinkHighlight::updateGeometry): Invokes computation of which GraphicsLayerChromium to attach to, and highlight shape & position.
2382             Computations proceed only if preceded by call to invalidate().
2383         (WebKit::LinkHighlight::clearCurrentGraphicsLayer): Handles notification that current GraphicsLayerChromium* is no longer valid.
2384         (WebKit::LinkHighlight::invalidate): Sets flag to allow geometry update on next call from WebViewImpl::layout().
2385         (WebKit::LinkHighlight::layer): Exports WebLayer* for use in GraphicsLayerChromium.
2386         * src/LinkHighlight.h: Renamed from Source/WebCore/platform/graphics/chromium/LinkHighlight.h.
2387         (WebCore):
2388         (WebKit):
2389         (LinkHighlight):
2390         * src/WebViewImpl.cpp:
2391         (WebKit::WebViewImpl::handleGestureEvent):
2392         (WebKit):
2393         (WebKit::highlightConditions):
2394         (WebKit::WebViewImpl::bestTouchLinkNode): Find highlight target node for touch event location.
2395         (WebKit::WebViewImpl::enableTouchHighlight): Invokes highlight for node at current touch event location.
2396         (WebKit::WebViewImpl::layout): Adds call to LinkHighlight::updateGeometry().
2397         * src/WebViewImpl.h:
2398         (WebKit):
2399         (WebViewImpl):
2400         (WebKit::WebViewImpl::linkHighlight):
2401         * tests/LinkHighlightTest.cpp:
2402         (WebCore):
2403         (WebCore::TEST):
2404         * tests/data/test_touch_link_highlight.html: Added.
2405
2406 2012-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2407
2408         Unreviewed.  Rolled DEPS.
2409
2410         * DEPS:
2411
2412 2012-08-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2413
2414         Unreviewed, rolling out r126202.
2415         http://trac.webkit.org/changeset/126202
2416         https://bugs.webkit.org/show_bug.cgi?id=94657
2417
2418         Causes assertion failures on Chromium Linux dbg compositing
2419         layout tests (Requested by dominicc on #webkit).
2420
2421         * tests/CCResourceProviderTest.cpp:
2422         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
2423         (WebKit::CCResourceProviderTest::getResourcePixels):
2424         (WebKit::TEST_F):
2425
2426 2012-08-21  Leandro Gracia Gil  <leandrogracia@chromium.org>
2427
2428         [Chromium] Find-in-page coordinates should use containingBlock
2429         https://bugs.webkit.org/show_bug.cgi?id=94343
2430
2431         Reviewed by Julien Chaffraix.
2432
2433         The current implementation uses the container method to climb the render tree.
2434         However, it would be more correct and convenient to use containingBlock instead.
2435         Also, this patch introduces new tests for find-in-page coordinates in tables.
2436
2437         * src/FindInPageCoordinates.cpp:
2438         (WebKit::toNormalizedRect): use containingBlock and get rid of the output parameter as it's not required now.
2439         (WebKit::findInPageRectFromAbsoluteRect): use containingBlock introduce some simplifications.
2440         * tests/WebFrameTest.cpp: add new tests for tables.
2441         * tests/data/find_in_page.html:
2442         * tests/data/find_in_page_frame.html: new tests for tables.
2443
2444 2012-08-21  Alexandre Elias  <aelias@google.com>
2445
2446         [chromium] Add software bitmap resources to CCResourceProvider
2447         https://bugs.webkit.org/show_bug.cgi?id=93677
2448
2449         Reviewed by Adrienne Walker.
2450
2451         This adds the ability to CCResourceProvider to use software bitmaps.
2452         They are allocated as plain-old-memory, and exposed as Skia objects.
2453
2454         We want the ResourceProvider to be able to handle different resource
2455         types at the same time.  In practice, a default resource type is
2456         desired for most uses within a single compositor instance, which is
2457         specified by the default resource type.  Default resource types are
2458         expected to be mostly 1-to-1 with CCRenderer types.
2459
2460         New tests added by parametrizing existing CCResourceProvider tests.
2461
2462         * tests/CCResourceProviderTest.cpp:
2463         (WebKit::CCResourceProviderTest::getResourcePixels):
2464
2465 2012-08-21  Oli Lan  <olilan@chromium.org>
2466
2467         [chromium] Add WebView methods setCompositionFromExistingText and extendSelectionAndDelete.
2468         https://bugs.webkit.org/show_bug.cgi?id=93724
2469
2470         Reviewed by Ryosuke Niwa.
2471
2472         This adds two new methods to WebViewImpl.
2473
2474         1) setCompositionFromExistingText creates a new composition from the existing text
2475         in the currently focused input field. The new composition is between the two offsets
2476         provided, relative to the rootEditableElement. The current selection is left unchanged.
2477         
2478         2) extendSelectionAndDelete extends the selection by the specified number of characters
2479         before and after, and then deletes the selection. If the selection is just a caret, the effect
2480         is to delete the specified number of characters before and after the current editing point.
2481
2482         These methods will be used e.g. by the Android port to implement IME functionality.
2483
2484         New tests WebViewTest.ExtendSelectionAndDelete and WebViewTest.SetCompositionFromExistingText
2485         test the two new methods.       
2486
2487         * public/WebView.h:
2488         (WebView):
2489         * src/WebViewImpl.cpp:
2490         (WebKit::WebViewImpl::setComposingRegion):
2491         (WebKit):
2492         (WebKit::extendSelectionAndDelete):
2493         * src/WebViewImpl.h:
2494         (WebViewImpl):
2495         * tests/WebViewTest.cpp:
2496
2497 2012-08-21  Alec Flett  <alecflett@chromium.org>
2498
2499         IndexedDB: remove old update/openCursor glue
2500         https://bugs.webkit.org/show_bug.cgi?id=94378
2501
2502         Reviewed by Tony Chang.
2503
2504         Remove Chromium/WebKit API for old methods that have now been
2505         removed from chromium proper.
2506
2507         * public/WebIDBObjectStore.h:
2508         * src/IDBObjectStoreBackendProxy.cpp:
2509         * src/IDBObjectStoreBackendProxy.h:
2510         (IDBObjectStoreBackendProxy):
2511         * src/WebIDBObjectStoreImpl.h:
2512         (WebIDBObjectStoreImpl):
2513
2514 2012-08-21  James Robinson  <jamesr@chromium.org>
2515
2516         [chromium] Should be able to destroy a CCLayerTreeHost without manually setting the root layer
2517         https://bugs.webkit.org/show_bug.cgi?id=94631
2518
2519         Reviewed by Adrienne Walker.
2520
2521         Tests that destroying a CCLayerTreeHost that still points to a non-null root doesn't crash.
2522
2523         * tests/LayerChromiumTest.cpp:
2524
2525 2012-08-21  James Robinson  <jamesr@chromium.org>
2526
2527         Unreviewed, rolling out r126170.
2528         http://trac.webkit.org/changeset/126170
2529         https://bugs.webkit.org/show_bug.cgi?id=94614
2530
2531         I spoke too soon
2532
2533         * WebKit.gypi:
2534         * src/NonCompositedContentHost.cpp:
2535         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
2536         (WebKit::NonCompositedContentHost::setScrollLayer):
2537         (WebKit::NonCompositedContentHost::setViewport):
2538         (WebKit::NonCompositedContentHost::scrollLayer):
2539         * src/NonCompositedContentHost.h:
2540         * src/WebContentLayer.cpp: Renamed from Source/WebKit/chromium/src/WebVideoLayerImpl.cpp.
2541         (WebKit):
2542         (WebKit::WebContentLayer::create):
2543         (WebKit::WebContentLayer::clearClient):
2544         (WebKit::WebContentLayer::setDoubleSided):
2545         (WebKit::WebContentLayer::setContentsScale):
2546         (WebKit::WebContentLayer::setUseLCDText):
2547         (WebKit::WebContentLayer::setDrawCheckerboardForMissingTiles):
2548         (WebKit::WebContentLayer::WebContentLayer):
2549         (WebKit::WebContentLayer::operator=):
2550         (WebKit::WebContentLayer::operator PassRefPtr<ContentLayerChromium>):
2551         * src/WebContentLayerImpl.cpp:
2552         (WebKit::WebContentLayerImpl::create):
2553         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
2554         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
2555         (WebKit::WebContentLayerImpl::paintContents):
2556         * src/WebContentLayerImpl.h:
2557         (WebContentLayerImpl):
2558         * src/WebExternalTextureLayer.cpp: Renamed from Source/WebKit/chromium/src/WebExternalTextureLayerImpl.cpp.
2559         (WebKit):
2560         (WebTextureUpdaterImpl):
2561         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
2562         (WebExternalTextureLayerImpl):
2563         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
2564         (WebKit::WebExternalTextureLayer::create):
2565         (WebKit::WebExternalTextureLayer::clearClient):
2566         (WebKit::WebExternalTextureLayer::setTextureId):
2567         (WebKit::WebExternalTextureLayer::setFlipped):
2568         (WebKit::WebExternalTextureLayer::setUVRect):
2569         (WebKit::WebExternalTextureLayer::setOpaque):
2570         (WebKit::WebExternalTextureLayer::setPremultipliedAlpha):
2571         (WebKit::WebExternalTextureLayer::willModifyTexture):
2572         (WebKit::WebExternalTextureLayer::setRateLimitContext):
2573         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
2574         * src/WebExternalTextureLayerImpl.h: Removed.
2575         * src/WebIOSurfaceLayer.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayerImpl.cpp.
2576         (WebKit):
2577         (WebKit::WebIOSurfaceLayer::create):
2578         (WebKit::WebIOSurfaceLayer::setIOSurfaceProperties):
2579         (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
2580         * src/WebIOSurfaceLayerImpl.h: Removed.
2581         * src/WebImageLayer.cpp: Renamed from Source/WebKit/chromium/src/WebImageLayerImpl.h.
2582         (WebKit):
2583         (WebKit::WebImageLayer::create):
2584         (WebKit::WebImageLayer::WebImageLayer):
2585         (WebKit::WebImageLayer::setBitmap):
2586         * src/WebLayer.cpp: Added.
2587         (WebKit):
2588         (WebKit::WebLayer::create):
2589         (WebKit::WebLayer::reset):
2590         (WebKit::WebLayer::assign):
2591         (WebKit::WebLayer::equals):
2592         (WebKit::WebLayer::invalidateRect):
2593         (WebKit::WebLayer::invalidate):
2594         (WebKit::WebLayer::addChild):
2595         (WebKit::WebLayer::insertChild):
2596         (WebKit::WebLayer::replaceChild):
2597         (WebKit::WebLayer::setChildren):
2598         (WebKit::WebLayer::removeFromParent):
2599         (WebKit::WebLayer::removeAllChildren):
2600         (WebKit::WebLayer::setAnchorPoint):
2601         (WebKit::WebLayer::anchorPoint):
2602         (WebKit::WebLayer::setAnchorPointZ):
2603         (WebKit::WebLayer::anchorPointZ):
2604         (WebKit::WebLayer::setBounds):
2605         (WebKit::WebLayer::bounds):
2606         (WebKit::WebLayer::setMasksToBounds):
2607         (WebKit::WebLayer::masksToBounds):
2608         (WebKit::WebLayer::setMaskLayer):
2609         (WebKit::WebLayer::setReplicaLayer):
2610         (WebKit::WebLayer::setOpacity):
2611         (WebKit::WebLayer::opacity):
2612         (WebKit::WebLayer::setOpaque):
2613         (WebKit::WebLayer::opaque):
2614         (WebKit::WebLayer::setPosition):
2615         (WebKit::WebLayer::position):
2616         (WebKit::WebLayer::setSublayerTransform):
2617         (WebKit::WebLayer::sublayerTransform):
2618         (WebKit::WebLayer::setTransform):
2619         (WebKit::WebLayer::transform):
2620         (WebKit::WebLayer::setDrawsContent):
2621         (WebKit::WebLayer::drawsContent):
2622         (WebKit::WebLayer::setPreserves3D):
2623         (WebKit::WebLayer::setUseParentBackfaceVisibility):
2624         (WebKit::WebLayer::setBackgroundColor):
2625         (WebKit::WebLayer::setFilters):
2626         (WebKit::WebLayer::setBackgroundFilters):
2627         (WebKit::WebLayer::setDebugBorderColor):
2628         (WebKit::WebLayer::setDebugBorderWidth):
2629         (WebKit::WebLayer::setDebugName):
2630         (WebKit::WebLayer::setAnimationDelegate):
2631         (WebKit::WebLayer::addAnimation):
2632         (WebKit::WebLayer::removeAnimation):
2633         (WebKit::WebLayer::pauseAnimation):
2634         (WebKit::WebLayer::suspendAnimations):
2635         (WebKit::WebLayer::resumeAnimations):
2636         (WebKit::WebLayer::hasActiveAnimation):
2637         (WebKit::WebLayer::transferAnimationsTo):
2638         (WebKit::WebLayer::setForceRenderSurface):
2639         (WebKit::WebLayer::clearRenderSurface):
2640         (WebKit::WebLayer::WebLayer):
2641         (WebKit::WebLayer::operator=):
2642         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
2643         * src/WebLayerImpl.cpp:
2644         (WebKit::WebLayerImpl::create):
2645         (WebKit::WebLayerImpl::WebLayerImpl):
2646         (WebKit::WebLayerImpl::~WebLayerImpl):
2647         * src/WebLayerImpl.h:
2648         (WebLayerImpl):
2649         * src/WebLayerTreeView.cpp:
2650         (WebKit::WebLayerTreeView::setRootLayer):
2651         * src/WebLayerTreeViewImpl.cpp:
2652         (WebKit::WebLayerTreeViewImpl::create):
2653         * src/WebMediaPlayerClientImpl.cpp:
2654         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
2655         (WebKit::WebMediaPlayerClientImpl::repaint):
2656         (WebKit::WebMediaPlayerClientImpl::setOpaque):
2657         (WebKit::WebMediaPlayerClientImpl::platformLayer):
2658         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
2659         * src/WebMediaPlayerClientImpl.h:
2660         (WebMediaPlayerClientImpl):
2661         * src/WebPluginContainerImpl.cpp:
2662         (WebKit::WebPluginContainerImpl::setBackingTextureId):
2663         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
2664         (WebKit::WebPluginContainerImpl::commitBackingTexture):
2665         (WebKit::WebPluginContainerImpl::setOpaque):
2666         (WebKit::WebPluginContainerImpl::platformLayer):
2667         * src/WebPluginContainerImpl.h:
2668         (WebPluginContainerImpl):
2669         * src/WebScrollableLayer.cpp: Renamed from Source/WebKit/chromium/src/WebImageLayerImpl.cpp.
2670         (WebKit):
2671         (WebKit::WebScrollableLayer::setScrollPosition):
2672         (WebKit::WebScrollableLayer::setScrollable):
2673         (WebKit::WebScrollableLayer::setHaveWheelEventHandlers):
2674         (WebKit::WebScrollableLayer::setShouldScrollOnMainThread):
2675         (WebKit::WebScrollableLayer::setNonFastScrollableRegion):
2676         (WebKit::WebScrollableLayer::setIsContainerForFixedPositionLayers):
2677         (WebKit::WebScrollableLayer::setFixedToContainerLayer):
2678         * src/WebScrollbarLayer.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarLayerImpl.cpp.
2679         (WebKit):
2680         (WebKit::WebScrollbarLayer::setScrollLayer):
2681         (WebKit::WebScrollbarLayer::create):
2682         (WebKit::WebScrollbarLayer::WebScrollbarLayer):
2683         (WebKit::WebScrollbarLayer::operator=):
2684         (WebKit::WebScrollbarLayer::operator PassRefPtr<ScrollbarLayerChromium>):
2685         * src/WebScrollbarLayerImpl.h: Removed.
2686         * src/WebSolidColorLayer.cpp: Copied from Source/Platform/chromium/public/WebSolidColorLayer.h.
2687         (WebKit):
2688         (WebKit::WebSolidColorLayer::create):
2689         (WebKit::WebSolidColorLayer::WebSolidColorLayer):
2690         (WebKit::WebSolidColorLayer::setBackgroundColor):
2691         * src/WebSolidColorLayerImpl.cpp:
2692         (WebKit::WebSolidColorLayerImpl::create):
2693         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
2694         * src/WebSolidColorLayerImpl.h:
2695         (WebSolidColorLayerImpl):
2696         * src/WebVideoLayer.cpp: Renamed from Source/WebKit/chromium/src/WebVideoLayerImpl.h.
2697         (WebKit):
2698         (WebKit::WebVideoLayer::create):
2699         (WebKit::WebVideoLayer::WebVideoLayer):
2700         (WebKit::WebVideoLayer::active):
2701         * src/WebViewImpl.cpp:
2702         (WebKit::WebViewImpl::WebViewImpl):
2703         (WebKit::WebViewImpl::setRootGraphicsLayer):
2704         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2705         (WebKit):
2706         * src/WebViewImpl.h:
2707         * tests/ImageLayerChromiumTest.cpp:
2708         (WebCore::TEST):
2709         * tests/WebLayerTest.cpp:
2710         * tests/WebLayerTreeViewTest.cpp:
2711
2712 2012-08-21  James Robinson  <jamesr@chromium.org>
2713
2714         Unreviewed, rolling out r126169.
2715         http://trac.webkit.org/changeset/126169
2716         https://bugs.webkit.org/show_bug.cgi?id=94614
2717
2718         Crashes already fixed downstream
2719
2720         * WebKit.gypi:
2721         * src/NonCompositedContentHost.cpp:
2722         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
2723         (WebKit::NonCompositedContentHost::setScrollLayer):
2724         (WebKit::NonCompositedContentHost::setViewport):
2725         (WebKit::NonCompositedContentHost::scrollLayer):
2726         * src/NonCompositedContentHost.h:
2727         * src/WebContentLayer.cpp: Removed.
2728         * src/WebContentLayerImpl.cpp:
2729         (WebKit::WebContentLayer::create):
2730         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
2731         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
2732         (WebKit::WebContentLayerImpl::layer):
2733         (WebKit):
2734         (WebKit::WebContentLayerImpl::setDoubleSided):
2735         (WebKit::WebContentLayerImpl::setContentsScale):
2736         (WebKit::WebContentLayerImpl::setUseLCDText):
2737         (WebKit::WebContentLayerImpl::setDrawCheckerboardForMissingTiles):
2738         (WebKit::WebContentLayerImpl::paintContents):
2739         * src/WebContentLayerImpl.h:
2740         (WebContentLayerImpl):
2741         * src/WebExternalTextureLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebExternalTextureLayer.cpp.
2742         (WebKit):
2743         (WebKit::WebExternalTextureLayer::create):
2744         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
2745         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
2746         (WebKit::WebExternalTextureLayerImpl::layer):
2747         (WebKit::WebExternalTextureLayerImpl::setTextureId):
2748         (WebKit::WebExternalTextureLayerImpl::setFlipped):
2749         (WebKit::WebExternalTextureLayerImpl::setUVRect):
2750         (WebKit::WebExternalTextureLayerImpl::setOpaque):
2751         (WebKit::WebExternalTextureLayerImpl::setPremultipliedAlpha):
2752         (WebKit::WebExternalTextureLayerImpl::willModifyTexture):
2753         (WebKit::WebExternalTextureLayerImpl::setRateLimitContext):
2754         (WebTextureUpdaterImpl):
2755         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
2756         (WebKit::WebExternalTextureLayerImpl::prepareTexture):
2757         (WebKit::WebExternalTextureLayerImpl::context):
2758         * src/WebExternalTextureLayerImpl.h: Copied from Source/Platform/chromium/public/WebVideoLayer.h.
2759         (WebKit):
2760         (WebExternalTextureLayerImpl):
2761         * src/WebIOSurfaceLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayer.cpp.
2762         (WebKit):
2763         (WebKit::WebIOSurfaceLayer::create):
2764         (WebKit::WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl):
2765         (WebKit::WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl):
2766         (WebKit::WebIOSurfaceLayerImpl::setIOSurfaceProperties):
2767         (WebKit::WebIOSurfaceLayerImpl::layer):
2768         * src/WebIOSurfaceLayerImpl.h: Copied from Source/Platform/chromium/public/WebImageLayer.h.
2769         (WebCore):
2770         (WebKit):
2771         (WebIOSurfaceLayerImpl):
2772         * src/WebImageLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebSolidColorLayer.cpp.
2773         (WebKit):
2774         (WebKit::WebImageLayer::create):
2775         (WebKit::WebImageLayerImpl::WebImageLayerImpl):
2776         (WebKit::WebImageLayerImpl::~WebImageLayerImpl):
2777         (WebKit::WebImageLayerImpl::layer):
2778         (WebKit::WebImageLayerImpl::setBitmap):
2779         * src/WebImageLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebImageLayer.cpp.
2780         (WebCore):
2781         (WebKit):
2782         (WebImageLayerImpl):
2783         * src/WebLayer.cpp: Removed.
2784         * src/WebLayerImpl.cpp:
2785         (WebKit::WebLayer::create):
2786         (WebKit::WebLayerImpl::WebLayerImpl):
2787         (WebKit::WebLayerImpl::~WebLayerImpl):
2788         (WebKit):
2789         (WebKit::WebLayerImpl::id):
2790         (WebKit::WebLayerImpl::invalidateRect):
2791         (WebKit::WebLayerImpl::invalidate):
2792         (WebKit::WebLayerImpl::addChild):
2793         (WebKit::WebLayerImpl::insertChild):
2794         (WebKit::WebLayerImpl::replaceChild):
2795         (WebKit::WebLayerImpl::setChildren):
2796         (WebKit::WebLayerImpl::removeFromParent):
2797         (WebKit::WebLayerImpl::removeAllChildren):
2798         (WebKit::WebLayerImpl::setAnchorPoint):
2799         (WebKit::WebLayerImpl::anchorPoint):
2800         (WebKit::WebLayerImpl::setAnchorPointZ):
2801         (WebKit::WebLayerImpl::anchorPointZ):
2802         (WebKit::WebLayerImpl::setBounds):
2803         (WebKit::WebLayerImpl::bounds):
2804         (WebKit::WebLayerImpl::setMasksToBounds):
2805         (WebKit::WebLayerImpl::masksToBounds):
2806         (WebKit::WebLayerImpl::setMaskLayer):
2807         (WebKit::WebLayerImpl::setReplicaLayer):
2808         (WebKit::WebLayerImpl::setOpacity):
2809         (WebKit::WebLayerImpl::opacity):
2810         (WebKit::WebLayerImpl::setOpaque):
2811         (WebKit::WebLayerImpl::opaque):
2812         (WebKit::WebLayerImpl::setPosition):
2813         (WebKit::WebLayerImpl::position):
2814         (WebKit::WebLayerImpl::setSublayerTransform):
2815         (WebKit::WebLayerImpl::sublayerTransform):
2816         (WebKit::WebLayerImpl::setTransform):
2817         (WebKit::WebLayerImpl::transform):
2818         (WebKit::WebLayerImpl::setDrawsContent):
2819         (WebKit::WebLayerImpl::drawsContent):
2820         (WebKit::WebLayerImpl::setPreserves3D):
2821         (WebKit::WebLayerImpl::setUseParentBackfaceVisibility):
2822         (WebKit::WebLayerImpl::setBackgroundColor):
2823         (WebKit::WebLayerImpl::setFilters):
2824         (WebKit::WebLayerImpl::setBackgroundFilters):
2825         (WebKit::WebLayerImpl::setDebugBorderColor):
2826         (WebKit::WebLayerImpl::setDebugBorderWidth):
2827         (WebKit::WebLayerImpl::setDebugName):
2828         (WebKit::WebLayerImpl::setAnimationDelegate):
2829         (WebKit::WebLayerImpl::addAnimation):
2830         (WebKit::WebLayerImpl::removeAnimation):
2831         (WebKit::WebLayerImpl::pauseAnimation):
2832         (WebKit::WebLayerImpl::suspendAnimations):
2833         (WebKit::WebLayerImpl::resumeAnimations):
2834         (WebKit::WebLayerImpl::hasActiveAnimation):
2835         (WebKit::WebLayerImpl::transferAnimationsTo):
2836         (WebKit::WebLayerImpl::setForceRenderSurface):
2837         (WebKit::WebLayerImpl::setScrollPosition):
2838         (WebKit::WebLayerImpl::setScrollable):
2839         (WebKit::WebLayerImpl::setHaveWheelEventHandlers):
2840         (WebKit::WebLayerImpl::setShouldScrollOnMainThread):
2841         (WebKit::WebLayerImpl::setNonFastScrollableRegion):
2842         (WebKit::WebLayerImpl::setIsContainerForFixedPositionLayers):
2843         (WebKit::WebLayerImpl::setFixedToContainerLayer):
2844         (WebKit::WebLayerImpl::layer):
2845         * src/WebLayerImpl.h:
2846         (WebCore):
2847         (WebLayerImpl):
2848         * src/WebLayerTreeView.cpp:
2849         (WebKit::WebLayerTreeView::setRootLayer):
2850         * src/WebLayerTreeViewImpl.cpp:
2851         (WebKit::WebLayerTreeViewImpl::create):
2852         * src/WebMediaPlayerClientImpl.cpp:
2853         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
2854         (WebKit::WebMediaPlayerClientImpl::repaint):
2855         (WebKit::WebMediaPlayerClientImpl::setOpaque):
2856         (WebKit::WebMediaPlayerClientImpl::platformLayer):
2857         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
2858         * src/WebMediaPlayerClientImpl.h:
2859         (WebMediaPlayerClientImpl):
2860         * src/WebPluginContainerImpl.cpp:
2861         (WebKit::WebPluginContainerImpl::setBackingTextureId):
2862         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
2863         (WebKit::WebPluginContainerImpl::commitBackingTexture):
2864         (WebKit::WebPluginContainerImpl::setOpaque):
2865         (WebKit::WebPluginContainerImpl::platformLayer):
2866         * src/WebPluginContainerImpl.h:
2867         (WebPluginContainerImpl):
2868         * src/WebScrollableLayer.cpp: Removed.
2869         * src/WebScrollbarLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarLayer.cpp.
2870         (WebKit):
2871         (WebKit::WebScrollbarLayer::create):
2872         (WebKit::WebScrollbarLayerImpl::WebScrollbarLayerImpl):
2873         (WebKit::WebScrollbarLayerImpl::~WebScrollbarLayerImpl):
2874         (WebKit::WebScrollbarLayerImpl::layer):
2875         (WebKit::WebScrollbarLayerImpl::setScrollLayer):
2876         * src/WebScrollbarLayerImpl.h: Copied from Source/WebKit/chromium/src/WebSolidColorLayerImpl.h.
2877         (WebCore):
2878         (WebKit):
2879         (WebScrollbarLayerImpl):
2880         * src/WebSolidColorLayerImpl.cpp:
2881         (WebKit::WebSolidColorLayer::create):
2882         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
2883         (WebKit::WebSolidColorLayerImpl::layer):
2884         (WebKit):
2885         (WebKit::WebSolidColorLayerImpl::setBackgroundColor):
2886         * src/WebSolidColorLayerImpl.h:
2887         (WebCore):
2888         (WebKit):
2889         (WebSolidColorLayerImpl):
2890         * src/WebVideoLayerImpl.cpp: Copied from Source/WebKit/chromium/src/WebVideoLayer.cpp.
2891         (WebKit):
2892         (WebKit::WebVideoLayer::create):
2893         (WebKit::WebVideoLayerImpl::WebVideoLayerImpl):
2894         (WebKit::WebVideoLayerImpl::~WebVideoLayerImpl):
2895         (WebKit::WebVideoLayerImpl::layer):
2896         (WebKit::WebVideoLayerImpl::active):
2897         * src/WebVideoLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebVideoLayer.cpp.
2898         (WebCore):
2899         (WebKit):
2900         (WebVideoLayerImpl):
2901         * src/WebViewImpl.cpp:
2902         (WebKit::WebViewImpl::WebViewImpl):
2903         (WebKit::WebViewImpl::setRootGraphicsLayer):
2904         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2905         (WebKit):
2906         * src/WebViewImpl.h:
2907         * tests/ImageLayerChromiumTest.cpp:
2908         (WebCore::TEST):
2909         * tests/WebLayerTest.cpp:
2910         * tests/WebLayerTreeViewTest.cpp:
2911
2912 2012-08-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2913
2914         Unreviewed, rolling out r126076, r126099, and r126106.
2915         http://trac.webkit.org/changeset/126076
2916         http://trac.webkit.org/changeset/126099
2917         http://trac.webkit.org/changeset/126106
2918         https://bugs.webkit.org/show_bug.cgi?id=94614
2919
2920         Caused crashes during compositor shutdown in Aura builds of
2921         Chromium (Requested by kbr_google on #webkit).
2922
2923         * WebKit.gypi:
2924         * src/NonCompositedContentHost.cpp:
2925         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
2926         (WebKit::NonCompositedContentHost::setScrollLayer):
2927         (WebKit::NonCompositedContentHost::setViewport):
2928         (WebKit::NonCompositedContentHost::scrollLayer):
2929         * src/NonCompositedContentHost.h:
2930         * src/WebContentLayer.cpp: Renamed from Source/WebKit/chromium/src/WebVideoLayerImpl.cpp.
2931         (WebKit):
2932         (WebKit::WebContentLayer::create):
2933         (WebKit::WebContentLayer::clearClient):
2934         (WebKit::WebContentLayer::setDoubleSided):
2935         (WebKit::WebContentLayer::setContentsScale):
2936         (WebKit::WebContentLayer::setUseLCDText):
2937         (WebKit::WebContentLayer::setDrawCheckerboardForMissingTiles):
2938         (WebKit::WebContentLayer::WebContentLayer):
2939         (WebKit::WebContentLayer::operator=):
2940         (WebKit::WebContentLayer::operator PassRefPtr<ContentLayerChromium>):
2941         * src/WebContentLayerImpl.cpp:
2942         (WebKit::WebContentLayerImpl::create):
2943         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
2944         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
2945         (WebKit::WebContentLayerImpl::paintContents):
2946         * src/WebContentLayerImpl.h:
2947         (WebContentLayerImpl):
2948         * src/WebExternalTextureLayer.cpp: Renamed from Source/WebKit/chromium/src/WebExternalTextureLayerImpl.cpp.
2949         (WebKit):
2950         (WebTextureUpdaterImpl):
2951         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
2952         (WebExternalTextureLayerImpl):
2953         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
2954         (WebKit::WebExternalTextureLayer::create):
2955         (WebKit::WebExternalTextureLayer::clearClient):
2956         (WebKit::WebExternalTextureLayer::setTextureId):
2957         (WebKit::WebExternalTextureLayer::setFlipped):
2958         (WebKit::WebExternalTextureLayer::setUVRect):
2959         (WebKit::WebExternalTextureLayer::setOpaque):
2960         (WebKit::WebExternalTextureLayer::setPremultipliedAlpha):
2961         (WebKit::WebExternalTextureLayer::willModifyTexture):
2962         (WebKit::WebExternalTextureLayer::setRateLimitContext):
2963         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
2964         * src/WebExternalTextureLayerImpl.h: Removed.
2965         * src/WebIOSurfaceLayer.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayerImpl.cpp.
2966         (WebKit):
2967         (WebKit::WebIOSurfaceLayer::create):
2968         (WebKit::WebIOSurfaceLayer::setIOSurfaceProperties):
2969         (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
2970         * src/WebIOSurfaceLayerImpl.h: Removed.
2971         * src/WebImageLayer.cpp: Renamed from Source/WebKit/chromium/src/WebImageLayerImpl.h.
2972         (WebKit):
2973         (WebKit::WebImageLayer::create):
2974         (WebKit::WebImageLayer::WebImageLayer):
2975         (WebKit::WebImageLayer::setBitmap):
2976         * src/WebLayer.cpp: Added.
2977         (WebKit):
2978         (WebKit::WebLayer::create):
2979         (WebKit::WebLayer::reset):
2980         (WebKit::WebLayer::assign):
2981         (WebKit::WebLayer::equals):
2982         (WebKit::WebLayer::invalidateRect):
2983         (WebKit::WebLayer::invalidate):
2984         (WebKit::WebLayer::addChild):
2985         (WebKit::WebLayer::insertChild):
2986         (WebKit::WebLayer::replaceChild):
2987         (WebKit::WebLayer::setChildren):
2988         (WebKit::WebLayer::removeFromParent):
2989         (WebKit::WebLayer::removeAllChildren):
2990         (WebKit::WebLayer::setAnchorPoint):
2991         (WebKit::WebLayer::anchorPoint):
2992         (WebKit::WebLayer::setAnchorPointZ):
2993         (WebKit::WebLayer::anchorPointZ):
2994         (WebKit::WebLayer::setBounds):
2995         (WebKit::WebLayer::bounds):
2996         (WebKit::WebLayer::setMasksToBounds):
2997         (WebKit::WebLayer::masksToBounds):
2998         (WebKit::WebLayer::setMaskLayer):
2999         (WebKit::WebLayer::setReplicaLayer):
3000         (WebKit::WebLayer::setOpacity):
3001         (WebKit::WebLayer::opacity):
3002         (WebKit::WebLayer::setOpaque):
3003         (WebKit::WebLayer::opaque):
3004         (WebKit::WebLayer::setPosition):
3005         (WebKit::WebLayer::position):
3006         (WebKit::WebLayer::setSublayerTransform):
3007         (WebKit::WebLayer::sublayerTransform):
3008         (WebKit::WebLayer::setTransform):
3009         (WebKit::WebLayer::transform):
3010         (WebKit::WebLayer::setDrawsContent):
3011         (WebKit::WebLayer::drawsContent):
3012         (WebKit::WebLayer::setPreserves3D):
3013         (WebKit::WebLayer::setUseParentBackfaceVisibility):
3014         (WebKit::WebLayer::setBackgroundColor):
3015         (WebKit::WebLayer::setFilters):
3016         (WebKit::WebLayer::setBackgroundFilters):
3017         (WebKit::WebLayer::setDebugBorderColor):
3018         (WebKit::WebLayer::setDebugBorderWidth):
3019         (WebKit::WebLayer::setDebugName):
3020         (WebKit::WebLayer::setAnimationDelegate):
3021         (WebKit::WebLayer::addAnimation):
3022         (WebKit::WebLayer::removeAnimation):
3023         (WebKit::WebLayer::pauseAnimation):
3024         (WebKit::WebLayer::suspendAnimations):
3025         (WebKit::WebLayer::resumeAnimations):
3026         (WebKit::WebLayer::hasActiveAnimation):
3027         (WebKit::WebLayer::transferAnimationsTo):
3028         (WebKit::WebLayer::setForceRenderSurface):
3029         (WebKit::WebLayer::clearRenderSurface):
3030         (WebKit::WebLayer::WebLayer):
3031         (WebKit::WebLayer::operator=):
3032         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
3033         * src/WebLayerImpl.cpp:
3034         (WebKit::WebLayerImpl::create):
3035         (WebKit::WebLayerImpl::WebLayerImpl):
3036         (WebKit::WebLayerImpl::~WebLayerImpl):
3037         * src/WebLayerImpl.h:
3038         (WebLayerImpl):
3039         * src/WebLayerTreeView.cpp:
3040         (WebKit::WebLayerTreeView::setRootLayer):
3041         * src/WebLayerTreeViewImpl.cpp:
3042         (WebKit::WebLayerTreeViewImpl::create):
3043         * src/WebMediaPlayerClientImpl.cpp:
3044         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
3045         (WebKit::WebMediaPlayerClientImpl::repaint):
3046         (WebKit::WebMediaPlayerClientImpl::setOpaque):
3047         (WebKit::WebMediaPlayerClientImpl::platformLayer):
3048         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
3049         * src/WebMediaPlayerClientImpl.h:
3050         (WebMediaPlayerClientImpl):
3051         * src/WebPluginContainerImpl.cpp:
3052         (WebKit::WebPluginContainerImpl::setBackingTextureId):
3053         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
3054         (WebKit::WebPluginContainerImpl::commitBackingTexture):
3055         (WebKit::WebPluginContainerImpl::setOpaque):
3056         (WebKit::WebPluginContainerImpl::platformLayer):
3057         * src/WebPluginContainerImpl.h:
3058         (WebPluginContainerImpl):
3059         * src/WebScrollableLayer.cpp: Renamed from Source/WebKit/chromium/src/WebImageLayerImpl.cpp.
3060         (WebKit):
3061         (WebKit::WebScrollableLayer::setScrollPosition):
3062         (WebKit::WebScrollableLayer::setScrollable):
3063         (WebKit::WebScrollableLayer::setHaveWheelEventHandlers):
3064         (WebKit::WebScrollableLayer::setShouldScrollOnMainThread):
3065         (WebKit::WebScrollableLayer::setNonFastScrollableRegion):
3066         (WebKit::WebScrollableLayer::setIsContainerForFixedPositionLayers):
3067         (WebKit::WebScrollableLayer::setFixedToContainerLayer):
3068         * src/WebScrollbarLayer.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarLayerImpl.cpp.
3069         (WebKit):
3070         (WebKit::WebScrollbarLayer::setScrollLayer):
3071         (WebKit::WebScrollbarLayer::create):
3072         (WebKit::WebScrollbarLayer::WebScrollbarLayer):
3073         (WebKit::WebScrollbarLayer::operator=):
3074         (WebKit::WebScrollbarLayer::operator PassRefPtr<ScrollbarLayerChromium>):
3075         * src/WebScrollbarLayerImpl.h: Removed.
3076         * src/WebSolidColorLayer.cpp: Copied from Source/Platform/chromium/public/WebSolidColorLayer.h.
3077         (WebKit):
3078         (WebKit::WebSolidColorLayer::create):
3079         (WebKit::WebSolidColorLayer::WebSolidColorLayer):
3080         (WebKit::WebSolidColorLayer::setBackgroundColor):
3081         * src/WebSolidColorLayerImpl.cpp:
3082         (WebKit::WebSolidColorLayerImpl::create):
3083         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
3084         * src/WebSolidColorLayerImpl.h:
3085         (WebSolidColorLayerImpl):
3086         * src/WebVideoLayer.cpp: Renamed from Source/WebKit/chromium/src/WebVideoLayerImpl.h.
3087         (WebKit):
3088         (WebKit::WebVideoLayer::create):
3089         (WebKit::WebVideoLayer::WebVideoLayer):
3090         (WebKit::WebVideoLayer::active):
3091         * src/WebViewImpl.cpp:
3092         (WebKit::WebViewImpl::WebViewImpl):
3093         (WebKit::WebViewImpl::setRootGraphicsLayer):
3094         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3095         (WebKit):
3096         * src/WebViewImpl.h:
3097         * tests/ImageLayerChromiumTest.cpp:
3098         (WebCore::TEST):
3099         * tests/WebLayerTest.cpp:
3100         * tests/WebLayerTreeViewTest.cpp:
3101
3102 2012-08-21  Ilya Tikhonovsky  <loislo@chromium.org>
3103
3104         Web Inspector: NMI: rename addMember for strings and KURL to addInstrumentedMember.
3105         https://bugs.webkit.org/show_bug.cgi?id=94580
3106
3107         Reviewed by Yury Semikhatsky.
3108
3109         Drive by fix: immutable ElementAttrybuteData uses the same trick with placement new as in StylePropertySet.
3110
3111         * tests/MemoryInstrumentationTest.cpp:
3112         (WebCore::TEST):
3113         (WebCore):
3114
3115 2012-08-21  Peter Beverloo  <peter@chromium.org>
3116
3117         Unreviewed.  Rolled DEPS.
3118
3119         * DEPS:
3120
3121 2012-08-20  Kent Tamura  <tkent@chromium.org>
3122
3123         [Chromium-win] Use native digits in parsing/formatting dates in the textfield part of input[type=date]
3124         https://bugs.webkit.org/show_bug.cgi?id=94281
3125
3126         Reviewed by Hajime Morita.
3127
3128         * tests/LocaleWinTest.cpp:
3129         (TEST_F): Added formatting and parsing tests for Persian locale to check
3130         native digit behavior.
3131
3132 2012-08-20  Kent Tamura  <tkent@chromium.org>
3133
3134         [Chromium] Make the popup positioning code testable
3135         https://bugs.webkit.org/show_bug.cgi?id=94086
3136
3137         Reviewed by Hajime Morita.
3138
3139         * WebKit.gypi: Add PopupContainerTest.cpp.
3140         * tests/PopupContainerTest.cpp: Added.
3141         (MockPopupContent):
3142         (calculatePosition):
3143         (TEST):
3144
3145 2012-08-20  Scott Graham  <scottmg@chromium.org>
3146
3147         [Chromium] Fix warnings on Windows builds
3148         https://bugs.webkit.org/show_bug.cgi?id=94543
3149
3150         Reviewed by Adrienne Walker.
3151
3152         * tests/CCMathUtilTest.cpp:
3153
3154 2012-08-20  Adam Klein  <adamk@chromium.org>
3155
3156         Allow MutationEvents to be enabled/disabled per context
3157         https://bugs.webkit.org/show_bug.cgi?id=94016
3158
3159         Reviewed by Ojan Vafai.
3160
3161         Add Chromium/WebKit API for enabling/disabling MutationEvents via
3162         WebPermissionClient.
3163
3164         * public/WebPermissionClient.h:
3165         (WebPermissionClient):
3166         (WebKit::WebPermissionClient::allowMutationEvents):
3167         * src/ContextFeaturesClientImpl.cpp:
3168         (WebKit::ContextFeaturesClientImpl::askIfIsEnabled):
3169
3170 2012-08-20  Sheriff Bot  <webkit.review.bot@gmail.com>
3171
3172         Unreviewed, rolling out r126095.
3173         http://trac.webkit.org/changeset/126095
3174         https://bugs.webkit.org/show_bug.cgi?id=94555
3175
3176         Breaks compilation of downstream WebWidget::paint
3177         implementations (Requested by jamesr on #webkit).
3178
3179         * public/WebWidget.h:
3180         (WebKit::WebWidget::paint):
3181         * src/WebPagePopupImpl.cpp:
3182         (WebKit::WebPagePopupImpl::paint):
3183         * src/WebPagePopupImpl.h:
3184         (WebPagePopupImpl):
3185         * src/WebPopupMenuImpl.cpp:
3186         (WebKit::WebPopupMenuImpl::paint):
3187         * src/WebPopupMenuImpl.h:
3188         * src/WebViewImpl.cpp:
3189         (WebKit::WebViewImpl::paint):
3190         * src/WebViewImpl.h:
3191         (WebViewImpl):
3192
3193 2012-08-20  Kentaro Hara  <haraken@chromium.org>
3194
3195         [V8] Move instrumentedCallFunction() from V8Proxy to ScriptController
3196         https://bugs.webkit.org/show_bug.cgi?id=94456
3197
3198         Reviewed by Adam Barth.
3199
3200         To kill V8Proxy, this patch moves instrumentedCallFunction() from V8Proxy
3201         to ScriptController. Also this patch renames instrumentedCallFunction()
3202         to callFunctionWithInstrumentation(), for consistency with callFunction().
3203
3204         No tests. No change in behavior.
3205
3206         * src/WebDevToolsFrontendImpl.cpp:
3207         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
3208
3209 2012-08-20  Kentaro Hara  <haraken@chromium.org>
3210
3211         [V8] Move retrieve{Window,Frame,PerContextData}() from V8Proxy to V8Binding
3212         https://bugs.webkit.org/show_bug.cgi?id=94460
3213
3214         Reviewed by Adam Barth.
3215
3216         To kill V8Proxy, we move retrieve{Window,Frame,PerContextData}()
3217         from V8Proxy to V8Binding. Also, this patch renames these methods as follows:
3218
3219         - retrieveWindow() -> toDOMWindow()
3220         - retrieveFrame() -> toFrameIfNotDetached()
3221         - retrievePerContextData() -> perContextDataForCurrentWorld()
3222
3223         No tests. No change in behavior.
3224
3225         * src/WebBindings.cpp:
3226         (WebKit::makeIntArrayImpl):
3227         (WebKit::makeStringArrayImpl):
3228         * src/WebFrameImpl.cpp:
3229         (WebKit::WebFrame::frameForContext):
3230
3231 2012-08-20  James Robinson  <jamesr@chromium.org>
3232
3233         [chromium] REGRESSION(126076) Should not touch old GraphicsLayerChromium::m_contentsLayer when setting up a new contents layer
3234         https://bugs.webkit.org/show_bug.cgi?id=94544
3235
3236         Reviewed by Adrienne Walker.
3237
3238         * src/WebLayerImpl.cpp:
3239         (WebKit::WebLayerImpl::id):
3240         (WebKit):
3241         * src/WebLayerImpl.h:
3242         (WebLayerImpl):
3243
3244 2012-08-20  Kentaro Hara  <haraken@chromium.org>
3245
3246         [V8] Move collectGarbage() from ScriptController to V8GCController
3247         https://bugs.webkit.org/show_bug.cgi?id=94455
3248
3249         Reviewed by Adam Barth.
3250
3251         - This patch moves collectGarbage() from ScriptController to V8GCController.
3252         - This patch makes collectGarbage() a static method.
3253         - This patch removes ScriptController::lowMemoryNotification()
3254         since it is not used at all.
3255
3256         No tests. No change in behavior.
3257
3258         * src/WebFrameImpl.cpp:
3259         (WebKit::WebFrameImpl::collectGarbage):
3260
3261 2012-08-20  Adam Barth  <abarth@webkit.org>
3262
3263         WebWidget should be able to paint into a zoomed canvas without aliasing
3264         https://bugs.webkit.org/show_bug.cgi?id=92043
3265
3266         Reviewed by James Robinson.
3267
3268         If accelerated compositing is enabled, WebWidget::paint reads back from
3269         the compositor rather than re-painting the widget. That approach works
3270         well if the canvas we're rendering into is at a similar resolution to
3271         the pixels in the compositor, but if the canvas has been scaled (e.g.,
3272         to help the user disambiguate links), then reading back from the
3273         compositor will cause aliasing artifacts.
3274
3275         This patch adds an option to paint to let the embedder request a
3276         software re-rendering of the widget to avoid these aliasing artifacts.
3277
3278         * public/WebWidget.h:
3279         (WebKit::WebWidget::paint):
3280         * src/WebPagePopupImpl.cpp:
3281         (WebKit::WebPagePopupImpl::paint):
3282         * src/WebPagePopupImpl.h:
3283         (WebPagePopupImpl):
3284         * src/WebPopupMenuImpl.cpp:
3285         (WebKit::WebPopupMenuImpl::paint):
3286         * src/WebPopupMenuImpl.h:
3287         * src/WebViewImpl.cpp:
3288         (WebKit::canvasBackgroundForTransparencey):
3289         (WebKit):
3290         (WebKit::WebViewImpl::paint):
3291         * src/WebViewImpl.h:
3292         (WebViewImpl):
3293
3294 2012-08-20  James Robinson  <jamesr@chromium.org>
3295
3296         Unreviewed. Roll WebKit chromium DEPS forward.
3297
3298         * DEPS:
3299
3300 2012-08-20  Kentaro Hara  <haraken@chromium.org>
3301
3302         [V8] Move clearForClose() and clearForNavigation() from V8Proxy to ScriptController
3303         https://bugs.webkit.org/show_bug.cgi?id=94459
3304
3305         Reviewed by Adam Barth.
3306
3307         To kill V8Proxy, we can move clearForClose() and
3308         clearForNavigation() from V8Proxy to ScriptController.
3309
3310         No tests. No change in behavior.
3311
3312         * src/FrameLoaderClientImpl.cpp:
3313         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
3314
3315 2012-08-20  Kentaro Hara  <haraken@chromium.org>
3316
3317         [V8] Move mainWorldContext() from V8Proxy to ScriptController
3318         https://bugs.webkit.org/show_bug.cgi?id=94453
3319
3320         Reviewed by Adam Barth.
3321
3322         This patch moves mainWorldContext() from V8Proxy to ScriptController.
3323         In addition, this patch removes dependency on V8Proxy from WorldContextHandle.
3324
3325         No tests. No change in behavior.
3326
3327         * src/WebFrameImpl.cpp:
3328         (WebKit::WebFrameImpl::mainWorldScriptContext):
3329
3330 2012-08-20  Adam Klein  <adamk@chromium.org>
3331
3332         Remove redundant TOUCH_LISTENER event type
3333         https://bugs.webkit.org/show_bug.cgi?id=94524
3334
3335         Reviewed by Ryosuke Niwa.
3336
3337         * src/WebPluginContainerImpl.cpp:
3338         (WebKit::WebPluginContainerImpl::setIsAcceptingTouchEvents): Remove
3339         bookkeeping for TOUCH_LISTENER.
3340
3341 2012-08-16  James Robinson  <jamesr@chromium.org>
3342
3343         [chromium] Change WebLayer from a concrete type to a pure virtual interface
3344         https://bugs.webkit.org/show_bug.cgi?id=94174
3345
3346         Reviewed by Adrienne Walker.
3347
3348         This updates the implementation of the Web*Layer family to the new design and updates callers in WebViewImpl /
3349         NonCompositedContentHost.
3350
3351         * WebKit.gyp:
3352         * src/NonCompositedContentHost.cpp:
3353         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
3354         (WebKit::NonCompositedContentHost::setScrollLayer):
3355         (WebKit::NonCompositedContentHost::setViewport):
3356         (WebKit::NonCompositedContentHost::scrollLayer):
3357         * src/NonCompositedContentHost.h:
3358         * src/WebContentLayerImpl.cpp:
3359         (WebKit::WebContentLayer::create):
3360         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
3361         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
3362         (WebKit::WebContentLayerImpl::layer):
3363         (WebKit):
3364         (WebKit::WebContentLayerImpl::clearClient):
3365         (WebKit::WebContentLayerImpl::setDoubleSided):
3366         (WebKit::WebContentLayerImpl::setContentsScale):
3367         (WebKit::WebContentLayerImpl::setUseLCDText):
3368         (WebKit::WebContentLayerImpl::setDrawCheckerboardForMissingTiles):
3369         (WebKit::WebContentLayerImpl::paintContents):
3370         * src/WebContentLayerImpl.h:
3371         (WebContentLayerImpl):
3372         * src/WebExternalTextureLayer.cpp: Removed.
3373         * src/WebExternalTextureLayerImpl.cpp: Added.
3374         (WebKit):
3375         (WebKit::WebExternalTextureLayer::create):
3376         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
3377         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
3378         (WebKit::WebExternalTextureLayerImpl::layer):
3379         (WebKit::WebExternalTextureLayerImpl::clearClient):
3380         (WebKit::WebExternalTextureLayerImpl::setTextureId):
3381         (WebKit::WebExternalTextureLayerImpl::setFlipped):
3382         (WebKit::WebExternalTextureLayerImpl::setUVRect):
3383         (WebKit::WebExternalTextureLayerImpl::setOpaque):
3384         (WebKit::WebExternalTextureLayerImpl::setPremultipliedAlpha):
3385         (WebKit::WebExternalTextureLayerImpl::willModifyTexture):
3386         (WebKit::WebExternalTextureLayerImpl::setRateLimitContext):
3387         (WebTextureUpdaterImpl):
3388         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
3389         (WebKit::WebExternalTextureLayerImpl::prepareTexture):
3390         (WebKit::WebExternalTextureLayerImpl::context):
3391         * src/WebExternalTextureLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebContentLayer.cpp.
3392         (WebKit):
3393         (WebExternalTextureLayerImpl):
3394         * src/WebIOSurfaceLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayer.cpp.
3395         (WebKit):
3396         (WebKit::WebIOSurfaceLayer::create):
3397         (WebKit::WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl):
3398         (WebKit::WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl):
3399         (WebKit::WebIOSurfaceLayerImpl::setIOSurfaceProperties):
3400         (WebKit::WebIOSurfaceLayerImpl::layer):
3401         * src/WebIOSurfaceLayerImpl.h: Copied from Source/Platform/chromium/public/WebImageLayer.h.
3402         (WebCore):
3403         (WebKit):
3404         (WebIOSurfaceLayerImpl):
3405         * src/WebImageLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebSolidColorLayer.cpp.
3406         (WebKit):
3407         (WebKit::WebImageLayer::create):
3408         (WebKit::WebImageLayerImpl::WebImageLayerImpl):
3409         (WebKit::WebImageLayerImpl::~WebImageLayerImpl):
3410         (WebKit::WebImageLayerImpl::layer):
3411         (WebKit::WebImageLayerImpl::setBitmap):
3412         * src/WebImageLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebImageLayer.cpp.
3413         (WebCore):
3414         (WebKit):
3415         (WebImageLayerImpl):
3416         * src/WebLayer.cpp: Removed.
3417         * src/WebLayerImpl.cpp:
3418         (WebKit::WebLayer::create):
3419         (WebKit::WebLayerImpl::WebLayerImpl):
3420         (WebKit::WebLayerImpl::~WebLayerImpl):
3421         (WebKit):
3422         (WebKit::WebLayerImpl::invalidateRect):
3423         (WebKit::WebLayerImpl::invalidate):
3424         (WebKit::WebLayerImpl::addChild):
3425         (WebKit::WebLayerImpl::insertChild):
3426         (WebKit::WebLayerImpl::replaceChild):
3427         (WebKit::WebLayerImpl::setChildren):
3428         (WebKit::WebLayerImpl::removeFromParent):
3429         (WebKit::WebLayerImpl::removeAllChildren):
3430         (WebKit::WebLayerImpl::setAnchorPoint):
3431         (WebKit::WebLayerImpl::anchorPoint):
3432         (WebKit::WebLayerImpl::setAnchorPointZ):
3433         (WebKit::WebLayerImpl::anchorPointZ):
3434         (WebKit::WebLayerImpl::setBounds):
3435         (WebKit::WebLayerImpl::bounds):
3436         (WebKit::WebLayerImpl::setMasksToBounds):
3437         (WebKit::WebLayerImpl::masksToBounds):
3438         (WebKit::WebLayerImpl::setMaskLayer):
3439         (WebKit::WebLayerImpl::setReplicaLayer):
3440         (WebKit::WebLayerImpl::setOpacity):