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