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