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