Unreviewed. Rolled DEPS.
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2
3         Unreviewed.  Rolled DEPS.
4
5         * DEPS:
6
7 2012-08-21  Sheriff Bot  <webkit.review.bot@gmail.com>
8
9         Unreviewed, rolling out r126202.
10         http://trac.webkit.org/changeset/126202
11         https://bugs.webkit.org/show_bug.cgi?id=94657
12
13         Causes assertion failures on Chromium Linux dbg compositing
14         layout tests (Requested by dominicc on #webkit).
15
16         * tests/CCResourceProviderTest.cpp:
17         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
18         (WebKit::CCResourceProviderTest::getResourcePixels):
19         (WebKit::TEST_F):
20
21 2012-08-21  Leandro Gracia Gil  <leandrogracia@chromium.org>
22
23         [Chromium] Find-in-page coordinates should use containingBlock
24         https://bugs.webkit.org/show_bug.cgi?id=94343
25
26         Reviewed by Julien Chaffraix.
27
28         The current implementation uses the container method to climb the render tree.
29         However, it would be more correct and convenient to use containingBlock instead.
30         Also, this patch introduces new tests for find-in-page coordinates in tables.
31
32         * src/FindInPageCoordinates.cpp:
33         (WebKit::toNormalizedRect): use containingBlock and get rid of the output parameter as it's not required now.
34         (WebKit::findInPageRectFromAbsoluteRect): use containingBlock introduce some simplifications.
35         * tests/WebFrameTest.cpp: add new tests for tables.
36         * tests/data/find_in_page.html:
37         * tests/data/find_in_page_frame.html: new tests for tables.
38
39 2012-08-21  Alexandre Elias  <aelias@google.com>
40
41         [chromium] Add software bitmap resources to CCResourceProvider
42         https://bugs.webkit.org/show_bug.cgi?id=93677
43
44         Reviewed by Adrienne Walker.
45
46         This adds the ability to CCResourceProvider to use software bitmaps.
47         They are allocated as plain-old-memory, and exposed as Skia objects.
48
49         We want the ResourceProvider to be able to handle different resource
50         types at the same time.  In practice, a default resource type is
51         desired for most uses within a single compositor instance, which is
52         specified by the default resource type.  Default resource types are
53         expected to be mostly 1-to-1 with CCRenderer types.
54
55         New tests added by parametrizing existing CCResourceProvider tests.
56
57         * tests/CCResourceProviderTest.cpp:
58         (WebKit::CCResourceProviderTest::getResourcePixels):
59
60 2012-08-21  Oli Lan  <olilan@chromium.org>
61
62         [chromium] Add WebView methods setCompositionFromExistingText and extendSelectionAndDelete.
63         https://bugs.webkit.org/show_bug.cgi?id=93724
64
65         Reviewed by Ryosuke Niwa.
66
67         This adds two new methods to WebViewImpl.
68
69         1) setCompositionFromExistingText creates a new composition from the existing text
70         in the currently focused input field. The new composition is between the two offsets
71         provided, relative to the rootEditableElement. The current selection is left unchanged.
72         
73         2) extendSelectionAndDelete extends the selection by the specified number of characters
74         before and after, and then deletes the selection. If the selection is just a caret, the effect
75         is to delete the specified number of characters before and after the current editing point.
76
77         These methods will be used e.g. by the Android port to implement IME functionality.
78
79         New tests WebViewTest.ExtendSelectionAndDelete and WebViewTest.SetCompositionFromExistingText
80         test the two new methods.       
81
82         * public/WebView.h:
83         (WebView):
84         * src/WebViewImpl.cpp:
85         (WebKit::WebViewImpl::setComposingRegion):
86         (WebKit):
87         (WebKit::extendSelectionAndDelete):
88         * src/WebViewImpl.h:
89         (WebViewImpl):
90         * tests/WebViewTest.cpp:
91
92 2012-08-21  Alec Flett  <alecflett@chromium.org>
93
94         IndexedDB: remove old update/openCursor glue
95         https://bugs.webkit.org/show_bug.cgi?id=94378
96
97         Reviewed by Tony Chang.
98
99         Remove Chromium/WebKit API for old methods that have now been
100         removed from chromium proper.
101
102         * public/WebIDBObjectStore.h:
103         * src/IDBObjectStoreBackendProxy.cpp:
104         * src/IDBObjectStoreBackendProxy.h:
105         (IDBObjectStoreBackendProxy):
106         * src/WebIDBObjectStoreImpl.h:
107         (WebIDBObjectStoreImpl):
108
109 2012-08-21  James Robinson  <jamesr@chromium.org>
110
111         [chromium] Should be able to destroy a CCLayerTreeHost without manually setting the root layer
112         https://bugs.webkit.org/show_bug.cgi?id=94631
113
114         Reviewed by Adrienne Walker.
115
116         Tests that destroying a CCLayerTreeHost that still points to a non-null root doesn't crash.
117
118         * tests/LayerChromiumTest.cpp:
119
120 2012-08-21  James Robinson  <jamesr@chromium.org>
121
122         Unreviewed, rolling out r126170.
123         http://trac.webkit.org/changeset/126170
124         https://bugs.webkit.org/show_bug.cgi?id=94614
125
126         I spoke too soon
127
128         * WebKit.gypi:
129         * src/NonCompositedContentHost.cpp:
130         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
131         (WebKit::NonCompositedContentHost::setScrollLayer):
132         (WebKit::NonCompositedContentHost::setViewport):
133         (WebKit::NonCompositedContentHost::scrollLayer):
134         * src/NonCompositedContentHost.h:
135         * src/WebContentLayer.cpp: Renamed from Source/WebKit/chromium/src/WebVideoLayerImpl.cpp.
136         (WebKit):
137         (WebKit::WebContentLayer::create):
138         (WebKit::WebContentLayer::clearClient):
139         (WebKit::WebContentLayer::setDoubleSided):
140         (WebKit::WebContentLayer::setContentsScale):
141         (WebKit::WebContentLayer::setUseLCDText):
142         (WebKit::WebContentLayer::setDrawCheckerboardForMissingTiles):
143         (WebKit::WebContentLayer::WebContentLayer):
144         (WebKit::WebContentLayer::operator=):
145         (WebKit::WebContentLayer::operator PassRefPtr<ContentLayerChromium>):
146         * src/WebContentLayerImpl.cpp:
147         (WebKit::WebContentLayerImpl::create):
148         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
149         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
150         (WebKit::WebContentLayerImpl::paintContents):
151         * src/WebContentLayerImpl.h:
152         (WebContentLayerImpl):
153         * src/WebExternalTextureLayer.cpp: Renamed from Source/WebKit/chromium/src/WebExternalTextureLayerImpl.cpp.
154         (WebKit):
155         (WebTextureUpdaterImpl):
156         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
157         (WebExternalTextureLayerImpl):
158         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
159         (WebKit::WebExternalTextureLayer::create):
160         (WebKit::WebExternalTextureLayer::clearClient):
161         (WebKit::WebExternalTextureLayer::setTextureId):
162         (WebKit::WebExternalTextureLayer::setFlipped):
163         (WebKit::WebExternalTextureLayer::setUVRect):
164         (WebKit::WebExternalTextureLayer::setOpaque):
165         (WebKit::WebExternalTextureLayer::setPremultipliedAlpha):
166         (WebKit::WebExternalTextureLayer::willModifyTexture):
167         (WebKit::WebExternalTextureLayer::setRateLimitContext):
168         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
169         * src/WebExternalTextureLayerImpl.h: Removed.
170         * src/WebIOSurfaceLayer.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayerImpl.cpp.
171         (WebKit):
172         (WebKit::WebIOSurfaceLayer::create):
173         (WebKit::WebIOSurfaceLayer::setIOSurfaceProperties):
174         (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
175         * src/WebIOSurfaceLayerImpl.h: Removed.
176         * src/WebImageLayer.cpp: Renamed from Source/WebKit/chromium/src/WebImageLayerImpl.h.
177         (WebKit):
178         (WebKit::WebImageLayer::create):
179         (WebKit::WebImageLayer::WebImageLayer):
180         (WebKit::WebImageLayer::setBitmap):
181         * src/WebLayer.cpp: Added.
182         (WebKit):
183         (WebKit::WebLayer::create):
184         (WebKit::WebLayer::reset):
185         (WebKit::WebLayer::assign):
186         (WebKit::WebLayer::equals):
187         (WebKit::WebLayer::invalidateRect):
188         (WebKit::WebLayer::invalidate):
189         (WebKit::WebLayer::addChild):
190         (WebKit::WebLayer::insertChild):
191         (WebKit::WebLayer::replaceChild):
192         (WebKit::WebLayer::setChildren):
193         (WebKit::WebLayer::removeFromParent):
194         (WebKit::WebLayer::removeAllChildren):
195         (WebKit::WebLayer::setAnchorPoint):
196         (WebKit::WebLayer::anchorPoint):
197         (WebKit::WebLayer::setAnchorPointZ):
198         (WebKit::WebLayer::anchorPointZ):
199         (WebKit::WebLayer::setBounds):
200         (WebKit::WebLayer::bounds):
201         (WebKit::WebLayer::setMasksToBounds):
202         (WebKit::WebLayer::masksToBounds):
203         (WebKit::WebLayer::setMaskLayer):
204         (WebKit::WebLayer::setReplicaLayer):
205         (WebKit::WebLayer::setOpacity):
206         (WebKit::WebLayer::opacity):
207         (WebKit::WebLayer::setOpaque):
208         (WebKit::WebLayer::opaque):
209         (WebKit::WebLayer::setPosition):
210         (WebKit::WebLayer::position):
211         (WebKit::WebLayer::setSublayerTransform):
212         (WebKit::WebLayer::sublayerTransform):
213         (WebKit::WebLayer::setTransform):
214         (WebKit::WebLayer::transform):
215         (WebKit::WebLayer::setDrawsContent):
216         (WebKit::WebLayer::drawsContent):
217         (WebKit::WebLayer::setPreserves3D):
218         (WebKit::WebLayer::setUseParentBackfaceVisibility):
219         (WebKit::WebLayer::setBackgroundColor):
220         (WebKit::WebLayer::setFilters):
221         (WebKit::WebLayer::setBackgroundFilters):
222         (WebKit::WebLayer::setDebugBorderColor):
223         (WebKit::WebLayer::setDebugBorderWidth):
224         (WebKit::WebLayer::setDebugName):
225         (WebKit::WebLayer::setAnimationDelegate):
226         (WebKit::WebLayer::addAnimation):
227         (WebKit::WebLayer::removeAnimation):
228         (WebKit::WebLayer::pauseAnimation):
229         (WebKit::WebLayer::suspendAnimations):
230         (WebKit::WebLayer::resumeAnimations):
231         (WebKit::WebLayer::hasActiveAnimation):
232         (WebKit::WebLayer::transferAnimationsTo):
233         (WebKit::WebLayer::setForceRenderSurface):
234         (WebKit::WebLayer::clearRenderSurface):
235         (WebKit::WebLayer::WebLayer):
236         (WebKit::WebLayer::operator=):
237         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
238         * src/WebLayerImpl.cpp:
239         (WebKit::WebLayerImpl::create):
240         (WebKit::WebLayerImpl::WebLayerImpl):
241         (WebKit::WebLayerImpl::~WebLayerImpl):
242         * src/WebLayerImpl.h:
243         (WebLayerImpl):
244         * src/WebLayerTreeView.cpp:
245         (WebKit::WebLayerTreeView::setRootLayer):
246         * src/WebLayerTreeViewImpl.cpp:
247         (WebKit::WebLayerTreeViewImpl::create):
248         * src/WebMediaPlayerClientImpl.cpp:
249         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
250         (WebKit::WebMediaPlayerClientImpl::repaint):
251         (WebKit::WebMediaPlayerClientImpl::setOpaque):
252         (WebKit::WebMediaPlayerClientImpl::platformLayer):
253         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
254         * src/WebMediaPlayerClientImpl.h:
255         (WebMediaPlayerClientImpl):
256         * src/WebPluginContainerImpl.cpp:
257         (WebKit::WebPluginContainerImpl::setBackingTextureId):
258         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
259         (WebKit::WebPluginContainerImpl::commitBackingTexture):
260         (WebKit::WebPluginContainerImpl::setOpaque):
261         (WebKit::WebPluginContainerImpl::platformLayer):
262         * src/WebPluginContainerImpl.h:
263         (WebPluginContainerImpl):
264         * src/WebScrollableLayer.cpp: Renamed from Source/WebKit/chromium/src/WebImageLayerImpl.cpp.
265         (WebKit):
266         (WebKit::WebScrollableLayer::setScrollPosition):
267         (WebKit::WebScrollableLayer::setScrollable):
268         (WebKit::WebScrollableLayer::setHaveWheelEventHandlers):
269         (WebKit::WebScrollableLayer::setShouldScrollOnMainThread):
270         (WebKit::WebScrollableLayer::setNonFastScrollableRegion):
271         (WebKit::WebScrollableLayer::setIsContainerForFixedPositionLayers):
272         (WebKit::WebScrollableLayer::setFixedToContainerLayer):
273         * src/WebScrollbarLayer.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarLayerImpl.cpp.
274         (WebKit):
275         (WebKit::WebScrollbarLayer::setScrollLayer):
276         (WebKit::WebScrollbarLayer::create):
277         (WebKit::WebScrollbarLayer::WebScrollbarLayer):
278         (WebKit::WebScrollbarLayer::operator=):
279         (WebKit::WebScrollbarLayer::operator PassRefPtr<ScrollbarLayerChromium>):
280         * src/WebScrollbarLayerImpl.h: Removed.
281         * src/WebSolidColorLayer.cpp: Copied from Source/Platform/chromium/public/WebSolidColorLayer.h.
282         (WebKit):
283         (WebKit::WebSolidColorLayer::create):
284         (WebKit::WebSolidColorLayer::WebSolidColorLayer):
285         (WebKit::WebSolidColorLayer::setBackgroundColor):
286         * src/WebSolidColorLayerImpl.cpp:
287         (WebKit::WebSolidColorLayerImpl::create):
288         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
289         * src/WebSolidColorLayerImpl.h:
290         (WebSolidColorLayerImpl):
291         * src/WebVideoLayer.cpp: Renamed from Source/WebKit/chromium/src/WebVideoLayerImpl.h.
292         (WebKit):
293         (WebKit::WebVideoLayer::create):
294         (WebKit::WebVideoLayer::WebVideoLayer):
295         (WebKit::WebVideoLayer::active):
296         * src/WebViewImpl.cpp:
297         (WebKit::WebViewImpl::WebViewImpl):
298         (WebKit::WebViewImpl::setRootGraphicsLayer):
299         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
300         (WebKit):
301         * src/WebViewImpl.h:
302         * tests/ImageLayerChromiumTest.cpp:
303         (WebCore::TEST):
304         * tests/WebLayerTest.cpp:
305         * tests/WebLayerTreeViewTest.cpp:
306
307 2012-08-21  James Robinson  <jamesr@chromium.org>
308
309         Unreviewed, rolling out r126169.
310         http://trac.webkit.org/changeset/126169
311         https://bugs.webkit.org/show_bug.cgi?id=94614
312
313         Crashes already fixed downstream
314
315         * WebKit.gypi:
316         * src/NonCompositedContentHost.cpp:
317         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
318         (WebKit::NonCompositedContentHost::setScrollLayer):
319         (WebKit::NonCompositedContentHost::setViewport):
320         (WebKit::NonCompositedContentHost::scrollLayer):
321         * src/NonCompositedContentHost.h:
322         * src/WebContentLayer.cpp: Removed.
323         * src/WebContentLayerImpl.cpp:
324         (WebKit::WebContentLayer::create):
325         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
326         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
327         (WebKit::WebContentLayerImpl::layer):
328         (WebKit):
329         (WebKit::WebContentLayerImpl::setDoubleSided):
330         (WebKit::WebContentLayerImpl::setContentsScale):
331         (WebKit::WebContentLayerImpl::setUseLCDText):
332         (WebKit::WebContentLayerImpl::setDrawCheckerboardForMissingTiles):
333         (WebKit::WebContentLayerImpl::paintContents):
334         * src/WebContentLayerImpl.h:
335         (WebContentLayerImpl):
336         * src/WebExternalTextureLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebExternalTextureLayer.cpp.
337         (WebKit):
338         (WebKit::WebExternalTextureLayer::create):
339         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
340         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
341         (WebKit::WebExternalTextureLayerImpl::layer):
342         (WebKit::WebExternalTextureLayerImpl::setTextureId):
343         (WebKit::WebExternalTextureLayerImpl::setFlipped):
344         (WebKit::WebExternalTextureLayerImpl::setUVRect):
345         (WebKit::WebExternalTextureLayerImpl::setOpaque):
346         (WebKit::WebExternalTextureLayerImpl::setPremultipliedAlpha):
347         (WebKit::WebExternalTextureLayerImpl::willModifyTexture):
348         (WebKit::WebExternalTextureLayerImpl::setRateLimitContext):
349         (WebTextureUpdaterImpl):
350         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
351         (WebKit::WebExternalTextureLayerImpl::prepareTexture):
352         (WebKit::WebExternalTextureLayerImpl::context):
353         * src/WebExternalTextureLayerImpl.h: Copied from Source/Platform/chromium/public/WebVideoLayer.h.
354         (WebKit):
355         (WebExternalTextureLayerImpl):
356         * src/WebIOSurfaceLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayer.cpp.
357         (WebKit):
358         (WebKit::WebIOSurfaceLayer::create):
359         (WebKit::WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl):
360         (WebKit::WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl):
361         (WebKit::WebIOSurfaceLayerImpl::setIOSurfaceProperties):
362         (WebKit::WebIOSurfaceLayerImpl::layer):
363         * src/WebIOSurfaceLayerImpl.h: Copied from Source/Platform/chromium/public/WebImageLayer.h.
364         (WebCore):
365         (WebKit):
366         (WebIOSurfaceLayerImpl):
367         * src/WebImageLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebSolidColorLayer.cpp.
368         (WebKit):
369         (WebKit::WebImageLayer::create):
370         (WebKit::WebImageLayerImpl::WebImageLayerImpl):
371         (WebKit::WebImageLayerImpl::~WebImageLayerImpl):
372         (WebKit::WebImageLayerImpl::layer):
373         (WebKit::WebImageLayerImpl::setBitmap):
374         * src/WebImageLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebImageLayer.cpp.
375         (WebCore):
376         (WebKit):
377         (WebImageLayerImpl):
378         * src/WebLayer.cpp: Removed.
379         * src/WebLayerImpl.cpp:
380         (WebKit::WebLayer::create):
381         (WebKit::WebLayerImpl::WebLayerImpl):
382         (WebKit::WebLayerImpl::~WebLayerImpl):
383         (WebKit):
384         (WebKit::WebLayerImpl::id):
385         (WebKit::WebLayerImpl::invalidateRect):
386         (WebKit::WebLayerImpl::invalidate):
387         (WebKit::WebLayerImpl::addChild):
388         (WebKit::WebLayerImpl::insertChild):
389         (WebKit::WebLayerImpl::replaceChild):
390         (WebKit::WebLayerImpl::setChildren):
391         (WebKit::WebLayerImpl::removeFromParent):
392         (WebKit::WebLayerImpl::removeAllChildren):
393         (WebKit::WebLayerImpl::setAnchorPoint):
394         (WebKit::WebLayerImpl::anchorPoint):
395         (WebKit::WebLayerImpl::setAnchorPointZ):
396         (WebKit::WebLayerImpl::anchorPointZ):
397         (WebKit::WebLayerImpl::setBounds):
398         (WebKit::WebLayerImpl::bounds):
399         (WebKit::WebLayerImpl::setMasksToBounds):
400         (WebKit::WebLayerImpl::masksToBounds):
401         (WebKit::WebLayerImpl::setMaskLayer):
402         (WebKit::WebLayerImpl::setReplicaLayer):
403         (WebKit::WebLayerImpl::setOpacity):
404         (WebKit::WebLayerImpl::opacity):
405         (WebKit::WebLayerImpl::setOpaque):
406         (WebKit::WebLayerImpl::opaque):
407         (WebKit::WebLayerImpl::setPosition):
408         (WebKit::WebLayerImpl::position):
409         (WebKit::WebLayerImpl::setSublayerTransform):
410         (WebKit::WebLayerImpl::sublayerTransform):
411         (WebKit::WebLayerImpl::setTransform):
412         (WebKit::WebLayerImpl::transform):
413         (WebKit::WebLayerImpl::setDrawsContent):
414         (WebKit::WebLayerImpl::drawsContent):
415         (WebKit::WebLayerImpl::setPreserves3D):
416         (WebKit::WebLayerImpl::setUseParentBackfaceVisibility):
417         (WebKit::WebLayerImpl::setBackgroundColor):
418         (WebKit::WebLayerImpl::setFilters):
419         (WebKit::WebLayerImpl::setBackgroundFilters):
420         (WebKit::WebLayerImpl::setDebugBorderColor):
421         (WebKit::WebLayerImpl::setDebugBorderWidth):
422         (WebKit::WebLayerImpl::setDebugName):
423         (WebKit::WebLayerImpl::setAnimationDelegate):
424         (WebKit::WebLayerImpl::addAnimation):
425         (WebKit::WebLayerImpl::removeAnimation):
426         (WebKit::WebLayerImpl::pauseAnimation):
427         (WebKit::WebLayerImpl::suspendAnimations):
428         (WebKit::WebLayerImpl::resumeAnimations):
429         (WebKit::WebLayerImpl::hasActiveAnimation):
430         (WebKit::WebLayerImpl::transferAnimationsTo):
431         (WebKit::WebLayerImpl::setForceRenderSurface):
432         (WebKit::WebLayerImpl::setScrollPosition):
433         (WebKit::WebLayerImpl::setScrollable):
434         (WebKit::WebLayerImpl::setHaveWheelEventHandlers):
435         (WebKit::WebLayerImpl::setShouldScrollOnMainThread):
436         (WebKit::WebLayerImpl::setNonFastScrollableRegion):
437         (WebKit::WebLayerImpl::setIsContainerForFixedPositionLayers):
438         (WebKit::WebLayerImpl::setFixedToContainerLayer):
439         (WebKit::WebLayerImpl::layer):
440         * src/WebLayerImpl.h:
441         (WebCore):
442         (WebLayerImpl):
443         * src/WebLayerTreeView.cpp:
444         (WebKit::WebLayerTreeView::setRootLayer):
445         * src/WebLayerTreeViewImpl.cpp:
446         (WebKit::WebLayerTreeViewImpl::create):
447         * src/WebMediaPlayerClientImpl.cpp:
448         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
449         (WebKit::WebMediaPlayerClientImpl::repaint):
450         (WebKit::WebMediaPlayerClientImpl::setOpaque):
451         (WebKit::WebMediaPlayerClientImpl::platformLayer):
452         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
453         * src/WebMediaPlayerClientImpl.h:
454         (WebMediaPlayerClientImpl):
455         * src/WebPluginContainerImpl.cpp:
456         (WebKit::WebPluginContainerImpl::setBackingTextureId):
457         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
458         (WebKit::WebPluginContainerImpl::commitBackingTexture):
459         (WebKit::WebPluginContainerImpl::setOpaque):
460         (WebKit::WebPluginContainerImpl::platformLayer):
461         * src/WebPluginContainerImpl.h:
462         (WebPluginContainerImpl):
463         * src/WebScrollableLayer.cpp: Removed.
464         * src/WebScrollbarLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarLayer.cpp.
465         (WebKit):
466         (WebKit::WebScrollbarLayer::create):
467         (WebKit::WebScrollbarLayerImpl::WebScrollbarLayerImpl):
468         (WebKit::WebScrollbarLayerImpl::~WebScrollbarLayerImpl):
469         (WebKit::WebScrollbarLayerImpl::layer):
470         (WebKit::WebScrollbarLayerImpl::setScrollLayer):
471         * src/WebScrollbarLayerImpl.h: Copied from Source/WebKit/chromium/src/WebSolidColorLayerImpl.h.
472         (WebCore):
473         (WebKit):
474         (WebScrollbarLayerImpl):
475         * src/WebSolidColorLayerImpl.cpp:
476         (WebKit::WebSolidColorLayer::create):
477         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
478         (WebKit::WebSolidColorLayerImpl::layer):
479         (WebKit):
480         (WebKit::WebSolidColorLayerImpl::setBackgroundColor):
481         * src/WebSolidColorLayerImpl.h:
482         (WebCore):
483         (WebKit):
484         (WebSolidColorLayerImpl):
485         * src/WebVideoLayerImpl.cpp: Copied from Source/WebKit/chromium/src/WebVideoLayer.cpp.
486         (WebKit):
487         (WebKit::WebVideoLayer::create):
488         (WebKit::WebVideoLayerImpl::WebVideoLayerImpl):
489         (WebKit::WebVideoLayerImpl::~WebVideoLayerImpl):
490         (WebKit::WebVideoLayerImpl::layer):
491         (WebKit::WebVideoLayerImpl::active):
492         * src/WebVideoLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebVideoLayer.cpp.
493         (WebCore):
494         (WebKit):
495         (WebVideoLayerImpl):
496         * src/WebViewImpl.cpp:
497         (WebKit::WebViewImpl::WebViewImpl):
498         (WebKit::WebViewImpl::setRootGraphicsLayer):
499         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
500         (WebKit):
501         * src/WebViewImpl.h:
502         * tests/ImageLayerChromiumTest.cpp:
503         (WebCore::TEST):
504         * tests/WebLayerTest.cpp:
505         * tests/WebLayerTreeViewTest.cpp:
506
507 2012-08-21  Sheriff Bot  <webkit.review.bot@gmail.com>
508
509         Unreviewed, rolling out r126076, r126099, and r126106.
510         http://trac.webkit.org/changeset/126076
511         http://trac.webkit.org/changeset/126099
512         http://trac.webkit.org/changeset/126106
513         https://bugs.webkit.org/show_bug.cgi?id=94614
514
515         Caused crashes during compositor shutdown in Aura builds of
516         Chromium (Requested by kbr_google on #webkit).
517
518         * WebKit.gypi:
519         * src/NonCompositedContentHost.cpp:
520         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
521         (WebKit::NonCompositedContentHost::setScrollLayer):
522         (WebKit::NonCompositedContentHost::setViewport):
523         (WebKit::NonCompositedContentHost::scrollLayer):
524         * src/NonCompositedContentHost.h:
525         * src/WebContentLayer.cpp: Renamed from Source/WebKit/chromium/src/WebVideoLayerImpl.cpp.
526         (WebKit):
527         (WebKit::WebContentLayer::create):
528         (WebKit::WebContentLayer::clearClient):
529         (WebKit::WebContentLayer::setDoubleSided):
530         (WebKit::WebContentLayer::setContentsScale):
531         (WebKit::WebContentLayer::setUseLCDText):
532         (WebKit::WebContentLayer::setDrawCheckerboardForMissingTiles):
533         (WebKit::WebContentLayer::WebContentLayer):
534         (WebKit::WebContentLayer::operator=):
535         (WebKit::WebContentLayer::operator PassRefPtr<ContentLayerChromium>):
536         * src/WebContentLayerImpl.cpp:
537         (WebKit::WebContentLayerImpl::create):
538         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
539         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
540         (WebKit::WebContentLayerImpl::paintContents):
541         * src/WebContentLayerImpl.h:
542         (WebContentLayerImpl):
543         * src/WebExternalTextureLayer.cpp: Renamed from Source/WebKit/chromium/src/WebExternalTextureLayerImpl.cpp.
544         (WebKit):
545         (WebTextureUpdaterImpl):
546         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
547         (WebExternalTextureLayerImpl):
548         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
549         (WebKit::WebExternalTextureLayer::create):
550         (WebKit::WebExternalTextureLayer::clearClient):
551         (WebKit::WebExternalTextureLayer::setTextureId):
552         (WebKit::WebExternalTextureLayer::setFlipped):
553         (WebKit::WebExternalTextureLayer::setUVRect):
554         (WebKit::WebExternalTextureLayer::setOpaque):
555         (WebKit::WebExternalTextureLayer::setPremultipliedAlpha):
556         (WebKit::WebExternalTextureLayer::willModifyTexture):
557         (WebKit::WebExternalTextureLayer::setRateLimitContext):
558         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
559         * src/WebExternalTextureLayerImpl.h: Removed.
560         * src/WebIOSurfaceLayer.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayerImpl.cpp.
561         (WebKit):
562         (WebKit::WebIOSurfaceLayer::create):
563         (WebKit::WebIOSurfaceLayer::setIOSurfaceProperties):
564         (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
565         * src/WebIOSurfaceLayerImpl.h: Removed.
566         * src/WebImageLayer.cpp: Renamed from Source/WebKit/chromium/src/WebImageLayerImpl.h.
567         (WebKit):
568         (WebKit::WebImageLayer::create):
569         (WebKit::WebImageLayer::WebImageLayer):
570         (WebKit::WebImageLayer::setBitmap):
571         * src/WebLayer.cpp: Added.
572         (WebKit):
573         (WebKit::WebLayer::create):
574         (WebKit::WebLayer::reset):
575         (WebKit::WebLayer::assign):
576         (WebKit::WebLayer::equals):
577         (WebKit::WebLayer::invalidateRect):
578         (WebKit::WebLayer::invalidate):
579         (WebKit::WebLayer::addChild):
580         (WebKit::WebLayer::insertChild):
581         (WebKit::WebLayer::replaceChild):
582         (WebKit::WebLayer::setChildren):
583         (WebKit::WebLayer::removeFromParent):
584         (WebKit::WebLayer::removeAllChildren):
585         (WebKit::WebLayer::setAnchorPoint):
586         (WebKit::WebLayer::anchorPoint):
587         (WebKit::WebLayer::setAnchorPointZ):
588         (WebKit::WebLayer::anchorPointZ):
589         (WebKit::WebLayer::setBounds):
590         (WebKit::WebLayer::bounds):
591         (WebKit::WebLayer::setMasksToBounds):
592         (WebKit::WebLayer::masksToBounds):
593         (WebKit::WebLayer::setMaskLayer):
594         (WebKit::WebLayer::setReplicaLayer):
595         (WebKit::WebLayer::setOpacity):
596         (WebKit::WebLayer::opacity):
597         (WebKit::WebLayer::setOpaque):
598         (WebKit::WebLayer::opaque):
599         (WebKit::WebLayer::setPosition):
600         (WebKit::WebLayer::position):
601         (WebKit::WebLayer::setSublayerTransform):
602         (WebKit::WebLayer::sublayerTransform):
603         (WebKit::WebLayer::setTransform):
604         (WebKit::WebLayer::transform):
605         (WebKit::WebLayer::setDrawsContent):
606         (WebKit::WebLayer::drawsContent):
607         (WebKit::WebLayer::setPreserves3D):
608         (WebKit::WebLayer::setUseParentBackfaceVisibility):
609         (WebKit::WebLayer::setBackgroundColor):
610         (WebKit::WebLayer::setFilters):
611         (WebKit::WebLayer::setBackgroundFilters):
612         (WebKit::WebLayer::setDebugBorderColor):
613         (WebKit::WebLayer::setDebugBorderWidth):
614         (WebKit::WebLayer::setDebugName):
615         (WebKit::WebLayer::setAnimationDelegate):
616         (WebKit::WebLayer::addAnimation):
617         (WebKit::WebLayer::removeAnimation):
618         (WebKit::WebLayer::pauseAnimation):
619         (WebKit::WebLayer::suspendAnimations):
620         (WebKit::WebLayer::resumeAnimations):
621         (WebKit::WebLayer::hasActiveAnimation):
622         (WebKit::WebLayer::transferAnimationsTo):
623         (WebKit::WebLayer::setForceRenderSurface):
624         (WebKit::WebLayer::clearRenderSurface):
625         (WebKit::WebLayer::WebLayer):
626         (WebKit::WebLayer::operator=):
627         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
628         * src/WebLayerImpl.cpp:
629         (WebKit::WebLayerImpl::create):
630         (WebKit::WebLayerImpl::WebLayerImpl):
631         (WebKit::WebLayerImpl::~WebLayerImpl):
632         * src/WebLayerImpl.h:
633         (WebLayerImpl):
634         * src/WebLayerTreeView.cpp:
635         (WebKit::WebLayerTreeView::setRootLayer):
636         * src/WebLayerTreeViewImpl.cpp:
637         (WebKit::WebLayerTreeViewImpl::create):
638         * src/WebMediaPlayerClientImpl.cpp:
639         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
640         (WebKit::WebMediaPlayerClientImpl::repaint):
641         (WebKit::WebMediaPlayerClientImpl::setOpaque):
642         (WebKit::WebMediaPlayerClientImpl::platformLayer):
643         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
644         * src/WebMediaPlayerClientImpl.h:
645         (WebMediaPlayerClientImpl):
646         * src/WebPluginContainerImpl.cpp:
647         (WebKit::WebPluginContainerImpl::setBackingTextureId):
648         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
649         (WebKit::WebPluginContainerImpl::commitBackingTexture):
650         (WebKit::WebPluginContainerImpl::setOpaque):
651         (WebKit::WebPluginContainerImpl::platformLayer):
652         * src/WebPluginContainerImpl.h:
653         (WebPluginContainerImpl):
654         * src/WebScrollableLayer.cpp: Renamed from Source/WebKit/chromium/src/WebImageLayerImpl.cpp.
655         (WebKit):
656         (WebKit::WebScrollableLayer::setScrollPosition):
657         (WebKit::WebScrollableLayer::setScrollable):
658         (WebKit::WebScrollableLayer::setHaveWheelEventHandlers):
659         (WebKit::WebScrollableLayer::setShouldScrollOnMainThread):
660         (WebKit::WebScrollableLayer::setNonFastScrollableRegion):
661         (WebKit::WebScrollableLayer::setIsContainerForFixedPositionLayers):
662         (WebKit::WebScrollableLayer::setFixedToContainerLayer):
663         * src/WebScrollbarLayer.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarLayerImpl.cpp.
664         (WebKit):
665         (WebKit::WebScrollbarLayer::setScrollLayer):
666         (WebKit::WebScrollbarLayer::create):
667         (WebKit::WebScrollbarLayer::WebScrollbarLayer):
668         (WebKit::WebScrollbarLayer::operator=):
669         (WebKit::WebScrollbarLayer::operator PassRefPtr<ScrollbarLayerChromium>):
670         * src/WebScrollbarLayerImpl.h: Removed.
671         * src/WebSolidColorLayer.cpp: Copied from Source/Platform/chromium/public/WebSolidColorLayer.h.
672         (WebKit):
673         (WebKit::WebSolidColorLayer::create):
674         (WebKit::WebSolidColorLayer::WebSolidColorLayer):
675         (WebKit::WebSolidColorLayer::setBackgroundColor):
676         * src/WebSolidColorLayerImpl.cpp:
677         (WebKit::WebSolidColorLayerImpl::create):
678         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
679         * src/WebSolidColorLayerImpl.h:
680         (WebSolidColorLayerImpl):
681         * src/WebVideoLayer.cpp: Renamed from Source/WebKit/chromium/src/WebVideoLayerImpl.h.
682         (WebKit):
683         (WebKit::WebVideoLayer::create):
684         (WebKit::WebVideoLayer::WebVideoLayer):
685         (WebKit::WebVideoLayer::active):
686         * src/WebViewImpl.cpp:
687         (WebKit::WebViewImpl::WebViewImpl):
688         (WebKit::WebViewImpl::setRootGraphicsLayer):
689         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
690         (WebKit):
691         * src/WebViewImpl.h:
692         * tests/ImageLayerChromiumTest.cpp:
693         (WebCore::TEST):
694         * tests/WebLayerTest.cpp:
695         * tests/WebLayerTreeViewTest.cpp:
696
697 2012-08-21  Ilya Tikhonovsky  <loislo@chromium.org>
698
699         Web Inspector: NMI: rename addMember for strings and KURL to addInstrumentedMember.
700         https://bugs.webkit.org/show_bug.cgi?id=94580
701
702         Reviewed by Yury Semikhatsky.
703
704         Drive by fix: immutable ElementAttrybuteData uses the same trick with placement new as in StylePropertySet.
705
706         * tests/MemoryInstrumentationTest.cpp:
707         (WebCore::TEST):
708         (WebCore):
709
710 2012-08-21  Peter Beverloo  <peter@chromium.org>
711
712         Unreviewed.  Rolled DEPS.
713
714         * DEPS:
715
716 2012-08-20  Kent Tamura  <tkent@chromium.org>
717
718         [Chromium-win] Use native digits in parsing/formatting dates in the textfield part of input[type=date]
719         https://bugs.webkit.org/show_bug.cgi?id=94281
720
721         Reviewed by Hajime Morita.
722
723         * tests/LocaleWinTest.cpp:
724         (TEST_F): Added formatting and parsing tests for Persian locale to check
725         native digit behavior.
726
727 2012-08-20  Kent Tamura  <tkent@chromium.org>
728
729         [Chromium] Make the popup positioning code testable
730         https://bugs.webkit.org/show_bug.cgi?id=94086
731
732         Reviewed by Hajime Morita.
733
734         * WebKit.gypi: Add PopupContainerTest.cpp.
735         * tests/PopupContainerTest.cpp: Added.
736         (MockPopupContent):
737         (calculatePosition):
738         (TEST):
739
740 2012-08-20  Scott Graham  <scottmg@chromium.org>
741
742         [Chromium] Fix warnings on Windows builds
743         https://bugs.webkit.org/show_bug.cgi?id=94543
744
745         Reviewed by Adrienne Walker.
746
747         * tests/CCMathUtilTest.cpp:
748
749 2012-08-20  Adam Klein  <adamk@chromium.org>
750
751         Allow MutationEvents to be enabled/disabled per context
752         https://bugs.webkit.org/show_bug.cgi?id=94016
753
754         Reviewed by Ojan Vafai.
755
756         Add Chromium/WebKit API for enabling/disabling MutationEvents via
757         WebPermissionClient.
758
759         * public/WebPermissionClient.h:
760         (WebPermissionClient):
761         (WebKit::WebPermissionClient::allowMutationEvents):
762         * src/ContextFeaturesClientImpl.cpp:
763         (WebKit::ContextFeaturesClientImpl::askIfIsEnabled):
764
765 2012-08-20  Sheriff Bot  <webkit.review.bot@gmail.com>
766
767         Unreviewed, rolling out r126095.
768         http://trac.webkit.org/changeset/126095
769         https://bugs.webkit.org/show_bug.cgi?id=94555
770
771         Breaks compilation of downstream WebWidget::paint
772         implementations (Requested by jamesr on #webkit).
773
774         * public/WebWidget.h:
775         (WebKit::WebWidget::paint):
776         * src/WebPagePopupImpl.cpp:
777         (WebKit::WebPagePopupImpl::paint):
778         * src/WebPagePopupImpl.h:
779         (WebPagePopupImpl):
780         * src/WebPopupMenuImpl.cpp:
781         (WebKit::WebPopupMenuImpl::paint):
782         * src/WebPopupMenuImpl.h:
783         * src/WebViewImpl.cpp:
784         (WebKit::WebViewImpl::paint):
785         * src/WebViewImpl.h:
786         (WebViewImpl):
787
788 2012-08-20  Kentaro Hara  <haraken@chromium.org>
789
790         [V8] Move instrumentedCallFunction() from V8Proxy to ScriptController
791         https://bugs.webkit.org/show_bug.cgi?id=94456
792
793         Reviewed by Adam Barth.
794
795         To kill V8Proxy, this patch moves instrumentedCallFunction() from V8Proxy
796         to ScriptController. Also this patch renames instrumentedCallFunction()
797         to callFunctionWithInstrumentation(), for consistency with callFunction().
798
799         No tests. No change in behavior.
800
801         * src/WebDevToolsFrontendImpl.cpp:
802         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
803
804 2012-08-20  Kentaro Hara  <haraken@chromium.org>
805
806         [V8] Move retrieve{Window,Frame,PerContextData}() from V8Proxy to V8Binding
807         https://bugs.webkit.org/show_bug.cgi?id=94460
808
809         Reviewed by Adam Barth.
810
811         To kill V8Proxy, we move retrieve{Window,Frame,PerContextData}()
812         from V8Proxy to V8Binding. Also, this patch renames these methods as follows:
813
814         - retrieveWindow() -> toDOMWindow()
815         - retrieveFrame() -> toFrameIfNotDetached()
816         - retrievePerContextData() -> perContextDataForCurrentWorld()
817
818         No tests. No change in behavior.
819
820         * src/WebBindings.cpp:
821         (WebKit::makeIntArrayImpl):
822         (WebKit::makeStringArrayImpl):
823         * src/WebFrameImpl.cpp:
824         (WebKit::WebFrame::frameForContext):
825
826 2012-08-20  James Robinson  <jamesr@chromium.org>
827
828         [chromium] REGRESSION(126076) Should not touch old GraphicsLayerChromium::m_contentsLayer when setting up a new contents layer
829         https://bugs.webkit.org/show_bug.cgi?id=94544
830
831         Reviewed by Adrienne Walker.
832
833         * src/WebLayerImpl.cpp:
834         (WebKit::WebLayerImpl::id):
835         (WebKit):
836         * src/WebLayerImpl.h:
837         (WebLayerImpl):
838
839 2012-08-20  Kentaro Hara  <haraken@chromium.org>
840
841         [V8] Move collectGarbage() from ScriptController to V8GCController
842         https://bugs.webkit.org/show_bug.cgi?id=94455
843
844         Reviewed by Adam Barth.
845
846         - This patch moves collectGarbage() from ScriptController to V8GCController.
847         - This patch makes collectGarbage() a static method.
848         - This patch removes ScriptController::lowMemoryNotification()
849         since it is not used at all.
850
851         No tests. No change in behavior.
852
853         * src/WebFrameImpl.cpp:
854         (WebKit::WebFrameImpl::collectGarbage):
855
856 2012-08-20  Adam Barth  <abarth@webkit.org>
857
858         WebWidget should be able to paint into a zoomed canvas without aliasing
859         https://bugs.webkit.org/show_bug.cgi?id=92043
860
861         Reviewed by James Robinson.
862
863         If accelerated compositing is enabled, WebWidget::paint reads back from
864         the compositor rather than re-painting the widget. That approach works
865         well if the canvas we're rendering into is at a similar resolution to
866         the pixels in the compositor, but if the canvas has been scaled (e.g.,
867         to help the user disambiguate links), then reading back from the
868         compositor will cause aliasing artifacts.
869
870         This patch adds an option to paint to let the embedder request a
871         software re-rendering of the widget to avoid these aliasing artifacts.
872
873         * public/WebWidget.h:
874         (WebKit::WebWidget::paint):
875         * src/WebPagePopupImpl.cpp:
876         (WebKit::WebPagePopupImpl::paint):
877         * src/WebPagePopupImpl.h:
878         (WebPagePopupImpl):
879         * src/WebPopupMenuImpl.cpp:
880         (WebKit::WebPopupMenuImpl::paint):
881         * src/WebPopupMenuImpl.h:
882         * src/WebViewImpl.cpp:
883         (WebKit::canvasBackgroundForTransparencey):
884         (WebKit):
885         (WebKit::WebViewImpl::paint):
886         * src/WebViewImpl.h:
887         (WebViewImpl):
888
889 2012-08-20  James Robinson  <jamesr@chromium.org>
890
891         Unreviewed. Roll WebKit chromium DEPS forward.
892
893         * DEPS:
894
895 2012-08-20  Kentaro Hara  <haraken@chromium.org>
896
897         [V8] Move clearForClose() and clearForNavigation() from V8Proxy to ScriptController
898         https://bugs.webkit.org/show_bug.cgi?id=94459
899
900         Reviewed by Adam Barth.
901
902         To kill V8Proxy, we can move clearForClose() and
903         clearForNavigation() from V8Proxy to ScriptController.
904
905         No tests. No change in behavior.
906
907         * src/FrameLoaderClientImpl.cpp:
908         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
909
910 2012-08-20  Kentaro Hara  <haraken@chromium.org>
911
912         [V8] Move mainWorldContext() from V8Proxy to ScriptController
913         https://bugs.webkit.org/show_bug.cgi?id=94453
914
915         Reviewed by Adam Barth.
916
917         This patch moves mainWorldContext() from V8Proxy to ScriptController.
918         In addition, this patch removes dependency on V8Proxy from WorldContextHandle.
919
920         No tests. No change in behavior.
921
922         * src/WebFrameImpl.cpp:
923         (WebKit::WebFrameImpl::mainWorldScriptContext):
924
925 2012-08-20  Adam Klein  <adamk@chromium.org>
926
927         Remove redundant TOUCH_LISTENER event type
928         https://bugs.webkit.org/show_bug.cgi?id=94524
929
930         Reviewed by Ryosuke Niwa.
931
932         * src/WebPluginContainerImpl.cpp:
933         (WebKit::WebPluginContainerImpl::setIsAcceptingTouchEvents): Remove
934         bookkeeping for TOUCH_LISTENER.
935
936 2012-08-16  James Robinson  <jamesr@chromium.org>
937
938         [chromium] Change WebLayer from a concrete type to a pure virtual interface
939         https://bugs.webkit.org/show_bug.cgi?id=94174
940
941         Reviewed by Adrienne Walker.
942
943         This updates the implementation of the Web*Layer family to the new design and updates callers in WebViewImpl /
944         NonCompositedContentHost.
945
946         * WebKit.gyp:
947         * src/NonCompositedContentHost.cpp:
948         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
949         (WebKit::NonCompositedContentHost::setScrollLayer):
950         (WebKit::NonCompositedContentHost::setViewport):
951         (WebKit::NonCompositedContentHost::scrollLayer):
952         * src/NonCompositedContentHost.h:
953         * src/WebContentLayerImpl.cpp:
954         (WebKit::WebContentLayer::create):
955         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
956         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
957         (WebKit::WebContentLayerImpl::layer):
958         (WebKit):
959         (WebKit::WebContentLayerImpl::clearClient):
960         (WebKit::WebContentLayerImpl::setDoubleSided):
961         (WebKit::WebContentLayerImpl::setContentsScale):
962         (WebKit::WebContentLayerImpl::setUseLCDText):
963         (WebKit::WebContentLayerImpl::setDrawCheckerboardForMissingTiles):
964         (WebKit::WebContentLayerImpl::paintContents):
965         * src/WebContentLayerImpl.h:
966         (WebContentLayerImpl):
967         * src/WebExternalTextureLayer.cpp: Removed.
968         * src/WebExternalTextureLayerImpl.cpp: Added.
969         (WebKit):
970         (WebKit::WebExternalTextureLayer::create):
971         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
972         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
973         (WebKit::WebExternalTextureLayerImpl::layer):
974         (WebKit::WebExternalTextureLayerImpl::clearClient):
975         (WebKit::WebExternalTextureLayerImpl::setTextureId):
976         (WebKit::WebExternalTextureLayerImpl::setFlipped):
977         (WebKit::WebExternalTextureLayerImpl::setUVRect):
978         (WebKit::WebExternalTextureLayerImpl::setOpaque):
979         (WebKit::WebExternalTextureLayerImpl::setPremultipliedAlpha):
980         (WebKit::WebExternalTextureLayerImpl::willModifyTexture):
981         (WebKit::WebExternalTextureLayerImpl::setRateLimitContext):
982         (WebTextureUpdaterImpl):
983         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
984         (WebKit::WebExternalTextureLayerImpl::prepareTexture):
985         (WebKit::WebExternalTextureLayerImpl::context):
986         * src/WebExternalTextureLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebContentLayer.cpp.
987         (WebKit):
988         (WebExternalTextureLayerImpl):
989         * src/WebIOSurfaceLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebIOSurfaceLayer.cpp.
990         (WebKit):
991         (WebKit::WebIOSurfaceLayer::create):
992         (WebKit::WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl):
993         (WebKit::WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl):
994         (WebKit::WebIOSurfaceLayerImpl::setIOSurfaceProperties):
995         (WebKit::WebIOSurfaceLayerImpl::layer):
996         * src/WebIOSurfaceLayerImpl.h: Copied from Source/Platform/chromium/public/WebImageLayer.h.
997         (WebCore):
998         (WebKit):
999         (WebIOSurfaceLayerImpl):
1000         * src/WebImageLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebSolidColorLayer.cpp.
1001         (WebKit):
1002         (WebKit::WebImageLayer::create):
1003         (WebKit::WebImageLayerImpl::WebImageLayerImpl):
1004         (WebKit::WebImageLayerImpl::~WebImageLayerImpl):
1005         (WebKit::WebImageLayerImpl::layer):
1006         (WebKit::WebImageLayerImpl::setBitmap):
1007         * src/WebImageLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebImageLayer.cpp.
1008         (WebCore):
1009         (WebKit):
1010         (WebImageLayerImpl):
1011         * src/WebLayer.cpp: Removed.
1012         * src/WebLayerImpl.cpp:
1013         (WebKit::WebLayer::create):
1014         (WebKit::WebLayerImpl::WebLayerImpl):
1015         (WebKit::WebLayerImpl::~WebLayerImpl):
1016         (WebKit):
1017         (WebKit::WebLayerImpl::invalidateRect):
1018         (WebKit::WebLayerImpl::invalidate):
1019         (WebKit::WebLayerImpl::addChild):
1020         (WebKit::WebLayerImpl::insertChild):
1021         (WebKit::WebLayerImpl::replaceChild):
1022         (WebKit::WebLayerImpl::setChildren):
1023         (WebKit::WebLayerImpl::removeFromParent):
1024         (WebKit::WebLayerImpl::removeAllChildren):
1025         (WebKit::WebLayerImpl::setAnchorPoint):
1026         (WebKit::WebLayerImpl::anchorPoint):
1027         (WebKit::WebLayerImpl::setAnchorPointZ):
1028         (WebKit::WebLayerImpl::anchorPointZ):
1029         (WebKit::WebLayerImpl::setBounds):
1030         (WebKit::WebLayerImpl::bounds):
1031         (WebKit::WebLayerImpl::setMasksToBounds):
1032         (WebKit::WebLayerImpl::masksToBounds):
1033         (WebKit::WebLayerImpl::setMaskLayer):
1034         (WebKit::WebLayerImpl::setReplicaLayer):
1035         (WebKit::WebLayerImpl::setOpacity):
1036         (WebKit::WebLayerImpl::opacity):
1037         (WebKit::WebLayerImpl::setOpaque):
1038         (WebKit::WebLayerImpl::opaque):
1039         (WebKit::WebLayerImpl::setPosition):
1040         (WebKit::WebLayerImpl::position):
1041         (WebKit::WebLayerImpl::setSublayerTransform):
1042         (WebKit::WebLayerImpl::sublayerTransform):
1043         (WebKit::WebLayerImpl::setTransform):
1044         (WebKit::WebLayerImpl::transform):
1045         (WebKit::WebLayerImpl::setDrawsContent):
1046         (WebKit::WebLayerImpl::drawsContent):
1047         (WebKit::WebLayerImpl::setPreserves3D):
1048         (WebKit::WebLayerImpl::setUseParentBackfaceVisibility):
1049         (WebKit::WebLayerImpl::setBackgroundColor):
1050         (WebKit::WebLayerImpl::setFilters):
1051         (WebKit::WebLayerImpl::setBackgroundFilters):
1052         (WebKit::WebLayerImpl::setDebugBorderColor):
1053         (WebKit::WebLayerImpl::setDebugBorderWidth):
1054         (WebKit::WebLayerImpl::setDebugName):
1055         (WebKit::WebLayerImpl::setAnimationDelegate):
1056         (WebKit::WebLayerImpl::addAnimation):
1057         (WebKit::WebLayerImpl::removeAnimation):
1058         (WebKit::WebLayerImpl::pauseAnimation):
1059         (WebKit::WebLayerImpl::suspendAnimations):
1060         (WebKit::WebLayerImpl::resumeAnimations):
1061         (WebKit::WebLayerImpl::hasActiveAnimation):
1062         (WebKit::WebLayerImpl::transferAnimationsTo):
1063         (WebKit::WebLayerImpl::setForceRenderSurface):
1064         (WebKit::WebLayerImpl::clearRenderSurface):
1065         (WebKit::WebLayerImpl::setScrollPosition):
1066         (WebKit::WebLayerImpl::setScrollable):
1067         (WebKit::WebLayerImpl::setHaveWheelEventHandlers):
1068         (WebKit::WebLayerImpl::setShouldScrollOnMainThread):
1069         (WebKit::WebLayerImpl::setNonFastScrollableRegion):
1070         (WebKit::WebLayerImpl::setIsContainerForFixedPositionLayers):
1071         (WebKit::WebLayerImpl::setFixedToContainerLayer):
1072         (WebKit::WebLayerImpl::layer):
1073         * src/WebLayerImpl.h:
1074         (WebCore):
1075         (WebLayerImpl):
1076         * src/WebLayerTreeView.cpp:
1077         (WebKit::WebLayerTreeView::setRootLayer):
1078         * src/WebLayerTreeViewImpl.cpp:
1079         (WebKit::WebLayerTreeViewImpl::create):
1080         * src/WebMediaPlayerClientImpl.cpp:
1081         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
1082         (WebKit::WebMediaPlayerClientImpl::repaint):
1083         (WebKit::WebMediaPlayerClientImpl::setOpaque):
1084         (WebKit::WebMediaPlayerClientImpl::platformLayer):
1085         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
1086         * src/WebMediaPlayerClientImpl.h:
1087         (WebMediaPlayerClientImpl):
1088         * src/WebPluginContainerImpl.cpp:
1089         (WebKit::WebPluginContainerImpl::setBackingTextureId):
1090         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
1091         (WebKit::WebPluginContainerImpl::commitBackingTexture):
1092         (WebKit::WebPluginContainerImpl::setOpaque):
1093         (WebKit::WebPluginContainerImpl::platformLayer):
1094         * src/WebPluginContainerImpl.h:
1095         (WebPluginContainerImpl):
1096         * src/WebScrollableLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebScrollableLayer.cpp.
1097         (WebKit):
1098         (WebKit::WebScrollableLayer::setScrollPosition):
1099         (WebKit::WebScrollableLayer::setScrollable):
1100         (WebKit::WebScrollableLayer::setHaveWheelEventHandlers):
1101         (WebKit::WebScrollableLayer::setShouldScrollOnMainThread):
1102         (WebKit::WebScrollableLayer::setNonFastScrollableRegion):
1103         (WebKit::WebScrollableLayer::setIsContainerForFixedPositionLayers):
1104         (WebKit::WebScrollableLayer::setFixedToContainerLayer):
1105         * src/WebScrollbarLayerImpl.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarLayer.cpp.
1106         (WebKit):
1107         (WebKit::WebScrollbarLayer::create):
1108         (WebKit::WebScrollbarLayerImpl::WebScrollbarLayerImpl):
1109         (WebKit::WebScrollbarLayerImpl::~WebScrollbarLayerImpl):
1110         (WebKit::WebScrollbarLayerImpl::layer):
1111         (WebKit::WebScrollbarLayerImpl::setScrollLayer):
1112         * src/WebScrollbarLayerImpl.h: Copied from Source/WebKit/chromium/src/WebSolidColorLayerImpl.h.
1113         (WebCore):
1114         (WebKit):
1115         (WebScrollbarLayerImpl):
1116         * src/WebSolidColorLayerImpl.cpp:
1117         (WebKit::WebSolidColorLayer::create):
1118         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
1119         (WebKit::WebSolidColorLayerImpl::layer):
1120         (WebKit):
1121         (WebKit::WebSolidColorLayerImpl::setBackgroundColor):
1122         * src/WebSolidColorLayerImpl.h:
1123         (WebCore):
1124         (WebKit):
1125         (WebSolidColorLayerImpl):
1126         * src/WebVideoLayerImpl.cpp: Copied from Source/WebKit/chromium/src/WebVideoLayer.cpp.
1127         (WebKit):
1128         (WebKit::WebVideoLayer::create):
1129         (WebKit::WebVideoLayerImpl::WebVideoLayerImpl):
1130         (WebKit::WebVideoLayerImpl::~WebVideoLayerImpl):
1131         (WebKit::WebVideoLayerImpl::layer):
1132         (WebKit::WebVideoLayerImpl::active):
1133         * src/WebVideoLayerImpl.h: Renamed from Source/WebKit/chromium/src/WebVideoLayer.cpp.
1134         (WebCore):
1135         (WebKit):
1136         (WebVideoLayerImpl):
1137         * src/WebViewImpl.cpp:
1138         (WebKit::WebViewImpl::WebViewImpl):
1139         (WebKit::WebViewImpl::setRootGraphicsLayer):
1140         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1141         (WebKit):
1142         * src/WebViewImpl.h:
1143         * tests/ImageLayerChromiumTest.cpp:
1144         (WebCore::TEST):
1145         * tests/WebLayerTest.cpp:
1146         * tests/WebLayerTreeViewTest.cpp:
1147
1148 2012-08-20  Shawn Singh  <shawnsingh@chromium.org>
1149
1150         [chromium] CCMathUtilTest.smallestAngleBetweenVectors unit test failing
1151         https://bugs.webkit.org/show_bug.cgi?id=94502
1152
1153         Reviewed by Kenneth Russell.
1154
1155         The test needed to use EXPECT_FLOAT_EQ instead of EXPECT_EQ. In
1156         this patch, the test is also re-enabled.
1157
1158         * tests/CCMathUtilTest.cpp:
1159
1160 2012-08-20  Leandro Gracia Gil  <leandrogracia@chromium.org>
1161
1162         Move transformFriendlyBoundingBox out of Range
1163         https://bugs.webkit.org/show_bug.cgi?id=94366
1164
1165         Reviewed by Ryosuke Niwa.
1166
1167         Update the WebKit code that makes use of transformFriendlyBoundingBox.
1168
1169         * src/FindInPageCoordinates.cpp:
1170         (WebKit::findInPageRectFromRange):
1171         * src/WebFrameImpl.cpp:
1172         (WebKit::WebFrameImpl::find):
1173         (WebKit::WebFrameImpl::selectFindMatch):
1174
1175 2012-08-20  Leandro Gracia Gil  <leandrogracia@chromium.org>
1176
1177         [Chromium] detectContentIntentAround has a misleading name
1178         https://bugs.webkit.org/show_bug.cgi?id=94349
1179
1180         Reviewed by Adam Barth.
1181
1182         The current WebViewClient API exposes a method named detectContentIntentAround.
1183         However, this is not designed to detect any "content intent", but to allow the embedder
1184         to detect content around a position and fire Android intents if appropriate.
1185
1186         This patch also disables content detection if the touched node listens to events
1187         that consume the tap action like clicks, touch events or mouse events.
1188
1189         * public/WebViewClient.h:
1190         (WebViewClient):
1191         (WebKit::WebViewClient::detectContentAround):
1192         * src/WebViewImpl.cpp:
1193         (WebKit::WebViewImpl::detectContentOnTouch):
1194         * src/WebViewImpl.h:
1195         (WebViewImpl):
1196
1197 2012-08-20  Hans Wennborg  <hans@chromium.org>
1198
1199         Respect runtime flags for Device Orientation and Device Motion
1200         https://bugs.webkit.org/show_bug.cgi?id=94479
1201
1202         Reviewed by Adam Barth.
1203
1204         WebRuntimeFeatures::enableDeviceMotion should not be hard-coded to
1205         false.
1206
1207         * src/WebViewImpl.cpp:
1208         (WebKit::WebView::create):
1209
1210 2012-08-20  David Reveman  <reveman@chromium.org>
1211
1212         [Chromium] Schedule texture uploads based on hard-coded timer and vsync.
1213         https://bugs.webkit.org/show_bug.cgi?id=84281
1214
1215         Reviewed by James Robinson.
1216
1217         * tests/CCSchedulerTest.cpp:
1218         (WebKitTests::TEST):
1219         * tests/CCSchedulerTestCommon.h:
1220         (WebKitTests::FakeCCTimeSource::FakeCCTimeSource):
1221         (WebKitTests::FakeCCTimeSource::setNextTickTime):
1222         (FakeCCTimeSource):
1223         * tests/CCTextureUpdateControllerTest.cpp:
1224
1225 2012-08-20  Kenneth Russell  <kbr@google.com>
1226
1227         Unreviewed Chromium rebaselining and test failure suppressions.
1228
1229         https://bugs.webkit.org/show_bug.cgi?id=94502
1230
1231         * tests/CCMathUtilTest.cpp:
1232
1233 2012-08-20  Ian Vollick  <vollick@chromium.org>
1234
1235         [chromium] Add tracing for active composited animations
1236         https://bugs.webkit.org/show_bug.cgi?id=84210
1237
1238         Reviewed by James Robinson.
1239
1240         This patch issues the trace events from the animations. Animations will
1241         report when they start and finish on the main and impl threads (via
1242         TRACE_EVENT_ASYNC*), and also issues instant trace events whenever they
1243         change state.
1244
1245         * src/WebAnimationImpl.cpp:
1246         (WebKit::WebAnimationImpl::cloneToCCAnimation):
1247         * tests/CCAnimationTestCommon.h:
1248
1249 2012-08-20  Sami Kyostila  <skyostil@chromium.org>
1250
1251         [chromium] Convert screen space scroll gestures to layer space
1252         https://bugs.webkit.org/show_bug.cgi?id=92499
1253
1254         Reviewed by James Robinson.
1255
1256         Added new tests for verifying transformed layer scrolling:
1257
1258             CCLayerTreeHostImplTest.scrollAxisAlignedRotatedLayer
1259             CCLayerTreeHostImplTest.scrollNonAxisAlignedRotatedLayer
1260             CCLayerTreeHostImplTest.scrollScaledLayer
1261
1262         Also some tests for the introduced math utilities:
1263
1264             CCMathUtilTest.smallestAngleBetweenVectors
1265             CCMathUtilTest.vectorProjection
1266
1267         * src/WebCompositorInputHandlerImpl.cpp:
1268         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1269         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1270         * tests/CCLayerTreeHostImplTest.cpp: Adjusted scroll delta in scrollChildBeyondLimit to avoid triggering the 45 degree rule.
1271         * tests/CCLayerTreeHostTest.cpp:
1272         * tests/CCMathUtilTest.cpp:
1273         * tests/WebCompositorInputHandlerImplTest.cpp:
1274         (MockCCInputHandlerClient):
1275         (WebKit::TEST_F):
1276
1277 2012-08-20  Pavel Feldman  <pfeldman@chromium.org>
1278
1279         Web Inspector: load scripts panel lazily
1280         https://bugs.webkit.org/show_bug.cgi?id=94416
1281
1282         Reviewed by Vsevolod Vlasov.
1283
1284         * WebKit.gyp:
1285
1286 2012-08-19  Kentaro Hara  <haraken@chromium.org>
1287
1288         [V8] Move contextDebugId() and setContextDebugId() from V8Proxy to ScriptController
1289         https://bugs.webkit.org/show_bug.cgi?id=94446
1290
1291         Reviewed by Adam Barth.
1292
1293         To kill V8Proxy, we can move contextDebugId() and setContextDebugId()
1294         from V8Proxy to ScriptController.
1295
1296         No tests. No change in behavior.
1297
1298         * src/WebDevToolsAgentImpl.cpp:
1299         (WebKit::WebDevToolsAgentImpl::didCreateScriptContext):
1300
1301 2012-08-20  Kentaro Hara  <haraken@chromium.org>
1302
1303         [V8] Move V8Proxy::m_extensions to ScriptController
1304         https://bugs.webkit.org/show_bug.cgi?id=94444
1305
1306         Reviewed by Adam Barth.
1307
1308         To kill V8Proxy, this patch moves V8Proxy::m_extensions to ScriptController.
1309
1310         No tests. No change in behavior.
1311
1312         * src/WebScriptController.cpp:
1313         (WebKit::WebScriptController::registerExtension):
1314
1315 2012-08-19  James Robinson  <jamesr@chromium.org>
1316
1317         [chromium] Put webkit compositor binding files in separate conditionally included gyp section
1318         https://bugs.webkit.org/show_bug.cgi?id=94392
1319
1320         Reviewed by Dirk Pranke.
1321
1322         This allows the use_libcc_for_compositor gyp variable to control whether the webkit bindings are pulled from the
1323         WebKit repository or an external target.
1324
1325         * WebKit.gyp:
1326         * WebKit.gypi:
1327
1328 2012-08-19  Rick Byers  <rbyers@chromium.org>
1329
1330         [chromium] Add additional fields to WebGestureEvent
1331         https://bugs.webkit.org/show_bug.cgi?id=94238
1332
1333         Reviewed by James Robinson.
1334
1335         Add a union to WebGestureEvent with per-event-type data, as a first
1336         step to eliminating the overloaded delta fields.
1337
1338         * public/WebInputEvent.h:
1339         (WebGestureEvent):
1340         (WebKit::WebGestureEvent::WebGestureEvent):
1341         * src/WebInputEvent.cpp:
1342         (SameSizeAsWebGestureEvent):
1343
1344 2012-08-19  Pavel Feldman  <pfeldman@chromium.org>
1345
1346         Web Inspector: load network panel lazily
1347         https://bugs.webkit.org/show_bug.cgi?id=94414
1348
1349         Reviewed by Vsevolod Vlasov.
1350
1351         * WebKit.gyp:
1352
1353 2012-08-18  Pavel Feldman  <pfeldman@chromium.org>
1354
1355         Web Inspector: make profiles panel a lazily loaded module.
1356         https://bugs.webkit.org/show_bug.cgi?id=94351
1357
1358         Reviewed by Yury Semikhatsky.
1359
1360         * WebKit.gyp:
1361
1362 2012-08-18  Pavel Feldman  <pfeldman@chromium.org>
1363
1364         Web Inspector: load panels code on demand
1365         https://bugs.webkit.org/show_bug.cgi?id=94326
1366
1367         Reviewed by Vsevolod Vlasov.
1368
1369         * WebKit.gyp:
1370         * scripts/concatenate_js_files.py:
1371         (OrderedJSFilesExtractor.handle_starttag):
1372         * scripts/inline_js_imports.py:
1373         (main):
1374
1375 2012-08-17  Dirk Pranke  <dpranke@chromium.org>
1376
1377         Unreviewed, rolling out r125897.
1378         http://trac.webkit.org/changeset/125897
1379         https://bugs.webkit.org/show_bug.cgi?id=94326
1380
1381         this patch seems to have broken the inspector on the apple mac bots.
1382
1383         * WebKit.gyp:
1384         * scripts/concatenate_js_files.py:
1385         (OrderedJSFilesExtractor.handle_starttag):
1386         * scripts/inline_js_imports.py:
1387         (main):
1388
1389 2012-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1390
1391         Unreviewed, rolling out r125922.
1392         http://trac.webkit.org/changeset/125922
1393         https://bugs.webkit.org/show_bug.cgi?id=94389
1394
1395         "Causing failing/crashing tests on Mac bots" (Requested by
1396         bradee-oh on #webkit).
1397
1398         * WebKit.gyp:
1399
1400 2012-08-16  James Robinson  <jamesr@chromium.org>
1401
1402         [chromium] Add Source/WebCore/platform/graphics/chromium/cc/ to include path and remove cc/ prefix from includes
1403         https://bugs.webkit.org/show_bug.cgi?id=94279
1404
1405         Reviewed by Adam Barth.
1406
1407         * src/WebAnimationCurveCommon.cpp:
1408         * src/WebAnimationImpl.cpp:
1409         * src/WebCompositorInputHandlerImpl.cpp:
1410         * src/WebCompositorInputHandlerImpl.h:
1411         * src/WebExternalTextureLayer.cpp:
1412         * src/WebFloatAnimationCurve.cpp:
1413         * src/WebLayerTreeView.cpp:
1414         * src/WebLayerTreeViewImpl.cpp:
1415         * src/WebTransformAnimationCurve.cpp:
1416         * tests/CCActiveAnimationTest.cpp:
1417         * tests/CCAnimationTestCommon.cpp:
1418         * tests/CCAnimationTestCommon.h:
1419         * tests/CCDamageTrackerTest.cpp:
1420         * tests/CCDelayBasedTimeSourceTest.cpp:
1421         * tests/CCFrameRateControllerTest.cpp:
1422         * tests/CCKeyframedAnimationCurveTest.cpp:
1423         * tests/CCLayerAnimationControllerTest.cpp:
1424         * tests/CCLayerImplTest.cpp:
1425         * tests/CCLayerIteratorTest.cpp:
1426         * tests/CCLayerQuadTest.cpp:
1427         * tests/CCLayerSorterTest.cpp:
1428         * tests/CCLayerTestCommon.cpp:
1429         * tests/CCLayerTestCommon.h:
1430         * tests/CCLayerTreeHostCommonTest.cpp:
1431         * tests/CCLayerTreeHostImplTest.cpp:
1432         * tests/CCLayerTreeHostTest.cpp:
1433         * tests/CCMathUtilTest.cpp:
1434         * tests/CCOcclusionTrackerTest.cpp:
1435         * tests/CCOcclusionTrackerTestCommon.h:
1436         * tests/CCPrioritizedTextureTest.cpp:
1437         * tests/CCQuadCullerTest.cpp:
1438         * tests/CCRenderSurfaceFiltersTest.cpp:
1439         * tests/CCRenderSurfaceTest.cpp:
1440         * tests/CCResourceProviderTest.cpp:
1441         * tests/CCSchedulerStateMachineTest.cpp:
1442         * tests/CCSchedulerTest.cpp:
1443         * tests/CCSchedulerTestCommon.h:
1444         * tests/CCScopedTextureTest.cpp:
1445         * tests/CCScrollbarAnimationControllerLinearFadeTest.cpp:
1446         * tests/CCSolidColorLayerImplTest.cpp:
1447         * tests/CCTestCommon.h:
1448         * tests/CCTextureUpdateControllerTest.cpp:
1449         * tests/CCThreadTaskTest.cpp:
1450         * tests/CCThreadedTest.cpp:
1451         * tests/CCThreadedTest.h:
1452         * tests/CCTiledLayerImplTest.cpp:
1453         * tests/CCTiledLayerTestCommon.h:
1454         * tests/CCTimerTest.cpp:
1455         * tests/ContentLayerChromiumTest.cpp:
1456         * tests/FakeCCGraphicsContext.h:
1457         * tests/FakeCCLayerTreeHostClient.h:
1458         * tests/FloatQuadTest.cpp:
1459         * tests/GraphicsLayerChromiumTest.cpp:
1460         * tests/LayerChromiumTest.cpp:
1461         * tests/LayerRendererChromiumTest.cpp:
1462         * tests/MockCCQuadCuller.h:
1463         * tests/PlatformGestureCurveTest.cpp:
1464         * tests/ScrollbarLayerChromiumTest.cpp:
1465         * tests/TextureLayerChromiumTest.cpp:
1466         * tests/TiledLayerChromiumTest.cpp:
1467         * tests/TreeSynchronizerTest.cpp:
1468         * tests/WebCompositorInputHandlerImplTest.cpp:
1469         * tests/WebFloatAnimationCurveTest.cpp:
1470         * tests/WebTransformAnimationCurveTest.cpp:
1471
1472 2012-08-17  Pavel Feldman  <pfeldman@chromium.org>
1473
1474         Web Inspector: make profiles panel a lazily loaded module.
1475         https://bugs.webkit.org/show_bug.cgi?id=94351
1476
1477         Reviewed by Yury Semikhatsky.
1478
1479         * WebKit.gyp:
1480
1481 2012-08-17  Keishi Hattori  <keishi@webkit.org>
1482
1483         [Chromium] Turn off ENABLE_DATALIST_ELEMENT for Android
1484         https://bugs.webkit.org/show_bug.cgi?id=94337
1485
1486         Reviewed by Kent Tamura.
1487
1488         We shouldn't have turned ENABLE_DATALIST_ELEMENT on for Android.
1489
1490         * features.gypi:
1491
1492 2012-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1493
1494         Unreviewed, rolling out r125892.
1495         http://trac.webkit.org/changeset/125892
1496         https://bugs.webkit.org/show_bug.cgi?id=94350
1497
1498         Broke windows build (Requested by vollick on #webkit).
1499
1500         * src/WebAnimationImpl.cpp:
1501         (WebKit::WebAnimationImpl::cloneToCCAnimation):
1502
1503 2012-08-17  Peter Beverloo  <peter@chromium.org>
1504
1505         Unreviewed.  Rolled DEPS.
1506
1507         * DEPS:
1508
1509 2012-08-17  Pavel Feldman  <pfeldman@chromium.org>
1510
1511         Web Inspector: load panels code on demand
1512         https://bugs.webkit.org/show_bug.cgi?id=94326
1513
1514         Reviewed by Vsevolod Vlasov.
1515
1516         * WebKit.gyp:
1517         * scripts/concatenate_js_files.py:
1518         (OrderedJSFilesExtractor.handle_starttag):
1519         * scripts/inline_js_imports.py:
1520         (main):
1521
1522 2012-08-17  Ian Vollick  <vollick@chromium.org>
1523
1524         [chromium] Add tracing for active composited animations
1525         https://bugs.webkit.org/show_bug.cgi?id=84210
1526
1527         Reviewed by James Robinson.
1528
1529         This patch issues the trace events from the animations. Animations will
1530         report when they start and finish on the main and impl threads (via
1531         TRACE_EVENT_ASYNC*), and also issues instant trace events whenever they
1532         change state.
1533
1534         * src/WebAnimationImpl.cpp:
1535         (WebKit::WebAnimationImpl::cloneToCCAnimation):
1536
1537 2012-08-16  Antoine Labour  <piman@chromium.org>
1538
1539         [chromium] Add resource transfer functions to CCResourceProvider
1540         https://bugs.webkit.org/show_bug.cgi?id=93524
1541
1542         Reviewed by James Robinson.
1543
1544         This adds methods to CCResourceProvider to be able to transport
1545         resources from a child to a parent.
1546
1547         Added test to CCResourceProviderTest.
1548
1549         * tests/CCResourceProviderTest.cpp:
1550         (WebKit::textureSize):
1551         (WebKit):
1552         (WebKit::Texture::Texture):
1553         (Texture):
1554         (ContextSharedData):
1555         (WebKit::ContextSharedData::create):
1556         (WebKit::ContextSharedData::insertSyncPoint):
1557         (WebKit::ContextSharedData::genMailbox):
1558         (WebKit::ContextSharedData::produceTexture):
1559         (WebKit::ContextSharedData::consumeTexture):
1560         (WebKit::ContextSharedData::ContextSharedData):
1561         (WebKit::ResourceProviderContext::create):
1562         (ResourceProviderContext):
1563         (WebKit::ResourceProviderContext::insertSyncPoint):
1564         (WebKit::ResourceProviderContext::waitSyncPoint):
1565         (WebKit::ResourceProviderContext::genMailboxCHROMIUM):
1566         (WebKit::ResourceProviderContext::produceTextureCHROMIUM):
1567         (WebKit::ResourceProviderContext::consumeTextureCHROMIUM):
1568         (WebKit::ResourceProviderContext::ResourceProviderContext):
1569         (PendingProduceTexture):
1570         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
1571         (CCResourceProviderTest):
1572         (WebKit::TEST_F):
1573
1574 2012-08-16  David Grogan  <dgrogan@chromium.org>
1575
1576         IndexedDB: Frontend and plumbing for integer versions
1577         https://bugs.webkit.org/show_bug.cgi?id=92897
1578
1579         Reviewed by Tony Chang.
1580
1581         * src/IDBCallbacksProxy.cpp:
1582         (WebKit::IDBCallbacksProxy::onBlocked):
1583         (WebKit):
1584         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1585         * src/IDBCallbacksProxy.h:
1586         (IDBCallbacksProxy):
1587         * src/IDBDatabaseBackendProxy.cpp:
1588         (WebKit::IDBDatabaseBackendProxy::setVersion):
1589         * src/IDBDatabaseCallbacksProxy.cpp:
1590         (WebKit::IDBDatabaseCallbacksProxy::onVersionChange):
1591         (WebKit):
1592         * src/IDBDatabaseCallbacksProxy.h:
1593         (IDBDatabaseCallbacksProxy):
1594         * src/IDBFactoryBackendProxy.cpp:
1595         (WebKit::IDBFactoryBackendProxy::open):
1596         * src/IDBFactoryBackendProxy.h:
1597         (IDBFactoryBackendProxy):
1598         * src/IDBTransactionCallbacksProxy.cpp:
1599         (WebKit::IDBTransactionCallbacksProxy::onComplete):
1600         * src/WebIDBCallbacksImpl.cpp:
1601         (WebKit::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
1602         (WebKit::WebIDBCallbacksImpl::onSuccess):
1603         We don't want to create IDBDatabaseBackendProxy again if we've already
1604         created it during upgradeNeeded.  This makes
1605         IDBRequest::onSuccess(IDBDatabaseBackend) reuse its previous
1606         IDBDatabaseBackendInterface if it has one.
1607
1608         (WebKit::WebIDBCallbacksImpl::onBlocked):
1609         (WebKit):
1610         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
1611         * src/WebIDBCallbacksImpl.h:
1612         (WebIDBCallbacksImpl):
1613         * src/WebIDBDatabaseCallbacksImpl.cpp:
1614         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
1615         (WebKit):
1616         * src/WebIDBDatabaseCallbacksImpl.h:
1617         (WebIDBDatabaseCallbacksImpl):
1618         * src/WebIDBDatabaseImpl.cpp:
1619         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
1620         (WebKit::WebIDBDatabaseImpl::close):
1621         (WebKit::WebIDBDatabaseImpl::open):
1622         * src/WebIDBDatabaseImpl.h:
1623         (WebIDBDatabaseImpl):
1624         * src/WebIDBFactoryImpl.cpp:
1625         (WebKit::WebIDBFactoryImpl::open):
1626         * src/WebIDBFactoryImpl.h:
1627         (WebIDBFactoryImpl):
1628         * src/WebIDBTransactionCallbacksImpl.cpp:
1629         (WebKit::WebIDBTransactionCallbacksImpl::onComplete):
1630         * tests/IDBAbortOnCorruptTest.cpp:
1631         (WebCore::TEST):
1632         * tests/IDBDatabaseBackendTest.cpp:
1633
1634 2012-08-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1635
1636         Unreviewed, rolling out r125838.
1637         http://trac.webkit.org/changeset/125838
1638         https://bugs.webkit.org/show_bug.cgi?id=94283
1639
1640         Breaks Mac compile due to bug 74625 (Requested by enne on
1641         #webkit).
1642
1643         * tests/CCResourceProviderTest.cpp:
1644         (WebKit::ResourceProviderContext::create):
1645         (WebKit::ResourceProviderContext::textureSize):
1646         (ResourceProviderContext):
1647         (WebKit::ResourceProviderContext::ResourceProviderContext):
1648         (WebKit::ResourceProviderContext::Texture::Texture):
1649         (Texture):
1650         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
1651         (CCResourceProviderTest):
1652         (WebKit::TEST_F):
1653
1654 2012-08-16  Kenneth Russell  <kbr@google.com>
1655
1656         Unreviewed, rolling out r125800.
1657         http://trac.webkit.org/changeset/125800
1658         https://bugs.webkit.org/show_bug.cgi?id=84281
1659
1660         Hypothesis that this change caused gpu_throughput_tests to
1661         start timing out on all platforms on the Chromium GPU
1662         canaries.
1663
1664         * tests/CCSchedulerTest.cpp:
1665         (WebKitTests::TEST):
1666         * tests/CCSchedulerTestCommon.h:
1667         (WebKitTests::FakeCCTimeSource::FakeCCTimeSource):
1668         (FakeCCTimeSource):
1669         * tests/CCTextureUpdateControllerTest.cpp:
1670
1671 2012-08-16  Antoine Labour  <piman@chromium.org>
1672
1673         [chromium] Add resource transfer functions to CCResourceProvider
1674         https://bugs.webkit.org/show_bug.cgi?id=93524
1675
1676         Reviewed by James Robinson.
1677
1678         This adds methods to CCResourceProvider to be able to transport
1679         resources from a child to a parent.
1680
1681         Added test to CCResourceProviderTest.
1682
1683         * tests/CCResourceProviderTest.cpp:
1684         (WebKit::textureSize):
1685         (WebKit):
1686         (WebKit::Texture::Texture):
1687         (Texture):
1688         (ContextSharedData):
1689         (WebKit::ContextSharedData::create):
1690         (WebKit::ContextSharedData::insertSyncPoint):
1691         (WebKit::ContextSharedData::genMailbox):
1692         (WebKit::ContextSharedData::produceTexture):
1693         (WebKit::ContextSharedData::consumeTexture):
1694         (WebKit::ContextSharedData::ContextSharedData):
1695         (WebKit::ResourceProviderContext::create):
1696         (ResourceProviderContext):
1697         (WebKit::ResourceProviderContext::insertSyncPoint):
1698         (WebKit::ResourceProviderContext::waitSyncPoint):
1699         (WebKit::ResourceProviderContext::genMailboxCHROMIUM):
1700         (WebKit::ResourceProviderContext::produceTextureCHROMIUM):
1701         (WebKit::ResourceProviderContext::consumeTextureCHROMIUM):
1702         (WebKit::ResourceProviderContext::ResourceProviderContext):
1703         (PendingProduceTexture):
1704         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
1705         (CCResourceProviderTest):
1706         (WebKit::TEST_F):
1707
1708 2012-08-16  Alexandre Elias  <aelias@google.com>
1709
1710         [chromium] Replace destRect with destOffset in texture upload
1711         https://bugs.webkit.org/show_bug.cgi?id=94154
1712
1713         Reviewed by James Robinson.
1714
1715         Previously, texture upload code implicitly assumed that sourceRect and
1716         destRect have the same size. The behavior is undefined if they are
1717         different, since they are used interchangeably and there's no support
1718         for scaling from one rect to the other. This patch enforces that
1719         constraint at the interface level by replacing all instances of
1720         "IntRect destRect" by "IntSize destOffset".
1721
1722         * tests/CCResourceProviderTest.cpp:
1723         (WebKit::TEST_F):
1724         * tests/CCTextureUpdateControllerTest.cpp:
1725         * tests/CCTiledLayerTestCommon.cpp:
1726         (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
1727         * tests/CCTiledLayerTestCommon.h:
1728         (Texture):
1729         (WebKitTests::FakeTextureUploader::uploadTexture):
1730
1731 2012-08-16  James Robinson  <jamesr@chromium.org>
1732
1733         [chromium] Remove unnecessary tree hierarchy inspection APIs from WebLayer
1734         https://bugs.webkit.org/show_bug.cgi?id=94229
1735
1736         Reviewed by Adrienne Walker.
1737
1738         Remove dead WebLayer function implementations and tests of same.
1739
1740         * src/WebLayer.cpp:
1741         * tests/WebLayerTest.cpp:
1742
1743 2012-08-16  David Reveman  <reveman@chromium.org>
1744
1745         [Chromium] Avoid aliasing global symbol monotonicallyIncreasingTime().
1746         https://bugs.webkit.org/show_bug.cgi?id=94233
1747
1748         Reviewed by James Robinson.
1749
1750         * tests/CCDelayBasedTimeSourceTest.cpp:
1751         (WebKitTests::TEST):
1752         * tests/CCFrameRateControllerTest.cpp:
1753         (WebKitTests::TEST):
1754         * tests/CCSchedulerTestCommon.h:
1755         (WebKitTests::FakeCCDelayBasedTimeSource::setMonotonicTimeNow):
1756         (WebKitTests::FakeCCDelayBasedTimeSource::FakeCCDelayBasedTimeSource):
1757         (FakeCCDelayBasedTimeSource):
1758
1759 2012-08-16  David Reveman  <reveman@chromium.org>
1760
1761         [Chromium] Schedule texture uploads based on hard-coded timer and vsync.
1762         https://bugs.webkit.org/show_bug.cgi?id=84281
1763
1764         Reviewed by James Robinson.
1765
1766         * tests/CCSchedulerTest.cpp:
1767         (WebKitTests::TEST):
1768         * tests/CCSchedulerTestCommon.h:
1769         (WebKitTests::FakeCCTimeSource::FakeCCTimeSource):
1770         (WebKitTests::FakeCCTimeSource::setNextTickTime):
1771         (FakeCCTimeSource):
1772         * tests/CCTextureUpdateControllerTest.cpp:
1773
1774 2012-08-16  Dana Jansens  <danakj@chromium.org>
1775
1776         [chromium] Impl scrolling crashes when the renderer's initialization failed
1777         https://bugs.webkit.org/show_bug.cgi?id=94232
1778
1779         Reviewed by James Robinson.
1780
1781         Also updated the finishAllRenderingAfterContextLost to properly fail
1782         renderer initialization.
1783
1784         * tests/CCLayerTreeHostImplTest.cpp:
1785
1786 2012-08-16  Peter Beverloo  <peter@chromium.org>
1787
1788         [Chromium] Pass the --strip-binary argument to the apk test generator
1789         https://bugs.webkit.org/show_bug.cgi?id=94224
1790
1791         Reviewed by Adam Barth.
1792
1793         The native test generator currently relies on the $STRIP environment
1794         variable to be available, which it shouldn't do. Instead, pass it as an
1795         argument to the script. The $STRIP variable is being deprecated.
1796
1797         * WebKitUnitTests.gyp:
1798
1799 2012-08-16  James Robinson  <jamesr@chromium.org>
1800
1801         [chromium] Remove alwaysReserveTextures code - it doesn't do anything
1802         https://bugs.webkit.org/show_bug.cgi?id=94183
1803
1804         Reviewed by Dimitri Glazkov.
1805
1806         Stops attempting to find the scrollbar layers and call setAlwaysReserveTextures() on them since the call doesn't
1807         do anything.
1808
1809         * src/NonCompositedContentHost.cpp:
1810         (WebKit::NonCompositedContentHost::setViewport):
1811         * src/WebLayer.cpp:
1812
1813 2012-08-16  Peter Beverloo  <peter@chromium.org>
1814
1815         Unreviewed.  Rolled DEPS.
1816
1817         * DEPS:
1818
1819 2012-08-16  Keishi Hattori  <keishi@webkit.org>
1820
1821         DOMWindowPagePopup needs to be installed before loading the html inside the page popup
1822         https://bugs.webkit.org/show_bug.cgi?id=94193
1823
1824         Reviewed by Kent Tamura.
1825
1826         We are using window.pagePopupController.localizeNumberString while loading so we need to install DOMWindowPagePopup before loading the html.
1827
1828         * src/WebPagePopupImpl.cpp:
1829         (WebKit::WebPagePopupImpl::initPage):
1830
1831 2012-08-16  Marja Hölttä  <marja@chromium.org>
1832
1833         WebHistoryItem: Enable reading selected file names from document state
1834         https://bugs.webkit.org/show_bug.cgi?id=91231
1835
1836         Reviewed by Jochen Eisinger.
1837
1838         This change enables Chromium to set up file permissions properly when
1839         the session restore feature restores a page with selected files.
1840
1841         * public/WebHistoryItem.h:
1842         (WebHistoryItem): Added getReferencedFilePaths.
1843         * src/WebHistoryItem.cpp:
1844         (WebKit::WebHistoryItem::getReferencedFilePaths): Extracts selected and posted file paths from a document state.
1845         (WebKit):
1846
1847 2012-08-15  Shawn Singh  <shawnsingh@chromium.org>
1848
1849         [chromium] set scissorRect per quad so that quads are correctly clipped
1850         https://bugs.webkit.org/show_bug.cgi?id=94050
1851
1852         Reviewed by Adrienne Walker.
1853
1854         Updated two unit tests to reflect that we need to always scissor,
1855         until we refactor so that quads do not depend on scissoring.
1856
1857         * tests/CCLayerTreeHostImplTest.cpp:
1858
1859 2012-08-16  Hironori Bono  <hbono@chromium.org>
1860
1861         Prevent showing suggestions when right-clicking a selection range.
1862         https://bugs.webkit.org/show_bug.cgi?id=94189
1863
1864         Reviewed by Hajime Morita.
1865
1866         To emulate Safari, my r120810 changes selection when right-clicking a misspelled
1867         word. Unfortunately, this change somehow uses VisibleSelection::isCaretOrRange
1868         and it changes the existing selection when right-clicking a selection which
1869         includes a misspelled word. This change uses VisibleSelection::isCaret to
1870         prevent showing suggestions when right-clicking a selection range. (Neither does
1871         Safari show suggestions when there is a selection range.)
1872
1873         * src/ContextMenuClientImpl.cpp:
1874         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1875
1876 2012-08-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1877
1878         Unreviewed.  Rolled DEPS.
1879
1880         * DEPS:
1881
1882 2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
1883
1884         Update manual tests and comments to refer to TestRunner instead of LayoutTestController
1885         https://bugs.webkit.org/show_bug.cgi?id=94168
1886
1887         Reviewed by Kent Tamura.
1888
1889         * public/WebDevToolsAgent.h:
1890         (WebDevToolsAgent):
1891         * public/WebView.h:
1892         (WebView):
1893
1894 2012-08-15  Alec Flett  <alecflett@chromium.org>
1895
1896         IndexedDB: generate index keys for existing data in createIndex in front end
1897         https://bugs.webkit.org/show_bug.cgi?id=91125
1898
1899         Reviewed by Tony Chang.
1900
1901         Add Chromium API methods to let the renderer process tell the
1902         browser process about indexing progress.
1903
1904         * public/WebIDBObjectStore.h:
1905         (WebKit::WebIDBObjectStore::openCursor):
1906         * src/IDBObjectStoreBackendProxy.cpp:
1907         (WebKit::IDBObjectStoreBackendProxy::setIndexKeys):
1908         (WebKit):
1909         (WebKit::IDBObjectStoreBackendProxy::setIndexesReady):
1910         (WebKit::IDBObjectStoreBackendProxy::openCursor):
1911         * src/IDBObjectStoreBackendProxy.h:
1912         (IDBObjectStoreBackendProxy):
1913         * src/WebIDBObjectStoreImpl.cpp:
1914         (WebKit::WebIDBObjectStoreImpl::setIndexKeys):
1915         (WebKit):
1916         (WebKit::WebIDBObjectStoreImpl::setIndexesReady):
1917         (WebKit::WebIDBObjectStoreImpl::openCursor):
1918         * src/WebIDBObjectStoreImpl.h:
1919         (WebIDBObjectStoreImpl):
1920
1921 2012-08-15  Bruno de Oliveira Abinader  <bruno.abinader@basyskom.com>
1922
1923         [css3-text] Add CSS3 Text decoration compile flag
1924         https://bugs.webkit.org/show_bug.cgi?id=93863
1925
1926         Reviewed by Julien Chaffraix.
1927
1928         This patch handles the compile flag implementation, which will come disabled by
1929         default, thus not exposing the CSS3 text decoration features to the web, unless
1930         when explicitly enabling it with "--css3-text-decoration" build parameter.
1931
1932         * features.gypi:
1933
1934 2012-08-15  Iain Merrick  <husky@chromium.org>
1935
1936         Refactoring: move EventHandler::targetNode into HitTestResult
1937         https://bugs.webkit.org/show_bug.cgi?id=94107
1938
1939         Reviewed by Dimitri Glazkov.
1940
1941         This static helper method in EventHandler was made public so that
1942         WebFrameImpl can call it. That's untidy because EventHandler isn't
1943         really involved. This patch turns it into an instance method of
1944         HitTestResult (with a wrapper in MouseEventWithHitTestResult for
1945         convenience).
1946
1947         Pure refactoring, no behavior change, no new test needed.
1948
1949         * src/WebFrameImpl.cpp:
1950         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
1951
1952 2012-08-15  David Grogan  <dgrogan@chromium.org>
1953
1954         IndexedDB: Add some ASSERTs
1955         https://bugs.webkit.org/show_bug.cgi?id=94055
1956
1957         Reviewed by Ojan Vafai.
1958
1959         * src/IDBDatabaseBackendProxy.cpp:
1960         (WebKit::IDBDatabaseBackendProxy::setVersion):
1961
1962 2012-08-15  Ian Vollick  <vollick@chromium.org>
1963
1964         [chromium] Must account for empty transformation lists when checking for big rotations.
1965         https://bugs.webkit.org/show_bug.cgi?id=93975
1966
1967         Reviewed by James Robinson.
1968
1969         Adds a test to check that creating an animation with a big (> 180
1970         degree) rotation, where the transform operations list in the 1st
1971         keyframe is empty fails as expected.
1972
1973         * tests/AnimationTranslationUtilTest.cpp:
1974         (WebKit::TEST):
1975         (WebKit):
1976
1977 2012-08-15  Joshua Bell  <jsbell@chromium.org>
1978
1979         [chromium] IndexedDB: Delete unused WebKit API cursor accessors
1980         https://bugs.webkit.org/show_bug.cgi?id=94134
1981
1982         Reviewed by Adam Barth.
1983
1984         Last bit of refactor work from http://webkit.org/b/92278 that ships the
1985         cursor key/primaryKey/value to the front end via success messages, eliminating
1986         the need for these accessors and the old success messages.
1987
1988         * public/WebIDBCallbacks.h:
1989         * public/WebIDBCursor.h:
1990
1991 2012-08-15  Anna Cavender  <annacc@chromium.org>
1992
1993         Add the timestampOffset attribute to SourceBuffer.
1994         https://bugs.webkit.org/show_bug.cgi?id=93303
1995
1996         Reviewed by Dimitri Glazkov.
1997
1998         On the 30 July 2012 version of the Media Source Extensions spec, a timestampOffset 
1999         attribute was added to the SourceBuffer object:
2000         http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-timestampoffset
2001
2002         * public/WebMediaPlayer.h:
2003         (WebKit::WebMediaPlayer::sourceSetTimestampOffset): Add the new method.
2004         * src/WebMediaPlayerClientImpl.cpp:
2005         (WebKit):
2006         (WebKit::WebMediaPlayerClientImpl::sourceSetTimestampOffset): Forward the call.
2007         * src/WebMediaPlayerClientImpl.h:
2008         (WebMediaPlayerClientImpl):
2009
2010 2012-08-15  Peter Beverloo  <peter@chromium.org>
2011
2012         [Chromium] Roll WebKit Chromium DEPS to r151672
2013         https://bugs.webkit.org/show_bug.cgi?id=94091
2014
2015         Unreviewed DEPS roll.
2016
2017         This also adds the new dependency on third_party/skia/gyp/, as was
2018         introduced in Chromium's revision 151463.
2019
2020         * DEPS:
2021
2022 2012-08-14  Keishi Hattori  <keishi@webkit.org>
2023
2024         Share common code between calendar picker and color suggestion picker
2025         https://bugs.webkit.org/show_bug.cgi?id=93802
2026
2027         Reviewed by Kent Tamura.
2028
2029         * src/ColorChooserUIController.cpp:
2030         (WebKit::ColorChooserUIController::writeDocument):
2031
2032 2012-08-14  Scott Graham  <scottmg@chromium.org>
2033
2034         [Chromium] Fix warnings on Windows build
2035         https://bugs.webkit.org/show_bug.cgi?id=93997
2036
2037         Reviewed by Kentaro Hara.
2038
2039         Fixes truncation from 'double' to 'float' warnings on Chromium Windows
2040         build.
2041
2042         * tests/CCRenderSurfaceFiltersTest.cpp:
2043         (WebKit::TEST):
2044         * tests/CCScrollbarAnimationControllerLinearFadeTest.cpp:
2045         (WebCore::TEST_F):
2046
2047 2012-08-14  Chris Rogers  <crogers@google.com>
2048
2049         Implement new synchronized audio I/O render method in chromium
2050         https://bugs.webkit.org/show_bug.cgi?id=93510
2051
2052         Reviewed by Kenneth Russell.
2053
2054         The chromium implementation of AudioDestination is being upgraded to
2055         support synchronized audio I/O.  Other changes on the chromium-side
2056         can then be tested against something that works in WebKit.
2057
2058         * src/AudioDestinationChromium.cpp:
2059         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2060         (WebCore::AudioDestinationChromium::render):
2061         (WebCore):
2062         (WebCore::AudioDestinationChromium::provideInput):
2063         * src/AudioDestinationChromium.h:
2064         (WebCore):
2065         (AudioDestinationChromium):
2066
2067 2012-08-14  Adam Barth  <abarth@webkit.org>
2068
2069         Delete Frame::domWindow() and Frame::existingDOMWindow()
2070         https://bugs.webkit.org/show_bug.cgi?id=93990
2071
2072         Reviewed by Eric Seidel.
2073
2074         * src/StorageAreaProxy.cpp:
2075         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
2076         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
2077         * src/WebDOMMessageEvent.cpp:
2078         (WebKit::WebDOMMessageEvent::initMessageEvent):
2079         * src/WebFrameImpl.cpp:
2080         (WebKit::WebFrameImpl::performance):
2081         (WebKit::WebFrameImpl::addMessageToConsole):
2082         (WebKit::WebFrameImpl::unloadListenerCount):
2083         (WebKit::WebFrameImpl::addEventListener):
2084         (WebKit::WebFrameImpl::removeEventListener):
2085         (WebKit::WebFrameImpl::dispatchEvent):
2086         (WebKit::WebFrameImpl::dispatchMessageEventWithOriginCheck):
2087         (WebKit::WebFrameImpl::deliverIntent):
2088         * src/WebPagePopupImpl.cpp:
2089         (WebKit::WebPagePopupImpl::initPage):
2090
2091 2012-08-14  Iain Merrick  <husky@chromium.org>
2092
2093         [chromium] Add a test to WebFrameTest for selectRange and visiblePositionForWindowPoint.
2094         https://bugs.webkit.org/show_bug.cgi?id=93108
2095
2096         Reviewed by Adam Barth.
2097
2098         Adds a new test WebFrameTest.SelectRange. This tests WebFrameImpl::selectRange,
2099         and also serves to test WebFrameImpl::visiblePositionForWindowPoint as it is
2100         used by selectRange.
2101
2102         The test uses sample files that contain selected text on load. The test uses
2103         WebViewImpl::selectionBounds to get the coordinates, deselects all, then
2104         calls WebFrameImpl::selectRange to attempt to reselect the same text.
2105
2106         Four cases are tested:
2107         - the basic case
2108         - the case where the selected text is offscreen due to a scroll
2109         - the case where the selected text is in an iframe
2110         - the case where the selected text is in an editable element
2111
2112         * tests/WebFrameTest.cpp:
2113         * tests/data/select_range_basic.html: Added.
2114         * tests/data/select_range_editable.html: Added.
2115         * tests/data/select_range_iframe.html: Added.
2116         * tests/data/select_range_scroll.html: Added.
2117
2118 2012-08-14  Joshua Bell  <jsbell@chromium.org>
2119
2120         IndexedDB: Pass cursor continue results back in callback
2121         https://bugs.webkit.org/show_bug.cgi?id=92278
2122
2123         Reviewed by Tony Chang.
2124
2125         Supply the updated cursor key/primaryKey/value in the success callback,
2126         rather than forcing the callee to make three calls into the back end to
2127         fetch them. Callbacks onSuccess(cursor) and onSuccessWithContinuation()
2128         are given the three new payload parameters (and the latter is renamed.)
2129
2130         * public/WebIDBCallbacks.h:
2131         (WebIDBCallbacks):
2132         (WebKit::WebIDBCallbacks::onSuccess): Replace with no-op stub.
2133         (WebKit::WebIDBCallbacks::onSuccessWithContinuation): Ditto.
2134         * public/WebIDBCursor.h:
2135         (WebIDBCursor): Methods can be removed once Chromium is cleaned up.
2136         * src/IDBCallbacksProxy.cpp: Updated callbacks.
2137         (WebKit::IDBCallbacksProxy::onSuccess):
2138         (WebKit):
2139         * src/IDBCallbacksProxy.h: Updated callbacks.
2140         (IDBCallbacksProxy):
2141         * src/IDBCursorBackendProxy.cpp: Remove back end accessors.
2142         * src/IDBCursorBackendProxy.h:
2143         (IDBCursorBackendProxy):
2144         * src/WebIDBCallbacksImpl.cpp: Updated callbacks.
2145         (WebKit::WebIDBCallbacksImpl::onSuccess):
2146         * src/WebIDBCallbacksImpl.h: Updated callbacks.
2147         (WebIDBCallbacksImpl):
2148         * src/WebIDBCursorImpl.cpp: Remove back end accessors.
2149         * src/WebIDBCursorImpl.h: Remove back end accessors.
2150         (WebIDBCursorImpl):
2151         * tests/IDBAbortOnCorruptTest.cpp: Update test stubs.
2152         (WebCore::MockIDBCallbacks::onSuccess):
2153         * tests/IDBDatabaseBackendTest.cpp: Ditto.
2154         * tests/IDBRequestTest.cpp: Ditto.
2155
2156 2012-08-14  Peter Beverloo  <peter@chromium.org>
2157
2158         [Chromium] Remove unneeded build logic for Android
2159         https://bugs.webkit.org/show_bug.cgi?id=93962
2160
2161         Reviewed by Dimitri Glazkov.
2162
2163         The Android SDK and NDK have been checked in to the Chromium tree, which
2164         allows WebKit to leverage those as well. They will already be pulled in
2165         through a DEPS change made last week, and by not setting the ANDROID_NDK_ROOT
2166         environment variable, the envsetup.sh will set the project files up
2167         appropriately for us.
2168
2169         * DEPS:
2170
2171 2012-08-14  Peter Beverloo  <peter@chromium.org>
2172
2173         Unreviewed.  Rolled DEPS.
2174
2175         * DEPS:
2176
2177 2012-08-14  Peter Beverloo  <peter@chromium.org>
2178
2179         [Chromium] Fix apk generation for the Android platform
2180         https://bugs.webkit.org/show_bug.cgi?id=93841
2181
2182         Unreviewed build fix (step 2).
2183
2184         The path from webkit_unit_tests isn't robust enough. Use the same
2185         convention as the Chromium side, i.e. walk up from the ant_build_out path.
2186         One-line Android-only gyp change.
2187
2188         * WebKitUnitTests.gyp:
2189
2190 2012-08-14  Peter Beverloo  <peter@chromium.org>
2191
2192         [Chromium] Fix apk generation for the Android platform
2193         https://bugs.webkit.org/show_bug.cgi?id=93841
2194
2195         Unreviewed build fix.
2196
2197         APK generation was broken as the configuration file assumed compilation
2198         would only occur in the Chromium tree. Pass the path to Chromium's source
2199         base directory as a property to ant.
2200
2201         * WebKitUnitTests.gyp:
2202
2203 2012-08-13  Tom Sepez  <tsepez@chromium.org>
2204
2205         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
2206         https://bugs.webkit.org/show_bug.cgi?id=93283
2207
2208         Reviewed by Eric Seidel.
2209
2210         Change the client redirectDataToPlugin method(s) to expect the possibility of
2211         a NULL argument, NULLing Chromium's refptr that needs to be NULLed.
2212
2213         * src/FrameLoaderClientImpl.cpp:
2214         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
2215
2216 2012-08-13  Eric Penner  <epenner@google.com>
2217
2218         [chromium] Paint animated layers immediately to avoid animation hiccups.
2219         https://bugs.webkit.org/show_bug.cgi?id=93028
2220
2221         Reviewed by Adrienne Walker.
2222
2223         Replaced one test. Test painting full animated layer.
2224
2225         * tests/TiledLayerChromiumTest.cpp:
2226
2227 2012-08-12  Shawn Singh  <shawnsingh@chromium.org>
2228
2229         [chromium] renderSurface in incorrect space if owning layer has empty but non-zero bounds
2230         https://bugs.webkit.org/show_bug.cgi?id=93795
2231
2232         Reviewed by Adrienne Walker.
2233
2234         * tests/CCLayerTreeHostCommonTest.cpp:
2235
2236 2012-08-13  James Robinson  <jamesr@chromium.org>
2237
2238         [chromium] Make WebAnimation a pure virtual interface to hide implementation and avoid unresolved symbols
2239         https://bugs.webkit.org/show_bug.cgi?id=93907
2240
2241         Reviewed by Darin Fisher.
2242
2243         Adds a WebAnimationImpl implementation of the WebAnimation interface.
2244
2245         * WebKit.gyp:
2246         * src/WebAnimationImpl.cpp: Renamed from Source/WebKit/chromium/src/WebAnimation.cpp.
2247         (WebKit):
2248         (WebKit::WebAnimation::create):
2249         (WebKit::WebAnimationImpl::targetProperty):
2250         (WebKit::WebAnimationImpl::iterations):
2251         (WebKit::WebAnimationImpl::setIterations):
2252         (WebKit::WebAnimationImpl::startTime):
2253         (WebKit::WebAnimationImpl::setStartTime):
2254         (WebKit::WebAnimationImpl::timeOffset):
2255         (WebKit::WebAnimationImpl::setTimeOffset):
2256         (WebKit::WebAnimationImpl::alternatesDirection):
2257         (WebKit::WebAnimationImpl::setAlternatesDirection):
2258         (WebKit::WebAnimationImpl::cloneToCCAnimation):
2259         * src/WebAnimationImpl.h: Added.
2260         (WebCore):
2261         (WebKit):
2262         (WebAnimationImpl):
2263         (WebKit::WebAnimationImpl::WebAnimationImpl):
2264         (WebKit::WebAnimationImpl::~WebAnimationImpl):
2265         * src/WebLayer.cpp:
2266         (WebKit::WebLayer::addAnimation):
2267         * tests/WebAnimationTest.cpp:
2268         (WebKit::TEST):
2269
2270 2012-08-10  James Robinson  <jamesr@chromium.org>
2271
2272         [chromium] Clean up dependencies for Canvas2DLayerBridgeTest and GraphicsLayerChromiumTest unit tests
2273         https://bugs.webkit.org/show_bug.cgi?id=93757
2274
2275         Reviewed by Adrienne Walker.
2276
2277         Breaks up some unit tests and removes unused code to avoid unit tests depending on both non-compositor WebCore
2278         logic and compositor internals. Canvas2DLayerBridgeTest had some vestigal includes and local variables that
2279         weren't being used, those are removed. GraphicsLayerChromiumTest was reaching into CC types, but could mostly
2280         use Platform API types for testing.
2281
2282         GraphicsLayerChromiumTest had some tests that were verifying that we could correctly translate WebCore
2283         animation lists into CCAnimation types - these have been moved into AnimationTranslationUtilTest.cpp, since the
2284         logic under test is in AnimationTranslationUtil. Currently these only test that we accept / reject animations as
2285         expected. They could be expanded to verify that the animation was translated faithfully, but that would require
2286         expanding the information exposed on WebAnimation.
2287
2288         * WebKit.gypi:
2289         * src/WebLayer.cpp:
2290         (WebKit::WebLayer::hasActiveAnimation):
2291         (WebKit):
2292         * tests/Canvas2DLayerBridgeTest.cpp:
2293         (Canvas2DLayerBridgeTest::fullLifecycleTest):
2294         * tests/GraphicsLayerChromiumTest.cpp:
2295         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
2296         (WebKit::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
2297         (GraphicsLayerChromiumTest):
2298         (WebKit::TEST_F):
2299         * tests/WebLayerTreeViewTest.cpp:
2300         * tests/WebLayerTreeViewTestCommon.h: Added.
2301         (WebKit):
2302         (MockWebLayerTreeViewClient):
2303
2304 2012-08-13  Sheriff Bot  <webkit.review.bot@gmail.com>
2305
2306         Unreviewed, rolling out r125422.
2307         http://trac.webkit.org/changeset/125422
2308         https://bugs.webkit.org/show_bug.cgi?id=93902
2309
2310         Broke the Android canary build (Requested by fmalita on
2311         #webkit).
2312
2313         * WebKitUnitTests.gyp:
2314
2315 2012-08-13  Leandro Gracia Gil  <leandrogracia@chromium.org>
2316
2317         [Chromium] Fix nits in the find-in-page match rects API
2318         https://bugs.webkit.org/show_bug.cgi?id=93817
2319
2320         Reviewed by Adam Barth.
2321
2322         This patch fixes a few pending nits from 93111.
2323
2324         * src/FindInPageCoordinates.cpp: replace a pointer by a reference in an output argument.
2325         (WebKit::toNormalizedRect):
2326         (WebKit::findInPageRectFromAbsoluteRect):
2327
2328 2012-08-13  Peter Beverloo  <peter@chromium.org>
2329
2330         [Chromium] Fix apk generation for the Android platform
2331         https://bugs.webkit.org/show_bug.cgi?id=93841
2332
2333         Reviewed by Dimitri Glazkov.
2334
2335         APK generation was broken as the configuration file assumed compilation
2336         would only occur in the Chromium tree. Pass the path to Chromium's source
2337         base directory as a property to ant.
2338
2339         * WebKitUnitTests.gyp:
2340
2341 2012-08-13  Peter Beverloo  <peter@chromium.org>
2342
2343         Unreviewed.  Rolled DEPS.
2344
2345         * DEPS:
2346
2347 2012-08-13  Sheriff Bot  <webkit.review.bot@gmail.com>
2348
2349         Unreviewed.  Rolled DEPS.
2350
2351         * DEPS:
2352
2353 2012-08-13  Peter Beverloo  <peter@chromium.org>
2354
2355         Unreviewed.  Rolled DEPS.
2356
2357         * DEPS:
2358
2359 2012-08-10  Kinuko Yasuda  <kinuko@chromium.org>
2360
2361         Support creating File object from FileSystem URL for files in FileSystem API
2362         https://bugs.webkit.org/show_bug.cgi?id=93706
2363
2364         Reviewed by Darin Fisher.
2365
2366         * src/WebBlobData.cpp:
2367         (WebKit::WebBlobData::itemAt):
2368
2369 2012-08-12  Yuta Kitamura  <yutak@google.com>
2370
2371         Unreviewed. Fix Chromium's Android build.
2372
2373         * src/WebFrameImpl.cpp:
2374         (WebKit::WebFrameImpl::find): Needs parentheses for a function call.
2375
2376 2012-08-12  Leandro Gracia Gil  <leandrogracia@chromium.org>
2377
2378         [Chromium] Implement the find-in-page match rects API
2379         https://bugs.webkit.org/show_bug.cgi?id=93111
2380
2381         Reviewed by Adam Barth.
2382
2383         Implement the funcionality of the find-in-page match rects API in WebFrame.
2384         These methods keep a cache of the match rects in a special coordinate system
2385         (find-in-page coordinates) and update them on size changes. They also allow
2386         to recover the match closest to a given point, therefore enabling to move
2387         to find matches when tapping on their corresponding tickmarks.
2388
2389         * WebKit.gyp: add FindInPageCoordinates.h / cpp.
2390         * src/ChromeClientImpl.cpp:
2391         (WebKit::ChromeClientImpl::contentsSizeChanged): propagate didChangeContentsSize to WebFrameImpl.
2392         * src/FindInPageCoordinates.cpp: Added.
2393         (WebKit):
2394         (WebKit::toNormalizedRect): auxiliary internal function.
2395         (WebKit::findInPageRectFromAbsoluteRect): main coordinate conversion function.
2396         (WebKit::findInPageRectFromRange): convenience conversion function for Ranges.
2397         * src/FindInPageCoordinates.h: Added.
2398         (WebCore):
2399         (WebKit):
2400         * src/WebFrameImpl.cpp:
2401         (WebKit::WebFrameImpl::FindMatch::FindMatch): find matches cache constructor.
2402         (WebKit):
2403         (WebKit::WebFrameImpl::find): clear match cache when appropriate and zoom into results on the Android port.
2404         (WebKit::WebFrameImpl::stopFinding): clear matches cache.
2405         (WebKit::WebFrameImpl::scopeStringMatches): add new results to the matches cache.
2406         (WebKit::WebFrameImpl::increaseMatchCount): update the matches cache version.
2407         (WebKit::WebFrameImpl::resetMatchCount): update the matches cache version.
2408         (WebKit::WebFrameImpl::findMatchMarkersVersion): new API providing the matches cache version.
2409         (WebKit::WebFrameImpl::clearFindMatchesCache): internal utility method to reset the matches cache.
2410         (WebKit::WebFrameImpl::isActiveMatchFrameValid): internal utility method to check if the local frame is still in the frame tree.
2411         (WebKit::WebFrameImpl::updateFindMatchRects): internal utility method to update the match result rects if required.
2412         (WebKit::WebFrameImpl::activeFindMatchRect): new API providing the active find match rect in find-in-page coordinates.
2413         (WebKit::WebFrameImpl::findMatchRects): new API returning the valid match rects in find-in-page coordinates.
2414         (WebKit::WebFrameImpl::appendFindMatchRects): internal utility method to concatenate the match results of multiple frames.
2415         (WebKit::WebFrameImpl::selectNearestFindMatch): new API selecting the find match closer to a point in find-in-page coordinates.
2416         (WebKit::WebFrameImpl::nearestFindMatch): internal utility method to find the nearest find match to a point in a frame.
2417         (WebKit::WebFrameImpl::selectFindMatch): internal utility method to select a match in the cache.
2418         (WebKit::WebFrameImpl::WebFrameImpl): initialization of new variables.
2419         (WebKit::WebFrameImpl::didChangeContentsSize): invalidate the cached match rect coordinates on frame content size changes.
2420         * src/WebFrameImpl.h:
2421         (WebCore):
2422         (WebFrameImpl):
2423         (WebKit::WebFrameImpl::activeMatchFrame): remove unrequired const.
2424         (WebKit::WebFrameImpl::activeMatch): expose the range of the active match to allow testing.
2425         (FindMatch): cache structure for find matches.
2426         * tests/WebFrameTest.cpp: new test case for find-in-page match rects.
2427         * tests/data/find_in_page.html: Added. Test case layout.
2428         * tests/data/find_in_page_frame.html: Added. Test case layout.
2429
2430 2012-08-09  James Robinson  <jamesr@chromium.org>
2431
2432         [chromium] Remove forwarding headers for compositor-related WebKit API and update includes
2433         https://bugs.webkit.org/show_bug.cgi?id=93669
2434
2435         Reviewed by Adam Barth.
2436
2437         This updates all includes for compositor-related headers to refer consistently to the Platform API location and
2438         removes the now-unneeded forwarding headers in the client API location. I also updated and resorted other
2439         platform API includes in modified header blocks.
2440
2441         * WebKit.gyp:
2442         * public/WebCompositor.h: Removed.
2443         * public/platform/WebContentLayer.h: Removed.
2444         * public/platform/WebContentLayerClient.h: Removed.
2445         * public/platform/WebExternalTextureLayer.h: Removed.
2446         * public/platform/WebLayer.h: Removed.
2447         * public/platform/WebLayerTreeView.h: Removed.
2448         * public/platform/WebLayerTreeViewClient.h: Removed.
2449         * public/platform/WebSolidColorLayer.h: Removed.
2450         * src/WebCompositorInputHandlerImpl.h:
2451         * src/WebContentLayerImpl.cpp:
2452         * src/WebLayer.cpp:
2453         * src/WebLayerTreeView.cpp:
2454         * src/WebLayerTreeViewImpl.cpp:
2455         * src/WebLayerTreeViewImpl.h:
2456         * src/WebSolidColorLayer.cpp:
2457         * src/WebViewImpl.h:
2458         * tests/Canvas2DLayerBridgeTest.cpp:
2459         * tests/GraphicsLayerChromiumTest.cpp:
2460         * tests/TextureLayerChromiumTest.cpp:
2461
2462 2012-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2463
2464         Unreviewed.  Rolled DEPS.
2465
2466         * DEPS:
2467
2468 2012-08-10  Iain Merrick  <husky@google.com>
2469
2470         [chromium] Upstream Android changes to WebFrameImpl::selectRange
2471         https://bugs.webkit.org/show_bug.cgi?id=92513
2472
2473         Reviewed by Ryosuke Niwa.
2474
2475         This change is driven by the Chromium port on the Android platform,
2476         but it should be suitable for other touch-based platforms. We reuse
2477         selectionExtentRespectingEditingBoundary (extracted from EventHandler
2478         into VisibleSelection).
2479
2480         * src/WebFrameImpl.cpp:
2481         (WebKit::WebFrameImpl::selectRange):
2482         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
2483
2484 2012-08-10  Dana Jansens  <danakj@chromium.org>
2485
2486         [chromium] Remove targetSurface pointer from CCRenderPass
2487         https://bugs.webkit.org/show_bug.cgi?id=93734
2488
2489         Reviewed by Adrienne Walker.
2490
2491         Use the RenderPass's damageRect instead of the surface's damageRect
2492         directly to test the same things without requiring a pointer to
2493         the surface that generated the RenderPass.
2494
2495         * tests/CCLayerTreeHostImplTest.cpp:
2496
2497 2012-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2498
2499         Unreviewed, rolling out r125310.
2500         http://trac.webkit.org/changeset/125310
2501         https://bugs.webkit.org/show_bug.cgi?id=93739
2502
2503         The DEPS roll broke Android. One does not simply break
2504         Android. (Requested by fmalita_ on #webkit).
2505
2506         * DEPS:
2507
2508 2012-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2509
2510         Unreviewed.  Rolled DEPS.
2511
2512         * DEPS:
2513
2514 2012-08-10  Dana Jansens  <danakj@chromium.org>
2515
2516         [chromium] Remove scissor from the namings in CCOcclusionTracker
2517         https://bugs.webkit.org/show_bug.cgi?id=93630
2518
2519         Reviewed by Adrienne Walker.
2520
2521         * tests/CCOcclusionTrackerTest.cpp:
2522         (WebKitTests::TestCCOcclusionTrackerWithClip::TestCCOcclusionTrackerWithClip):
2523         (WebKitTests::TestCCOcclusionTrackerWithClip::setLayerClipRect):
2524         (WebKitTests::TestCCOcclusionTrackerWithClip::useDefaultLayerClipRect):
2525         (WebKitTests::TestCCOcclusionTrackerWithClip::layerClipRectInTarget):
2526         (TestCCOcclusionTrackerWithClip):
2527         (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
2528         (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
2529         (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
2530         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
2531         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
2532         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
2533         (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
2534         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
2535         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
2536         (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
2537         (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
2538         (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
2539         (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
2540         (WebKitTests::CCOcclusionTrackerTestLayerClipRectOutsideChild::runMyTest):
2541         (WebKitTests):
2542         (WebKitTests::CCOcclusionTrackerTestViewportRectOutsideChild::runMyTest):
2543         (WebKitTests::CCOcclusionTrackerTestLayerClipRectOverChild::runMyTest):
2544         (WebKitTests::CCOcclusionTrackerTestViewportRectOverChild::runMyTest):
2545         (WebKitTests::CCOcclusionTrackerTestLayerClipRectPartlyOverChild::runMyTest):
2546         (WebKitTests::CCOcclusionTrackerTestViewportRectPartlyOverChild::runMyTest):
2547         (WebKitTests::CCOcclusionTrackerTestLayerClipRectOverNothing::runMyTest):
2548         (WebKitTests::CCOcclusionTrackerTestViewportRectOverNothing::runMyTest):
2549         (WebKitTests::CCOcclusionTrackerTestLayerClipRectForLayerOffOrigin::runMyTest):
2550         (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
2551         (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
2552         (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
2553         (WebKitTests::CCOcclusionTrackerTestUnsorted3dLayers::runMyTest):
2554         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
2555         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
2556         (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
2557         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
2558         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
2559         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
2560         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
2561         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
2562         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
2563         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
2564         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
2565         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
2566         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
2567         (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToViewport::runMyTest):
2568         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
2569         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
2570         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
2571         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
2572         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
2573         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
2574         (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
2575         (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
2576         * tests/TiledLayerChromiumTest.cpp:
2577
2578 2012-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2579
2580         Unreviewed, rolling out r125230 and r125238.
2581         http://trac.webkit.org/changeset/125230
2582         http://trac.webkit.org/changeset/125238
2583         https://bugs.webkit.org/show_bug.cgi?id=93698
2584
2585         Broke ChromiumOS browser tests. (Requested by yutak on
2586         #webkit).
2587
2588         * tests/TiledLayerChromiumTest.cpp:
2589
2590 2012-08-09  Eric Penner  <epenner@google.com>
2591
2592         [chromium] Paint animated layers immediately to avoid animation hiccups.
2593         https://bugs.webkit.org/show_bug.cgi?id=93028
2594
2595         Reviewed by Adrienne Walker.
2596
2597         Replaced one test. Test painting full animated layer.
2598
2599         * tests/TiledLayerChromiumTest.cpp:
2600
2601 2012-08-09  Nat Duca  <nduca@chromium.org>
2602
2603         [chromium] Remove missing files from WebKit.gyp introduced by r125219
2604         https://bugs.webkit.org/show_bug.cgi?id=93671
2605
2606         Unreviewed. Fixing windows build.
2607
2608         * WebKit.gyp:
2609
2610 2012-08-09  Alec Flett  <alecflett@chromium.org>
2611
2612         IndexedDB: add AssertMatchingEnums for Direction and TaskType
2613         https://bugs.webkit.org/show_bug.cgi?id=93618
2614
2615         Reviewed by Tony Chang.
2616
2617         These chromium enums were introduced in a separate patch.
2618
2619         * src/AssertMatchingEnums.cpp:
2620
2621 2012-08-06  Nat Duca  <nduca@chromium.org>
2622
2623         [chromium] Expose CCGraphicsContext as WebCompositorOutputSurface
2624         https://bugs.webkit.org/show_bug.cgi?id=92890
2625
2626         Reviewed by James Robinson.
2627
2628         * WebKit.gyp:
2629         * WebKit.gypi:
2630         * public/WebSettings.h:
2631         * public/WebViewClient.h:
2632         (WebKit):
2633         (WebViewClient):
2634         (WebKit::WebViewClient::createOutputSurface):
2635         * src/WebLayerTreeView.cpp:
2636         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
2637         * src/WebLayerTreeViewImpl.cpp:
2638         (WebKit):
2639         (WebGraphicsContextToOutputSurfaceAdapter):
2640         (WebKit::WebGraphicsContextToOutputSurfaceAdapter::WebGraphicsContextToOutputSurfaceAdapter):
2641         (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
2642         * src/WebSettingsImpl.cpp:
2643         (WebKit::WebSettingsImpl::WebSettingsImpl):
2644         * src/WebSettingsImpl.h:
2645         (WebSettingsImpl):
2646         * src/WebViewImpl.cpp:
2647         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2648         (WebKit::WebViewImpl::createOutputSurface):
2649         (WebKit):
2650         (WebKit::WebViewImpl::didRebindGraphicsContext):
2651         (WebKit::WebViewImpl::didRecreateOutputSurface):
2652         * src/WebViewImpl.h:
2653         (WebViewImpl):
2654         * tests/CCLayerTreeHostImplTest.cpp:
2655         * tests/CCLayerTreeHostTest.cpp:
2656         (WTF):
2657         (WTF::CCLayerTreeHostTestSetSingleLostContext::didRecreateOutputSurface):
2658         (WTF::CCLayerTreeHostTestSetRepeatedLostContext::didRecreateOutputSurface):
2659         * tests/CCResourceProviderTest.cpp:
2660         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
2661         * tests/CCTextureUpdateControllerTest.cpp:
2662         * tests/CCThreadedTest.cpp:
2663         (WebKitTests::TestHooks::createOutputSurface):
2664         * tests/CCThreadedTest.h:
2665         (WebKitTests::TestHooks::didRecreateOutputSurface):
2666         * tests/Canvas2DLayerBridgeTest.cpp:
2667         (Canvas2DLayerBridgeTest::fullLifecycleTest):
2668         * tests/FakeCCGraphicsContext.h:
2669         (WebKit::createFakeCCGraphicsContext):
2670         * tests/FakeCCLayerTreeHostClient.h:
2671         * tests/FakeWebCompositorOutputSurface.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCGraphicsContext.h.
2672         (WebKit):
2673         (FakeWebCompositorOutputSurface):
2674         (WebKit::FakeWebCompositorOutputSurface::create):
2675         (WebKit::FakeWebCompositorOutputSurface::FakeWebCompositorOutputSurface):
2676         * tests/LayerRendererChromiumTest.cpp:
2677         (LayerRendererChromiumTest::LayerRendererChromiumTest):
2678         (TEST):
2679         * tests/WebLayerTest.cpp:
2680         * tests/WebLayerTreeViewTest.cpp:
2681
2682 2012-08-09  Nat Duca  <nduca@chromium.org>
2683
2684         Unreviewed, rolling out r125212.
2685         http://trac.webkit.org/changeset/125212
2686         https://bugs.webkit.org/show_bug.cgi?id=92890
2687
2688         Compile failure on mac dbg builder
2689
2690         * WebKit.gyp:
2691         * WebKit.gypi:
2692         * public/WebSettings.h:
2693         * public/WebViewClient.h:
2694         (WebKit):
2695         (WebViewClient):
2696         * src/WebLayerTreeView.cpp:
2697         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
2698         * src/WebLayerTreeViewImpl.cpp:
2699         (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
2700         * src/WebSettingsImpl.cpp:
2701         (WebKit::WebSettingsImpl::WebSettingsImpl):
2702         (WebKit::WebSettingsImpl::setForceSoftwareCompositing):
2703         (WebKit):
2704         * src/WebSettingsImpl.h:
2705         (WebKit::WebSettingsImpl::forceSoftwareCompositing):
2706         (WebSettingsImpl):
2707         * src/WebViewImpl.cpp:
2708         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2709         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
2710         (WebKit::WebViewImpl::createContext3D):
2711         (WebKit::WebViewImpl::didRebindGraphicsContext):
2712         * src/WebViewImpl.h:
2713         (WebViewImpl):
2714         * tests/CCLayerTreeHostImplTest.cpp:
2715         * tests/CCLayerTreeHostTest.cpp:
2716         (WTF):
2717         (WTF::CCLayerTreeHostTestSetSingleLostContext::didRecreateContext):
2718         (WTF::CCLayerTreeHostTestSetRepeatedLostContext::didRecreateContext):
2719         * tests/CCResourceProviderTest.cpp:
2720         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
2721         * tests/CCTextureUpdateControllerTest.cpp:
2722         * tests/CCThreadedTest.cpp:
2723         (WebKitTests::TestHooks::createContext):
2724         * tests/CCThreadedTest.h:
2725         (WebKitTests::TestHooks::didRecreateContext):
2726         * tests/Canvas2DLayerBridgeTest.cpp:
2727         (Canvas2DLayerBridgeTest::fullLifecycleTest):
2728         * tests/FakeCCGraphicsContext.h:
2729         (WebKit::createFakeCCGraphicsContext):
2730         * tests/FakeCCLayerTreeHostClient.h:
2731         * tests/FakeWebCompositorOutputSurface.h: Removed.
2732         * tests/LayerRendererChromiumTest.cpp:
2733         (LayerRendererChromiumTest::LayerRendererChromiumTest):
2734         (TEST):
2735         * tests/WebLayerTest.cpp:
2736         * tests/WebLayerTreeViewTest.cpp:
2737
2738 2012-08-09  Kentaro Hara  <haraken@chromium.org>
2739
2740         [V8] Rename V8BindingPerIsolateData to V8PerIsolateData
2741         https://bugs.webkit.org/show_bug.cgi?id=93592
2742
2743         Reviewed by Adam Barth.
2744
2745         For a better name. See discussion in bug 93333.
2746
2747         No tests. No change in behavior.
2748
2749         * src/WebKit.cpp:
2750         (WebKit::initialize):
2751
2752 2012-08-06  Nat Duca  <nduca@chromium.org>
2753
2754         [chromium] Expose CCGraphicsContext as WebCompositorOutputSurface
2755         https://bugs.webkit.org/show_bug.cgi?id=92890
2756
2757         Reviewed by James Robinson.
2758
2759         * WebKit.gyp:
2760         * WebKit.gypi:
2761         * public/WebSettings.h:
2762         * public/WebViewClient.h:
2763         (WebKit):
2764         (WebViewClient):
2765         (WebKit::WebViewClient::createOutputSurface):
2766         * src/WebLayerTreeView.cpp:
2767         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
2768         * src/WebLayerTreeViewImpl.cpp:
2769         (WebKit):
2770         (WebGraphicsContextToOutputSurfaceAdapter):
2771         (WebKit::WebGraphicsContextToOutputSurfaceAdapter::WebGraphicsContextToOutputSurfaceAdapter):
2772         (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
2773         * src/WebSettingsImpl.cpp:
2774         (WebKit::WebSettingsImpl::WebSettingsImpl):
2775         * src/WebSettingsImpl.h:
2776         (WebSettingsImpl):
2777         * src/WebViewImpl.cpp:
2778         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2779         (WebKit::WebViewImpl::createOutputSurface):
2780         (WebKit):
2781         (WebKit::WebViewImpl::didRebindGraphicsContext):
2782         (WebKit::WebViewImpl::didRecreateOutputSurface):
2783         * src/WebViewImpl.h:
2784         (WebViewImpl):
2785         * tests/CCLayerTreeHostImplTest.cpp:
2786         * tests/CCLayerTreeHostTest.cpp:
2787         (WTF):
2788         (WTF::CCLayerTreeHostTestSetSingleLostContext::didRecreateOutputSurface):
2789         (WTF::CCLayerTreeHostTestSetRepeatedLostContext::didRecreateOutputSurface):
2790         * tests/CCResourceProviderTest.cpp:
2791         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
2792         * tests/CCTextureUpdateControllerTest.cpp:
2793         * tests/CCThreadedTest.cpp:
2794         (WebKitTests::TestHooks::createOutputSurface):
2795         * tests/CCThreadedTest.h:
2796         (WebKitTests::TestHooks::didRecreateOutputSurface):
2797         * tests/Canvas2DLayerBridgeTest.cpp:
2798         (Canvas2DLayerBridgeTest::fullLifecycleTest):
2799         * tests/FakeCCGraphicsContext.h:
2800         (WebKit::createFakeCCGraphicsContext):
2801         * tests/FakeCCLayerTreeHostClient.h:
2802         * tests/FakeWebCompositorOutputSurface.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCGraphicsContext.h.
2803         (WebKit):
2804         (FakeWebCompositorOutputSurface):
2805         (WebKit::FakeWebCompositorOutputSurface::create):
2806         (WebKit::FakeWebCompositorOutputSurface::FakeWebCompositorOutputSurface):
2807         * tests/LayerRendererChromiumTest.cpp:
2808         (LayerRendererChromiumTest::LayerRendererChromiumTest):
2809         (TEST):
2810         * tests/WebLayerTest.cpp:
2811         * tests/WebLayerTreeViewTest.cpp:
2812
2813 2012-08-09  Alec Flett  <alecflett@chromium.org>
2814
2815         IndexedDB: additional chromium signature for openCursor
2816         https://bugs.webkit.org/show_bug.cgi?id=93637
2817
2818         Reviewed by Adam Barth.
2819
2820         Stub out the TaskType-based openCursor in the chromium API.
2821
2822         * src/WebIDBObjectStoreImpl.cpp:
2823         (WebKit::WebIDBObjectStoreImpl::openCursor):
2824         * src/WebIDBObjectStoreImpl.h:
2825         (WebKit::WebIDBObjectStoreImpl::openCursor):
2826         (WebIDBObjectStoreImpl):
2827
2828 2012-08-09  Dana Jansens  <danakj@chromium.org>
2829
2830         [chromium] Do partial-swap scissoring on quads during draw instead of on layers
2831         https://bugs.webkit.org/show_bug.cgi?id=91800
2832
2833         Reviewed by Adrienne Walker.
2834
2835         * tests/CCDamageTrackerTest.cpp:
2836         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
2837         * tests/CCLayerIteratorTest.cpp:
2838         * tests/CCLayerTreeHostCommonTest.cpp:
2839         Removed tests of the scissor rect here, as they are no longer
2840         computed within CCLayerTreeHostCommon. Verify that the scissor
2841         does not affect texture caching in CCLayerTreeHostImplTest now.
2842         Previous scissor would affect the texture cache decisions, but
2843         this was incorrect, as damaged areas are always inside the
2844         scissor rect, and anything outside the scissor rect should
2845         be considered as valid and complete (assuming no external
2846         occlusion, which is computed outside the scissor rect now also).
2847
2848         * tests/CCLayerTreeHostImplTest.cpp:
2849         Removed didDrawNotCalledOnScissoredLayer test, as this no longer
2850         applies. didDraw will be called on layers that are outside the
2851         partial swap rect, regardless.
2852
2853         Removed partialSwapNoUpdate test, and merged its functionality into
2854         the partialSwap test while updating its expectations.
2855
2856         Added textureCachingWithScissor, which is loosely based on the
2857         CCLayerTreeHostCommonTest.scissorRectWithClip test.
2858
2859         * tests/CCOcclusionTrackerTest.cpp:
2860         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
2861         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
2862         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
2863         * tests/CCQuadCullerTest.cpp:
2864         * tests/CCRenderSurfaceTest.cpp:
2865         * tests/CCSolidColorLayerImplTest.cpp:
2866         (CCLayerTestCommon::TEST):
2867         * tests/CCTiledLayerImplTest.cpp:
2868         (CCLayerTestCommon::createLayer):
2869         * tests/LayerRendererChromiumTest.cpp:
2870         (LayerRendererChromiumTest::swapBuffers):
2871         (TEST_F):
2872         (TEST):
2873         * tests/TiledLayerChromiumTest.cpp:
2874
2875 2012-08-09  Shawn Singh  <shawnsingh@chromium.org>
2876
2877         [chromium] Pass mask scale and offset to shaders for correct masking
2878         https://bugs.webkit.org/show_bug.cgi?id=93558
2879
2880         Reviewed by Adrienne Walker.
2881
2882         Updated one unit test that needed additional args in a
2883         constructor, but no change in behavior of the test.
2884
2885         * tests/CCLayerTreeHostImplTest.cpp:
2886
2887 2012-08-09  Pavel Feldman  <pfeldman@chromium.org>
2888
2889         Web Inspector: add codemirror library as an experiment
2890         https://bugs.webkit.org/show_bug.cgi?id=93620
2891
2892         Reviewed by Vsevolod Vlasov.
2893
2894         * WebKit.gyp:
2895
2896 2012-08-09  Peter Beverloo  <peter@chromium.org>
2897
2898         Unreviewed, rolling out r125171.
2899         http://trac.webkit.org/changeset/125171
2900
2901         Broke the Chromium Android build.
2902
2903         * DEPS:
2904
2905 2012-08-09  Peter Beverloo  <peter@chromium.org>
2906
2907         Unreviewed.  Rolled DEPS.
2908
2909         * DEPS:
2910
2911 2012-08-09  Keishi Hattori  <keishi@webkit.org>
2912
2913         Page popups can show up at wrong locations
2914         https://bugs.webkit.org/show_bug.cgi?id=93556
2915
2916         Reviewed by Kent Tamura.
2917
2918         We were showing the popup at wrong positions. When there isn't enough
2919         room below and above the element it adjusts the position but we weren't
2920         resetting the adjustment when we resize the popup. This patch will make
2921         the popup adjust the popup position each time we resize.
2922
2923         * src/ColorChooserUIController.cpp:
2924         (WebKit::ColorChooserUIController::contentSize):
2925         * src/WebPagePopupImpl.cpp:
2926         (WevKit::PagePopupChromeClient::setWindowRect):
2927         (WebKit::WebPagePopupImpl::init): Use reposition().
2928         (WebKit::WebPagePopupImpl::reposition): Repositions the page popup based on the popup size.
2929         (WebKit):
2930         (WebKit::WebPagePopupImpl::resize): Use reposition().
2931         * src/WebPagePopupImpl.h:
2932         (WebPagePopupImpl):
2933
2934 2012-08-09  Peter Beverloo  <peter@chromium.org>
2935
2936         [Chromium] Pull in the android_tools directory for Android
2937         https://bugs.webkit.org/show_bug.cgi?id=84843
2938
2939         Reviewed by Jochen Eisinger.
2940
2941         Pull in the android_tools directory for Chromium Android checkouts. This
2942         repository, living in Chromium's, contains checked in versions of the
2943         Android NDK and SDK meant to make builds and updates easier.
2944
2945         * DEPS:
2946
2947 2012-08-08  Shane Stephens  <shanestephens@google.com>
2948
2949         Compile flag for CSS Hierarchies
2950         https://bugs.webkit.org/show_bug.cgi?id=92433
2951
2952         Reviewed by Tony Chang.
2953
2954         * features.gypi:
2955
2956 2012-08-08  Kent Tamura  <tkent@chromium.org>
2957
2958         [Chromium-mac] Switch to LocalizedNumberMac from LocalizedNumberICU
2959         https://bugs.webkit.org/show_bug.cgi?id=93432
2960
2961         Reviewed by Hajime Morita.
2962
2963         * tests/LocaleMacTest.cpp:
2964         Add some tests for number localization. They are similar to tests in
2965         LocaleWinTest and LocalizedNumberICUTest.cpp
2966         (LocaleMacTest):
2967         (LocaleMacTest::decimalSeparator):
2968         (TEST_F):
2969         (testNumberIsReversible):
2970         (testNumbers):
2971
2972 2012-08-08  Adrienne Walker  <enne@google.com>
2973
2974         [chromium] Move scrollbar pointer into WebScrollbarThemePainter
2975         https://bugs.webkit.org/show_bug.cgi?id=93541
2976
2977         Reviewed by James Robinson.
2978
2979         Fix WebScrollbarThemePainter implementation to make direct calls on
2980         the scrollbar rather than through the WebScrollbarThemeClientImpl
2981         adapter.
2982
2983         * src/WebScrollbarThemePainter.cpp:
2984         (WebKit::WebScrollbarThemePainter::assign):
2985         (WebKit::WebScrollbarThemePainter::paintScrollbarBackground):
2986         (WebKit::WebScrollbarThemePainter::paintTrackBackground):
2987         (WebKit::WebScrollbarThemePainter::paintBackTrackPart):
2988         (WebKit::WebScrollbarThemePainter::paintForwardTrackPart):
2989         (WebKit::WebScrollbarThemePainter::paintBackButtonStart):
2990         (WebKit::WebScrollbarThemePainter::paintBackButtonEnd):
2991         (WebKit::WebScrollbarThemePainter::paintForwardButtonStart):
2992         (WebKit::WebScrollbarThemePainter::paintForwardButtonEnd):
2993         (WebKit::WebScrollbarThemePainter::paintTickmarks):
2994         (WebKit::WebScrollbarThemePainter::paintThumb):
2995         (WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):
2996         * tests/ScrollbarLayerChromiumTest.cpp:
2997         (WebCore::TEST):
2998
2999 2012-08-08  Alexei Svitkine  <asvitkine@chromium.org>
3000
3001         [chromium/mac] Map NSEventPhaseMayBegin appropriately on 10.8
3002         https://bugs.webkit.org/show_bug.cgi?id=93535
3003
3004         Reviewed by Dimitri Glazkov.
3005
3006         This enables putting two fingers on the track pad to show overlay scroll bars on 10.8+.
3007
3008         * src/mac/WebInputEventFactory.mm:
3009         (WebKit::phaseForNSEventPhase):
3010
3011 2012-08-08  James Robinson  <jamesr@chromium.org>
3012
3013         [chromium] Fix up includes and types in chromium compositor unit tests
3014         https://bugs.webkit.org/show_bug.cgi?id=93553
3015
3016         Reviewed by Adrienne Walker.
3017
3018         This removes some unused GraphicsContext3DPrivate.h includes and adds some includes that were being implicitely
3019         depending upon - mostly for wtf/PassOwnPtr.h.
3020
3021         * tests/CCLayerTreeHostTest.cpp:
3022         (::CCLayerTreeHostTestCommit::beginTest):
3023         (::CCLayerTreeHostTestCommit::commitCompleteOnCCThread):
3024         * tests/CCRenderSurfaceFiltersTest.cpp:
3025         * tests/CompositorFakeWebGraphicsContext3D.h:
3026         * tests/FakeGraphicsContext3DTest.cpp:
3027         * tests/FakeWebScrollbarThemeGeometry.h:
3028         * tests/TextureCopierTest.cpp:
3029         * tests/ThrottledTextureUploaderTest.cpp:
3030
3031 2012-08-08  Eric Penner  <epenner@google.com>
3032
3033         [chromium] Refactor tile flags.
3034         https://bugs.webkit.org/show_bug.cgi?id=93059
3035
3036         Reviewed by Adrienne Walker.
3037
3038         Minor fixes to existing tests.
3039
3040         * tests/TiledLayerChromiumTest.cpp:
3041
3042 2012-08-08  James Robinson  <jamesr@chromium.org>
3043
3044         [chromium] Clean up WebKit.h and WebKitPlatformSupport.h includes in chromium/src
3045         https://bugs.webkit.org/show_bug.cgi?id=93539
3046
3047         Reviewed by Adam Barth.
3048
3049         Most of these files don't need either WebKit.h or WebKitPlatformSupport.h. Some need <public/Platform.h>, and
3050         some are relying on the forwarding headers. This updates includes to what is actually needed and points platform
3051         includes at <public/Foo.h> instead of "platform/Foo.h" where possible.
3052
3053         * src/ApplicationCacheHostInternal.h:
3054         * src/AssociatedURLLoader.cpp:
3055         * src/AsyncFileSystemChromium.cpp:
3056         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
3057         * src/BlobRegistryProxy.cpp:
3058         * src/ChromiumCurrentTime.cpp:
3059         * src/ChromiumOSRandomSource.cpp:
3060         * src/ChromiumThreading.cpp:
3061         * src/EditorClientImpl.cpp:
3062         * src/FrameLoaderClientImpl.cpp:
3063         * src/IDBFactoryBackendProxy.cpp:
3064         * src/LocalizedStrings.cpp:
3065         * src/PlatformMessagePortChannel.cpp:
3066         * src/WebCompositorInputHandlerImpl.cpp:
3067         * src/WebMediaPlayerClientImpl.cpp:
3068         * src/WebPluginContainerImpl.cpp:
3069         * src/WebViewImpl.cpp:
3070         * src/WebWorkerClientImpl.cpp:
3071         * src/WorkerAsyncFileSystemChromium.cpp:
3072         * src/WorkerFileWriterCallbacksBridge.cpp:
3073
3074 2012-08-08  James Robinson  <jamesr@chromium.org>
3075
3076         [chromium] Clean up includes in compositor unit tests
3077         https://bugs.webkit.org/show_bug.cgi?id=93531
3078
3079         Reviewed by Adrienne Walker.
3080
3081         This removes unused includes and updates Platform API headers to use the <public/Web...> style paths.
3082
3083         * tests/CCAnimationTestCommon.cpp:
3084         * tests/CCKeyframedAnimationCurveTest.cpp:
3085         * tests/CCLayerAnimationControllerTest.cpp:
3086         * tests/CCLayerTreeHostCommonTest.cpp:
3087         * tests/CCLayerTreeHostTest.cpp:
3088         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
3089         * tests/CCOcclusionTrackerTest.cpp:
3090         * tests/CCTextureUpdateControllerTest.cpp:
3091         * tests/CCThreadedTest.cpp:
3092         * tests/FakeWebGraphicsContext3D.h:
3093         * tests/LayerChromiumTest.cpp:
3094         * tests/LayerRendererChromiumTest.cpp:
3095         * tests/TiledLayerChromiumTest.cpp:
3096         * tests/WebCompositorInputHandlerImplTest.cpp:
3097         * tests/WebLayerTest.cpp:
3098         * tests/WebLayerTreeViewTest.cpp:
3099
3100 2012-08-07  James Robinson  <jamesr@chromium.org>
3101
3102         [chromium] Only use public Platform API in NonCompositedContentHost
3103         https://bugs.webkit.org/show_bug.cgi?id=93423
3104
3105         Reviewed by Adrienne Walker.
3106
3107         Switches to using Web*Layer APIs in NonCompositedContentHost instead of reaching in to the LayerChromium and
3108         updates unit tests for the nonCompositedContent->useLCDText flag rename.
3109
3110         * src/NonCompositedContentHost.cpp:
3111         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
3112         * src/WebContentLayer.cpp:
3113         (WebKit::WebContentLayer::setUseLCDText):
3114         (WebKit):
3115         (WebKit::WebContentLayer::setDrawCheckerboardForMissingTiles):
3116         * src/WebViewImpl.cpp:
3117         * tests/CCLayerImplTest.cpp:
3118         (WebCore::TEST):
3119         * tests/CCLayerTreeHostImplTest.cpp:
3120         * tests/LayerChromiumTest.cpp:
3121
3122 2012-08-08  Alec Flett  <alecflett@chromium.org>
3123
3124         IndexedDB: new enums and openCursor stub
3125         https://bugs.webkit.org/show_bug.cgi?id=93410
3126
3127         Reviewed by Adam Barth.
3128
3129         This stubs out the TaskType and Direction enums that will be
3130         required to land the chromium side of
3131         https://bugs.webkit.org/show_bug.cgi?id=91125.
3132
3133         * public/WebIDBCursor.h:
3134         * public/WebIDBObjectStore.h:
3135         (WebKit::WebIDBObjectStore::setIndexKeys):
3136         (WebKit::WebIDBObjectStore::setIndexesReady):
3137         (WebIDBObjectStore):
3138         (WebKit::WebIDBObjectStore::openCursor):
3139         * public/WebIDBTransaction.h:
3140
3141 2012-08-08  Dana Jansens  <danakj@chromium.org>
3142
3143         [chromium] Enable occlusion tracker in the occlusion tests for surface cacheing
3144         https://bugs.webkit.org/show_bug.cgi?id=93500
3145
3146         Reviewed by Adrienne Walker.
3147
3148         The occlusion tracker is not being used in these tests except to do
3149         scissoring. We want to test occlusion with these occlusion tests,
3150         and when scissoring is not part of occlusion tracker, these
3151         tests would become useless otherwise.
3152
3153         * tests/CCLayerTreeHostImplTest.cpp:
3154
3155 2012-08-08  Adam Barth  <abarth@webkit.org>
3156
3157         Crash when reloading a Chromium "platform" app
3158         https://bugs.webkit.org/show_bug.cgi?id=93497
3159
3160         Reviewed by Eric Seidel.
3161
3162         Test that we don't crash when executing script during the
3163         didCreateScriptContext callback.
3164
3165         * tests/WebFrameTest.cpp:
3166         * tests/data/hello_world.html: Added.
3167
3168 2012-08-07  Joshua Bell  <jsbell@chromium.org>
3169
3170         Layout Test storage/indexeddb/intversion-omit-parameter.html is flaky
3171         https://bugs.webkit.org/show_bug.cgi?id=92952
3172
3173         Reviewed by Tony Chang.
3174
3175         Added test to exercise WebCore::IDBRequest event callbacks after
3176         the script context has stopped and ensure no asserts are hit.
3177
3178         * WebKit.gypi:
3179         * tests/IDBRequestTest.cpp: Added.
3180         (WebCore):
3181         (WebCore::TEST):
3182
3183 2012-08-07  Fady Samuel  <fsamuel@chromium.org>
3184
3185         Allow plugins to decide whether they are keyboard focusable
3186         https://bugs.webkit.org/show_bug.cgi?id=88958
3187
3188         Reviewed by Anders Carlsson.
3189
3190         * public/WebPlugin.h:
3191         (WebKit::WebPlugin::supportsKeyboardFocus):
3192         * src/WebInputEventConversion.cpp:
3193         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
3194         * src/WebPluginContainerImpl.cpp:
3195         (WebKit::WebPluginContainerImpl::supportsKeyboardFocus):
3196         (WebKit):
3197         * src/WebPluginContainerImpl.h:
3198         (WebPluginContainerImpl):
3199
3200 2012-08-07  Kentaro Hara  <haraken@chromium.org>
3201
3202         [V8] Implement V8Proxy::registerExtensionIfNeeded() and remove redundant methods
3203         https://bugs.webkit.org/show_bug.cgi?id=93209
3204
3205         Reviewed by Adam Barth.
3206
3207         By implementing V8Proxy::registerExtensionIfNeeded(), we can remove
3208         registeredExtensionWithV8() and registerExtension().
3209
3210         No tests. No change in behavior.
3211
3212         * src/WebScriptController.cpp:
3213         (WebKit::WebScriptController::registerExtension):
3214
3215 2012-08-07  James Robinson  <jamesr@chromium.org>
3216
3217         [chromium] Add new gclient-managed cc directory to Source/WebKit/chromium/.gitignore
3218         https://bugs.webkit.org/show_bug.cgi?id=93403
3219
3220         Reviewed by Eric Seidel.
3221
3222         * .gitignore:
3223
3224 2012-08-07  Mihai Parparita  <mihaip@chromium.org>
3225
3226         [Chromium] Clean up WebScriptController.h comments
3227         https://bugs.webkit.org/show_bug.cgi?id=93399
3228
3229         Reviewed by Adam Barth.
3230
3231         Remove references to overloaded WebScriptController::registerExtension
3232         variants. They were removed in r68666.
3233
3234         * public/WebScriptController.h:
3235         (WebScriptController):
3236
3237 2012-08-07  Kentaro Hara  <haraken@chromium.org>
3238
3239         [V8] Remove #include Frame.h from V8Binding.h
3240         https://bugs.webkit.org/show_bug.cgi?id=93326
3241
3242         Reviewed by Adam Barth.
3243
3244         We want to remove unnecessary #include in V8Binding.h
3245         to avoid circular include dependency.
3246
3247         No tests. No change in behavior.
3248
3249         * src/WebBindings.cpp:
3250
3251 2012-08-07  James Robinson  <jamesr@chromium.org>
3252
3253         [chromium] Switch PlatformLayer typedef to Platform API type for PLATFORM(CHROMIUM)
3254         https://bugs.webkit.org/show_bug.cgi?id=93335
3255
3256         Reviewed by Adrienne Walker.
3257
3258         Update for new PlatformLayer typedef. This removes knowledge of WebCore::LayerChromium from all classes
3259         except for NonCompositedContentHost, which still punches through for a few minor APIs that I'll address
3260         in a separate patch.
3261
3262         * src/NonCompositedContentHost.cpp:
3263         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
3264         (WebKit::NonCompositedContentHost::setScrollLayer):
3265         (WebKit::NonCompositedContentHost::scrollLayer):
3266         (WebKit::NonCompositedContentHost::notifySyncRequired):
3267         * src/WebMediaPlayerClientImpl.cpp:
3268         (WebKit::WebMediaPlayerClientImpl::platformLayer):
3269         * src/WebMediaPlayerClientImpl.h:
3270         (WebMediaPlayerClientImpl):
3271         * src/WebPluginContainerImpl.cpp:
3272         (WebKit::WebPluginContainerImpl::platformLayer):
3273         * src/WebPluginContainerImpl.h:
3274         (WebCore):
3275         (WebPluginContainerImpl):
3276         * src/WebScrollableLayer.cpp:
3277         (WebKit::WebScrollableLayer::setNonFastScrollableRegion):
3278         (WebKit):
3279         (WebKit::WebScrollableLayer::setIsContainerForFixedPositionLayers):
3280         (WebKit::WebScrollableLayer::setFixedToContainerLayer):
3281         * src/WebViewImpl.cpp:
3282         (WebKit::WebViewImpl::setRootGraphicsLayer):
3283         * tests/Canvas2DLayerBridgeTest.cpp:
3284         * tests/GraphicsLayerChromiumTest.cpp:
3285         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
3286         (WebKitTests::TEST_F):
3287
3288 2012-08-07  James Robinson  <jamesr@chromium.org>
3289
3290         [chromium] Use WebCompositor interface in Platform API instead of CCProxy to query threaded compositor status
3291         https://bugs.webkit.org/show_bug.cgi?id=93398
3292
3293         Reviewed by Adam Barth.
3294
3295         Converts non-compositor code that cares about threaded compositing status over to query WebCompositor instead of
3296         CCProxy.
3297
3298         * src/WebMediaPlayerClientImpl.cpp:
3299         (WebKit::WebMediaPlayerClientImpl::supportsType):
3300         * src/WebViewImpl.cpp:
3301         (WebKit::WebViewImpl::composite):
3302         (WebKit::WebViewImpl::scheduleAnimation):
3303         (WebKit::WebViewImpl::scheduleComposite):
3304
3305 2012-08-07  James Robinson  <jamesr@chromium.org>
3306
3307         [chromium] Move WebCompositor interface into Platform AP
3308         https://bugs.webkit.org/show_bug.cgi?id=93391
3309
3310         Reviewed by Adam Barth.
3311
3312         * WebKit.gyp:
3313         * public/WebCompositor.h:
3314         * src/WebLayerTreeViewImpl.cpp:
3315
3316 2012-08-07  Joshua Bell  <jsbell@chromium.org>
3317
3318         REGRESSION(r124865): It broke the ARM Chromium build
3319         https://bugs.webkit.org/show_bug.cgi?id=93364
3320
3321         Reviewed by Csaba Osztrogonác.
3322
3323         Mark large constant with LL to satisfy a picky compiler.
3324
3325         * tests/IDBLevelDBCodingTest.cpp:
3326         (IDBLevelDBCoding::TEST):
3327
3328 2012-08-07  Alexei Filippov  <alexeif@chromium.org>
3329
3330         Web Inspector: make the MemoryClassInfo class a not-template
3331         https://bugs.webkit.org/show_bug.cgi?id=93265
3332
3333         Reviewed by Yury Semikhatsky.
3334
3335         * tests/MemoryInstrumentationTest.cpp:
3336         (WebCore::Instrumented::reportMemoryUsage):
3337         (WebCore::InstrumentedRefPtr::reportMemoryUsage):
3338         (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
3339         (WebCore::InstrumentedOther::reportMemoryUsage):
3340         (WebCore::InstrumentedDOM::reportMemoryUsage):
3341         (WebCore::NonVirtualInstrumented::reportMemoryUsage):
3342
3343 2012-08-06  Yuta Kitamura  <yutak@chromium.org>
3344
3345         WebSocket.send() should accept ArrayBufferView
3346         https://bugs.webkit.org/show_bug.cgi?id=90877
3347
3348         Reviewed by Kent Tamura.
3349
3350         * src/WebSocketImpl.cpp:
3351         (WebKit::WebSocketImpl::sendArrayBuffer):
3352         Apply change in function signature of WebSocketChannel::send().
3353
3354 2012-08-06  James Robinson  <jamesr@chromium.org>
3355
3356         [chromium] Remove lingering unwrap<>() calls in GraphicsLayerChromium.cpp
3357         https://bugs.webkit.org/show_bug.cgi?id=93319
3358
3359         Reviewed by Adrienne Walker.
3360
3361         * src/WebLayer.cpp:
3362         (WebKit::WebLayer::setChildren):
3363         (WebKit):
3364         (WebKit::WebLayer::setReplicaLayer):
3365         (WebKit::WebLayer::setDebugName):
3366         (WebKit::WebLayer::clearRenderSurface):
3367
3368 2012-08-06  Adrienne Walker  <enne@google.com>
3369
3370         [chromium] Convert WebScrollbarThemeGeometry from a concrete class to an interface
3371         https://bugs.webkit.org/show_bug.cgi?id=93308
3372
3373         Reviewed by James Robinson.
3374
3375         Now that WebScrollbarThemeGeometry can have different implementations,
3376         create a FakeWebScrollbarThemeGeometry for testing purposes rather
3377         than just overriding a geometry-related virtual.
3378
3379         * WebKit.gyp:
3380         * WebKit.gypi:
3381         * src/WebScrollbarLayer.cpp:
3382         (WebKit::WebScrollbarLayer::create):
3383         * tests/CCLayerTreeHostImplTest.cpp:
3384         * tests/FakeWebScrollbarThemeGeometry.h: Added.
3385         (WebKit):
3386         (FakeWebScrollbarThemeGeometry):
3387         (WebKit::FakeWebScrollbarThemeGeometry::create):
3388         * tests/ScrollbarLayerChromiumTest.cpp:
3389         (WebCore::TEST):
3390
3391 2012-08-06  James Robinson  <jamesr@chromium.org>
3392
3393         [chromium] Update chromium DEPS r150037 -> r150169
3394         https://bugs.webkit.org/show_bug.cgi?id=93309
3395
3396         As the title says. Unreviewed.
3397
3398         * DEPS:
3399
3400 2012-08-06  David Reveman  <reveman@chromium.org>
3401
3402         [Chromium] Rename CCTextureUpdater to CCTextureUpdateQueue.
3403         https://bugs.webkit.org/show_bug.cgi?id=93293
3404
3405         Reviewed by Adrienne Walker.
3406
3407         * src/WebExternalTextureLayer.cpp:
3408         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
3409         * tests/CCLayerTreeHostTest.cpp:
3410         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
3411         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
3412         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
3413         * tests/CCTextureUpdateControllerTest.cpp:
3414         * tests/CCThreadedTest.cpp:
3415         * tests/CCTiledLayerTestCommon.cpp:
3416         (WebKitTests::FakeTiledLayerChromium::update):
3417         * tests/CCTiledLayerTestCommon.h:
3418         (FakeTiledLayerChromium):
3419         * tests/Canvas2DLayerBridgeTest.cpp:
3420         * tests/TiledLayerChromiumTest.cpp:
3421
3422 2012-08-06  Bear Travis  <betravis@adobe.com>
3423
3424         [CSS Exclusions] Add a command-line flag to enable / disable exclusions
3425         https://bugs.webkit.org/show_bug.cgi?id=91420
3426
3427         Reviewed by Dimitri Glazkov.
3428
3429         Adding the interface code to expose the css exclusions runtime flag to
3430         Chromium.
3431
3432         * public/WebRuntimeFeatures.h:
3433         (WebRuntimeFeatures): Adding getters/setters for cssExclusions
3434         * src/WebRuntimeFeatures.cpp:
3435         (WebKit::WebRuntimeFeatures::enableCSSExclusions):
3436         (WebKit):
3437         (WebKit::WebRuntimeFeatures::isCSSExclusionsEnabled):
3438
3439 2012-08-06  Adam Barth  <abarth@webkit.org>
3440
3441         [Chromium] WebTouchCandidatesInfo should be part of the Client API
3442         https://bugs.webkit.org/show_bug.cgi?id=93088
3443
3444         Reviewed by Eric Seidel.
3445
3446         * WebKit.gyp:
3447         * public/WebTouchCandidatesInfo.h: Copied from Source/Platform/chromium/public/WebTouchCandidatesInfo.h.
3448         * src/WebViewImpl.cpp:
3449
3450 2012-08-06  Adrienne Walker  <enne@google.com>
3451
3452         [chromium] REGRESSION(r124714): webkit_unit_tests asserts in Debug
3453         https://bugs.webkit.org/show_bug.cgi?id=93297