[chromium] Remove alwaysReserveTextures code - it doesn't do anything
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-08-16  James Robinson  <jamesr@chromium.org>
2
3         [chromium] Remove alwaysReserveTextures code - it doesn't do anything
4         https://bugs.webkit.org/show_bug.cgi?id=94183
5
6         Reviewed by Dimitri Glazkov.
7
8         Stops attempting to find the scrollbar layers and call setAlwaysReserveTextures() on them since the call doesn't
9         do anything.
10
11         * src/NonCompositedContentHost.cpp:
12         (WebKit::NonCompositedContentHost::setViewport):
13         * src/WebLayer.cpp:
14
15 2012-08-16  Peter Beverloo  <peter@chromium.org>
16
17         Unreviewed.  Rolled DEPS.
18
19         * DEPS:
20
21 2012-08-16  Keishi Hattori  <keishi@webkit.org>
22
23         DOMWindowPagePopup needs to be installed before loading the html inside the page popup
24         https://bugs.webkit.org/show_bug.cgi?id=94193
25
26         Reviewed by Kent Tamura.
27
28         We are using window.pagePopupController.localizeNumberString while loading so we need to install DOMWindowPagePopup before loading the html.
29
30         * src/WebPagePopupImpl.cpp:
31         (WebKit::WebPagePopupImpl::initPage):
32
33 2012-08-16  Marja Hölttä  <marja@chromium.org>
34
35         WebHistoryItem: Enable reading selected file names from document state
36         https://bugs.webkit.org/show_bug.cgi?id=91231
37
38         Reviewed by Jochen Eisinger.
39
40         This change enables Chromium to set up file permissions properly when
41         the session restore feature restores a page with selected files.
42
43         * public/WebHistoryItem.h:
44         (WebHistoryItem): Added getReferencedFilePaths.
45         * src/WebHistoryItem.cpp:
46         (WebKit::WebHistoryItem::getReferencedFilePaths): Extracts selected and posted file paths from a document state.
47         (WebKit):
48
49 2012-08-15  Shawn Singh  <shawnsingh@chromium.org>
50
51         [chromium] set scissorRect per quad so that quads are correctly clipped
52         https://bugs.webkit.org/show_bug.cgi?id=94050
53
54         Reviewed by Adrienne Walker.
55
56         Updated two unit tests to reflect that we need to always scissor,
57         until we refactor so that quads do not depend on scissoring.
58
59         * tests/CCLayerTreeHostImplTest.cpp:
60
61 2012-08-16  Hironori Bono  <hbono@chromium.org>
62
63         Prevent showing suggestions when right-clicking a selection range.
64         https://bugs.webkit.org/show_bug.cgi?id=94189
65
66         Reviewed by Hajime Morita.
67
68         To emulate Safari, my r120810 changes selection when right-clicking a misspelled
69         word. Unfortunately, this change somehow uses VisibleSelection::isCaretOrRange
70         and it changes the existing selection when right-clicking a selection which
71         includes a misspelled word. This change uses VisibleSelection::isCaret to
72         prevent showing suggestions when right-clicking a selection range. (Neither does
73         Safari show suggestions when there is a selection range.)
74
75         * src/ContextMenuClientImpl.cpp:
76         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
77
78 2012-08-15  Sheriff Bot  <webkit.review.bot@gmail.com>
79
80         Unreviewed.  Rolled DEPS.
81
82         * DEPS:
83
84 2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
85
86         Update manual tests and comments to refer to TestRunner instead of LayoutTestController
87         https://bugs.webkit.org/show_bug.cgi?id=94168
88
89         Reviewed by Kent Tamura.
90
91         * public/WebDevToolsAgent.h:
92         (WebDevToolsAgent):
93         * public/WebView.h:
94         (WebView):
95
96 2012-08-15  Alec Flett  <alecflett@chromium.org>
97
98         IndexedDB: generate index keys for existing data in createIndex in front end
99         https://bugs.webkit.org/show_bug.cgi?id=91125
100
101         Reviewed by Tony Chang.
102
103         Add Chromium API methods to let the renderer process tell the
104         browser process about indexing progress.
105
106         * public/WebIDBObjectStore.h:
107         (WebKit::WebIDBObjectStore::openCursor):
108         * src/IDBObjectStoreBackendProxy.cpp:
109         (WebKit::IDBObjectStoreBackendProxy::setIndexKeys):
110         (WebKit):
111         (WebKit::IDBObjectStoreBackendProxy::setIndexesReady):
112         (WebKit::IDBObjectStoreBackendProxy::openCursor):
113         * src/IDBObjectStoreBackendProxy.h:
114         (IDBObjectStoreBackendProxy):
115         * src/WebIDBObjectStoreImpl.cpp:
116         (WebKit::WebIDBObjectStoreImpl::setIndexKeys):
117         (WebKit):
118         (WebKit::WebIDBObjectStoreImpl::setIndexesReady):
119         (WebKit::WebIDBObjectStoreImpl::openCursor):
120         * src/WebIDBObjectStoreImpl.h:
121         (WebIDBObjectStoreImpl):
122
123 2012-08-15  Bruno de Oliveira Abinader  <bruno.abinader@basyskom.com>
124
125         [css3-text] Add CSS3 Text decoration compile flag
126         https://bugs.webkit.org/show_bug.cgi?id=93863
127
128         Reviewed by Julien Chaffraix.
129
130         This patch handles the compile flag implementation, which will come disabled by
131         default, thus not exposing the CSS3 text decoration features to the web, unless
132         when explicitly enabling it with "--css3-text-decoration" build parameter.
133
134         * features.gypi:
135
136 2012-08-15  Iain Merrick  <husky@chromium.org>
137
138         Refactoring: move EventHandler::targetNode into HitTestResult
139         https://bugs.webkit.org/show_bug.cgi?id=94107
140
141         Reviewed by Dimitri Glazkov.
142
143         This static helper method in EventHandler was made public so that
144         WebFrameImpl can call it. That's untidy because EventHandler isn't
145         really involved. This patch turns it into an instance method of
146         HitTestResult (with a wrapper in MouseEventWithHitTestResult for
147         convenience).
148
149         Pure refactoring, no behavior change, no new test needed.
150
151         * src/WebFrameImpl.cpp:
152         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
153
154 2012-08-15  David Grogan  <dgrogan@chromium.org>
155
156         IndexedDB: Add some ASSERTs
157         https://bugs.webkit.org/show_bug.cgi?id=94055
158
159         Reviewed by Ojan Vafai.
160
161         * src/IDBDatabaseBackendProxy.cpp:
162         (WebKit::IDBDatabaseBackendProxy::setVersion):
163
164 2012-08-15  Ian Vollick  <vollick@chromium.org>
165
166         [chromium] Must account for empty transformation lists when checking for big rotations.
167         https://bugs.webkit.org/show_bug.cgi?id=93975
168
169         Reviewed by James Robinson.
170
171         Adds a test to check that creating an animation with a big (> 180
172         degree) rotation, where the transform operations list in the 1st
173         keyframe is empty fails as expected.
174
175         * tests/AnimationTranslationUtilTest.cpp:
176         (WebKit::TEST):
177         (WebKit):
178
179 2012-08-15  Joshua Bell  <jsbell@chromium.org>
180
181         [chromium] IndexedDB: Delete unused WebKit API cursor accessors
182         https://bugs.webkit.org/show_bug.cgi?id=94134
183
184         Reviewed by Adam Barth.
185
186         Last bit of refactor work from http://webkit.org/b/92278 that ships the
187         cursor key/primaryKey/value to the front end via success messages, eliminating
188         the need for these accessors and the old success messages.
189
190         * public/WebIDBCallbacks.h:
191         * public/WebIDBCursor.h:
192
193 2012-08-15  Anna Cavender  <annacc@chromium.org>
194
195         Add the timestampOffset attribute to SourceBuffer.
196         https://bugs.webkit.org/show_bug.cgi?id=93303
197
198         Reviewed by Dimitri Glazkov.
199
200         On the 30 July 2012 version of the Media Source Extensions spec, a timestampOffset 
201         attribute was added to the SourceBuffer object:
202         http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-timestampoffset
203
204         * public/WebMediaPlayer.h:
205         (WebKit::WebMediaPlayer::sourceSetTimestampOffset): Add the new method.
206         * src/WebMediaPlayerClientImpl.cpp:
207         (WebKit):
208         (WebKit::WebMediaPlayerClientImpl::sourceSetTimestampOffset): Forward the call.
209         * src/WebMediaPlayerClientImpl.h:
210         (WebMediaPlayerClientImpl):
211
212 2012-08-15  Peter Beverloo  <peter@chromium.org>
213
214         [Chromium] Roll WebKit Chromium DEPS to r151672
215         https://bugs.webkit.org/show_bug.cgi?id=94091
216
217         Unreviewed DEPS roll.
218
219         This also adds the new dependency on third_party/skia/gyp/, as was
220         introduced in Chromium's revision 151463.
221
222         * DEPS:
223
224 2012-08-14  Keishi Hattori  <keishi@webkit.org>
225
226         Share common code between calendar picker and color suggestion picker
227         https://bugs.webkit.org/show_bug.cgi?id=93802
228
229         Reviewed by Kent Tamura.
230
231         * src/ColorChooserUIController.cpp:
232         (WebKit::ColorChooserUIController::writeDocument):
233
234 2012-08-14  Scott Graham  <scottmg@chromium.org>
235
236         [Chromium] Fix warnings on Windows build
237         https://bugs.webkit.org/show_bug.cgi?id=93997
238
239         Reviewed by Kentaro Hara.
240
241         Fixes truncation from 'double' to 'float' warnings on Chromium Windows
242         build.
243
244         * tests/CCRenderSurfaceFiltersTest.cpp:
245         (WebKit::TEST):
246         * tests/CCScrollbarAnimationControllerLinearFadeTest.cpp:
247         (WebCore::TEST_F):
248
249 2012-08-14  Chris Rogers  <crogers@google.com>
250
251         Implement new synchronized audio I/O render method in chromium
252         https://bugs.webkit.org/show_bug.cgi?id=93510
253
254         Reviewed by Kenneth Russell.
255
256         The chromium implementation of AudioDestination is being upgraded to
257         support synchronized audio I/O.  Other changes on the chromium-side
258         can then be tested against something that works in WebKit.
259
260         * src/AudioDestinationChromium.cpp:
261         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
262         (WebCore::AudioDestinationChromium::render):
263         (WebCore):
264         (WebCore::AudioDestinationChromium::provideInput):
265         * src/AudioDestinationChromium.h:
266         (WebCore):
267         (AudioDestinationChromium):
268
269 2012-08-14  Adam Barth  <abarth@webkit.org>
270
271         Delete Frame::domWindow() and Frame::existingDOMWindow()
272         https://bugs.webkit.org/show_bug.cgi?id=93990
273
274         Reviewed by Eric Seidel.
275
276         * src/StorageAreaProxy.cpp:
277         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
278         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
279         * src/WebDOMMessageEvent.cpp:
280         (WebKit::WebDOMMessageEvent::initMessageEvent):
281         * src/WebFrameImpl.cpp:
282         (WebKit::WebFrameImpl::performance):
283         (WebKit::WebFrameImpl::addMessageToConsole):
284         (WebKit::WebFrameImpl::unloadListenerCount):
285         (WebKit::WebFrameImpl::addEventListener):
286         (WebKit::WebFrameImpl::removeEventListener):
287         (WebKit::WebFrameImpl::dispatchEvent):
288         (WebKit::WebFrameImpl::dispatchMessageEventWithOriginCheck):
289         (WebKit::WebFrameImpl::deliverIntent):
290         * src/WebPagePopupImpl.cpp:
291         (WebKit::WebPagePopupImpl::initPage):
292
293 2012-08-14  Iain Merrick  <husky@chromium.org>
294
295         [chromium] Add a test to WebFrameTest for selectRange and visiblePositionForWindowPoint.
296         https://bugs.webkit.org/show_bug.cgi?id=93108
297
298         Reviewed by Adam Barth.
299
300         Adds a new test WebFrameTest.SelectRange. This tests WebFrameImpl::selectRange,
301         and also serves to test WebFrameImpl::visiblePositionForWindowPoint as it is
302         used by selectRange.
303
304         The test uses sample files that contain selected text on load. The test uses
305         WebViewImpl::selectionBounds to get the coordinates, deselects all, then
306         calls WebFrameImpl::selectRange to attempt to reselect the same text.
307
308         Four cases are tested:
309         - the basic case
310         - the case where the selected text is offscreen due to a scroll
311         - the case where the selected text is in an iframe
312         - the case where the selected text is in an editable element
313
314         * tests/WebFrameTest.cpp:
315         * tests/data/select_range_basic.html: Added.
316         * tests/data/select_range_editable.html: Added.
317         * tests/data/select_range_iframe.html: Added.
318         * tests/data/select_range_scroll.html: Added.
319
320 2012-08-14  Joshua Bell  <jsbell@chromium.org>
321
322         IndexedDB: Pass cursor continue results back in callback
323         https://bugs.webkit.org/show_bug.cgi?id=92278
324
325         Reviewed by Tony Chang.
326
327         Supply the updated cursor key/primaryKey/value in the success callback,
328         rather than forcing the callee to make three calls into the back end to
329         fetch them. Callbacks onSuccess(cursor) and onSuccessWithContinuation()
330         are given the three new payload parameters (and the latter is renamed.)
331
332         * public/WebIDBCallbacks.h:
333         (WebIDBCallbacks):
334         (WebKit::WebIDBCallbacks::onSuccess): Replace with no-op stub.
335         (WebKit::WebIDBCallbacks::onSuccessWithContinuation): Ditto.
336         * public/WebIDBCursor.h:
337         (WebIDBCursor): Methods can be removed once Chromium is cleaned up.
338         * src/IDBCallbacksProxy.cpp: Updated callbacks.
339         (WebKit::IDBCallbacksProxy::onSuccess):
340         (WebKit):
341         * src/IDBCallbacksProxy.h: Updated callbacks.
342         (IDBCallbacksProxy):
343         * src/IDBCursorBackendProxy.cpp: Remove back end accessors.
344         * src/IDBCursorBackendProxy.h:
345         (IDBCursorBackendProxy):
346         * src/WebIDBCallbacksImpl.cpp: Updated callbacks.
347         (WebKit::WebIDBCallbacksImpl::onSuccess):
348         * src/WebIDBCallbacksImpl.h: Updated callbacks.
349         (WebIDBCallbacksImpl):
350         * src/WebIDBCursorImpl.cpp: Remove back end accessors.
351         * src/WebIDBCursorImpl.h: Remove back end accessors.
352         (WebIDBCursorImpl):
353         * tests/IDBAbortOnCorruptTest.cpp: Update test stubs.
354         (WebCore::MockIDBCallbacks::onSuccess):
355         * tests/IDBDatabaseBackendTest.cpp: Ditto.
356         * tests/IDBRequestTest.cpp: Ditto.
357
358 2012-08-14  Peter Beverloo  <peter@chromium.org>
359
360         [Chromium] Remove unneeded build logic for Android
361         https://bugs.webkit.org/show_bug.cgi?id=93962
362
363         Reviewed by Dimitri Glazkov.
364
365         The Android SDK and NDK have been checked in to the Chromium tree, which
366         allows WebKit to leverage those as well. They will already be pulled in
367         through a DEPS change made last week, and by not setting the ANDROID_NDK_ROOT
368         environment variable, the envsetup.sh will set the project files up
369         appropriately for us.
370
371         * DEPS:
372
373 2012-08-14  Peter Beverloo  <peter@chromium.org>
374
375         Unreviewed.  Rolled DEPS.
376
377         * DEPS:
378
379 2012-08-14  Peter Beverloo  <peter@chromium.org>
380
381         [Chromium] Fix apk generation for the Android platform
382         https://bugs.webkit.org/show_bug.cgi?id=93841
383
384         Unreviewed build fix (step 2).
385
386         The path from webkit_unit_tests isn't robust enough. Use the same
387         convention as the Chromium side, i.e. walk up from the ant_build_out path.
388         One-line Android-only gyp change.
389
390         * WebKitUnitTests.gyp:
391
392 2012-08-14  Peter Beverloo  <peter@chromium.org>
393
394         [Chromium] Fix apk generation for the Android platform
395         https://bugs.webkit.org/show_bug.cgi?id=93841
396
397         Unreviewed build fix.
398
399         APK generation was broken as the configuration file assumed compilation
400         would only occur in the Chromium tree. Pass the path to Chromium's source
401         base directory as a property to ant.
402
403         * WebKitUnitTests.gyp:
404
405 2012-08-13  Tom Sepez  <tsepez@chromium.org>
406
407         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
408         https://bugs.webkit.org/show_bug.cgi?id=93283
409
410         Reviewed by Eric Seidel.
411
412         Change the client redirectDataToPlugin method(s) to expect the possibility of
413         a NULL argument, NULLing Chromium's refptr that needs to be NULLed.
414
415         * src/FrameLoaderClientImpl.cpp:
416         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
417
418 2012-08-13  Eric Penner  <epenner@google.com>
419
420         [chromium] Paint animated layers immediately to avoid animation hiccups.
421         https://bugs.webkit.org/show_bug.cgi?id=93028
422
423         Reviewed by Adrienne Walker.
424
425         Replaced one test. Test painting full animated layer.
426
427         * tests/TiledLayerChromiumTest.cpp:
428
429 2012-08-12  Shawn Singh  <shawnsingh@chromium.org>
430
431         [chromium] renderSurface in incorrect space if owning layer has empty but non-zero bounds
432         https://bugs.webkit.org/show_bug.cgi?id=93795
433
434         Reviewed by Adrienne Walker.
435
436         * tests/CCLayerTreeHostCommonTest.cpp:
437
438 2012-08-13  James Robinson  <jamesr@chromium.org>
439
440         [chromium] Make WebAnimation a pure virtual interface to hide implementation and avoid unresolved symbols
441         https://bugs.webkit.org/show_bug.cgi?id=93907
442
443         Reviewed by Darin Fisher.
444
445         Adds a WebAnimationImpl implementation of the WebAnimation interface.
446
447         * WebKit.gyp:
448         * src/WebAnimationImpl.cpp: Renamed from Source/WebKit/chromium/src/WebAnimation.cpp.
449         (WebKit):
450         (WebKit::WebAnimation::create):
451         (WebKit::WebAnimationImpl::targetProperty):
452         (WebKit::WebAnimationImpl::iterations):
453         (WebKit::WebAnimationImpl::setIterations):
454         (WebKit::WebAnimationImpl::startTime):
455         (WebKit::WebAnimationImpl::setStartTime):
456         (WebKit::WebAnimationImpl::timeOffset):
457         (WebKit::WebAnimationImpl::setTimeOffset):
458         (WebKit::WebAnimationImpl::alternatesDirection):
459         (WebKit::WebAnimationImpl::setAlternatesDirection):
460         (WebKit::WebAnimationImpl::cloneToCCAnimation):
461         * src/WebAnimationImpl.h: Added.
462         (WebCore):
463         (WebKit):
464         (WebAnimationImpl):
465         (WebKit::WebAnimationImpl::WebAnimationImpl):
466         (WebKit::WebAnimationImpl::~WebAnimationImpl):
467         * src/WebLayer.cpp:
468         (WebKit::WebLayer::addAnimation):
469         * tests/WebAnimationTest.cpp:
470         (WebKit::TEST):
471
472 2012-08-10  James Robinson  <jamesr@chromium.org>
473
474         [chromium] Clean up dependencies for Canvas2DLayerBridgeTest and GraphicsLayerChromiumTest unit tests
475         https://bugs.webkit.org/show_bug.cgi?id=93757
476
477         Reviewed by Adrienne Walker.
478
479         Breaks up some unit tests and removes unused code to avoid unit tests depending on both non-compositor WebCore
480         logic and compositor internals. Canvas2DLayerBridgeTest had some vestigal includes and local variables that
481         weren't being used, those are removed. GraphicsLayerChromiumTest was reaching into CC types, but could mostly
482         use Platform API types for testing.
483
484         GraphicsLayerChromiumTest had some tests that were verifying that we could correctly translate WebCore
485         animation lists into CCAnimation types - these have been moved into AnimationTranslationUtilTest.cpp, since the
486         logic under test is in AnimationTranslationUtil. Currently these only test that we accept / reject animations as
487         expected. They could be expanded to verify that the animation was translated faithfully, but that would require
488         expanding the information exposed on WebAnimation.
489
490         * WebKit.gypi:
491         * src/WebLayer.cpp:
492         (WebKit::WebLayer::hasActiveAnimation):
493         (WebKit):
494         * tests/Canvas2DLayerBridgeTest.cpp:
495         (Canvas2DLayerBridgeTest::fullLifecycleTest):
496         * tests/GraphicsLayerChromiumTest.cpp:
497         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
498         (WebKit::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
499         (GraphicsLayerChromiumTest):
500         (WebKit::TEST_F):
501         * tests/WebLayerTreeViewTest.cpp:
502         * tests/WebLayerTreeViewTestCommon.h: Added.
503         (WebKit):
504         (MockWebLayerTreeViewClient):
505
506 2012-08-13  Sheriff Bot  <webkit.review.bot@gmail.com>
507
508         Unreviewed, rolling out r125422.
509         http://trac.webkit.org/changeset/125422
510         https://bugs.webkit.org/show_bug.cgi?id=93902
511
512         Broke the Android canary build (Requested by fmalita on
513         #webkit).
514
515         * WebKitUnitTests.gyp:
516
517 2012-08-13  Leandro Gracia Gil  <leandrogracia@chromium.org>
518
519         [Chromium] Fix nits in the find-in-page match rects API
520         https://bugs.webkit.org/show_bug.cgi?id=93817
521
522         Reviewed by Adam Barth.
523
524         This patch fixes a few pending nits from 93111.
525
526         * src/FindInPageCoordinates.cpp: replace a pointer by a reference in an output argument.
527         (WebKit::toNormalizedRect):
528         (WebKit::findInPageRectFromAbsoluteRect):
529
530 2012-08-13  Peter Beverloo  <peter@chromium.org>
531
532         [Chromium] Fix apk generation for the Android platform
533         https://bugs.webkit.org/show_bug.cgi?id=93841
534
535         Reviewed by Dimitri Glazkov.
536
537         APK generation was broken as the configuration file assumed compilation
538         would only occur in the Chromium tree. Pass the path to Chromium's source
539         base directory as a property to ant.
540
541         * WebKitUnitTests.gyp:
542
543 2012-08-13  Peter Beverloo  <peter@chromium.org>
544
545         Unreviewed.  Rolled DEPS.
546
547         * DEPS:
548
549 2012-08-13  Sheriff Bot  <webkit.review.bot@gmail.com>
550
551         Unreviewed.  Rolled DEPS.
552
553         * DEPS:
554
555 2012-08-13  Peter Beverloo  <peter@chromium.org>
556
557         Unreviewed.  Rolled DEPS.
558
559         * DEPS:
560
561 2012-08-10  Kinuko Yasuda  <kinuko@chromium.org>
562
563         Support creating File object from FileSystem URL for files in FileSystem API
564         https://bugs.webkit.org/show_bug.cgi?id=93706
565
566         Reviewed by Darin Fisher.
567
568         * src/WebBlobData.cpp:
569         (WebKit::WebBlobData::itemAt):
570
571 2012-08-12  Yuta Kitamura  <yutak@google.com>
572
573         Unreviewed. Fix Chromium's Android build.
574
575         * src/WebFrameImpl.cpp:
576         (WebKit::WebFrameImpl::find): Needs parentheses for a function call.
577
578 2012-08-12  Leandro Gracia Gil  <leandrogracia@chromium.org>
579
580         [Chromium] Implement the find-in-page match rects API
581         https://bugs.webkit.org/show_bug.cgi?id=93111
582
583         Reviewed by Adam Barth.
584
585         Implement the funcionality of the find-in-page match rects API in WebFrame.
586         These methods keep a cache of the match rects in a special coordinate system
587         (find-in-page coordinates) and update them on size changes. They also allow
588         to recover the match closest to a given point, therefore enabling to move
589         to find matches when tapping on their corresponding tickmarks.
590
591         * WebKit.gyp: add FindInPageCoordinates.h / cpp.
592         * src/ChromeClientImpl.cpp:
593         (WebKit::ChromeClientImpl::contentsSizeChanged): propagate didChangeContentsSize to WebFrameImpl.
594         * src/FindInPageCoordinates.cpp: Added.
595         (WebKit):
596         (WebKit::toNormalizedRect): auxiliary internal function.
597         (WebKit::findInPageRectFromAbsoluteRect): main coordinate conversion function.
598         (WebKit::findInPageRectFromRange): convenience conversion function for Ranges.
599         * src/FindInPageCoordinates.h: Added.
600         (WebCore):
601         (WebKit):
602         * src/WebFrameImpl.cpp:
603         (WebKit::WebFrameImpl::FindMatch::FindMatch): find matches cache constructor.
604         (WebKit):
605         (WebKit::WebFrameImpl::find): clear match cache when appropriate and zoom into results on the Android port.
606         (WebKit::WebFrameImpl::stopFinding): clear matches cache.
607         (WebKit::WebFrameImpl::scopeStringMatches): add new results to the matches cache.
608         (WebKit::WebFrameImpl::increaseMatchCount): update the matches cache version.
609         (WebKit::WebFrameImpl::resetMatchCount): update the matches cache version.
610         (WebKit::WebFrameImpl::findMatchMarkersVersion): new API providing the matches cache version.
611         (WebKit::WebFrameImpl::clearFindMatchesCache): internal utility method to reset the matches cache.
612         (WebKit::WebFrameImpl::isActiveMatchFrameValid): internal utility method to check if the local frame is still in the frame tree.
613         (WebKit::WebFrameImpl::updateFindMatchRects): internal utility method to update the match result rects if required.
614         (WebKit::WebFrameImpl::activeFindMatchRect): new API providing the active find match rect in find-in-page coordinates.
615         (WebKit::WebFrameImpl::findMatchRects): new API returning the valid match rects in find-in-page coordinates.
616         (WebKit::WebFrameImpl::appendFindMatchRects): internal utility method to concatenate the match results of multiple frames.
617         (WebKit::WebFrameImpl::selectNearestFindMatch): new API selecting the find match closer to a point in find-in-page coordinates.
618         (WebKit::WebFrameImpl::nearestFindMatch): internal utility method to find the nearest find match to a point in a frame.
619         (WebKit::WebFrameImpl::selectFindMatch): internal utility method to select a match in the cache.
620         (WebKit::WebFrameImpl::WebFrameImpl): initialization of new variables.
621         (WebKit::WebFrameImpl::didChangeContentsSize): invalidate the cached match rect coordinates on frame content size changes.
622         * src/WebFrameImpl.h:
623         (WebCore):
624         (WebFrameImpl):
625         (WebKit::WebFrameImpl::activeMatchFrame): remove unrequired const.
626         (WebKit::WebFrameImpl::activeMatch): expose the range of the active match to allow testing.
627         (FindMatch): cache structure for find matches.
628         * tests/WebFrameTest.cpp: new test case for find-in-page match rects.
629         * tests/data/find_in_page.html: Added. Test case layout.
630         * tests/data/find_in_page_frame.html: Added. Test case layout.
631
632 2012-08-09  James Robinson  <jamesr@chromium.org>
633
634         [chromium] Remove forwarding headers for compositor-related WebKit API and update includes
635         https://bugs.webkit.org/show_bug.cgi?id=93669
636
637         Reviewed by Adam Barth.
638
639         This updates all includes for compositor-related headers to refer consistently to the Platform API location and
640         removes the now-unneeded forwarding headers in the client API location. I also updated and resorted other
641         platform API includes in modified header blocks.
642
643         * WebKit.gyp:
644         * public/WebCompositor.h: Removed.
645         * public/platform/WebContentLayer.h: Removed.
646         * public/platform/WebContentLayerClient.h: Removed.
647         * public/platform/WebExternalTextureLayer.h: Removed.
648         * public/platform/WebLayer.h: Removed.
649         * public/platform/WebLayerTreeView.h: Removed.
650         * public/platform/WebLayerTreeViewClient.h: Removed.
651         * public/platform/WebSolidColorLayer.h: Removed.
652         * src/WebCompositorInputHandlerImpl.h:
653         * src/WebContentLayerImpl.cpp:
654         * src/WebLayer.cpp:
655         * src/WebLayerTreeView.cpp:
656         * src/WebLayerTreeViewImpl.cpp:
657         * src/WebLayerTreeViewImpl.h:
658         * src/WebSolidColorLayer.cpp:
659         * src/WebViewImpl.h:
660         * tests/Canvas2DLayerBridgeTest.cpp:
661         * tests/GraphicsLayerChromiumTest.cpp:
662         * tests/TextureLayerChromiumTest.cpp:
663
664 2012-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
665
666         Unreviewed.  Rolled DEPS.
667
668         * DEPS:
669
670 2012-08-10  Iain Merrick  <husky@google.com>
671
672         [chromium] Upstream Android changes to WebFrameImpl::selectRange
673         https://bugs.webkit.org/show_bug.cgi?id=92513
674
675         Reviewed by Ryosuke Niwa.
676
677         This change is driven by the Chromium port on the Android platform,
678         but it should be suitable for other touch-based platforms. We reuse
679         selectionExtentRespectingEditingBoundary (extracted from EventHandler
680         into VisibleSelection).
681
682         * src/WebFrameImpl.cpp:
683         (WebKit::WebFrameImpl::selectRange):
684         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
685
686 2012-08-10  Dana Jansens  <danakj@chromium.org>
687
688         [chromium] Remove targetSurface pointer from CCRenderPass
689         https://bugs.webkit.org/show_bug.cgi?id=93734
690
691         Reviewed by Adrienne Walker.
692
693         Use the RenderPass's damageRect instead of the surface's damageRect
694         directly to test the same things without requiring a pointer to
695         the surface that generated the RenderPass.
696
697         * tests/CCLayerTreeHostImplTest.cpp:
698
699 2012-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
700
701         Unreviewed, rolling out r125310.
702         http://trac.webkit.org/changeset/125310
703         https://bugs.webkit.org/show_bug.cgi?id=93739
704
705         The DEPS roll broke Android. One does not simply break
706         Android. (Requested by fmalita_ on #webkit).
707
708         * DEPS:
709
710 2012-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
711
712         Unreviewed.  Rolled DEPS.
713
714         * DEPS:
715
716 2012-08-10  Dana Jansens  <danakj@chromium.org>
717
718         [chromium] Remove scissor from the namings in CCOcclusionTracker
719         https://bugs.webkit.org/show_bug.cgi?id=93630
720
721         Reviewed by Adrienne Walker.
722
723         * tests/CCOcclusionTrackerTest.cpp:
724         (WebKitTests::TestCCOcclusionTrackerWithClip::TestCCOcclusionTrackerWithClip):
725         (WebKitTests::TestCCOcclusionTrackerWithClip::setLayerClipRect):
726         (WebKitTests::TestCCOcclusionTrackerWithClip::useDefaultLayerClipRect):
727         (WebKitTests::TestCCOcclusionTrackerWithClip::layerClipRectInTarget):
728         (TestCCOcclusionTrackerWithClip):
729         (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
730         (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
731         (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
732         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
733         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
734         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
735         (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
736         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
737         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
738         (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
739         (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
740         (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
741         (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
742         (WebKitTests::CCOcclusionTrackerTestLayerClipRectOutsideChild::runMyTest):
743         (WebKitTests):
744         (WebKitTests::CCOcclusionTrackerTestViewportRectOutsideChild::runMyTest):
745         (WebKitTests::CCOcclusionTrackerTestLayerClipRectOverChild::runMyTest):
746         (WebKitTests::CCOcclusionTrackerTestViewportRectOverChild::runMyTest):
747         (WebKitTests::CCOcclusionTrackerTestLayerClipRectPartlyOverChild::runMyTest):
748         (WebKitTests::CCOcclusionTrackerTestViewportRectPartlyOverChild::runMyTest):
749         (WebKitTests::CCOcclusionTrackerTestLayerClipRectOverNothing::runMyTest):
750         (WebKitTests::CCOcclusionTrackerTestViewportRectOverNothing::runMyTest):
751         (WebKitTests::CCOcclusionTrackerTestLayerClipRectForLayerOffOrigin::runMyTest):
752         (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
753         (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
754         (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
755         (WebKitTests::CCOcclusionTrackerTestUnsorted3dLayers::runMyTest):
756         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
757         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
758         (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
759         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
760         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
761         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
762         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
763         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
764         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
765         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
766         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
767         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
768         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
769         (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToViewport::runMyTest):
770         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
771         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
772         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
773         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
774         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
775         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
776         (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
777         (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
778         * tests/TiledLayerChromiumTest.cpp:
779
780 2012-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
781
782         Unreviewed, rolling out r125230 and r125238.
783         http://trac.webkit.org/changeset/125230
784         http://trac.webkit.org/changeset/125238
785         https://bugs.webkit.org/show_bug.cgi?id=93698
786
787         Broke ChromiumOS browser tests. (Requested by yutak on
788         #webkit).
789
790         * tests/TiledLayerChromiumTest.cpp:
791
792 2012-08-09  Eric Penner  <epenner@google.com>
793
794         [chromium] Paint animated layers immediately to avoid animation hiccups.
795         https://bugs.webkit.org/show_bug.cgi?id=93028
796
797         Reviewed by Adrienne Walker.
798
799         Replaced one test. Test painting full animated layer.
800
801         * tests/TiledLayerChromiumTest.cpp:
802
803 2012-08-09  Nat Duca  <nduca@chromium.org>
804
805         [chromium] Remove missing files from WebKit.gyp introduced by r125219
806         https://bugs.webkit.org/show_bug.cgi?id=93671
807
808         Unreviewed. Fixing windows build.
809
810         * WebKit.gyp:
811
812 2012-08-09  Alec Flett  <alecflett@chromium.org>
813
814         IndexedDB: add AssertMatchingEnums for Direction and TaskType
815         https://bugs.webkit.org/show_bug.cgi?id=93618
816
817         Reviewed by Tony Chang.
818
819         These chromium enums were introduced in a separate patch.
820
821         * src/AssertMatchingEnums.cpp:
822
823 2012-08-06  Nat Duca  <nduca@chromium.org>
824
825         [chromium] Expose CCGraphicsContext as WebCompositorOutputSurface
826         https://bugs.webkit.org/show_bug.cgi?id=92890
827
828         Reviewed by James Robinson.
829
830         * WebKit.gyp:
831         * WebKit.gypi:
832         * public/WebSettings.h:
833         * public/WebViewClient.h:
834         (WebKit):
835         (WebViewClient):
836         (WebKit::WebViewClient::createOutputSurface):
837         * src/WebLayerTreeView.cpp:
838         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
839         * src/WebLayerTreeViewImpl.cpp:
840         (WebKit):
841         (WebGraphicsContextToOutputSurfaceAdapter):
842         (WebKit::WebGraphicsContextToOutputSurfaceAdapter::WebGraphicsContextToOutputSurfaceAdapter):
843         (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
844         * src/WebSettingsImpl.cpp:
845         (WebKit::WebSettingsImpl::WebSettingsImpl):
846         * src/WebSettingsImpl.h:
847         (WebSettingsImpl):
848         * src/WebViewImpl.cpp:
849         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
850         (WebKit::WebViewImpl::createOutputSurface):
851         (WebKit):
852         (WebKit::WebViewImpl::didRebindGraphicsContext):
853         (WebKit::WebViewImpl::didRecreateOutputSurface):
854         * src/WebViewImpl.h:
855         (WebViewImpl):
856         * tests/CCLayerTreeHostImplTest.cpp:
857         * tests/CCLayerTreeHostTest.cpp:
858         (WTF):
859         (WTF::CCLayerTreeHostTestSetSingleLostContext::didRecreateOutputSurface):
860         (WTF::CCLayerTreeHostTestSetRepeatedLostContext::didRecreateOutputSurface):
861         * tests/CCResourceProviderTest.cpp:
862         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
863         * tests/CCTextureUpdateControllerTest.cpp:
864         * tests/CCThreadedTest.cpp:
865         (WebKitTests::TestHooks::createOutputSurface):
866         * tests/CCThreadedTest.h:
867         (WebKitTests::TestHooks::didRecreateOutputSurface):
868         * tests/Canvas2DLayerBridgeTest.cpp:
869         (Canvas2DLayerBridgeTest::fullLifecycleTest):
870         * tests/FakeCCGraphicsContext.h:
871         (WebKit::createFakeCCGraphicsContext):
872         * tests/FakeCCLayerTreeHostClient.h:
873         * tests/FakeWebCompositorOutputSurface.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCGraphicsContext.h.
874         (WebKit):
875         (FakeWebCompositorOutputSurface):
876         (WebKit::FakeWebCompositorOutputSurface::create):
877         (WebKit::FakeWebCompositorOutputSurface::FakeWebCompositorOutputSurface):
878         * tests/LayerRendererChromiumTest.cpp:
879         (LayerRendererChromiumTest::LayerRendererChromiumTest):
880         (TEST):
881         * tests/WebLayerTest.cpp:
882         * tests/WebLayerTreeViewTest.cpp:
883
884 2012-08-09  Nat Duca  <nduca@chromium.org>
885
886         Unreviewed, rolling out r125212.
887         http://trac.webkit.org/changeset/125212
888         https://bugs.webkit.org/show_bug.cgi?id=92890
889
890         Compile failure on mac dbg builder
891
892         * WebKit.gyp:
893         * WebKit.gypi:
894         * public/WebSettings.h:
895         * public/WebViewClient.h:
896         (WebKit):
897         (WebViewClient):
898         * src/WebLayerTreeView.cpp:
899         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
900         * src/WebLayerTreeViewImpl.cpp:
901         (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
902         * src/WebSettingsImpl.cpp:
903         (WebKit::WebSettingsImpl::WebSettingsImpl):
904         (WebKit::WebSettingsImpl::setForceSoftwareCompositing):
905         (WebKit):
906         * src/WebSettingsImpl.h:
907         (WebKit::WebSettingsImpl::forceSoftwareCompositing):
908         (WebSettingsImpl):
909         * src/WebViewImpl.cpp:
910         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
911         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
912         (WebKit::WebViewImpl::createContext3D):
913         (WebKit::WebViewImpl::didRebindGraphicsContext):
914         * src/WebViewImpl.h:
915         (WebViewImpl):
916         * tests/CCLayerTreeHostImplTest.cpp:
917         * tests/CCLayerTreeHostTest.cpp:
918         (WTF):
919         (WTF::CCLayerTreeHostTestSetSingleLostContext::didRecreateContext):
920         (WTF::CCLayerTreeHostTestSetRepeatedLostContext::didRecreateContext):
921         * tests/CCResourceProviderTest.cpp:
922         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
923         * tests/CCTextureUpdateControllerTest.cpp:
924         * tests/CCThreadedTest.cpp:
925         (WebKitTests::TestHooks::createContext):
926         * tests/CCThreadedTest.h:
927         (WebKitTests::TestHooks::didRecreateContext):
928         * tests/Canvas2DLayerBridgeTest.cpp:
929         (Canvas2DLayerBridgeTest::fullLifecycleTest):
930         * tests/FakeCCGraphicsContext.h:
931         (WebKit::createFakeCCGraphicsContext):
932         * tests/FakeCCLayerTreeHostClient.h:
933         * tests/FakeWebCompositorOutputSurface.h: Removed.
934         * tests/LayerRendererChromiumTest.cpp:
935         (LayerRendererChromiumTest::LayerRendererChromiumTest):
936         (TEST):
937         * tests/WebLayerTest.cpp:
938         * tests/WebLayerTreeViewTest.cpp:
939
940 2012-08-09  Kentaro Hara  <haraken@chromium.org>
941
942         [V8] Rename V8BindingPerIsolateData to V8PerIsolateData
943         https://bugs.webkit.org/show_bug.cgi?id=93592
944
945         Reviewed by Adam Barth.
946
947         For a better name. See discussion in bug 93333.
948
949         No tests. No change in behavior.
950
951         * src/WebKit.cpp:
952         (WebKit::initialize):
953
954 2012-08-06  Nat Duca  <nduca@chromium.org>
955
956         [chromium] Expose CCGraphicsContext as WebCompositorOutputSurface
957         https://bugs.webkit.org/show_bug.cgi?id=92890
958
959         Reviewed by James Robinson.
960
961         * WebKit.gyp:
962         * WebKit.gypi:
963         * public/WebSettings.h:
964         * public/WebViewClient.h:
965         (WebKit):
966         (WebViewClient):
967         (WebKit::WebViewClient::createOutputSurface):
968         * src/WebLayerTreeView.cpp:
969         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
970         * src/WebLayerTreeViewImpl.cpp:
971         (WebKit):
972         (WebGraphicsContextToOutputSurfaceAdapter):
973         (WebKit::WebGraphicsContextToOutputSurfaceAdapter::WebGraphicsContextToOutputSurfaceAdapter):
974         (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
975         * src/WebSettingsImpl.cpp:
976         (WebKit::WebSettingsImpl::WebSettingsImpl):
977         * src/WebSettingsImpl.h:
978         (WebSettingsImpl):
979         * src/WebViewImpl.cpp:
980         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
981         (WebKit::WebViewImpl::createOutputSurface):
982         (WebKit):
983         (WebKit::WebViewImpl::didRebindGraphicsContext):
984         (WebKit::WebViewImpl::didRecreateOutputSurface):
985         * src/WebViewImpl.h:
986         (WebViewImpl):
987         * tests/CCLayerTreeHostImplTest.cpp:
988         * tests/CCLayerTreeHostTest.cpp:
989         (WTF):
990         (WTF::CCLayerTreeHostTestSetSingleLostContext::didRecreateOutputSurface):
991         (WTF::CCLayerTreeHostTestSetRepeatedLostContext::didRecreateOutputSurface):
992         * tests/CCResourceProviderTest.cpp:
993         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
994         * tests/CCTextureUpdateControllerTest.cpp:
995         * tests/CCThreadedTest.cpp:
996         (WebKitTests::TestHooks::createOutputSurface):
997         * tests/CCThreadedTest.h:
998         (WebKitTests::TestHooks::didRecreateOutputSurface):
999         * tests/Canvas2DLayerBridgeTest.cpp:
1000         (Canvas2DLayerBridgeTest::fullLifecycleTest):
1001         * tests/FakeCCGraphicsContext.h:
1002         (WebKit::createFakeCCGraphicsContext):
1003         * tests/FakeCCLayerTreeHostClient.h:
1004         * tests/FakeWebCompositorOutputSurface.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCGraphicsContext.h.
1005         (WebKit):
1006         (FakeWebCompositorOutputSurface):
1007         (WebKit::FakeWebCompositorOutputSurface::create):
1008         (WebKit::FakeWebCompositorOutputSurface::FakeWebCompositorOutputSurface):
1009         * tests/LayerRendererChromiumTest.cpp:
1010         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1011         (TEST):
1012         * tests/WebLayerTest.cpp:
1013         * tests/WebLayerTreeViewTest.cpp:
1014
1015 2012-08-09  Alec Flett  <alecflett@chromium.org>
1016
1017         IndexedDB: additional chromium signature for openCursor
1018         https://bugs.webkit.org/show_bug.cgi?id=93637
1019
1020         Reviewed by Adam Barth.
1021
1022         Stub out the TaskType-based openCursor in the chromium API.
1023
1024         * src/WebIDBObjectStoreImpl.cpp:
1025         (WebKit::WebIDBObjectStoreImpl::openCursor):
1026         * src/WebIDBObjectStoreImpl.h:
1027         (WebKit::WebIDBObjectStoreImpl::openCursor):
1028         (WebIDBObjectStoreImpl):
1029
1030 2012-08-09  Dana Jansens  <danakj@chromium.org>
1031
1032         [chromium] Do partial-swap scissoring on quads during draw instead of on layers
1033         https://bugs.webkit.org/show_bug.cgi?id=91800
1034
1035         Reviewed by Adrienne Walker.
1036
1037         * tests/CCDamageTrackerTest.cpp:
1038         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1039         * tests/CCLayerIteratorTest.cpp:
1040         * tests/CCLayerTreeHostCommonTest.cpp:
1041         Removed tests of the scissor rect here, as they are no longer
1042         computed within CCLayerTreeHostCommon. Verify that the scissor
1043         does not affect texture caching in CCLayerTreeHostImplTest now.
1044         Previous scissor would affect the texture cache decisions, but
1045         this was incorrect, as damaged areas are always inside the
1046         scissor rect, and anything outside the scissor rect should
1047         be considered as valid and complete (assuming no external
1048         occlusion, which is computed outside the scissor rect now also).
1049
1050         * tests/CCLayerTreeHostImplTest.cpp:
1051         Removed didDrawNotCalledOnScissoredLayer test, as this no longer
1052         applies. didDraw will be called on layers that are outside the
1053         partial swap rect, regardless.
1054
1055         Removed partialSwapNoUpdate test, and merged its functionality into
1056         the partialSwap test while updating its expectations.
1057
1058         Added textureCachingWithScissor, which is loosely based on the
1059         CCLayerTreeHostCommonTest.scissorRectWithClip test.
1060
1061         * tests/CCOcclusionTrackerTest.cpp:
1062         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
1063         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
1064         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
1065         * tests/CCQuadCullerTest.cpp:
1066         * tests/CCRenderSurfaceTest.cpp:
1067         * tests/CCSolidColorLayerImplTest.cpp:
1068         (CCLayerTestCommon::TEST):
1069         * tests/CCTiledLayerImplTest.cpp:
1070         (CCLayerTestCommon::createLayer):
1071         * tests/LayerRendererChromiumTest.cpp:
1072         (LayerRendererChromiumTest::swapBuffers):
1073         (TEST_F):
1074         (TEST):
1075         * tests/TiledLayerChromiumTest.cpp:
1076
1077 2012-08-09  Shawn Singh  <shawnsingh@chromium.org>
1078
1079         [chromium] Pass mask scale and offset to shaders for correct masking
1080         https://bugs.webkit.org/show_bug.cgi?id=93558
1081
1082         Reviewed by Adrienne Walker.
1083
1084         Updated one unit test that needed additional args in a
1085         constructor, but no change in behavior of the test.
1086
1087         * tests/CCLayerTreeHostImplTest.cpp:
1088
1089 2012-08-09  Pavel Feldman  <pfeldman@chromium.org>
1090
1091         Web Inspector: add codemirror library as an experiment
1092         https://bugs.webkit.org/show_bug.cgi?id=93620
1093
1094         Reviewed by Vsevolod Vlasov.
1095
1096         * WebKit.gyp:
1097
1098 2012-08-09  Peter Beverloo  <peter@chromium.org>
1099
1100         Unreviewed, rolling out r125171.
1101         http://trac.webkit.org/changeset/125171
1102
1103         Broke the Chromium Android build.
1104
1105         * DEPS:
1106
1107 2012-08-09  Peter Beverloo  <peter@chromium.org>
1108
1109         Unreviewed.  Rolled DEPS.
1110
1111         * DEPS:
1112
1113 2012-08-09  Keishi Hattori  <keishi@webkit.org>
1114
1115         Page popups can show up at wrong locations
1116         https://bugs.webkit.org/show_bug.cgi?id=93556
1117
1118         Reviewed by Kent Tamura.
1119
1120         We were showing the popup at wrong positions. When there isn't enough
1121         room below and above the element it adjusts the position but we weren't
1122         resetting the adjustment when we resize the popup. This patch will make
1123         the popup adjust the popup position each time we resize.
1124
1125         * src/ColorChooserUIController.cpp:
1126         (WebKit::ColorChooserUIController::contentSize):
1127         * src/WebPagePopupImpl.cpp:
1128         (WevKit::PagePopupChromeClient::setWindowRect):
1129         (WebKit::WebPagePopupImpl::init): Use reposition().
1130         (WebKit::WebPagePopupImpl::reposition): Repositions the page popup based on the popup size.
1131         (WebKit):
1132         (WebKit::WebPagePopupImpl::resize): Use reposition().
1133         * src/WebPagePopupImpl.h:
1134         (WebPagePopupImpl):
1135
1136 2012-08-09  Peter Beverloo  <peter@chromium.org>
1137
1138         [Chromium] Pull in the android_tools directory for Android
1139         https://bugs.webkit.org/show_bug.cgi?id=84843
1140
1141         Reviewed by Jochen Eisinger.
1142
1143         Pull in the android_tools directory for Chromium Android checkouts. This
1144         repository, living in Chromium's, contains checked in versions of the
1145         Android NDK and SDK meant to make builds and updates easier.
1146
1147         * DEPS:
1148
1149 2012-08-08  Shane Stephens  <shanestephens@google.com>
1150
1151         Compile flag for CSS Hierarchies
1152         https://bugs.webkit.org/show_bug.cgi?id=92433
1153
1154         Reviewed by Tony Chang.
1155
1156         * features.gypi:
1157
1158 2012-08-08  Kent Tamura  <tkent@chromium.org>
1159
1160         [Chromium-mac] Switch to LocalizedNumberMac from LocalizedNumberICU
1161         https://bugs.webkit.org/show_bug.cgi?id=93432
1162
1163         Reviewed by Hajime Morita.
1164
1165         * tests/LocaleMacTest.cpp:
1166         Add some tests for number localization. They are similar to tests in
1167         LocaleWinTest and LocalizedNumberICUTest.cpp
1168         (LocaleMacTest):
1169         (LocaleMacTest::decimalSeparator):
1170         (TEST_F):
1171         (testNumberIsReversible):
1172         (testNumbers):
1173
1174 2012-08-08  Adrienne Walker  <enne@google.com>
1175
1176         [chromium] Move scrollbar pointer into WebScrollbarThemePainter
1177         https://bugs.webkit.org/show_bug.cgi?id=93541
1178
1179         Reviewed by James Robinson.
1180
1181         Fix WebScrollbarThemePainter implementation to make direct calls on
1182         the scrollbar rather than through the WebScrollbarThemeClientImpl
1183         adapter.
1184
1185         * src/WebScrollbarThemePainter.cpp:
1186         (WebKit::WebScrollbarThemePainter::assign):
1187         (WebKit::WebScrollbarThemePainter::paintScrollbarBackground):
1188         (WebKit::WebScrollbarThemePainter::paintTrackBackground):
1189         (WebKit::WebScrollbarThemePainter::paintBackTrackPart):
1190         (WebKit::WebScrollbarThemePainter::paintForwardTrackPart):
1191         (WebKit::WebScrollbarThemePainter::paintBackButtonStart):
1192         (WebKit::WebScrollbarThemePainter::paintBackButtonEnd):
1193         (WebKit::WebScrollbarThemePainter::paintForwardButtonStart):
1194         (WebKit::WebScrollbarThemePainter::paintForwardButtonEnd):
1195         (WebKit::WebScrollbarThemePainter::paintTickmarks):
1196         (WebKit::WebScrollbarThemePainter::paintThumb):
1197         (WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):
1198         * tests/ScrollbarLayerChromiumTest.cpp:
1199         (WebCore::TEST):
1200
1201 2012-08-08  Alexei Svitkine  <asvitkine@chromium.org>
1202
1203         [chromium/mac] Map NSEventPhaseMayBegin appropriately on 10.8
1204         https://bugs.webkit.org/show_bug.cgi?id=93535
1205
1206         Reviewed by Dimitri Glazkov.
1207
1208         This enables putting two fingers on the track pad to show overlay scroll bars on 10.8+.
1209
1210         * src/mac/WebInputEventFactory.mm:
1211         (WebKit::phaseForNSEventPhase):
1212
1213 2012-08-08  James Robinson  <jamesr@chromium.org>
1214
1215         [chromium] Fix up includes and types in chromium compositor unit tests
1216         https://bugs.webkit.org/show_bug.cgi?id=93553
1217
1218         Reviewed by Adrienne Walker.
1219
1220         This removes some unused GraphicsContext3DPrivate.h includes and adds some includes that were being implicitely
1221         depending upon - mostly for wtf/PassOwnPtr.h.
1222
1223         * tests/CCLayerTreeHostTest.cpp:
1224         (::CCLayerTreeHostTestCommit::beginTest):
1225         (::CCLayerTreeHostTestCommit::commitCompleteOnCCThread):
1226         * tests/CCRenderSurfaceFiltersTest.cpp:
1227         * tests/CompositorFakeWebGraphicsContext3D.h:
1228         * tests/FakeGraphicsContext3DTest.cpp:
1229         * tests/FakeWebScrollbarThemeGeometry.h:
1230         * tests/TextureCopierTest.cpp:
1231         * tests/ThrottledTextureUploaderTest.cpp:
1232
1233 2012-08-08  Eric Penner  <epenner@google.com>
1234
1235         [chromium] Refactor tile flags.
1236         https://bugs.webkit.org/show_bug.cgi?id=93059
1237
1238         Reviewed by Adrienne Walker.
1239
1240         Minor fixes to existing tests.
1241
1242         * tests/TiledLayerChromiumTest.cpp:
1243
1244 2012-08-08  James Robinson  <jamesr@chromium.org>
1245
1246         [chromium] Clean up WebKit.h and WebKitPlatformSupport.h includes in chromium/src
1247         https://bugs.webkit.org/show_bug.cgi?id=93539
1248
1249         Reviewed by Adam Barth.
1250
1251         Most of these files don't need either WebKit.h or WebKitPlatformSupport.h. Some need <public/Platform.h>, and
1252         some are relying on the forwarding headers. This updates includes to what is actually needed and points platform
1253         includes at <public/Foo.h> instead of "platform/Foo.h" where possible.
1254
1255         * src/ApplicationCacheHostInternal.h:
1256         * src/AssociatedURLLoader.cpp:
1257         * src/AsyncFileSystemChromium.cpp:
1258         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
1259         * src/BlobRegistryProxy.cpp:
1260         * src/ChromiumCurrentTime.cpp:
1261         * src/ChromiumOSRandomSource.cpp:
1262         * src/ChromiumThreading.cpp:
1263         * src/EditorClientImpl.cpp:
1264         * src/FrameLoaderClientImpl.cpp:
1265         * src/IDBFactoryBackendProxy.cpp:
1266         * src/LocalizedStrings.cpp:
1267         * src/PlatformMessagePortChannel.cpp:
1268         * src/WebCompositorInputHandlerImpl.cpp:
1269         * src/WebMediaPlayerClientImpl.cpp:
1270         * src/WebPluginContainerImpl.cpp:
1271         * src/WebViewImpl.cpp:
1272         * src/WebWorkerClientImpl.cpp:
1273         * src/WorkerAsyncFileSystemChromium.cpp:
1274         * src/WorkerFileWriterCallbacksBridge.cpp:
1275
1276 2012-08-08  James Robinson  <jamesr@chromium.org>
1277
1278         [chromium] Clean up includes in compositor unit tests
1279         https://bugs.webkit.org/show_bug.cgi?id=93531
1280
1281         Reviewed by Adrienne Walker.
1282
1283         This removes unused includes and updates Platform API headers to use the <public/Web...> style paths.
1284
1285         * tests/CCAnimationTestCommon.cpp:
1286         * tests/CCKeyframedAnimationCurveTest.cpp:
1287         * tests/CCLayerAnimationControllerTest.cpp:
1288         * tests/CCLayerTreeHostCommonTest.cpp:
1289         * tests/CCLayerTreeHostTest.cpp:
1290         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
1291         * tests/CCOcclusionTrackerTest.cpp:
1292         * tests/CCTextureUpdateControllerTest.cpp:
1293         * tests/CCThreadedTest.cpp:
1294         * tests/FakeWebGraphicsContext3D.h:
1295         * tests/LayerChromiumTest.cpp:
1296         * tests/LayerRendererChromiumTest.cpp:
1297         * tests/TiledLayerChromiumTest.cpp:
1298         * tests/WebCompositorInputHandlerImplTest.cpp:
1299         * tests/WebLayerTest.cpp:
1300         * tests/WebLayerTreeViewTest.cpp:
1301
1302 2012-08-07  James Robinson  <jamesr@chromium.org>
1303
1304         [chromium] Only use public Platform API in NonCompositedContentHost
1305         https://bugs.webkit.org/show_bug.cgi?id=93423
1306
1307         Reviewed by Adrienne Walker.
1308
1309         Switches to using Web*Layer APIs in NonCompositedContentHost instead of reaching in to the LayerChromium and
1310         updates unit tests for the nonCompositedContent->useLCDText flag rename.
1311
1312         * src/NonCompositedContentHost.cpp:
1313         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
1314         * src/WebContentLayer.cpp:
1315         (WebKit::WebContentLayer::setUseLCDText):
1316         (WebKit):
1317         (WebKit::WebContentLayer::setDrawCheckerboardForMissingTiles):
1318         * src/WebViewImpl.cpp:
1319         * tests/CCLayerImplTest.cpp:
1320         (WebCore::TEST):
1321         * tests/CCLayerTreeHostImplTest.cpp:
1322         * tests/LayerChromiumTest.cpp:
1323
1324 2012-08-08  Alec Flett  <alecflett@chromium.org>
1325
1326         IndexedDB: new enums and openCursor stub
1327         https://bugs.webkit.org/show_bug.cgi?id=93410
1328
1329         Reviewed by Adam Barth.
1330
1331         This stubs out the TaskType and Direction enums that will be
1332         required to land the chromium side of
1333         https://bugs.webkit.org/show_bug.cgi?id=91125.
1334
1335         * public/WebIDBCursor.h:
1336         * public/WebIDBObjectStore.h:
1337         (WebKit::WebIDBObjectStore::setIndexKeys):
1338         (WebKit::WebIDBObjectStore::setIndexesReady):
1339         (WebIDBObjectStore):
1340         (WebKit::WebIDBObjectStore::openCursor):
1341         * public/WebIDBTransaction.h:
1342
1343 2012-08-08  Dana Jansens  <danakj@chromium.org>
1344
1345         [chromium] Enable occlusion tracker in the occlusion tests for surface cacheing
1346         https://bugs.webkit.org/show_bug.cgi?id=93500
1347
1348         Reviewed by Adrienne Walker.
1349
1350         The occlusion tracker is not being used in these tests except to do
1351         scissoring. We want to test occlusion with these occlusion tests,
1352         and when scissoring is not part of occlusion tracker, these
1353         tests would become useless otherwise.
1354
1355         * tests/CCLayerTreeHostImplTest.cpp:
1356
1357 2012-08-08  Adam Barth  <abarth@webkit.org>
1358
1359         Crash when reloading a Chromium "platform" app
1360         https://bugs.webkit.org/show_bug.cgi?id=93497
1361
1362         Reviewed by Eric Seidel.
1363
1364         Test that we don't crash when executing script during the
1365         didCreateScriptContext callback.
1366
1367         * tests/WebFrameTest.cpp:
1368         * tests/data/hello_world.html: Added.
1369
1370 2012-08-07  Joshua Bell  <jsbell@chromium.org>
1371
1372         Layout Test storage/indexeddb/intversion-omit-parameter.html is flaky
1373         https://bugs.webkit.org/show_bug.cgi?id=92952
1374
1375         Reviewed by Tony Chang.
1376
1377         Added test to exercise WebCore::IDBRequest event callbacks after
1378         the script context has stopped and ensure no asserts are hit.
1379
1380         * WebKit.gypi:
1381         * tests/IDBRequestTest.cpp: Added.
1382         (WebCore):
1383         (WebCore::TEST):
1384
1385 2012-08-07  Fady Samuel  <fsamuel@chromium.org>
1386
1387         Allow plugins to decide whether they are keyboard focusable
1388         https://bugs.webkit.org/show_bug.cgi?id=88958
1389
1390         Reviewed by Anders Carlsson.
1391
1392         * public/WebPlugin.h:
1393         (WebKit::WebPlugin::supportsKeyboardFocus):
1394         * src/WebInputEventConversion.cpp:
1395         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
1396         * src/WebPluginContainerImpl.cpp:
1397         (WebKit::WebPluginContainerImpl::supportsKeyboardFocus):
1398         (WebKit):
1399         * src/WebPluginContainerImpl.h:
1400         (WebPluginContainerImpl):
1401
1402 2012-08-07  Kentaro Hara  <haraken@chromium.org>
1403
1404         [V8] Implement V8Proxy::registerExtensionIfNeeded() and remove redundant methods
1405         https://bugs.webkit.org/show_bug.cgi?id=93209
1406
1407         Reviewed by Adam Barth.
1408
1409         By implementing V8Proxy::registerExtensionIfNeeded(), we can remove
1410         registeredExtensionWithV8() and registerExtension().
1411
1412         No tests. No change in behavior.
1413
1414         * src/WebScriptController.cpp:
1415         (WebKit::WebScriptController::registerExtension):
1416
1417 2012-08-07  James Robinson  <jamesr@chromium.org>
1418
1419         [chromium] Add new gclient-managed cc directory to Source/WebKit/chromium/.gitignore
1420         https://bugs.webkit.org/show_bug.cgi?id=93403
1421
1422         Reviewed by Eric Seidel.
1423
1424         * .gitignore:
1425
1426 2012-08-07  Mihai Parparita  <mihaip@chromium.org>
1427
1428         [Chromium] Clean up WebScriptController.h comments
1429         https://bugs.webkit.org/show_bug.cgi?id=93399
1430
1431         Reviewed by Adam Barth.
1432
1433         Remove references to overloaded WebScriptController::registerExtension
1434         variants. They were removed in r68666.
1435
1436         * public/WebScriptController.h:
1437         (WebScriptController):
1438
1439 2012-08-07  Kentaro Hara  <haraken@chromium.org>
1440
1441         [V8] Remove #include Frame.h from V8Binding.h
1442         https://bugs.webkit.org/show_bug.cgi?id=93326
1443
1444         Reviewed by Adam Barth.
1445
1446         We want to remove unnecessary #include in V8Binding.h
1447         to avoid circular include dependency.
1448
1449         No tests. No change in behavior.
1450
1451         * src/WebBindings.cpp:
1452
1453 2012-08-07  James Robinson  <jamesr@chromium.org>
1454
1455         [chromium] Switch PlatformLayer typedef to Platform API type for PLATFORM(CHROMIUM)
1456         https://bugs.webkit.org/show_bug.cgi?id=93335
1457
1458         Reviewed by Adrienne Walker.
1459
1460         Update for new PlatformLayer typedef. This removes knowledge of WebCore::LayerChromium from all classes
1461         except for NonCompositedContentHost, which still punches through for a few minor APIs that I'll address
1462         in a separate patch.
1463
1464         * src/NonCompositedContentHost.cpp:
1465         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
1466         (WebKit::NonCompositedContentHost::setScrollLayer):
1467         (WebKit::NonCompositedContentHost::scrollLayer):
1468         (WebKit::NonCompositedContentHost::notifySyncRequired):
1469         * src/WebMediaPlayerClientImpl.cpp:
1470         (WebKit::WebMediaPlayerClientImpl::platformLayer):
1471         * src/WebMediaPlayerClientImpl.h:
1472         (WebMediaPlayerClientImpl):
1473         * src/WebPluginContainerImpl.cpp:
1474         (WebKit::WebPluginContainerImpl::platformLayer):
1475         * src/WebPluginContainerImpl.h:
1476         (WebCore):
1477         (WebPluginContainerImpl):
1478         * src/WebScrollableLayer.cpp:
1479         (WebKit::WebScrollableLayer::setNonFastScrollableRegion):
1480         (WebKit):
1481         (WebKit::WebScrollableLayer::setIsContainerForFixedPositionLayers):
1482         (WebKit::WebScrollableLayer::setFixedToContainerLayer):
1483         * src/WebViewImpl.cpp:
1484         (WebKit::WebViewImpl::setRootGraphicsLayer):
1485         * tests/Canvas2DLayerBridgeTest.cpp:
1486         * tests/GraphicsLayerChromiumTest.cpp:
1487         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1488         (WebKitTests::TEST_F):
1489
1490 2012-08-07  James Robinson  <jamesr@chromium.org>
1491
1492         [chromium] Use WebCompositor interface in Platform API instead of CCProxy to query threaded compositor status
1493         https://bugs.webkit.org/show_bug.cgi?id=93398
1494
1495         Reviewed by Adam Barth.
1496
1497         Converts non-compositor code that cares about threaded compositing status over to query WebCompositor instead of
1498         CCProxy.
1499
1500         * src/WebMediaPlayerClientImpl.cpp:
1501         (WebKit::WebMediaPlayerClientImpl::supportsType):
1502         * src/WebViewImpl.cpp:
1503         (WebKit::WebViewImpl::composite):
1504         (WebKit::WebViewImpl::scheduleAnimation):
1505         (WebKit::WebViewImpl::scheduleComposite):
1506
1507 2012-08-07  James Robinson  <jamesr@chromium.org>
1508
1509         [chromium] Move WebCompositor interface into Platform AP
1510         https://bugs.webkit.org/show_bug.cgi?id=93391
1511
1512         Reviewed by Adam Barth.
1513
1514         * WebKit.gyp:
1515         * public/WebCompositor.h:
1516         * src/WebLayerTreeViewImpl.cpp:
1517
1518 2012-08-07  Joshua Bell  <jsbell@chromium.org>
1519
1520         REGRESSION(r124865): It broke the ARM Chromium build
1521         https://bugs.webkit.org/show_bug.cgi?id=93364
1522
1523         Reviewed by Csaba Osztrogonác.
1524
1525         Mark large constant with LL to satisfy a picky compiler.
1526
1527         * tests/IDBLevelDBCodingTest.cpp:
1528         (IDBLevelDBCoding::TEST):
1529
1530 2012-08-07  Alexei Filippov  <alexeif@chromium.org>
1531
1532         Web Inspector: make the MemoryClassInfo class a not-template
1533         https://bugs.webkit.org/show_bug.cgi?id=93265
1534
1535         Reviewed by Yury Semikhatsky.
1536
1537         * tests/MemoryInstrumentationTest.cpp:
1538         (WebCore::Instrumented::reportMemoryUsage):
1539         (WebCore::InstrumentedRefPtr::reportMemoryUsage):
1540         (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
1541         (WebCore::InstrumentedOther::reportMemoryUsage):
1542         (WebCore::InstrumentedDOM::reportMemoryUsage):
1543         (WebCore::NonVirtualInstrumented::reportMemoryUsage):
1544
1545 2012-08-06  Yuta Kitamura  <yutak@chromium.org>
1546
1547         WebSocket.send() should accept ArrayBufferView
1548         https://bugs.webkit.org/show_bug.cgi?id=90877
1549
1550         Reviewed by Kent Tamura.
1551
1552         * src/WebSocketImpl.cpp:
1553         (WebKit::WebSocketImpl::sendArrayBuffer):
1554         Apply change in function signature of WebSocketChannel::send().
1555
1556 2012-08-06  James Robinson  <jamesr@chromium.org>
1557
1558         [chromium] Remove lingering unwrap<>() calls in GraphicsLayerChromium.cpp
1559         https://bugs.webkit.org/show_bug.cgi?id=93319
1560
1561         Reviewed by Adrienne Walker.
1562
1563         * src/WebLayer.cpp:
1564         (WebKit::WebLayer::setChildren):
1565         (WebKit):
1566         (WebKit::WebLayer::setReplicaLayer):
1567         (WebKit::WebLayer::setDebugName):
1568         (WebKit::WebLayer::clearRenderSurface):
1569
1570 2012-08-06  Adrienne Walker  <enne@google.com>
1571
1572         [chromium] Convert WebScrollbarThemeGeometry from a concrete class to an interface
1573         https://bugs.webkit.org/show_bug.cgi?id=93308
1574
1575         Reviewed by James Robinson.
1576
1577         Now that WebScrollbarThemeGeometry can have different implementations,
1578         create a FakeWebScrollbarThemeGeometry for testing purposes rather
1579         than just overriding a geometry-related virtual.
1580
1581         * WebKit.gyp:
1582         * WebKit.gypi:
1583         * src/WebScrollbarLayer.cpp:
1584         (WebKit::WebScrollbarLayer::create):
1585         * tests/CCLayerTreeHostImplTest.cpp:
1586         * tests/FakeWebScrollbarThemeGeometry.h: Added.
1587         (WebKit):
1588         (FakeWebScrollbarThemeGeometry):
1589         (WebKit::FakeWebScrollbarThemeGeometry::create):
1590         * tests/ScrollbarLayerChromiumTest.cpp:
1591         (WebCore::TEST):
1592
1593 2012-08-06  James Robinson  <jamesr@chromium.org>
1594
1595         [chromium] Update chromium DEPS r150037 -> r150169
1596         https://bugs.webkit.org/show_bug.cgi?id=93309
1597
1598         As the title says. Unreviewed.
1599
1600         * DEPS:
1601
1602 2012-08-06  David Reveman  <reveman@chromium.org>
1603
1604         [Chromium] Rename CCTextureUpdater to CCTextureUpdateQueue.
1605         https://bugs.webkit.org/show_bug.cgi?id=93293
1606
1607         Reviewed by Adrienne Walker.
1608
1609         * src/WebExternalTextureLayer.cpp:
1610         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
1611         * tests/CCLayerTreeHostTest.cpp:
1612         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
1613         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
1614         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
1615         * tests/CCTextureUpdateControllerTest.cpp:
1616         * tests/CCThreadedTest.cpp:
1617         * tests/CCTiledLayerTestCommon.cpp:
1618         (WebKitTests::FakeTiledLayerChromium::update):
1619         * tests/CCTiledLayerTestCommon.h:
1620         (FakeTiledLayerChromium):
1621         * tests/Canvas2DLayerBridgeTest.cpp:
1622         * tests/TiledLayerChromiumTest.cpp:
1623
1624 2012-08-06  Bear Travis  <betravis@adobe.com>
1625
1626         [CSS Exclusions] Add a command-line flag to enable / disable exclusions
1627         https://bugs.webkit.org/show_bug.cgi?id=91420
1628
1629         Reviewed by Dimitri Glazkov.
1630
1631         Adding the interface code to expose the css exclusions runtime flag to
1632         Chromium.
1633
1634         * public/WebRuntimeFeatures.h:
1635         (WebRuntimeFeatures): Adding getters/setters for cssExclusions
1636         * src/WebRuntimeFeatures.cpp:
1637         (WebKit::WebRuntimeFeatures::enableCSSExclusions):
1638         (WebKit):
1639         (WebKit::WebRuntimeFeatures::isCSSExclusionsEnabled):
1640
1641 2012-08-06  Adam Barth  <abarth@webkit.org>
1642
1643         [Chromium] WebTouchCandidatesInfo should be part of the Client API
1644         https://bugs.webkit.org/show_bug.cgi?id=93088
1645
1646         Reviewed by Eric Seidel.
1647
1648         * WebKit.gyp:
1649         * public/WebTouchCandidatesInfo.h: Copied from Source/Platform/chromium/public/WebTouchCandidatesInfo.h.
1650         * src/WebViewImpl.cpp:
1651
1652 2012-08-06  Adrienne Walker  <enne@google.com>
1653
1654         [chromium] REGRESSION(r124714): webkit_unit_tests asserts in Debug
1655         https://bugs.webkit.org/show_bug.cgi?id=93297
1656
1657         Reviewed by James Robinson.
1658
1659         This is a quick fix to get debug unit tests working again by
1660         implementing a virtual function that has ASSERT_NOT_REACHED in the
1661         base class version.
1662
1663         * tests/ScrollAnimatorNoneTest.cpp:
1664         (MockScrollableArea::scrollPosition):
1665
1666 2012-08-06  Nasko Oskov  <nasko@chromium.org>
1667
1668         Adding APIs to Chromium WebKit API to allow for creating and monitoring frame hierarchy.
1669         https://bugs.webkit.org/show_bug.cgi?id=93127
1670
1671         Reviewed by Adam Barth.
1672
1673         Add support in the API to monitor and create frame hierarchy to allow replicating it
1674         across different instances of WebKit.
1675
1676         * public/WebDocument.h:
1677         (WebDocument): Added createElement.
1678         * public/WebFrame.h: Added assignedName.
1679         * public/WebFrameClient.h:
1680         (WebFrameClient):
1681         (WebKit::WebFrameClient::didCreateFrame): Added to allow embedders to know when frames are created.
1682         (WebKit::WebFrameClient::willCheckAndDispatchMessageEvent): Added the target frame as a parameter.
1683         * public/WebNode.h:
1684         * src/FrameLoaderClientImpl.cpp:
1685         (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent):
1686         * src/WebDocument.cpp:
1687         (WebKit::WebDocument::createElement): Added to allow for creating frame elements.
1688         (WebKit):
1689         * src/WebFrameImpl.cpp:
1690         (WebKit::WebFrameImpl::uniqueName): Added to migrate callers to the matching WebCore API.
1691         (WebKit):
1692         (WebKit::WebFrameImpl::assignedName): Returns the name given to a frame, as opposed 
1693         to the unique name, generated by WebKit.
1694         (WebKit::WebFrameImpl::createChildFrame): Added call to the frame client's didCreateFrame.
1695         * src/WebFrameImpl.h:
1696         (WebFrameImpl):
1697         * src/WebNode.cpp:
1698         (WebKit::WebNode::appendChild): Added to allow for adding elements to the DOM.
1699         (WebKit):
1700         * tests/WebFrameTest.cpp:
1701
1702 2012-08-06  David Reveman  <reveman@chromium.org>
1703
1704         [Chromium] Refactor CCTextureUpdater into CCTextureUpdater and CCTextureUpdateController.
1705         https://bugs.webkit.org/show_bug.cgi?id=92596
1706
1707         Reviewed by Adrienne Walker.
1708
1709         * WebKit.gypi:
1710         * src/WebExternalTextureLayer.cpp:
1711         * tests/CCTextureUpdateControllerTest.cpp: Renamed from Source/WebKit/chromium/tests/CCTextureUpdaterTest.cpp.
1712         * tests/CCTiledLayerTestCommon.h:
1713         (WebKitTests::FakeTextureCopier::copyTexture):
1714         (WebKitTests::FakeTextureUploader::uploadTexture):
1715         * tests/TextureCopierTest.cpp:
1716         (TEST):
1717         * tests/TiledLayerChromiumTest.cpp:
1718
1719 2012-08-06  Shawn Singh  <shawnsingh@chromium.org>
1720
1721         [chromium] Non-preserves-3d requires explicit flattening of screen-space transform.
1722         https://bugs.webkit.org/show_bug.cgi?id=85808
1723
1724         Reviewed by Adrienne Walker.
1725
1726         * tests/CCLayerTreeHostCommonTest.cpp:
1727
1728 2012-08-06  Yury Semikhatsky  <yurys@chromium.org>
1729
1730         Web Inspector: rename WorkerAgent.setWorkerInspectionEnabled to WorkerAgent.enable and make it return error
1731         https://bugs.webkit.org/show_bug.cgi?id=92545
1732
1733         Reviewed by Pavel Feldman.
1734
1735         Replaced Preferences.exposeWorkersInspection with InspectorFrontendHost.canInspectWorkers()
1736         that tells if inspector front-end on the given platform can launch dedicated worker
1737         front-end.
1738
1739         * src/InspectorFrontendClientImpl.cpp:
1740         (WebKit::InspectorFrontendClientImpl::canInspectWorkers):
1741         (WebKit):
1742         * src/InspectorFrontendClientImpl.h:
1743         (InspectorFrontendClientImpl):
1744         * src/js/DevTools.js:
1745
1746 2012-08-06  Keishi Hattori  <keishi@webkit.org>
1747
1748         Remove minimum window size for PagePopup
1749         https://bugs.webkit.org/show_bug.cgi?id=93100
1750
1751         Reviewed by Kent Tamura.
1752
1753         * src/WebPagePopupImpl.cpp: Returns 0x0 so the page popup can be smaller than 100x100.
1754
1755 2012-08-05  Kent Tamura  <tkent@chromium.org>
1756
1757         [Chromium-win] Use system locale for number representation
1758         https://bugs.webkit.org/show_bug.cgi?id=93085
1759
1760         Reviewed by Hajime Morita.
1761
1762         * WebKit.gypi:
1763         Don't include Localized*ICUTest.cpp in Windows and OSX. They are unnecessary.
1764         * tests/LocaleWinTest.cpp:
1765         (LocaleWinTest): Add some LCID symbols.
1766         (LocaleWinTest::decimalSeparator):
1767         A helper for LocaleWinTest.decimalSeparator.
1768         (TEST_F(LocaleWinTest, decimalSeparator)):
1769         A test for LocaleWin::localizedDecimalSeparator(). This is a copy of the
1770         corresponding test in LocalizedNumberICUTest.cpp.
1771         (testNumberIsReversible):
1772         A test helper LocaleWinTest.localizedNumberRoundTrip. This is a copy of
1773         the corresponding test in LocalizedNumberICUTest.cpp.
1774         (testNumbers): ditto.
1775         (TEST_F(LocaleWinTest, localizedNumberRoundTrip)):
1776         Tests for LocaleWin changes. This is a copy of the corresponding tests
1777         in LocalizedNumberICUTest.cpp.
1778
1779 2012-08-04  Sheriff Bot  <webkit.review.bot@gmail.com>
1780
1781         Unreviewed.  Rolled DEPS.
1782
1783         * DEPS:
1784
1785 2012-08-03  Nico Weber  <thakis@chromium.org>
1786
1787         [chromium] Add API to make it possible to request all variants of a WebImage
1788         https://bugs.webkit.org/show_bug.cgi?id=92933
1789
1790         Reviewed by Adam Barth.
1791
1792         Part of http://crbug.com/138550
1793
1794         * src/WebImageSkia.cpp:
1795         (WebKit::WebImage::framesFromData):
1796         (WebKit):
1797
1798 2012-08-03  Yaron Friedman  <yfriedman@chromium.org>
1799
1800         [Chrome-Android] - Prepare apk tests for switch to checked in SDK.
1801         https://bugs.webkit.org/show_bug.cgi?id=92931
1802
1803         Reviewed by Adam Barth.
1804
1805         Pass Android-specific gyp variables to the native test generator
1806         avoiding any dependencies on environment variables during build time.
1807
1808         * WebKitUnitTests.gyp:
1809
1810 2012-08-03  David Grogan  <dgrogan@chromium.org>
1811
1812         IndexedDB: Core upgradeneeded logic
1813         https://bugs.webkit.org/show_bug.cgi?id=92558
1814
1815         Reviewed by Ojan Vafai.
1816
1817         Update overridden methods to match new signatures.
1818
1819         * tests/IDBAbortOnCorruptTest.cpp:
1820         (WebCore::FailingBackingStore::createIDBDatabaseMetaData):
1821         * tests/IDBFakeBackingStore.h:
1822
1823 2012-08-03  Rick Byers  <rbyers@chromium.org>
1824
1825         Double tap gesture should send dblclick event
1826         https://bugs.webkit.org/show_bug.cgi?id=92412
1827
1828         Reviewed by Adam Barth.
1829
1830         Tweak comment to more completely describe the (lame) overloaded use
1831         of deltaX in WebGestureEvent, and add a FIXME with the bug to track
1832         cleaning it up.
1833         * public/WebInputEvent.h:
1834         (WebGestureEvent):
1835
1836 2012-08-03  Dave Tu  <dtu@chromium.org>
1837
1838         [chromium] Remove assert when getting hardware renderingStats in software mode.
1839         https://bugs.webkit.org/show_bug.cgi?id=92325
1840
1841         Reviewed by Adrienne Walker.
1842
1843         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.
1844
1845         * public/WebWidget.h:
1846         (WebWidget):
1847         * src/WebViewImpl.cpp:
1848         (WebKit::WebViewImpl::WebViewImpl):
1849         (WebKit::WebViewImpl::renderingStats):
1850         (WebKit::WebViewImpl::paint):
1851         * src/WebViewImpl.h:
1852
1853 2012-08-03  Sheriff Bot  <webkit.review.bot@gmail.com>
1854
1855         Unreviewed.  Rolled DEPS.
1856
1857         * DEPS:
1858
1859 2012-08-03  Sheriff Bot  <webkit.review.bot@gmail.com>
1860
1861         Unreviewed, rolling out r124632.
1862         http://trac.webkit.org/changeset/124632
1863         https://bugs.webkit.org/show_bug.cgi?id=93154
1864
1865         Added new WebFrameTest.SelectRange which fails on bots
1866         (Requested by dimich on #webkit).
1867
1868         * tests/WebFrameTest.cpp:
1869         * tests/data/select_range_basic.html: Removed.
1870         * tests/data/select_range_iframe.html: Removed.
1871         * tests/data/select_range_scroll.html: Removed.
1872
1873 2012-08-03  Terry Anderson  <tdanderson@chromium.org>
1874
1875         Apply target fuzzing when sending a context menu event
1876         https://bugs.webkit.org/show_bug.cgi?id=92914
1877
1878         Reviewed by Antonio Gomes.
1879
1880         When constructing a PlatformEvent::GestureLongPress in WebInputEventConversion.cpp,
1881         use |boundingBox| to specify |m_area|.
1882
1883         * src/WebInputEventConversion.cpp:
1884         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1885
1886 2012-08-03  Leandro Gracia Gil  <leandrogracia@chromium.org>
1887
1888         [Chromium] Add stubs for the find-in-page match rects API
1889         https://bugs.webkit.org/show_bug.cgi?id=93110
1890
1891         Reviewed by Adam Barth.
1892
1893         The Android port allows tapping on the find-in-page result tickmarks taking
1894         the user to the corresponding matches. This patch introduces stubs for the
1895         new required methods in order to achieve WebKit API compatibility for this
1896         port as soon as possible. The implementation of these methods will be added
1897         later in https://bugs.webkit.org/show_bug.cgi?id=93111.
1898
1899         * public/WebFrame.h:
1900         (WebKit):
1901         (WebFrame):
1902         * src/WebFrameImpl.cpp:
1903         (WebKit::WebFrameImpl::findMatchMarkersVersion):
1904         (WebKit):
1905         (WebKit::WebFrameImpl::activeFindMatchRect):
1906         (WebKit::WebFrameImpl::findMatchRects):
1907         (WebKit::WebFrameImpl::selectNearestFindMatch):
1908         * src/WebFrameImpl.h:
1909         (WebFrameImpl):
1910
1911 2012-08-03  Mike West  <mkwst@chromium.org>
1912
1913         Blocking a plugin via CSP should result in one (and only one) console message.
1914         https://bugs.webkit.org/show_bug.cgi?id=92649
1915
1916         Reviewed by Adam Barth.
1917
1918         * src/LocalizedStrings.cpp:
1919         (WebCore::blockedPluginByContentSecurityPolicyText):
1920         (WebCore):
1921             Adding a stub for the newly added string.
1922
1923 2012-08-03  Oli Lan  <olilan@chromium.org>
1924
1925         [chromium] Add a test to WebFrameTest for selectRange and visiblePositionForWindowPoint.
1926         https://bugs.webkit.org/show_bug.cgi?id=93108
1927
1928         Reviewed by Adam Barth.
1929
1930         Adds a new test WebFrameTest.SelectRange. This tests WebFrameImpl::selectRange, and also
1931         serves to test WebFrameImpl::visiblePositionForWindowPoint as it is used by selectRange.
1932
1933         The test uses sample files that contain selected text on load. The test uses
1934         WebViewImpl::selectionBounds to retrieve the ends of the selection, then unselects
1935         and calls WebFrameImpl::selectRange to attempt to reselect the same text.
1936
1937         Three cases are tested: the normal case, the case where the selected text is offscreen
1938         due to a scroll, and the case where the selected text is in an iframe. This allows the
1939         problem cases and fix in https://bugs.webkit.org/show_bug.cgi?id=79117 to be tested.
1940
1941         * tests/WebFrameTest.cpp:
1942         * tests/data/select_range_basic.html: Added.
1943         * tests/data/select_range_iframe.html: Added.
1944         * tests/data/select_range_scroll.html: Added.
1945
1946 2012-08-03  Ilya Tikhonovsky  <loislo@chromium.org>
1947
1948         Web Inspector: eliminate visitBaseClass method from NMI. It introduces unnecessary complexity.
1949         https://bugs.webkit.org/show_bug.cgi?id=93129
1950
1951         Reviewed by Yury Semikhatsky.
1952
1953         * tests/MemoryInstrumentationTest.cpp:
1954         (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
1955
1956 2012-08-03  Adam Barth  <abarth@webkit.org>
1957
1958         V8Proxy::retrieve(*) leads to really obfuscated code and should be removed
1959         https://bugs.webkit.org/show_bug.cgi?id=93072
1960
1961         Reviewed by Eric Seidel.
1962
1963         * src/WebDevToolsAgentImpl.cpp:
1964         (WebKit::WebDevToolsAgentImpl::didCreateScriptContext):
1965
1966 2012-08-02  Ilya Tikhonovsky  <loislo@chromium.org>
1967
1968         Web Inspector: extend test coverage for nmi code and fix 2 bugs.
1969         https://bugs.webkit.org/show_bug.cgi?id=92994
1970
1971         Reviewed by Yury Semikhatsky.
1972
1973         1) owner object type propagation.
1974         If a class with object-type DOM has an instrumented member with object-type Other then it has to be recorded as DOM.
1975         Sample: We have SharedBuffer class and we don't know the object-type for it but we know that it is owned by an object with object-type CachedResourceImage.
1976
1977         2) the first member of an instrumented non virtual class was skipped even if it was reported properly.
1978         it happened because the first member has the same address as it's owner
1979
1980         * tests/MemoryInstrumentationTest.cpp:
1981         (WebCore::TEST):
1982         (WebCore):
1983         (InstrumentedOther):
1984         (WebCore::InstrumentedOther::InstrumentedOther):
1985         (WebCore::InstrumentedOther::reportMemoryUsage):
1986         (InstrumentedDOM):
1987         (WebCore::InstrumentedDOM::InstrumentedDOM):
1988         (WebCore::InstrumentedDOM::reportMemoryUsage):
1989         (NonVirtualInstrumented):
1990         (WebCore::NonVirtualInstrumented::reportMemoryUsage):
1991
1992 2012-08-02  Alec Flett  <alecflett@chromium.org>
1993
1994         IndexedDB: remove leftover chromium stubs from putIndexWithKeys
1995         https://bugs.webkit.org/show_bug.cgi?id=93032
1996
1997         Reviewed by Darin Fisher.
1998
1999         Remove old chromium APIs that are no longer called by chrome.
2000
2001         * public/WebIDBCursor.h:
2002         * public/WebIDBObjectStore.h:
2003         * public/WebIDBTransaction.h:
2004
2005 2012-08-02  Antoine Labour  <piman@chromium.org>
2006
2007         [chromium] add lost context test case for HW video decoder
2008         https://bugs.webkit.org/show_bug.cgi?id=93057
2009
2010         Reviewed by Adrienne Walker.
2011
2012         We check that we don't use resources after a lost context (assuming
2013         proper WebVideoFrameProvider behavior).
2014
2015         * tests/CCLayerTreeHostImplTest.cpp:
2016
2017 2012-08-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2018
2019         Unreviewed, rolling out r124540.
2020         http://trac.webkit.org/changeset/124540
2021         https://bugs.webkit.org/show_bug.cgi?id=93055
2022
2023         Broke compile on Chromium Win bot (Requested by dimich on
2024         #webkit).
2025
2026         * tests/IDBAbortOnCorruptTest.cpp:
2027         (WebCore::FailingBackingStore::createIDBDatabaseMetaData):
2028         * tests/IDBFakeBackingStore.h:
2029
2030 2012-08-02  Alexandre Elias  <aelias@google.com>
2031
2032         [chromium] deviceViewportSize cleanup
2033         https://bugs.webkit.org/show_bug.cgi?id=92794
2034
2035         Reviewed by Adrienne Walker.
2036
2037         In the future, CSS layout size will become increasingly disassociated
2038         from physical device size, and it will become impossible to infer one
2039         from the other inside the compositor.  Therefore, this patch allows
2040         deviceViewportSize to be explicitly passed in by the outside client.
2041
2042         I also renamed the existing viewportSize field to "layoutViewportSize"
2043         for clarity, and converted its uses to deviceViewportSize since
2044         that is more appropriate.
2045
2046         I had to add some default-value scaffolding to WebLayerTreeView in
2047         order to avoid breaking ui/compositor.  We can delete it once that's
2048         updated.
2049
2050         * src/WebLayerTreeView.cpp:
2051         (WebKit::WebLayerTreeView::setViewportSize):
2052         (WebKit::WebLayerTreeView::layoutViewportSize):
2053         (WebKit):
2054         (WebKit::WebLayerTreeView::deviceViewportSize):
2055         (WebKit::WebLayerTreeView::setDeviceScaleFactor):
2056         * src/WebViewImpl.cpp:
2057         (WebKit::WebViewImpl::paint):
2058         (WebKit::WebViewImpl::updateLayerTreeViewport):
2059
2060 2012-08-02  Adam Barth  <abarth@webkit.org>
2061
2062         V8Proxy::currentContext() doesn't do anything and should be removed
2063         https://bugs.webkit.org/show_bug.cgi?id=93041
2064
2065         Reviewed by Eric Seidel.
2066
2067         * src/WebBindings.cpp:
2068         (WebKit::makeIntArrayImpl):
2069         (WebKit::makeStringArrayImpl):
2070
2071 2012-08-02  David Grogan  <dgrogan@chromium.org>
2072
2073         IndexedDB: Core upgradeneeded logic
2074         https://bugs.webkit.org/show_bug.cgi?id=92558
2075
2076         Reviewed by Ojan Vafai.
2077
2078         Update overridden methods to match new signatures.
2079
2080         * tests/IDBAbortOnCorruptTest.cpp:
2081         (WebCore::FailingBackingStore::createIDBDatabaseMetaData):
2082         * tests/IDBFakeBackingStore.h:
2083
2084 2012-08-02  Vincent Scheib  <scheib@chromium.org>
2085
2086         Remove old Pointer Lock API.
2087         https://bugs.webkit.org/show_bug.cgi?id=88892
2088
2089         Reviewed by Adam Barth.
2090
2091         * src/WebViewImpl.cpp:
2092             Removed #include to old API header.
2093
2094 2012-08-02  Tien-Ren Chen  <trchen@chromium.org>
2095
2096         [chromium] Add CCScrollbarAnimationController class for compositor scrollbar animation
2097         https://bugs.webkit.org/show_bug.cgi?id=91688
2098
2099         Reviewed by Adrienne Walker.
2100
2101         New unit test ScrollbarLayerChromiumTest.scrollOffsetSynchronization to verify
2102         scroll offset is updated during tree synchronization and threaded scrolling.
2103         Another new unit test CCScrollbarAnimationControllerLinearFadeTest to verify
2104         opacity animates as intended.
2105
2106         * tests/ScrollbarLayerChromiumTest.cpp:
2107
2108 2012-08-02  Adrienne Walker  <enne@google.com>
2109
2110         [chromium] Make CCScrollbarLayerImpl handle lost contexts properly
2111         https://bugs.webkit.org/show_bug.cgi?id=93021
2112
2113         Reviewed by James Robinson.
2114
2115         Add CCScrollbarLayerImpl to the dontUseOldResourceAfterLostContext
2116         test. Additionally, modify this test so that stale resource ids
2117         properly point at invalid texture ids so that the test actually tests
2118         what it is supposed to be testing.
2119
2120         * tests/CCLayerTreeHostImplTest.cpp:
2121
2122 2012-08-02  Adam Barth  <abarth@webkit.org>
2123
2124         The generic bindings shouldn't use templates
2125         https://bugs.webkit.org/show_bug.cgi?id=93016
2126
2127         Reviewed by Eric Seidel.
2128
2129         Update #include.
2130
2131         * src/WebBindings.cpp:
2132
2133 2012-08-02  Peter Beverloo  <peter@chromium.org>
2134
2135         [Chromium] Add a stub for WebView::getTouchHighlightQuads()
2136         https://bugs.webkit.org/show_bug.cgi?id=92997
2137
2138         Reviewed by Adam Barth.
2139
2140         Chrome on Android will be using this method for the link preview
2141         implementation, discussion about which is available in Bug 79150. Since
2142         that system is fairly big, will require refactoring, and the unavailable
2143         APIs are blocking API compatibility, add a stub for now.
2144
2145         Together with the WebView API, also add the "WebTouchCandidatesInfo"
2146         structure which is being used by it.
2147
2148         * public/WebView.h:
2149         (WebKit):
2150         (WebView):
2151         * src/WebViewImpl.cpp:
2152         (WebKit):
2153         (WebKit::WebViewImpl::getTouchHighlightQuads):
2154         * src/WebViewImpl.h:
2155         (WebViewImpl):
2156
2157 2012-08-02  Hans Wennborg  <hans@chromium.org>
2158
2159         Speech JavaScript API: Fire speech start event at the same time as sound start event
2160         https://bugs.webkit.org/show_bug.cgi?id=92971
2161
2162         Reviewed by Adam Barth.
2163
2164         Chromium's speech recognizer doesn't differentiate between "sound
2165         started" and "speech started". Just fire those events at the same
2166         time, and don't provide functions for them in
2167         WebSpeechRecognizerClient.
2168
2169         * public/WebSpeechRecognizerClient.h:
2170         * src/SpeechRecognitionClientProxy.cpp:
2171         (WebKit::SpeechRecognitionClientProxy::didStartSound):
2172         (WebKit::SpeechRecognitionClientProxy::didEndSound):
2173         * src/SpeechRecognitionClientProxy.h:
2174         (SpeechRecognitionClientProxy):
2175
2176 2012-08-02  Adam Barth  <abarth@webkit.org>
2177
2178         [Chromium] WebViewImpl::showTouchHighlightQuads isn't needed for Android
2179         https://bugs.webkit.org/show_bug.cgi?id=92921
2180
2181         Reviewed by Nate Chapin.
2182
2183         We originally added a stub implementation of this function to make
2184         merging detectContentOnTouch easier, but showTouchHighlightQuads is
2185         being removed from the chromium-android branch in favor of the code in
2186         https://bugs.webkit.org/show_bug.cgi?id=84487. This patch removes the
2187         stub.
2188
2189         * src/WebViewImpl.cpp:
2190         (WebKit::WebViewImpl::detectContentIntentOnTouch):
2191         * src/WebViewImpl.h:
2192         (WebViewImpl):
2193
2194 2012-08-02  Peter Beverloo  <peter@chromium.org>
2195
2196         [Chromium] Toggle the type of ant compile for webkit_unit_tests and TestWebKitAPI
2197         https://bugs.webkit.org/show_bug.cgi?id=92858
2198
2199         Reviewed by Adam Barth.
2200
2201         Now that the sdk_build variable is available, we can remove these two differences
2202         as well. This goes together with Adam's bug 90920.
2203
2204         After this patch, the whole Tools/ directory will be unforked :-).
2205
2206         * WebKitUnitTests.gyp:
2207
2208 2012-08-02  Alexei Filippov  <alexeif@chromium.org>
2209
2210         Web Inspector: count RenderStyle objects in the native memory profiler
2211         https://bugs.webkit.org/show_bug.cgi?id=91759
2212
2213         Reviewed by Yury Semikhatsky.
2214
2215         Add a test for DataRef<T> wrapped member instrumentation.
2216
2217         * tests/MemoryInstrumentationTest.cpp:
2218         (WebCore::InstrumentedRefPtr::create):
2219         (WebCore::TEST):
2220         (WebCore):
2221
2222 2012-08-02  Peter Beverloo  <peter@chromium.org>
2223
2224         Unreviewed.  Rolled DEPS.
2225
2226         * DEPS:
2227
2228 2012-08-01  Ilya Tikhonovsky  <loislo@chromium.org>
2229
2230         Web Inspector: test native memory instrumentation code with help of unittests
2231         https://bugs.webkit.org/show_bug.cgi?id=92743
2232
2233         Reviewed by Yury Semikhatsky.
2234
2235         Test a part of existing Native Memory Instrumentation code with help of unit tests.
2236         6 tests were added and two bugs were fixed.
2237         a drive-by improvement: the method MemoryInstrumentation::addInstrumentedObject
2238         was marked as private and addRootObject was introduced instead of it.
2239         The new function also calls processDeferedPointers.
2240
2241         * WebKit.gypi:
2242         * tests/MemoryInstrumentationTest.cpp: Added.
2243         (WebCore):
2244         (NotInstrumented):
2245         (Instrumented):
2246         (WebCore::Instrumented::Instrumented):
2247         (WebCore::Instrumented::~Instrumented):
2248         (WebCore::Instrumented::reportMemoryUsage):
2249         (WebCore::TEST):
2250         (InstrumentedWithOwnPtr):
2251         (WebCore::InstrumentedWithOwnPtr::InstrumentedWithOwnPtr):
2252         (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
2253
2254 2012-08-01  Xingnan Wang  <xingnan.wang@intel.com>
2255
2256         IndexedDB: ObjectStoreMetaDataKey::m_metaDataType should use byte type
2257         https://bugs.webkit.org/show_bug.cgi?id=92725
2258
2259         Reviewed by Kentaro Hara.
2260
2261         Add two new tests in IDBLevelDBCodingTest.cpp. One for an added function decodeByte() and 
2262         another for verifying that encodeByte() and encodeVarInt() are indentical when the encoded 
2263         values are <= 127.
2264
2265         * tests/IDBLevelDBCodingTest.cpp:
2266         (IDBLevelDBCoding::TEST):
2267         (IDBLevelDBCoding):
2268
2269 2012-08-01  James Robinson  <jamesr@chromium.org>
2270
2271         [chromium] Use new-style tracing macros with explicit category
2272         https://bugs.webkit.org/show_bug.cgi?id=92928
2273
2274         Reviewed by Adam Barth.
2275
2276         Set the category explicitly in traces.
2277
2278         * src/WebViewImpl.cpp:
2279         (WebKit::WebViewImpl::updateAnimations):
2280         (WebKit::WebViewImpl::layout):
2281         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2282
2283 2012-08-01  James Robinson  <jamesr@chromium.org>
2284
2285         [chromium] Move compositor HUD font atlas initialization code out of compositor core
2286         https://bugs.webkit.org/show_bug.cgi?id=92924
2287
2288         Reviewed by Adrienne Walker.
2289
2290         This initializes the compositor's font atlas when initialization the compositor if the "Show FPS counter" or
2291         "Show layer tree" settings are true.
2292
2293         * src/WebLayerTreeView.cpp:
2294         (WebKit::WebLayerTreeView::setFontAtlas):
2295         (WebKit):
2296         * src/WebViewImpl.cpp:
2297         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2298
2299 2012-08-01  Jian Li  <jianli@chromium.org>
2300
2301         [chromium] Make WebKit API support draggable region change update
2302         https://bugs.webkit.org/show_bug.cgi?id=92813
2303
2304         Reviewed by Adam Barth.
2305
2306         Introduce WebDraggableRegion and delegate the draggable region update
2307         call to the new method draggableRegionsChanged in WebViewClient.
2308
2309         * public/WebDocument.h:
2310         (WebDocument):
2311         * public/WebDraggableRegion.h: Added.
2312         (WebKit):
2313         (WebDraggableRegion):
2314         * public/WebViewClient.h:
2315         (WebViewClient):
2316         (WebKit::WebViewClient::draggableRegionsChanged):
2317         * src/ChromeClientImpl.cpp:
2318         (WebKit):
2319         (WebKit::ChromeClientImpl::dashboardRegionsChanged):
2320         * src/ChromeClientImpl.h:
2321         (ChromeClientImpl):
2322         * src/WebDocument.cpp:
2323         (WebKit::WebDocument::draggableRegions):
2324         (WebKit):
2325
2326 2012-08-01  Antoine Labour  <piman@chromium.org>
2327
2328         [chromium] factor out the optimization pass in CCRenderSurfaceFilters::apply
2329         https://bugs.webkit.org/show_bug.cgi?id=92453
2330
2331         Reviewed by James Robinson.
2332
2333         This separates the "optimization" pass in CCRenderSurfaceFilters::apply
2334         to resolve a succession of color matrix filters into a single operation.
2335         This allows testing of that code.
2336         This introduces a new generic color matrix WebFilterOperation, which can
2337         also be used on its own.
2338
2339         * WebKit.gypi:
2340         * tests/CCRenderSurfaceFiltersTest.cpp: Added.
2341         (WebKit):
2342         (WebKit::isCombined):
2343         (WebKit::TEST):
2344
2345 2012-08-01  Daniel Murphy  <dmurph@chromium.org>
2346
2347         Fix for drawing invalid layers in WebViewBenchmarkSupportImpl
2348         https://bugs.webkit.org/show_bug.cgi?id=92920
2349
2350         Reviewed by Adrienne Walker.
2351
2352         The GraphicsLayers without content needed to be skipped.
2353
2354         * src/WebViewBenchmarkSupportImpl.cpp:
2355         (WebKit::WebViewBenchmarkSupportImpl::acceleratedPaintUnclipped):
2356
2357 2012-08-01  Jian Li  <jianli@chromium.org>
2358
2359         Add new CSS property "-webkit-widget-region" to expose dashboard region support for other port
2360         https://bugs.webkit.org/show_bug.cgi?id=90298
2361
2362         Reviewed by Adam Barth.
2363
2364         * features.gypi: Add ENABLE_WIDGET_REGION define.
2365
2366 2012-08-01  Antoine Labour  <piman@chromium.org>
2367
2368         [chromium] Fix lost context handling on hud layer
2369         https://bugs.webkit.org/show_bug.cgi?id=92915
2370
2371         Reviewed by Adrienne Walker.
2372
2373         On lost context we need to release CCScopedTextures, otherwise later on
2374         we will try to re-allocate it using a stale CCResourceProvider.
2375
2376         Test CCLayerTreeHostImplTest.dontUseOldResourcesAfterLostContext
2377         extended.
2378
2379         * tests/CCLayerTreeHostImplTest.cpp:
2380
2381 2012-08-01  Nico Weber  <thakis@chromium.org>
2382
2383         [chromium/mac] Delete WebImageCG.cpp
2384         https://bugs.webkit.org/show_bug.cgi?id=92910
2385
2386         Reviewed by James Robinson.
2387
2388         It's been unused since the switch to skia.
2389         Also remove now-unneeded *CG.cpp exclusion rule.
2390
2391         * WebKit.gyp:
2392         * src/WebImageCG.cpp: Removed.
2393
2394 2012-08-01  Joshua Bell  <jsbell@chromium.org>
2395
2396         [Chromium] IndexedDB: API stubs to simplify WebIDBCursor API
2397         https://bugs.webkit.org/show_bug.cgi?id=92414
2398
2399         Reviewed by Adam Barth.
2400
2401         Prep work to unblock Chromium changes so that http://webkit.org/b/92278 can land.
2402         Adds no-op methods which will later be implemented; during the landing sequence,
2403         Chromium will call both the new methods and the old ones. The end goal is that
2404         the success callbacks for cursors will include the new key/primaryKey/value rather
2405         than requiring the callee to call back into the cursor backend to fetch them.
2406
2407         * public/WebIDBCallbacks.h:
2408         (WebIDBCallbacks):
2409         (WebKit::WebIDBCallbacks::onSuccess):
2410
2411 2012-08-01  Peter Beverloo  <peter@chromium.org>
2412
2413         [Text Autosizing] Provide an API for influencing the font scale factor
2414         https://bugs.webkit.org/show_bug.cgi?id=92882
2415
2416         Reviewed by Adam Barth.
2417
2418         Add an API to change Text Autosizing's font scale factor.
2419
2420         The font scale factor applied to Text Autosizing influences the sizing
2421         of text, and will influence the scaling of boosted blocks once the
2422         implementation progresses. For Android, it will be set to the font size
2423         chosen in the user's system-wide preferences.
2424
2425         * public/WebSettings.h:
2426         * src/WebSettingsImpl.cpp:
2427         (WebKit::WebSettingsImpl::setTextAutosizingFontScaleFactor):
2428         (WebKit):
2429         * src/WebSettingsImpl.h:
2430         (WebSettingsImpl):
2431
2432 2012-08-01  Dirk Pranke  <dpranke@chromium.org>
2433
2434         Roll chromium DEPS to 149416.
2435
2436         Unreviewed.
2437
2438         * DEPS:
2439
2440 2012-08-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2441
2442         Unreviewed, rolling out r124334.
2443         http://trac.webkit.org/changeset/124334
2444         https://bugs.webkit.org/show_bug.cgi?id=92879
2445
2446         Broke MemoryInstrumentationTest.sizeOf from webkit_unit_tests
2447         on Chromium canaries (Requested by apavlov1 on #webkit).
2448
2449         * WebKit.gypi:
2450         * tests/MemoryInstrumentationTest.cpp: Removed.
2451
2452 2012-08-01  Ilya Tikhonovsky  <loislo@chromium.org>
2453
2454         Web Inspector: test native memory instrumentation code with help of unittests
2455         https://bugs.webkit.org/show_bug.cgi?id=92743
2456
2457         Reviewed by Yury Semikhatsky.
2458
2459         Test a part of existing Native Memory Instrumentation code with help of unit tests.
2460         6 tests were added and two bugs were fixed.
2461
2462         * WebKit.gypi:
2463         * tests/MemoryInstrumentationTest.cpp: Added.
2464         (WebCore):
2465         (MemoryInstrumentationImpl):
2466         (WebCore::MemoryInstrumentationImpl::MemoryInstrumentationImpl):
2467         (WebCore::MemoryInstrumentationImpl::reportedSize):
2468         (WebCore::MemoryInstrumentationImpl::countObjectSize):
2469         (WebCore::MemoryInstrumentationImpl::processDeferredInstrumentedPointers):
2470         (NotInstrumented):
2471         (Instrumented):
2472         (WebCore::Instrumented::Instrumented):
2473         (WebCore::Instrumented::~Instrumented):
2474         (WebCore::Instrumented::reportMemoryUsage):
2475         (WebCore::TEST):
2476         (InstrumentedWithOwnPtr):
2477         (WebCore::InstrumentedWithOwnPtr::InstrumentedWithOwnPtr):
2478         (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
2479
2480 2012-08-01  Alexei Filippov  <alexeif@chromium.org>
2481
2482         Web Inspector: count DOM storage cache memory for native snapshot
2483         https://bugs.webkit.org/show_bug.cgi?id=91617
2484
2485         Reviewed by Yury Semikhatsky.
2486
2487         Add memory size used for DOM storage cache reporting interface.
2488
2489         * src/StorageAreaProxy.cpp:
2490         (WebCore::StorageAreaProxy::memoryBytesUsedByCache):
2491         (WebCore):
2492         * src/StorageAreaProxy.h:
2493         (StorageAreaProxy):
2494
2495 2012-07-31  Yoshifumi Inoue  <yosin@chromium.org>
2496
2497         [Chromium] Enable ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS
2498         https://bugs.webkit.org/show_bug.cgi?id=92822
2499
2500         Reviewed by Kent Tamura.
2501
2502         This patch enables ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS for Chromium
2503         port except for Android.
2504
2505         * features.gypi: Add ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS=1 to "feature_defines"
2506         block of OS != "android".
2507
2508 2012-07-31  Yusuf Ozuysal  <yusufo@google.com>
2509
2510         [chromium]Upstream WebViewImpl:StartPageScaleAnimation changes for Chrome for Android
2511         https://bugs.webkit.org/show_bug.cgi?id=92698
2512
2513         Reviewed by Adam Barth.
2514
2515         Enforce the maximum and minimum scroll positions after the scale has changed.
2516
2517         * src/WebViewImpl.cpp:
2518         (WebKit::WebViewImpl::startPageScaleAnimation):
2519         * src/WebViewImpl.h:
2520         (WebViewImpl):
2521
2522 2012-07-31  Terry Anderson  <tdanderson@chromium.org>
2523
2524         [chromium] Use the event bounding box when constructing a PlatformEvent::GestureTap
2525         https://bugs.webkit.org/show_bug.cgi?id=92151
2526
2527         Reviewed by Darin Fisher.
2528
2529         Now that gesture events store a bounding box, use |boundingBox| instead of
2530         |deltaX| and |deltaY| when specifying |m_area|.
2531
2532         * public/WebInputEvent.h:
2533         (WebGestureEvent):
2534         * src/WebInputEventConversion.cpp:
2535         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2536
2537 2012-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
2538
2539         Unreviewed.  Rolled DEPS.
2540
2541         * DEPS:
2542
2543 2012-07-31  Shawn Singh  <shawnsingh@chromium.org>
2544
2545         [chromium] Hit test points are being clipped by layers that should not clip
2546         https://bugs.webkit.org/show_bug.cgi?id=92786
2547
2548         Reviewed by James Robinson.
2549
2550         * tests/CCLayerTreeHostCommonTest.cpp: adds a test where the
2551           hit-testable layer does not overlap its parent. The parent does
2552           not clip, so the layer should still be hittable.
2553
2554 2012-07-31  Chris Rogers  <crogers@google.com>
2555
2556         Allow AudioDestination to support local/live audio input
2557         https://bugs.webkit.org/show_bug.cgi?id=90318
2558
2559         Reviewed by Kenneth Russell.
2560
2561         * src/AudioDestinationChromium.cpp:
2562         (WebCore::AudioDestination::create):
2563         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2564         (WebCore::AudioDestinationChromium::provideInput):
2565         (WebCore):
2566         * src/AudioDestinationChromium.h:
2567         (AudioDestinationChromium):
2568
2569 2012-07-31  Adam Barth  <abarth@webkit.org>
2570
2571         [Chromium-Android] We should hueristically detect content intents on touch
2572         https://bugs.webkit.org/show_bug.cgi?id=92346
2573
2574         Reviewed by Nate Chapin.
2575
2576         On Android, when the user touches a block of text, we run a bunch of
2577         OS-provided hueristics to detect content intents, such as telephone
2578         numbers and mailing addresses.
2579
2580         This patch introduces the WebViewClient functions and the
2581         detectContentIntentOnTouch function, but does not wire the code into
2582         the event system. There are some decisions to make about how to wire it
2583         into the event system, we'll tackle in the next patch.
2584
2585         * public/WebViewClient.h:
2586         (WebKit::WebViewClient::detectContentIntentAround):
2587         (WebViewClient):
2588         (WebKit::WebViewClient::scheduleContentIntent):
2589         (WebKit::WebViewClient::cancelScheduledContentIntents):
2590         * src/WebViewImpl.cpp:
2591         (WebKit):
2592         (WebKit::tapHighlightColorForNode):
2593         (WebKit::WebViewImpl::showTouchHighlightQuads):
2594         (WebKit::WebViewImpl::detectContentIntentOnTouch):
2595         * src/WebViewImpl.h:
2596         (WebViewImpl):
2597
2598 2012-07-31  Ian Vollick  <vollick@chromium.org>
2599
2600         [chromium] Use WebAnimation and related classes in GraphicsLayerChromium and AnimTranslationUtil
2601         https://bugs.webkit.org/show_bug.cgi?id=90468
2602
2603         Reviewed by James Robinson.
2604
2605         * src/WebAnimation.cpp:
2606         (WebKit::WebAnimation::targetProperty):
2607         (WebKit):
2608         (WebKit::WebAnimation::initialize):
2609         * src/WebLayer.cpp:
2610         (WebKit::WebLayer::setAnimationDelegate):
2611         (WebKit):
2612         (WebKit::WebLayer::addAnimation):
2613         (WebKit::WebLayer::removeAnimation):
2614         (WebKit::WebLayer::pauseAnimation):
2615         (WebKit::WebLayer::suspendAnimations):
2616         (WebKit::WebLayer::resumeAnimations):
2617         (WebKit::WebLayer::transferAnimationsTo):
2618         * tests/CCThreadedTest.cpp:
2619         * tests/CCThreadedTest.h:
2620         (TestHooks):
2621         * tests/WebAnimationTest.cpp:
2622         (WebKit::TEST):
2623
2624 2012-07-30  Adam Barth  <abarth@webkit.org>
2625
2626         Typo: doubleTa*b*ZoomAnimationDurationInSeconds in WebViewImpl.cpp
2627         https://bugs.webkit.org/show_bug.cgi?id=92135
2628
2629         Reviewed by Kentaro Hara.
2630
2631         This patch fixes a typo.
2632
2633         * src/WebViewImpl.cpp:
2634         (WebKit::WebViewImpl::animateZoomAroundPoint):
2635
2636 2012-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
2637
2638         Unreviewed, rolling out r124179.
2639         http://trac.webkit.org/changeset/124179
2640         https://bugs.webkit.org/show_bug.cgi?id=92730
2641
2642         Breaks Chromium Linux 32 bots with "error: integer constant is
2643         too large for 'long' type" in IDBLevelDBCodingTest.cpp
2644         (Requested by apavlov on #webkit).
2645
2646         * tests/IDBLevelDBCodingTest.cpp:
2647         (IDBLevelDBCoding::TEST):
2648
2649 2012-07-30  Keishi Hattori  <keishi@webkit.org>
2650
2651         Implement datalist UI for input type color for Chromium
2652         https://bugs.webkit.org/show_bug.cgi?id=92075
2653
2654         Reviewed by Kent Tamura.
2655
2656         Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
2657         ColorChooserUIController can control whether to open the color suggestion picker
2658         popup or the color chooser depending on the responses from ColorChooserClient.
2659
2660         * WebKit.gyp:
2661         * src/ChromeClientImpl.cpp:
2662         (WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
2663         (WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.
2664         * src/ChromeClientImpl.h:
2665         (WebKit):
2666         (ChromeClientImpl):
2667         * src/ColorChooserProxy.cpp: Removed.
2668         * src/ColorChooserProxy.h: Removed.
2669         * src/ColorChooserUIController.cpp: Added.
2670         (WebKit):
2671         (WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
2672         (WebKit::ColorChooserUIController::~ColorChooserUIController):
2673         (WebKit::ColorChooserUIController::setSelectedColor):
2674         (WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
2675         (WebKit::ColorChooserUIController::didChooseColor):
2676         (WebKit::ColorChooserUIController::didEndChooser):
2677         (WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
2678         (WebKit::ColorChooserUIController::writeDocument):
2679         (WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
2680         (WebKit::ColorChooserUIController::didClosePopup):
2681         (WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
2682         (WebKit::ColorChooserUIController::closePopup):
2683         (WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.
2684         * src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.
2685         (WebCore):
2686         (WebKit):
2687         (ColorChooserUIController):
2688         * src/WebColorChooserClientImpl.cpp: Removed.
2689
2690 2012-07-30  Ryosuke Niwa  <rniwa@webkit.org>
2691
2692         Roll out the DEPS roll (r124164) for now since it broke Chromium Mac builds.
2693
2694         * DEPS:
2695
2696 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
2697
2698         Unreviewed.  Rolled DEPS.
2699
2700         * DEPS:
2701
2702 2012-07-30  Adrienne Walker  <enne@google.com>
2703
2704         [chromium] Wrap ScrollbarLayerChromium in WebScrollbarLayer
2705         https://bugs.webkit.org/show_bug.cgi?id=91032
2706
2707         Reviewed by James Robinson.
2708
2709         Add implementation of WebScrollbarLayer to the client API.
2710
2711         * WebKit.gyp:
2712         * src/WebScrollbarLayer.cpp: Added.
2713         (WebKit):
2714         (WebKit::WebScrollbarLayer::setScrollLayer):
2715         (WebKit::WebScrollbarLayer::create):
2716         (WebKit::WebScrollbarLayer::WebScrollbarLayer):
2717         (WebKit::WebScrollbarLayer::operator=):
2718         (WebKit::WebScrollbarLayer::operator PassRefPtr<ScrollbarLayerChromium>):
2719
2720 2012-07-30  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2721
2722         Propagate gesture events to plugins.
2723         https://bugs.webkit.org/show_bug.cgi?id=92281
2724
2725         Reviewed by Adam Barth.
2726
2727         Propagate gesture events to plugins.
2728
2729         * src/WebInputEventConversion.cpp:
2730         (WebKit):
2731         (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
2732         * src/WebInputEventConversion.h:
2733         (WebCore):
2734         (WebKit):
2735         (WebGestureEventBuilder):
2736         * src/WebPluginContainerImpl.cpp:
2737         (WebKit::WebPluginContainerImpl::handleEvent):
2738         * src/WebPluginContainerImpl.h:
2739         (WebCore):
2740         (WebPluginContainerImpl):
2741
2742 2012-07-30  John Bates  <jbates@google.com>
2743
2744         Plumb vsync-enabled flag up to compositor thread and support disable-vsync
2745         https://bugs.webkit.org/show_bug.cgi?id=92323
2746
2747         Reviewed by James Robinson.
2748
2749         * public/WebSettings.h:
2750         * tests/CCFrameRateControllerTest.cpp:
2751         * src/WebLayerTreeView.cpp:
2752         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
2753         * src/WebSettingsImpl.cpp:
2754         (WebKit::WebSettingsImpl::WebSettingsImpl):
2755         (WebKit::WebSettingsImpl::setRenderVSyncEnabled):
2756         (WebKit):
2757         * src/WebSettingsImpl.h:
2758         (WebSettingsImpl):
2759         (WebKit::WebSettingsImpl::renderVSyncEnabled):
2760         * src/WebViewImpl.cpp:
2761         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2762
2763 2012-07-30  Adrienne Walker  <enne@google.com>
2764
2765         [chromium] Remove dependency on ScrollbarTheme from the compositor
2766         https://bugs.webkit.org/show_bug.cgi?id=90528
2767
2768         Reviewed by James Robinson.
2769
2770         Add implementations for WebScrollbarThemeGeometry and
2771         WebScrollbarThemePainter. Fill out additional API calls for
2772         WebPluginScrollbarImpl since it derives from WebScrollbar.
2773
2774         Add WebScrollbarImpl to the client API to wrap and own an existing
2775         WebCore Scrollbar object and provide the WebScrollbar interface.
2776
2777         By keeping WebScrollbar separate from WebScrollbarThemeGeometry, the
2778         compositor thread can create its own thread-safe data bag version of a
2779         WebScrollbar (CCScrollbarLayerImpl::CCScrollbar), but this requires
2780         WebScrollbarThemeClientImpl.
2781
2782         WebScrollbarThemeClientImpl does the reverse of WebScrollbarImpl; it
2783         wraps a WebScrollbar and provides the ScrollbarThemeClient interface.
2784         This is so that a WebScrollbar can be passed to the geometry and
2785         painter functions. Then, internally the WebScrollbarThemeClientImpl
2786         can be used to adapt the WebScrollbar to the ScrollbarThemeClient
2787         interface so the geometry and painter functions can call direct
2788         functions on ScrollbarThemeComposite.
2789
2790         * WebKit.gyp:
2791         * src/AssertMatchingEnums.cpp:
2792         * src/ExternalPopupMenu.h:
2793         (WebKit):
2794         * src/WebPluginScrollbarImpl.cpp:
2795         (WebKit::WebPluginScrollbarImpl::WebPluginScrollbarImpl):
2796         (WebKit::WebPluginScrollbarImpl::location):
2797         (WebKit):
2798         (WebKit::WebPluginScrollbarImpl::size):
2799         (WebKit::WebPluginScrollbarImpl::enabled):
2800         (WebKit::WebPluginScrollbarImpl::maximum):
2801         (WebKit::WebPluginScrollbarImpl::totalSize):
2802         (WebKit::WebPluginScrollbarImpl::isScrollViewScrollbar):
2803         (WebKit::WebPluginScrollbarImpl::isScrollableAreaActive):
2804         (WebKit::WebPluginScrollbarImpl::getTickmarks):
2805         (WebKit::WebPluginScrollbarImpl::controlSize):
2806         (WebKit::WebPluginScrollbarImpl::pressedPart):
2807         (WebKit::WebPluginScrollbarImpl::hoveredPart):
2808         (WebKit::WebPluginScrollbarImpl::scrollbarOverlayStyle):
2809         (WebKit::WebPluginScrollbarImpl::orientation):
2810         (WebKit::WebPluginScrollbarImpl::isCustomScrollbar):
2811         (WebKit::WebPluginScrollbarImpl::onMouseUp):
2812         (WebKit::WebPluginScrollbarImpl::onMouseMove):
2813         (WebKit::WebPluginScrollbarImpl::onMouseLeave):
2814         * src/WebPluginScrollbarImpl.h:
2815         (WebPluginScrollbarImpl):
2816         * src/WebScrollbarImpl.cpp: Added.
2817         (WebKit):
2818         (WebKit::WebScrollbar::create):
2819         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
2820         (WebKit::WebScrollbarImpl::isOverlay):
2821         (WebKit::WebScrollbarImpl::value):
2822         (WebKit::WebScrollbarImpl::location):
2823         (WebKit::WebScrollbarImpl::size):
2824         (WebKit::WebScrollbarImpl::enabled):
2825         (WebKit::WebScrollbarImpl::maximum):
2826         (WebKit::WebScrollbarImpl::totalSize):
2827         (WebKit::WebScrollbarImpl::isScrollViewScrollbar):
2828         (WebKit::WebScrollbarImpl::isScrollableAreaActive):
2829         (WebKit::WebScrollbarImpl::getTickmarks):
2830         (WebKit::WebScrollbarImpl::controlSize):
2831         (WebKit::WebScrollbarImpl::pressedPart):
2832         (WebKit::WebScrollbarImpl::hoveredPart):
2833         (WebKit::WebScrollbarImpl::scrollbarOverlayStyle):
2834         (WebKit::WebScrollbarImpl::orientation):
2835         (WebKit::WebScrollbarImpl::isCustomScrollbar):
2836         * src/WebScrollbarImpl.h: Copied from Source/Platform/chromium/public/WebScrollbar.h.
2837         (WebCore):
2838         (WebKit):
2839         (WebScrollbarImpl):
2840         * src/WebScrollbarThemeClientImpl.cpp: Added.
2841         (WebKit):
2842         (WebKit::WebScrollbarThemeClientImpl::WebScrollbarThemeClientImpl):
2843         (WebKit::WebScrollbarThemeClientImpl::x):
2844         (WebKit::WebScrollbarThemeClientImpl::y):
2845         (WebKit::WebScrollbarThemeClientImpl::width):
2846         (WebKit::WebScrollbarThemeClientImpl::height):
2847         (WebKit::WebScrollbarThemeClientImpl::size):
2848         (WebKit::WebScrollbarThemeClientImpl::location):
2849         (WebKit::WebScrollbarThemeClientImpl::parent):
2850         (WebKit::WebScrollbarThemeClientImpl::root):
2851         (WebKit::WebScrollbarThemeClientImpl::setFrameRect):
2852         (WebKit::WebScrollbarThemeClientImpl::frameRect):
2853         (WebKit::WebScrollbarThemeClientImpl::invalidate):
2854         (WebKit::WebScrollbarThemeClientImpl::invalidateRect):
2855         (WebKit::WebScrollbarThemeClientImpl::scrollbarOverlayStyle):
2856         (WebKit::WebScrollbarThemeClientImpl::getTickmarks):
2857         (WebKit::WebScrollbarThemeClientImpl::isScrollableAreaActive):
2858         (WebKit::WebScrollbarThemeClientImpl::isScrollViewScrollbar):
2859         (WebKit::WebScrollbarThemeClientImpl::convertFromContainingWindow):
2860         (WebKit::WebScrollbarThemeClientImpl::isCustomScrollbar):
2861         (WebKit::WebScrollbarThemeClientImpl::orientation):
2862         (WebKit::WebScrollbarThemeClientImpl::value):
2863         (WebKit::WebScrollbarThemeClientImpl::currentPos):
2864         (WebKit::WebScrollbarThemeClientImpl::visibleSize):
2865         (WebKit::WebScrollbarThemeClientImpl::totalSize):
2866         (WebKit::WebScrollbarThemeClientImpl::maximum):
2867         (WebKit::WebScrollbarThemeClientImpl::controlSize):
2868         (WebKit::WebScrollbarThemeClientImpl::lineStep):
2869         (WebKit::WebScrollbarThemeClientImpl::pageStep):
2870         (WebKit::WebScrollbarThemeClientImpl::pressedPart):
2871         (WebKit::WebScrollbarThemeClientImpl::hoveredPart):
2872         (WebKit::WebScrollbarThemeClientImpl::styleChanged):
2873         (WebKit::WebScrollbarThemeClientImpl::enabled):
2874         (WebKit::WebScrollbarThemeClientImpl::setEnabled):
2875         (WebKit::WebScrollbarThemeClientImpl::isOverlayScrollbar):
2876         * src/WebScrollbarThemeClientImpl.h: Added.
2877         (WebCore):
2878         (WebKit):
2879         (WebScrollbarThemeClientImpl):
2880         * src/WebScrollbarThemeGeometry.cpp: Added.
2881         (WebKit):
2882         (WebKit::WebScrollbarThemeGeometry::assign):
2883         (WebKit::WebScrollbarThemeGeometry::thumbPosition):
2884         (WebKit::WebScrollbarThemeGeometry::thumbLength):
2885         (WebKit::WebScrollbarThemeGeometry::trackPosition):
2886         (WebKit::WebScrollbarThemeGeometry::trackLength):
2887         (WebKit::WebScrollbarThemeGeometry::hasButtons):
2888         (WebKit::WebScrollbarThemeGeometry::hasThumb):
2889         (WebKit::WebScrollbarThemeGeometry::trackRect):
2890         (WebKit::WebScrollbarThemeGeometry::thumbRect):
2891         (WebKit::WebScrollbarThemeGeometry::minimumThumbLength):
2892         (WebKit::WebScrollbarThemeGeometry::scrollbarThickness):
2893         (WebKit::WebScrollbarThemeGeometry::backButtonStartRect):
2894         (WebKit::WebScrollbarThemeGeometry::backButtonEndRect):
2895         (WebKit::WebScrollbarThemeGeometry::forwardButtonStartRect):
2896         (WebKit::WebScrollbarThemeGeometry::forwardButtonEndRect):
2897         (WebKit::WebScrollbarThemeGeometry::constrainTrackRectToTrackPieces):
2898         (WebKit::WebScrollbarThemeGeometry::splitTrack):
2899         (WebKit::WebScrollbarThemeGeometry::WebScrollbarThemeGeometry):
2900         * src/WebScrollbarThemePainter.cpp: Added.
2901         (WebKit):
2902         (WebKit::WebScrollbarThemePainter::assign):
2903         (WebKit::WebScrollbarThemePainter::paintScrollbarBackground):
2904         (WebKit::WebScrollbarThemePainter::paintTrackBackground):
2905         (WebKit::WebScrollbarThemePainter::paintBackTrackPart):
2906         (WebKit::WebScrollbarThemePainter::paintForwardTrackPart):
2907         (WebKit::WebScrollbarThemePainter::paintBackButtonStart):
2908         (WebKit::WebScrollbarThemePainter::paintBackButtonEnd):
2909         (WebKit::WebScrollbarThemePainter::paintForwardButtonStart):
2910         (WebKit::WebScrollbarThemePainter::paintForwardButtonEnd):
2911         (WebKit::WebScrollbarThemePainter::paintTickmarks):
2912         (WebKit::WebScrollbarThemePainter::paintThumb):
2913         (WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):
2914         * tests/ScrollbarLayerChromiumTest.cpp:
2915         (WebCore::MockScrollbar::convertFromContainingWindow):
2916         (WebCore::MockScrollbar::isOverlayScrollbar):
2917         (MockScrollbar):
2918         (WebCore::TEST):
2919
2920 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
2921
2922         Unreviewed, rolling out r124025.
2923         http://trac.webkit.org/changeset/124025
2924         https://bugs.webkit.org/show_bug.cgi?id=92658
2925
2926         Causes color-suggestion-picker-appearance layout test to time
2927         out on all Chromium platforms (Requested by tomhudson_ on
2928         #webkit).
2929
2930         * WebKit.gyp:
2931         * src/ChromeClientImpl.cpp:
2932         (WebKit::ChromeClientImpl::createColorChooser):
2933         * src/ChromeClientImpl.h:
2934         (WebCore):
2935         (ChromeClientImpl):
2936         * src/ColorChooserProxy.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
2937         (WebKit):
2938         (WebKit::ColorChooserProxy::ColorChooserProxy):
2939         (WebKit::ColorChooserProxy::~ColorChooserProxy):
2940         (WebKit::ColorChooserProxy::setSelectedColor):
2941         (WebKit::ColorChooserProxy::endChooser):
2942         * src/ColorChooserProxy.h: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
2943         (WebKit):
2944         (ColorChooserProxy):
2945         * src/ColorChooserUIController.cpp: Removed.
2946         * src/WebColorChooserClientImpl.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
2947         (WebKit):
2948         (WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
2949         (WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
2950         (WebKit::WebColorChooserClientImpl::didChooseColor):
2951         (WebKit::WebColorChooserClientImpl::didEndChooser):
2952         * src/WebColorChooserClientImpl.h: Renamed from Source/WebKit/chromium/src/ColorChooserUIController.h.
2953         (WebCore):
2954         (WebKit):
2955         (WebColorChooserClientImpl):
2956
2957 2012-07-30  Keishi Hattori  <keishi@webkit.org>
2958
2959         Implement datalist UI for input type color for Chromium
2960         https://bugs.webkit.org/show_bug.cgi?id=92075
2961
2962         Reviewed by Kent Tamura.
2963
2964         Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
2965         ColorChooserUIController can control whether to open the color suggestion picker
2966         popup or the color chooser depending on the responses from ColorChooserClient.
2967
2968         * WebKit.gyp:
2969         * src/ChromeClientImpl.cpp:
2970         (WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
2971         (WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.
2972         * src/ChromeClientImpl.h:
2973         (WebKit):
2974         (ChromeClientImpl):
2975         * src/ColorChooserProxy.cpp: Removed.
2976         * src/ColorChooserProxy.h: Removed.
2977         * src/ColorChooserUIController.cpp: Added.
2978         (WebKit):
2979         (WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
2980         (WebKit::ColorChooserUIController::~ColorChooserUIController):
2981         (WebKit::ColorChooserUIController::setSelectedColor):
2982         (WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
2983         (WebKit::ColorChooserUIController::didChooseColor):
2984         (WebKit::ColorChooserUIController::didEndChooser):
2985         (WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
2986         (WebKit::ColorChooserUIController::writeDocument):
2987         (WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
2988         (WebKit::ColorChooserUIController::didClosePopup):
2989         (WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
2990         (WebKit::ColorChooserUIController::closePopup):
2991         (WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.
2992         * src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.
2993         (WebCore):
2994         (WebKit):
2995         (ColorChooserUIController):
2996         * src/WebColorChooserClientImpl.cpp: Removed.
2997
2998 2012-07-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2999
3000         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
3001         https://bugs.webkit.org/show_bug.cgi?id=92091
3002
3003         Reviewed by Hajime Morita.
3004
3005         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
3006         remove the old platform specific implementations as it exclusively tests WebCore functionality.
3007
3008         * public/WebFrame.h:
3009         (WebFrame):
3010         * src/WebFrameImpl.cpp:
3011         (WebKit):
3012         * src/WebFrameImpl.h:
3013         (WebFrameImpl):
3014
3015 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
3016
3017         Unreviewed, rolling out r124004.
3018         http://trac.webkit.org/changeset/124004
3019         https://bugs.webkit.org/show_bug.cgi?id=92622
3020
3021         Broke Android build (Requested by keishi on #webkit).
3022
3023         * WebKit.gyp:
3024         * src/ChromeClientImpl.cpp:
3025         (WebKit::ChromeClientImpl::createColorChooser):
3026         * src/ChromeClientImpl.h:
3027         (WebCore):
3028         (ChromeClientImpl):
3029         * src/ColorChooserProxy.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
3030         (WebKit):
3031         (WebKit::ColorChooserProxy::ColorChooserProxy):
3032         (WebKit::ColorChooserProxy::~ColorChooserProxy):
3033         (WebKit::ColorChooserProxy::setSelectedColor):
3034         (WebKit::ColorChooserProxy::endChooser):
3035         * src/ColorChooserProxy.h: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
3036         (WebKit):
3037         (ColorChooserProxy):
3038         * src/ColorChooserUIController.cpp: Removed.
3039         * src/WebColorChooserClientImpl.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
3040         (WebKit):
3041         (WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
3042         (WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
3043         (WebKit::WebColorChooserClientImpl::didChooseColor):
3044         (WebKit::WebColorChooserClientImpl::didEndChooser):
3045         * src/WebColorChooserClientImpl.h: Renamed from Source/WebKit/chromium/src/ColorChooserUIController.h.
3046         (WebCore):
3047         (WebKit):
3048         (WebColorChooserClientImpl):
3049
3050 2012-07-30  Keishi Hattori  <keishi@webkit.org>
3051
3052         Implement datalist UI for input type color for Chromium
3053         https://bugs.webkit.org/show_bug.cgi?id=92075
3054
3055         Reviewed by Kent Tamura.
3056
3057         Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
3058         ColorChooserUIController can control whether to open the color suggestion picker
3059         popup or the color chooser depending on the responses from ColorChooserClient.
3060
3061         * WebKit.gyp:
3062         * src/ChromeClientImpl.cpp:
3063         (WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
3064         (WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.
3065         * src/ChromeClientImpl.h:
3066         (WebKit):
3067         (ChromeClientImpl):
3068         * src/ColorChooserProxy.cpp: Removed.
3069         * src/ColorChooserProxy.h: Removed.
3070         * src/ColorChooserUIController.cpp: Added.
3071         (WebKit):
3072         (WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
3073         (WebKit::ColorChooserUIController::~ColorChooserUIController):
3074         (WebKit::ColorChooserUIController::setSelectedColor):
3075         (WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
3076         (WebKit::ColorChooserUIController::didChooseColor):
3077         (WebKit::ColorChooserUIController::didEndChooser):
3078         (WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
3079         (WebKit::ColorChooserUIController::writeDocument):
3080         (WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
3081         (WebKit::ColorChooserUIController::didClosePopup):
3082         (WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
3083         (WebKit::ColorChooserUIController::closePopup):
3084         (WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.
3085         * src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.
3086         (WebCore):
3087         (WebKit):
3088         (ColorChooserUIController):
3089         * src/WebColorChooserClientImpl.cpp: Removed.
3090
3091 2012-07-29  Lu Guanqun  <guanqun.lu@intel.com>
3092
3093         [chromium] pass acceleratePainting info to settings
3094         https://bugs.webkit.org/show_bug.cgi?id=92467
3095
3096         Reviewed by Eric Seidel.
3097
3098         The acceleratePainting info is not passed into settings correctly so
3099         that GPU composition would not use the code path of accelerated painting.
3100
3101         * src/WebLayerTreeView.cpp:
3102         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
3103
3104 2012-07-29  Rik Cabanier  <cabanier@adobe.com>
3105
3106         Add ENABLE_CSS_COMPOSITING flag
3107         https://bugs.webkit.org/show_bug.cgi?id=92553
3108
3109         Reviewed by Dirk Schulze.
3110
3111         Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
3112
3113         * features.gypi:
3114
3115 2012-07-28  Peter Kasting  <pkasting@google.com>
3116
3117         Sigh.  Just disable all the AutoResize tests after the first three.
3118         https://bugs.webkit.org/show_bug.cgi?id=92318 
3119
3120         Unreviewed, making bots happier.
3121
3122         * tests/WebViewTest.cpp:
3123
3124 2012-07-28  Peter Kasting  <pkasting@google.com>
3125
3126         Try disabling different test in hopes of tracking down the real problem.
3127         https://bugs.webkit.org/show_bug.cgi?id=92318 
3128
3129         Unreviewed, making bots happier.
3130
3131         * tests/WebViewTest.cpp:
3132
3133 2012-07-27  Peter Kasting  <pkasting@google.com>
3134
3135         Disable failing test.
3136         https://bugs.webkit.org/show_bug.cgi?id=92318 
3137
3138         Unreviewed, making bots happier.
3139
3140         * tests/WebViewTest.cpp:
3141
3142 2012-07-27  Scott Graham  <scottmg@chromium.org>
3143
3144         Change navigator.webkitGamepads[] to navigator.webkitGetGamepads()
3145         https://bugs.webkit.org/show_bug.cgi?id=92533
3146
3147         Reviewed by Adam Barth.
3148
3149         Renames for updated access point.
3150
3151         * src/WebRuntimeFeatures.cpp:
3152         (WebKit::WebRuntimeFeatures::enableGamepad):
3153         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
3154
3155 2012-07-27  Kevin Ellis  <kevers@chromium.org>
3156
3157         [chromium] Calendar for input type=date should be larger on devices that support touch input.
3158         https://bugs.webkit.org/show_bug.cgi?id=92424
3159
3160         Reviewed by Kent Tamura.
3161
3162         Plumbs the deviceSupportsTouch setting through to the popup page so
3163         that the Calendar popup can be enlarged on screens that support touch
3164         input.
3165
3166         * src/WebPagePopupImpl.cpp:
3167         (WebKit::WebPagePopupImpl::initPage):
3168
3169 2012-07-27  Peter Beverloo  <peter@chromium.org>
3170
3171         Unreviewed.  Rolled DEPS.
3172
3173         * DEPS:
3174
3175 2012-07-27  Oli Lan  <olilan@chromium.org>
3176
3177         [chromium] Fix issues in visiblePositionForWindowPoint (offscreen points / iframes).
3178         https://bugs.webkit.org/show_bug.cgi?id=79117
3179
3180         Fix two issues in WebFrameImpl::visiblePositionForWindowPoint.
3181
3182         1) If the point is off-screen, the visiblePosition is clipped to the screen.
3183            - The fix is to add HitTestRequest::IgnoreClipping.
3184
3185         2) The result is incorrect if the point is within an iframe.
3186            - This is because we are calling convertFromContainingWindow twice: once in windowToContents,
3187              and then explicitly as well.
3188            - This patch removes the explicit call to convertFromContainingWindow. 
3189
3190         Reviewed by Adam Barth.
3191
3192         * src/WebFrameImpl.cpp:
3193         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
3194
3195 2012-07-27  Peter Beverloo  <peter@chromium.org>
3196
3197         Unreviewed.  Rolled DEPS.
3198
3199         * DEPS:
3200
3201 2012-07-27  Alec Flett  <alecflett@chromium.org>
3202
3203         IndexedDB: inject index keys on cursor/objectstore/index get success handlers
3204         https://bugs.webkit.org/show_bug.cgi?id=91123
3205
3206         Reviewed by Tony Chang.
3207
3208         Remove method no longer used.
3209
3210         * tests/IDBFakeBackingStore.h:
3211
3212 2012-07-26  Yoshifumi Inoue  <yosin@chromium.org>
3213
3214         [Forms] Introduce runtime feature flags for input type datetime, datetimelocal, month, time, week
3215         https://bugs.webkit.org/show_bug.cgi?id=92339
3216
3217         Reviewed by Kent Tamura.
3218
3219         To detect compilation errors and test failure earlier, I would like
3220         build and run tests for input type datetime, datetime-local, month,
3221         time and week with runtime feature flags to avoid behavior changes
3222         on chromium browser.
3223
3224         This patch adds query and change functions for runtime features of
3225         input type datetime, datetime-local, month, time and week to WebRuntimeFeatures
3226         class for exposing DRT and chromium browser expermental flags.
3227
3228         * features.gypi: Turn on ENABLE_INPUT_TYPE_DATETIME, ENABLE_INPUT_TYPE_DATETIMELOCAL,
3229         ENABLE_INPUT_TYPE_MONTH, ENABLE_INPUT_TYPE_TIME, and ENABLE_INPUT_TYPE_WEEK for all OS.
3230         * public/WebRuntimeFeatures.h:
3231         (WebRuntimeFeatures):
3232         * src/WebRuntimeFeatures.cpp:
3233         (WebKit::WebRuntimeFeatures::enableInputTypeDateTime): Added.
3234         (WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled): Added.
3235         (WebKit::WebRuntimeFeatures::enableInputTypeDateTimeLocal): Added.
3236         (WebKit::WebRuntimeFeatures::isInputTypeDateTimeLocalEnabled): Added.
3237         (WebKit::WebRuntimeFeatures::enableInputTypeMonth): Added.
3238         (WebKit::WebRuntimeFeatures::isInputTypeMonthEnabled): Added.
3239         (WebKit::WebRuntimeFeatures::enableInputTypeTime): Added.
3240         (WebKit::WebRuntimeFeatures::isInputTypeTimeEnabled): Added.
3241         (WebKit::WebRuntimeFeatures::enableInputTypeWeek): Added.
3242         (WebKit::WebRuntimeFeatures::isInputTypeWeekEnabled): Added.
3243
3244 2012-07-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3245
3246         Unreviewed, rolling out r123799.
3247         http://trac.webkit.org/changeset/123799
3248         https://bugs.webkit.org/show_bug.cgi?id=92431
3249
3250         broke the Apple Mac build (Requested by bweinstein on
3251         #webkit).
3252
3253         * src/WebInputEventConversion.cpp:
3254         (WebKit):
3255         * src/WebInputEventConversion.h:
3256         (WebKit):
3257         * src/WebPluginContainerImpl.cpp:
3258         (WebKit::WebPluginContainerImpl::handleEvent):
3259         * src/WebPluginContainerImpl.h:
3260         (WebPluginContainerImpl):
3261
3262 2012-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3263
3264         Propagate gesture events to plugins.
3265         https://bugs.webkit.org/show_bug.cgi?id=92281
3266
3267         Reviewed by Adam Barth.
3268
3269         Propagate gesture events to plugins.
3270
3271         * src/WebInputEventConversion.cpp:
3272         (WebKit):
3273         (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
3274         * src/WebInputEventConversion.h:
3275         (WebCore):
3276         (WebKit):
3277         (WebGestureEventBuilder):
3278         * src/WebPluginContainerImpl.cpp:
3279         (WebKit::WebPluginContainerImpl::handleEvent):
3280         * src/WebPluginContainerImpl.h:
3281         (WebCore):
3282         (WebPluginContainerImpl):
3283
3284 2012-07-26  Adrienne Walker  <enne@google.com>
3285
3286         [chromium] Remove redundant surface origin transforms
3287         https://bugs.webkit.org/show_bug.cgi?id=91815
3288
3289         Reviewed by Stephen White.
3290
3291         Clean up use of origin transforms in tests. Where possible, test
3292         against the equivalent draw transform.
3293
3294         * tests/CCLayerTreeHostCommonTest.cpp:
3295         * tests/CCLayerTreeHostImplTest.cpp:
3296         * tests/CCRenderSurfaceTest.cpp:
3297
3298 2012-07-25  David Grogan  <dgrogan@chromium.org>
3299
3300         IndexedDB: WebKit API interfaces for "upgradeneeded" methods and events
3301         https://bugs.webkit.org/show_bug.cgi?id=92203
3302
3303         Reviewed by Adam Barth.
3304
3305         This is the beginning of our typical three-sided-patch process.
3306
3307         * public/WebIDBCallbacks.h:
3308         (WebKit::WebIDBCallbacks::onBlocked):
3309         (WebKit::WebIDBCallbacks::onUpgradeNeeded):
3310         * public/WebIDBDatabaseCallbacks.h:
3311         (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
3312         * public/WebIDBFactory.h:
3313         (WebIDBFactory):
3314         (WebKit::WebIDBFactory::open):
3315         * src/WebIDBFactoryImpl.cpp:
3316         (WebKit::WebIDBFactoryImpl::open):
3317         (WebKit):
3318         * src/WebIDBFactoryImpl.h:
3319         (WebIDBFactoryImpl):
3320
3321 2012-07-19  Adrienne Walker  <enne@google.com>
3322
3323         [chromium] Make all compositor screen space transforms operate on content rects
3324         https://bugs.webkit.org/show_bug.cgi?id=91807
3325
3326         Reviewed by Kenneth Russell.
3327
3328         Update tests that deal with screen space transforms to reflect this change.
3329
3330         * tests/CCLayerTreeHostCommonTest.cpp:
3331         * tests/TiledLayerChromiumTest.cpp:
3332
3333 2012-07-25  Andrew Wilson  <atwilson@chromium.org>
3334
3335         Unreviewed chromium change to disable failing WebViewTest.AutoResizeInBetweenSizes.
3336         https://bugs.webkit.org/show_bug.cgi?id=92318
3337
3338         * tests/WebViewTest.cpp:
3339
3340 2012-07-25  Scott Graham  <scottmg@chromium.org>
3341
3342         [Chromium] fix double->float warnings in CCLayerTreeHostCommonTest.cpp
3343         https://bugs.webkit.org/show_bug.cgi?id=92271
3344
3345         Reviewed by Adrienne Walker.
3346
3347         Fix compile warnings on Windows.
3348
3349         * tests/CCLayerTreeHostCommonTest.cpp:
3350
3351 2012-07-25  Dana Jansens  <danakj@chromium.org>
3352
3353         [chromium] Move WebFilterOperations from RenderPassDrawQuad to RenderPass
3354         https://bugs.webkit.org/show_bug.cgi?id=91885
3355
3356         Reviewed by Adrienne Walker.
3357
3358         * tests/CCLayerTreeHostImplTest.cpp:
3359         * tests/LayerRendererChromiumTest.cpp:
3360         (FakeCCRendererClient::FakeCCRendererClient):
3361         (FakeCCRendererClient::rootRenderPass):
3362         (FakeCCRendererClient::renderPassesInDrawOrder):
3363         (FakeCCRendererClient::renderPasses):
3364         (FakeCCRendererClient):
3365         (TEST_F):
3366         (TEST):
3367
3368 2012-07-24  Shawn Singh  <shawnsingh@chromium.org>
3369
3370         [chromium] Refactor CCLayerTreeHostCommon: move root layer special case initialization into internal code.
3371         https://bugs.webkit.org/show_bug.cgi?id=88953
3372
3373         Reviewed by Adrienne Walker.
3374
3375         Unit tests updated to account for the new less-special root layer setup.
3376           - most test cases just needed to remove root->renderSurface()->setContentBounds(), createRenderSurface(), and renderSurfaceLayerList.append().
3377           - some test cases originally relied on setting some awkward unconventional bounds of the rootLayer that were different than the rootLayer's renderSurface. these tests are updated.
3378           - a few minor cleanups otherwise.
3379
3380         * tests/CCDamageTrackerTest.cpp:
3381         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
3382         * tests/CCLayerIteratorTest.cpp:
3383         * tests/CCLayerTreeHostCommonTest.cpp:
3384         * tests/CCOcclusionTrackerTest.cpp:
3385         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
3386
3387 2012-07-25  Taiju Tsuiki  <tzik@chromium.org>
3388
3389         FileSystem should provide a way to delete filesystem.
3390         https://bugs.webkit.org/show_bug.cgi?id=91861
3391
3392         Reviewed by Adam Barth.
3393
3394         * public/WebFrameClient.h:
3395         (WebFrameClient):
3396         (WebKit::WebFrameClient::deleteFileSystem):
3397         * src/LocalFileSystemChromium.cpp: Add deleteFileSystem
3398         (WebCore::deleteFileSystemNotAllowed):
3399         (WebCore):
3400         (WebCore::LocalFileSystem::deleteFileSystem):
3401
3402 2012-07-25  Alok Priyadarshi  <alokp@chromium.org>
3403
3404         [chromium] WebViewBenchmarkSupport::paint API does not work with recording canvas
3405         https://bugs.webkit.org/show_bug.cgi?id=92008
3406
3407         Reviewed by Darin Fisher.
3408
3409         Moved the ownership of canvas to WebViewBenchmarkSupport::PaintClient.
3410
3411         * public/WebViewBenchmarkSupport.h:
3412         (PaintClient):
3413         (WebKit::WebViewBenchmarkSupport::PaintClient::willPaint):
3414         (WebKit::WebViewBenchmarkSupport::PaintClient::didPaint):
3415         * src/WebViewBenchmarkSupportImpl.cpp:
3416         (WebKit::WebViewBenchmarkSupportImpl::paintLayer):
3417         (WebKit::WebViewBenchmarkSupportImpl::softwarePaint):
3418
3419 2012-07-24  Dana Jansens  <danakj@chromium.org>
3420
3421         [chromium] Turn the debug HUD into a layer so that it can be drawn as a WebCompositorQuad
3422         https://bugs.webkit.org/show_bug.cgi?id=92182
3423
3424         Reviewed by Adrienne Walker.
3425
3426         * tests/LayerRendererChromiumTest.cpp:
3427         (TEST):
3428
3429 2012-07-25  Adrienne Walker  <enne@google.com>
3430
3431         [chromium] Unify compositor quadTransform/drawTransform/originTransform
3432         https://bugs.webkit.org/show_bug.cgi?id=91417
3433
3434         Reviewed by Kenneth Russell.
3435
3436         Clean up tests to refer to the new draw transform semantics.
3437
3438         * tests/CCDamageTrackerTest.cpp:
3439         (WebKitTests::createTestTreeWithOneSurface):
3440         (WebKitTests::createTestTreeWithTwoSurfaces):
3441         (WebKitTests::TEST_F):
3442         * tests/CCLayerSorterTest.cpp:
3443         * tests/CCLayerTreeHostCommonTest.cpp:
3444         * tests/CCLayerTreeHostImplTest.cpp:
3445         * tests/CCLayerTreeHostTest.cpp:
3446         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
3447         * tests/CCQuadCullerTest.cpp:
3448         * tests/TiledLayerChromiumTest.cpp:
3449
3450 2012-07-25  Kevin Ellis  <kevers@chromium.org>
3451
3452         [chromium] Calendar picker popup displays at wrong scale when deviceScaleFactor != 1.
3453         https://bugs.webkit.org/show_bug.cgi?id=92177
3454
3455         Manually tested at deviceScaleFactor = 1 and 2.
3456
3457         Reviewed by Kent Tamura.
3458
3459         The device scale factor was not being set for the calendar popup. 
3460         As a result, the popup was rendered too small on hidpi displays.
3461         This patch sets the device scale factor for any page popup.
3462
3463         * src/WebPagePopupImpl.cpp:
3464         (WebKit::WebPagePopupImpl::initPage):
3465