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