[Release] Webkit2-efl-123997_0.11.86
[framework/web/webkit-efl.git] / Source / WebKit / chromium / ChangeLog
1 <<<<<<< HEAD
2 2012-07-29  Lu Guanqun  <guanqun.lu@intel.com>
3 =======
4 2013-02-21  John Mellor  <johnme@chromium.org>
5
6         [chromium] Simplify computation of screenRect/windowRect.
7         https://bugs.webkit.org/show_bug.cgi?id=110456
8
9         Reviewed by Adam Barth.
10
11         This patch removes applyDeviceScaleFactorInCompositor checks
12         added by http://trac.webkit.org/changeset/139356 because
13         Chrome for Android now sizes its screen and window in DIP
14         units (like other platforms), so they are no longer necessary.
15
16         * src/ChromeClientImpl.cpp:
17         (WebKit::ChromeClientImpl::windowRect):
18
19 2013-02-21  Vsevolod Vlasov  <vsevik@chromium.org>
20 >>>>>>> 91ba1f4... [chromium] Simplify computation of screenRect/windowRect.
21
22         [chromium] pass acceleratePainting info to settings
23         https://bugs.webkit.org/show_bug.cgi?id=92467
24
25         Reviewed by Eric Seidel.
26
27         The acceleratePainting info is not passed into settings correctly so
28         that GPU composition would not use the code path of accelerated painting.
29
30         * src/WebLayerTreeView.cpp:
31         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
32
33 2012-07-29  Rik Cabanier  <cabanier@adobe.com>
34
35         Add ENABLE_CSS_COMPOSITING flag
36         https://bugs.webkit.org/show_bug.cgi?id=92553
37
38         Reviewed by Dirk Schulze.
39
40         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
41
42         * features.gypi:
43
44 2012-07-28  Peter Kasting  <pkasting@google.com>
45
46         Sigh.  Just disable all the AutoResize tests after the first three.
47         https://bugs.webkit.org/show_bug.cgi?id=92318 
48
49         Unreviewed, making bots happier.
50
51         * tests/WebViewTest.cpp:
52
53 2012-07-28  Peter Kasting  <pkasting@google.com>
54
55         Try disabling different test in hopes of tracking down the real problem.
56         https://bugs.webkit.org/show_bug.cgi?id=92318 
57
58         Unreviewed, making bots happier.
59
60         * tests/WebViewTest.cpp:
61
62 2012-07-27  Peter Kasting  <pkasting@google.com>
63
64         Disable failing test.
65         https://bugs.webkit.org/show_bug.cgi?id=92318 
66
67         Unreviewed, making bots happier.
68
69         * tests/WebViewTest.cpp:
70
71 2012-07-27  Scott Graham  <scottmg@chromium.org>
72
73         Change navigator.webkitGamepads[] to navigator.webkitGetGamepads()
74         https://bugs.webkit.org/show_bug.cgi?id=92533
75
76         Reviewed by Adam Barth.
77
78         Renames for updated access point.
79
80         * src/WebRuntimeFeatures.cpp:
81         (WebKit::WebRuntimeFeatures::enableGamepad):
82         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
83
84 2012-07-27  Kevin Ellis  <kevers@chromium.org>
85
86         [chromium] Calendar for input type=date should be larger on devices that support touch input.
87         https://bugs.webkit.org/show_bug.cgi?id=92424
88
89         Reviewed by Kent Tamura.
90
91         Plumbs the deviceSupportsTouch setting through to the popup page so
92         that the Calendar popup can be enlarged on screens that support touch
93         input.
94
95         * src/WebPagePopupImpl.cpp:
96         (WebKit::WebPagePopupImpl::initPage):
97
98 2012-07-27  Peter Beverloo  <peter@chromium.org>
99
100         Unreviewed.  Rolled DEPS.
101
102         * DEPS:
103
104 2012-07-27  Oli Lan  <olilan@chromium.org>
105
106         [chromium] Fix issues in visiblePositionForWindowPoint (offscreen points / iframes).
107         https://bugs.webkit.org/show_bug.cgi?id=79117
108
109         Fix two issues in WebFrameImpl::visiblePositionForWindowPoint.
110
111         1) If the point is off-screen, the visiblePosition is clipped to the screen.
112            - The fix is to add HitTestRequest::IgnoreClipping.
113
114         2) The result is incorrect if the point is within an iframe.
115            - This is because we are calling convertFromContainingWindow twice: once in windowToContents,
116              and then explicitly as well.
117            - This patch removes the explicit call to convertFromContainingWindow. 
118
119         Reviewed by Adam Barth.
120
121         * src/WebFrameImpl.cpp:
122         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
123
124 2012-07-27  Peter Beverloo  <peter@chromium.org>
125
126         Unreviewed.  Rolled DEPS.
127
128         * DEPS:
129
130 2012-07-27  Alec Flett  <alecflett@chromium.org>
131
132         IndexedDB: inject index keys on cursor/objectstore/index get success handlers
133         https://bugs.webkit.org/show_bug.cgi?id=91123
134
135         Reviewed by Tony Chang.
136
137         Remove method no longer used.
138
139         * tests/IDBFakeBackingStore.h:
140
141 2012-07-26  Yoshifumi Inoue  <yosin@chromium.org>
142
143         [Forms] Introduce runtime feature flags for input type datetime, datetimelocal, month, time, week
144         https://bugs.webkit.org/show_bug.cgi?id=92339
145
146         Reviewed by Kent Tamura.
147
148         To detect compilation errors and test failure earlier, I would like
149         build and run tests for input type datetime, datetime-local, month,
150         time and week with runtime feature flags to avoid behavior changes
151         on chromium browser.
152
153         This patch adds query and change functions for runtime features of
154         input type datetime, datetime-local, month, time and week to WebRuntimeFeatures
155         class for exposing DRT and chromium browser expermental flags.
156
157         * features.gypi: Turn on ENABLE_INPUT_TYPE_DATETIME, ENABLE_INPUT_TYPE_DATETIMELOCAL,
158         ENABLE_INPUT_TYPE_MONTH, ENABLE_INPUT_TYPE_TIME, and ENABLE_INPUT_TYPE_WEEK for all OS.
159         * public/WebRuntimeFeatures.h:
160         (WebRuntimeFeatures):
161         * src/WebRuntimeFeatures.cpp:
162         (WebKit::WebRuntimeFeatures::enableInputTypeDateTime): Added.
163         (WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled): Added.
164         (WebKit::WebRuntimeFeatures::enableInputTypeDateTimeLocal): Added.
165         (WebKit::WebRuntimeFeatures::isInputTypeDateTimeLocalEnabled): Added.
166         (WebKit::WebRuntimeFeatures::enableInputTypeMonth): Added.
167         (WebKit::WebRuntimeFeatures::isInputTypeMonthEnabled): Added.
168         (WebKit::WebRuntimeFeatures::enableInputTypeTime): Added.
169         (WebKit::WebRuntimeFeatures::isInputTypeTimeEnabled): Added.
170         (WebKit::WebRuntimeFeatures::enableInputTypeWeek): Added.
171         (WebKit::WebRuntimeFeatures::isInputTypeWeekEnabled): Added.
172
173 2012-07-26  Sheriff Bot  <webkit.review.bot@gmail.com>
174
175         Unreviewed, rolling out r123799.
176         http://trac.webkit.org/changeset/123799
177         https://bugs.webkit.org/show_bug.cgi?id=92431
178
179         broke the Apple Mac build (Requested by bweinstein on
180         #webkit).
181
182         * src/WebInputEventConversion.cpp:
183         (WebKit):
184         * src/WebInputEventConversion.h:
185         (WebKit):
186         * src/WebPluginContainerImpl.cpp:
187         (WebKit::WebPluginContainerImpl::handleEvent):
188         * src/WebPluginContainerImpl.h:
189         (WebPluginContainerImpl):
190
191 2012-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
192
193         Propagate gesture events to plugins.
194         https://bugs.webkit.org/show_bug.cgi?id=92281
195
196         Reviewed by Adam Barth.
197
198         Propagate gesture events to plugins.
199
200         * src/WebInputEventConversion.cpp:
201         (WebKit):
202         (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
203         * src/WebInputEventConversion.h:
204         (WebCore):
205         (WebKit):
206         (WebGestureEventBuilder):
207         * src/WebPluginContainerImpl.cpp:
208         (WebKit::WebPluginContainerImpl::handleEvent):
209         * src/WebPluginContainerImpl.h:
210         (WebCore):
211         (WebPluginContainerImpl):
212
213 2012-07-26  Adrienne Walker  <enne@google.com>
214
215         [chromium] Remove redundant surface origin transforms
216         https://bugs.webkit.org/show_bug.cgi?id=91815
217
218         Reviewed by Stephen White.
219
220         Clean up use of origin transforms in tests. Where possible, test
221         against the equivalent draw transform.
222
223         * tests/CCLayerTreeHostCommonTest.cpp:
224         * tests/CCLayerTreeHostImplTest.cpp:
225         * tests/CCRenderSurfaceTest.cpp:
226
227 2012-07-25  David Grogan  <dgrogan@chromium.org>
228
229         IndexedDB: WebKit API interfaces for "upgradeneeded" methods and events
230         https://bugs.webkit.org/show_bug.cgi?id=92203
231
232         Reviewed by Adam Barth.
233
234         This is the beginning of our typical three-sided-patch process.
235
236         * public/WebIDBCallbacks.h:
237         (WebKit::WebIDBCallbacks::onBlocked):
238         (WebKit::WebIDBCallbacks::onUpgradeNeeded):
239         * public/WebIDBDatabaseCallbacks.h:
240         (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
241         * public/WebIDBFactory.h:
242         (WebIDBFactory):
243         (WebKit::WebIDBFactory::open):
244         * src/WebIDBFactoryImpl.cpp:
245         (WebKit::WebIDBFactoryImpl::open):
246         (WebKit):
247         * src/WebIDBFactoryImpl.h:
248         (WebIDBFactoryImpl):
249
250 2012-07-19  Adrienne Walker  <enne@google.com>
251
252         [chromium] Make all compositor screen space transforms operate on content rects
253         https://bugs.webkit.org/show_bug.cgi?id=91807
254
255         Reviewed by Kenneth Russell.
256
257         Update tests that deal with screen space transforms to reflect this change.
258
259         * tests/CCLayerTreeHostCommonTest.cpp:
260         * tests/TiledLayerChromiumTest.cpp:
261
262 2012-07-25  Andrew Wilson  <atwilson@chromium.org>
263
264         Unreviewed chromium change to disable failing WebViewTest.AutoResizeInBetweenSizes.
265         https://bugs.webkit.org/show_bug.cgi?id=92318
266
267         * tests/WebViewTest.cpp:
268
269 2012-07-25  Scott Graham  <scottmg@chromium.org>
270
271         [Chromium] fix double->float warnings in CCLayerTreeHostCommonTest.cpp
272         https://bugs.webkit.org/show_bug.cgi?id=92271
273
274         Reviewed by Adrienne Walker.
275
276         Fix compile warnings on Windows.
277
278         * tests/CCLayerTreeHostCommonTest.cpp:
279
280 2012-07-25  Dana Jansens  <danakj@chromium.org>
281
282         [chromium] Move WebFilterOperations from RenderPassDrawQuad to RenderPass
283         https://bugs.webkit.org/show_bug.cgi?id=91885
284
285         Reviewed by Adrienne Walker.
286
287         * tests/CCLayerTreeHostImplTest.cpp:
288         * tests/LayerRendererChromiumTest.cpp:
289         (FakeCCRendererClient::FakeCCRendererClient):
290         (FakeCCRendererClient::rootRenderPass):
291         (FakeCCRendererClient::renderPassesInDrawOrder):
292         (FakeCCRendererClient::renderPasses):
293         (FakeCCRendererClient):
294         (TEST_F):
295         (TEST):
296
297 2012-07-24  Shawn Singh  <shawnsingh@chromium.org>
298
299         [chromium] Refactor CCLayerTreeHostCommon: move root layer special case initialization into internal code.
300         https://bugs.webkit.org/show_bug.cgi?id=88953
301
302         Reviewed by Adrienne Walker.
303
304         Unit tests updated to account for the new less-special root layer setup.
305           - most test cases just needed to remove root->renderSurface()->setContentBounds(), createRenderSurface(), and renderSurfaceLayerList.append().
306           - 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.
307           - a few minor cleanups otherwise.
308
309         * tests/CCDamageTrackerTest.cpp:
310         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
311         * tests/CCLayerIteratorTest.cpp:
312         * tests/CCLayerTreeHostCommonTest.cpp:
313         * tests/CCOcclusionTrackerTest.cpp:
314         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
315
316 2012-07-25  Taiju Tsuiki  <tzik@chromium.org>
317
318         FileSystem should provide a way to delete filesystem.
319         https://bugs.webkit.org/show_bug.cgi?id=91861
320
321         Reviewed by Adam Barth.
322
323         * public/WebFrameClient.h:
324         (WebFrameClient):
325         (WebKit::WebFrameClient::deleteFileSystem):
326         * src/LocalFileSystemChromium.cpp: Add deleteFileSystem
327         (WebCore::deleteFileSystemNotAllowed):
328         (WebCore):
329         (WebCore::LocalFileSystem::deleteFileSystem):
330
331 2012-07-25  Alok Priyadarshi  <alokp@chromium.org>
332
333         [chromium] WebViewBenchmarkSupport::paint API does not work with recording canvas
334         https://bugs.webkit.org/show_bug.cgi?id=92008
335
336         Reviewed by Darin Fisher.
337
338         Moved the ownership of canvas to WebViewBenchmarkSupport::PaintClient.
339
340         * public/WebViewBenchmarkSupport.h:
341         (PaintClient):
342         (WebKit::WebViewBenchmarkSupport::PaintClient::willPaint):
343         (WebKit::WebViewBenchmarkSupport::PaintClient::didPaint):
344         * src/WebViewBenchmarkSupportImpl.cpp:
345         (WebKit::WebViewBenchmarkSupportImpl::paintLayer):
346         (WebKit::WebViewBenchmarkSupportImpl::softwarePaint):
347
348 2012-07-24  Dana Jansens  <danakj@chromium.org>
349
350         [chromium] Turn the debug HUD into a layer so that it can be drawn as a WebCompositorQuad
351         https://bugs.webkit.org/show_bug.cgi?id=92182
352
353         Reviewed by Adrienne Walker.
354
355         * tests/LayerRendererChromiumTest.cpp:
356         (TEST):
357
358 2012-07-25  Adrienne Walker  <enne@google.com>
359
360         [chromium] Unify compositor quadTransform/drawTransform/originTransform
361         https://bugs.webkit.org/show_bug.cgi?id=91417
362
363         Reviewed by Kenneth Russell.
364
365         Clean up tests to refer to the new draw transform semantics.
366
367         * tests/CCDamageTrackerTest.cpp:
368         (WebKitTests::createTestTreeWithOneSurface):
369         (WebKitTests::createTestTreeWithTwoSurfaces):
370         (WebKitTests::TEST_F):
371         * tests/CCLayerSorterTest.cpp:
372         * tests/CCLayerTreeHostCommonTest.cpp:
373         * tests/CCLayerTreeHostImplTest.cpp:
374         * tests/CCLayerTreeHostTest.cpp:
375         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
376         * tests/CCQuadCullerTest.cpp:
377         * tests/TiledLayerChromiumTest.cpp:
378
379 2012-07-25  Kevin Ellis  <kevers@chromium.org>
380
381         [chromium] Calendar picker popup displays at wrong scale when deviceScaleFactor != 1.
382         https://bugs.webkit.org/show_bug.cgi?id=92177
383
384         Manually tested at deviceScaleFactor = 1 and 2.
385
386         Reviewed by Kent Tamura.
387
388         The device scale factor was not being set for the calendar popup. 
389         As a result, the popup was rendered too small on hidpi displays.
390         This patch sets the device scale factor for any page popup.
391
392         * src/WebPagePopupImpl.cpp:
393         (WebKit::WebPagePopupImpl::initPage):
394
395 2012-07-25  MORITA Hajime <morrita@google.com>
396
397         Another unreviewed win build fix against r123569.
398
399         * tests/IDBAbortOnCorruptTest.cpp:
400
401 2012-07-25  MORITA Hajime  <morrita@google.com>
402
403         Unreviewed win build fix against r123569.
404
405         * tests/IDBAbortOnCorruptTest.cpp:
406         * tests/IDBDatabaseBackendTest.cpp:
407
408 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
409
410         Unreviewed.  Rolled DEPS.
411
412         * DEPS:
413
414 2012-07-24  Dave Tu  <dtu@chromium.org>
415
416         [chromium] Move renderingStats from WebView to WebWidget.
417         https://bugs.webkit.org/show_bug.cgi?id=92184
418
419         Reviewed by Adam Barth.
420
421         We are going to add some rendering stats that work in non-composited mode, so the renderingStats() method should be moved from WebView to WebWidget.
422
423         * public/WebView.h:
424         (WebKit):
425         (WebView):
426         * public/WebWidget.h:
427         (WebKit):
428         (WebWidget):
429         (WebKit::WebWidget::renderingStats):
430         * src/WebViewImpl.h:
431         (WebViewImpl):
432
433 2012-07-24  Alec Flett  <alecflett@chromium.org>
434
435         IndexedDB: fix #include dependencies so IDBRequest isn't an include root
436         https://bugs.webkit.org/show_bug.cgi?id=92167
437
438         Reviewed by Tony Chang.
439
440         Remove implicit dependencies due to using IDBRequest.h, and fix all 
441         places that break as a result.
442
443         * src/IDBCallbacksProxy.cpp:
444         * src/WebIDBDatabaseImpl.cpp:
445         * src/WebIDBTransactionImpl.cpp:
446
447 2012-07-24  Adam Barth  <abarth@webkit.org>
448
449         [Chromium] Support scrolling and zooming to focused input elements
450         https://bugs.webkit.org/show_bug.cgi?id=91661
451
452         Reviewed by Darin Fisher.
453
454         This patch introduces saveScrollAndScaleState and
455         restoreScrollAndScaleState, which can be used to save and restore the
456         scroll and scale state of the WebView, respectively.  These functions
457         will be used by Chromium on Android to save the scale and scrolls state
458         before zoom into a text field so that we can "undo" the zoom if the
459         user didn't mean to zoom into the text field.
460
461         I wanted to write unit tests for these functions, but it wasn't clear
462         to me how to write the test because startPageScaleAnimation appears to
463         complete asynchronously.
464
465         * public/WebView.h:
466         (WebView):
467         * src/WebViewImpl.cpp:
468         (WebKit::WebViewImpl::WebViewImpl):
469         (WebKit::WebViewImpl::saveScrollAndScaleState):
470         (WebKit):
471         (WebKit::WebViewImpl::restoreScrollAndScaleState):
472         (WebKit::WebViewImpl::resetSavedScrollAndScaleState):
473         (WebKit::WebViewImpl::didCommitLoad):
474         * src/WebViewImpl.h:
475         (WebViewImpl):
476
477 2012-07-24  Dave Tu  <dtu@chromium.org>
478
479         [chromium] Add time spent painting to GPU benchmarking renderingStats() API.
480         https://bugs.webkit.org/show_bug.cgi?id=90019
481
482         Reviewed by Adrienne Walker.
483
484         * src/WebLayerTreeView.cpp:
485         (WebKit::WebLayerTreeView::renderingStats):
486         * tests/CCLayerTreeHostTest.cpp:
487         * tests/CCTiledLayerTestCommon.cpp:
488         (WebKitTests::FakeLayerTextureUpdater::Texture::prepareRect):
489         (WebKitTests::FakeTiledLayerChromium::update):
490         * tests/CCTiledLayerTestCommon.h:
491         (Texture):
492         (FakeTiledLayerChromium):
493         * tests/Canvas2DLayerBridgeTest.cpp:
494         * tests/ContentLayerChromiumTest.cpp:
495         (WebKit::TEST):
496         * tests/TiledLayerChromiumTest.cpp:
497
498 2012-07-24  Jian Li  <jianli@chromium.org>
499
500         Add per-context setting for html notifications
501         https://bugs.webkit.org/show_bug.cgi?id=91295
502
503         Reviewed by Adam Barth.
504
505         Add new per-context feature for chromium port.
506
507         * public/WebPermissionClient.h:
508         (WebPermissionClient):
509         (WebKit::WebPermissionClient::allowHTMLNotifications):
510         * src/ContextFeaturesClientImpl.cpp:
511         (WebKit::ContextFeaturesClientImpl::askIfIsEnabled):
512
513 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
514
515         Unreviewed, rolling out r123499.
516         http://trac.webkit.org/changeset/123499
517         https://bugs.webkit.org/show_bug.cgi?id=92161
518
519         Android fails to compile (Requested by zhenyao on #webkit).
520
521         * src/AssertMatchingEnums.cpp:
522
523 2012-07-24  Terry Anderson  <tdanderson@chromium.org>
524
525         [chromium] Add a bounding box member in WebGestureEvent
526         https://bugs.webkit.org/show_bug.cgi?id=92144
527
528         Reviewed by Adam Barth.
529
530         The new |boundingBox| member will be used to store the touch region for a WebGestureEvent.
531         This will be useful for gesture target fuzzing across multiple different gesture types
532         (tap, long press, scroll, etc.)
533
534         * public/WebInputEvent.h:
535         (WebGestureEvent):
536         * src/WebInputEvent.cpp:
537         (SameSizeAsWebGestureEvent):
538
539 2012-07-24  Nico Weber  <thakis@chromium.org>
540
541         [chromium/mac] Add cursor resource pngs to the pak file.
542         https://bugs.webkit.org/show_bug.cgi?id=92148
543
544         Reviewed by Tony Chang.
545
546         Once https://chromiumcodereview.appspot.com/10817031/ has landed, they can be
547         removed from WebCore.gyp's mac_bundle_resources. Part of http://crbug.com/137588
548
549         * WebKit.grd:
550
551 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
552
553         Unreviewed, rolling out r123472.
554         http://trac.webkit.org/changeset/123472
555         https://bugs.webkit.org/show_bug.cgi?id=92134
556
557         Revert roll to v8 version that crashes sporadically (Requested
558         by atwilson on #webkit).
559
560         * DEPS:
561
562 2012-07-24  Keishi Hattori  <keishi@webkit.org>
563
564         [Chromium] Page popup should close on mouse down
565         https://bugs.webkit.org/show_bug.cgi?id=92092
566
567         Reviewed by Kent Tamura.
568
569         Page popup should close on mouse down because some elements(e.g. <input type=color>) don't have a blur event that
570         we can hook to hide the page popup when the user clicks on the page.
571
572         * src/WebPagePopupImpl.h:
573         (WebKit::WebPagePopupImpl::hasSamePopupClient): Returns true if the given WebPagePopupImpl have the same popup client.
574         * src/WebViewImpl.cpp:
575         (WebKit::WebViewImpl::handleMouseDown): Close all popups when the page is clicked. Checks if the
576         mouse down event opened the same popup we just closed.
577
578 2012-07-24  Jochen Eisinger  <jochen@chromium.org>
579
580         Unreviewed.  Rolled DEPS.
581
582         * DEPS:
583
584 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
585
586         Unreviewed, rolling out r123463.
587         http://trac.webkit.org/changeset/123463
588         https://bugs.webkit.org/show_bug.cgi?id=92110
589
590         Broke Android build (Requested by keishi on #webkit).
591
592         * src/WebPagePopupImpl.h:
593         * src/WebViewImpl.cpp:
594         (WebKit::WebViewImpl::handleMouseDown):
595
596 2012-07-24  Keishi Hattori  <keishi@webkit.org>
597
598         [Chromium] Page popup should close on mouse down
599         https://bugs.webkit.org/show_bug.cgi?id=92092
600
601         Reviewed by Kent Tamura.
602
603         Page popup should close on mouse down because some elements(e.g. <input type=color>) don't have a blur event that
604         we can hook to hide the page popup when the user clicks on the page.
605
606         * src/WebPagePopupImpl.h:
607         (WebKit::WebPagePopupImpl::hasSamePopupClient): Returns true if the given WebPagePopupImpl have the same popup client.
608         * src/WebViewImpl.cpp:
609         (WebKit::WebViewImpl::handleMouseDown): Close all popups when the page is clicked. Checks if the
610         mouse down event opened the same popup we just closed.
611
612 2012-07-24  Anthony Scian  <ascian@rim.com>
613
614         Web Inspector [JSC]: Enable initiator column in network panel.
615         https://bugs.webkit.org/show_bug.cgi?id=65533
616
617         Reviewed by Vsevolod Vlasov.
618
619         With 40118 fixed for webkit, Preferences.displayInitiator should be set to true.
620         Removed references to it since the optionality is no longer required.
621
622         Test: http/tests/inspector/network/network-initiator.html
623
624         * src/js/DevTools.js:
625
626 2012-07-24  Peter Beverloo  <peter@chromium.org>
627
628         Unreviewed.  Rolled DEPS.
629
630         * DEPS:
631
632 2012-07-23  Mark Pilgrim  <pilgrim@chromium.org>
633
634         [Chromium] Move layoutTestMode to WebCore
635         https://bugs.webkit.org/show_bug.cgi?id=92010
636
637         Reviewed by Adam Barth.
638
639         Part of a refactoring series. See tracking bug 82948.
640
641         * src/PlatformSupport.cpp:
642         (WebCore):
643         * src/WebKit.cpp:
644         (WebKit::setLayoutTestMode):
645         (WebKit::layoutTestMode):
646
647 2012-07-23  Dave Tu  <dtu@chromium.org>
648
649         [chromium] Add droppedFrameCount to renderingStats.
650         https://bugs.webkit.org/show_bug.cgi?id=91694
651
652         Reviewed by Adrienne Walker.
653
654         * src/WebLayerTreeView.cpp:
655         (WebKit::WebLayerTreeView::renderingStats):
656         * tests/CCLayerTreeHostTest.cpp:
657         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
658
659 2012-07-23  Brian Anderson  <brianderson@chromium.org>
660
661         [chromium] Use shallow flushes that don't glFlush
662         https://bugs.webkit.org/show_bug.cgi?id=90325
663
664         Reviewed by Kenneth Russell.
665
666         Changed CCTextureUpdaterTest to recognize shallowFlushCHROMIUM().
667
668         * tests/CCTextureUpdaterTest.cpp:
669
670 2012-07-23  Adrienne Walker  <enne@google.com>
671
672         [chromium] Add more compositor unit tests for high DPI transforms
673         https://bugs.webkit.org/show_bug.cgi?id=91917
674
675         Reviewed by Kenneth Russell.
676
677         The current set of high DPI tests only deal with layers in a render
678         surface. Add some extra tests for non-surface layers. Also add a test
679         to make sure that an owning layer in a surface doesn't differ from a
680         non-owning layer in high DPI circumstances.
681
682         * tests/CCLayerTreeHostCommonTest.cpp:
683
684 2012-07-23  Shawn Singh  <shawnsingh@chromium.org>
685
686         [chromium] Fix unit tests in debug mode after r123375
687         https://bugs.webkit.org/show_bug.cgi?id=92030
688
689         Reviewed by Adrienne Walker.
690
691         Fixed two unit tests that were causing debug assertions because
692         they gave calcDrawTransforms an empty sized root layer.
693
694         * tests/CCLayerTreeHostCommonTest.cpp:
695
696 2012-07-23  Simon Fraser  <simon.fraser@apple.com>
697
698         Part 2 of: Implement sticky positioning
699         https://bugs.webkit.org/show_bug.cgi?id=90046
700
701         Reviewed by Ojan Vafai.
702
703         Turn on ENABLE_CSS_STICKY_POSITION.
704
705         * features.gypi:
706
707 2012-07-23  Shawn Singh  <shawnsingh@chromium.org>
708
709         [chromium] Refactor CCLayerTreeHostCommon: clean up clipRect and drawableContentRect design
710         https://bugs.webkit.org/show_bug.cgi?id=80622
711
712         Reviewed by Adrienne Walker.
713
714         Many tests needed to be updated because the semantics of the layer tree have changed:
715           - a few tests that were no longer applicable were removed.
716           - many tests needed to have fixed initialization, properly
717             setting surface contentRect and rootLayer bounds.
718           - because clipRect and usesLayerClipping no longer exists, those places in code had to be removed/changed
719           - the scissorRect tests needed to have updated expectations
720             because after this patch, the rootLayer Surface now clips
721             to its contentBounds.
722           - the clipRect tests were changed to test the layer's new semantics for the drawableContentRect instead.
723
724         * tests/CCLayerImplTest.cpp:
725         (WebCore::TEST):
726         * tests/CCLayerIteratorTest.cpp:
727         * tests/CCLayerTreeHostCommonTest.cpp:
728         * tests/CCLayerTreeHostImplTest.cpp:
729         * tests/CCLayerTreeHostTest.cpp:
730         * tests/CCOcclusionTrackerTest.cpp:
731         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
732         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
733         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
734         * tests/LayerChromiumTest.cpp:
735
736 2012-07-23  Daniel Cheng  <dcheng@chromium.org>
737
738         [chromium] Fix build on Ubuntu Precise.
739         https://bugs.webkit.org/show_bug.cgi?id=92021
740
741         Reviewed by Adrienne Walker.
742
743         Remove an array that's written but never read.
744
745         * tests/CCResourceProviderTest.cpp:
746         (WebKit::TEST_F):
747
748 2012-07-23  Nate Chapin  <japhet@chromium.org>
749
750         Add WebTextInputType enum values for text areas and
751         content-editable.
752         https://bugs.webkit.org/show_bug.cgi?id=91654
753
754         Reviewed by Adam Barth.
755
756         No new tests, no behavior change without corresponding chromium.org changes.
757
758         * public/WebTextInputType.h:
759         * src/WebViewImpl.cpp:
760         (WebKit::WebViewImpl::textInputType):
761
762 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
763
764         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
765         https://bugs.webkit.org/show_bug.cgi?id=91006
766
767         Reviewed by Ryosuke Niwa.
768
769         Rename the functions to follow a more boolean logic.
770
771         * public/WebViewClient.h:
772         (WebKit::WebViewClient::hasTouchEventHandlers):
773         * src/ChromeClientImpl.cpp:
774         (WebKit):
775         (WebKit::ChromeClientImpl::needTouchEvents):
776         * src/ChromeClientImpl.h:
777         (ChromeClientImpl):
778         * src/WebViewImpl.cpp:
779         (WebKit::WebViewImpl::hasTouchEventHandlers):
780         * src/WebViewImpl.h:
781         (WebViewImpl):
782
783 2012-07-23  Simon Fraser  <simon.fraser@apple.com>
784
785         Implement sticky positioning
786         https://bugs.webkit.org/show_bug.cgi?id=90046
787
788         Reviewed by Ojan Vafai.
789
790         Add ENABLE_CSS_STICKY_POSITION, defaulting to off initially.
791         
792         * features.gypi:
793
794 2012-07-23  Peter Beverloo  <peter@chromium.org>
795
796         [Chromium] Buildfix for fixing gclient on the Chromium Windows bot
797         https://bugs.webkit.org/show_bug.cgi?id=91977
798
799         Unreviewed build fix.
800
801         Add the tools/isolate directory to the Windows checkout as these files
802         currently are missing during gyp generation. maruel introduced the need
803         for these in this isolate refactoring, specifically this Chromium CL:
804         http://src.chromium.org/viewvc/chrome?view=rev&revision=147689
805
806         * DEPS:
807
808 2012-07-22  Kent Tamura  <tkent@chromium.org>
809
810         [Chromium-Mac] Fix a build error.
811
812         * DEPS: Add third_party/GTM.
813
814 2012-07-23  Kent Tamura  <tkent@chromium.org>
815
816         Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
817         https://bugs.webkit.org/show_bug.cgi?id=91941
818
819         Reviewed by Kentaro Hara.
820
821         A flag name for an elmement should be ENABLE_*_ELEMENT.
822
823         * features.gypi:
824
825 2012-07-22  Kent Tamura  <tkent@chromium.org>
826
827         Rename ENABLE_DETAILS to ENABLE_DETAILS_ELEMENT
828         https://bugs.webkit.org/show_bug.cgi?id=91928
829
830         Reviewed by Kentaro Hara.
831
832         A flag name for an elmement should be ENABLE_*_ELEMENT.
833
834         * features.gypi:
835
836 2012-07-21  Sheriff Bot  <webkit.review.bot@gmail.com>
837
838         Unreviewed.  Rolled DEPS.
839
840         * DEPS:
841
842 2012-07-20  Kent Tamura  <tkent@chromium.org>
843
844         Rename ENABLE_DATALIST to ENABLE_DATALIST_ELEMENT
845         https://bugs.webkit.org/show_bug.cgi?id=91846
846
847         Reviewed by Kentaro Hara.
848
849         A flag name for an elmement should be ENABLE_*_ELEMENT.
850
851         * features.gypi:
852         * src/WebInputElement.cpp:
853         (WebKit::WebInputElement::dataListOptions):
854
855 2012-07-20  Joshua Bell  <jsbell@chromium.org>
856
857         IndexedDB: Simplify backend interface classes
858         https://bugs.webkit.org/show_bug.cgi?id=91901
859
860         Reviewed by Tony Chang.
861
862         Remove unnecessary method stubs from proxy class.
863
864         * src/IDBTransactionBackendProxy.cpp:
865         * src/IDBTransactionBackendProxy.h:
866         (IDBTransactionBackendProxy):
867
868 2012-07-20  Scott Graham  <scottmg@chromium.org>
869
870         Add windows native versions of bison, flex and gperf.
871
872         Reviewed by Tony Chang.
873
874         * DEPS:
875
876 2012-07-20  David Grogan  <dgrogan@chromium.org>
877
878         IndexedDB: Include intVersion when converting between WebCore and WebKit IDBMetadata types
879         https://bugs.webkit.org/show_bug.cgi?id=91414
880
881         Reviewed by Adam Barth.
882
883         * src/AssertMatchingEnums.cpp:
884         * src/WebIDBMetadata.cpp:
885         (WebKit::WebIDBMetadata::WebIDBMetadata):
886         (WebKit::WebIDBMetadata::operator IDBDatabaseMetadata):
887
888 2012-07-20  Robert Sesek  <rsesek@chromium.org>
889
890         [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
891         https://bugs.webkit.org/show_bug.cgi?id=91752
892
893         Reviewed by Eric Seidel.
894
895         Use 10.6 NSScreen/NSColorSpace APIs to determine if the screen is
896         monochrome rather than comparing against deprecated colorspace names.
897
898         * src/mac/WebScreenInfoFactory.mm:
899         (WebKit::WebScreenInfoFactory::screenInfo):
900
901 2012-07-20  Daniel Murphy  <dmurph@chromium.org>
902
903         Introduce WebViewBenchmarkSupport for performance experiments on a real WebView
904         https://bugs.webkit.org/show_bug.cgi?id=88271
905
906         Reviewed by Darin Fisher.
907
908         * WebKit.gyp:
909         * public/WebView.h:
910         (WebKit):
911         (WebView):
912         (WebKit::WebView::benchmarkSupport):
913         * public/WebViewBenchmarkSupport.h: Added.
914         (WebKit):
915         (WebViewBenchmarkSupport):
916         (PaintClient):
917         (WebKit::WebViewBenchmarkSupport::PaintClient::willPaint):
918         (WebKit::WebViewBenchmarkSupport::PaintClient::didPaint):
919         (WebKit::WebViewBenchmarkSupport::PaintClient::~PaintClient):
920         (WebKit::WebViewBenchmarkSupport::~WebViewBenchmarkSupport):
921         * src/WebViewBenchmarkSupportImpl.cpp: Added.
922         (WebKit):
923         (WebKit::WebViewBenchmarkSupportImpl::paintLayer):
924         (WebKit::WebViewBenchmarkSupportImpl::acceleratedPaintUnclipped):
925         (WebKit::WebViewBenchmarkSupportImpl::softwarePaint):
926         (WebKit::WebViewBenchmarkSupportImpl::paint):
927         * src/WebViewBenchmarkSupportImpl.h: Added.
928         (WebCore):
929         (WebKit):
930         (WebViewBenchmarkSupportImpl):
931         (WebKit::WebViewBenchmarkSupportImpl::WebViewBenchmarkSupportImpl):
932         (WebKit::WebViewBenchmarkSupportImpl::~WebViewBenchmarkSupportImpl):
933         * src/WebViewImpl.cpp:
934         (WebKit::WebViewImpl::WebViewImpl):
935         (WebKit::WebViewImpl::benchmarkSupport):
936         (WebKit):
937         (WebKit::WebViewImpl::rootGraphicsLayer):
938         * src/WebViewImpl.h:
939         (WebKit):
940         (WebViewImpl):
941
942 2012-07-20  Han Shen  <shenhan@google.com>
943
944         [Chromium] Compilation fails under gcc 4.7
945         https://bugs.webkit.org/show_bug.cgi?id=90227
946
947         Reviewed by Tony Chang.
948
949         Disable warnings about c++0x compatibility in gcc newer than 4.6.
950
951         * WebKit.gyp:
952         * WebKitUnitTests.gyp:
953
954 2012-07-20  Adam Barth  <abarth@webkit.org>
955
956         [Chromium] Add WebView::zoomToFindInPageRect for Android
957         https://bugs.webkit.org/show_bug.cgi?id=91801
958
959         Reviewed by Tony Chang.
960
961         On Android, when you find in page, we scale the viewport to reveal what
962         you've found (because the screen is small). This function instructs the
963         WebView to zoom to display a given rect.
964
965         * public/WebView.h:
966         (WebView):
967         * src/WebViewImpl.cpp:
968         (WebKit::WebViewImpl::animateZoomAroundPoint):
969             - This function is a bit more general than necessary for this patch
970               because it is also used in other cases for animating a zoom
971               around a given point (e.g., double-tap to zoom). These uses will
972               be upstreamed in later patches.
973         (WebKit::WebViewImpl::zoomToFindInPageRect):
974         * src/WebViewImpl.h:
975         (WebViewImpl):
976
977 2012-07-19  Luke Macpherson   <macpherson@chromium.org>
978
979         Enable CSS variables compile time flag in Chrome.
980         https://bugs.webkit.org/show_bug.cgi?id=91708
981
982         Reviewed by Dimitri Glazkov.
983
984         Flips the ENABLE_CSS_VARIABLES compile flag on for Chrome. There is also a run-time flag that is off by default,
985         so this should not have a user visible effect other than making the variables runtime flag visible at chrome://flags/
986
987         * features.gypi:
988
989 2012-07-19  Wei James  <james.wei@intel.com>
990
991         enable Web Audio for chromium android port
992         https://bugs.webkit.org/show_bug.cgi?id=89428
993
994         Reviewed by Kenneth Russell.
995
996         * features.gypi:
997
998 2012-07-19  Adam Barth  <abarth@webkit.org>
999
1000         [Chromium] Support external autofill popups
1001         https://bugs.webkit.org/show_bug.cgi?id=91651
1002
1003         Reviewed by Darin Fisher.
1004
1005         This looks like the last piece needed to support external autofill
1006         popups. This function just lets the embedder select an index
1007         (presumably because the user picked an index from the external autofill
1008         popup).
1009
1010         * public/WebView.h:
1011         (WebView):
1012         * src/WebViewImpl.cpp:
1013         (WebKit::WebViewImpl::selectAutofillSuggestionAtIndex):
1014         (WebKit):
1015         * src/WebViewImpl.h:
1016         (WebViewImpl):
1017
1018 2012-07-19  Zeev Lieber  <zlieber@chromium.org>
1019
1020         [Chromium] Textures drawn during occlusion are incorrectly re-used when unoccluded.
1021         https://bugs.webkit.org/show_bug.cgi?id=91537
1022
1023         Reviewed by Adrienne Walker.
1024
1025         Added unit tests to test texture caching with clipping and
1026         occlusion. Removed some minor code duplication when initializing
1027         layers for various scenarios.
1028
1029         MockCCQuadCuller can now implement CCQuadSink.
1030
1031         * tests/CCLayerTreeHostImplTest.cpp:
1032         * tests/CCQuadCullerTest.cpp:
1033         * tests/MockCCQuadCuller.h:
1034         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
1035
1036 2012-07-19  Adam Barth  <abarth@webkit.org>
1037
1038         [Chromium] WebView is missing isSelectionEditable and backgroundColor which are used by chromium-android
1039         https://bugs.webkit.org/show_bug.cgi?id=91671
1040
1041         Reviewed by Darin Fisher.
1042
1043         I haven't studied what these APIs are used for downstream, but they
1044         seem harmless enough.
1045
1046         * public/WebView.h:
1047         (WebView):
1048         * public/WebWidget.h:
1049         (WebWidget):
1050         (WebKit::WebWidget::backgroundColor):
1051         * src/WebViewImpl.cpp:
1052         (WebKit::WebViewImpl::isSelectionEditable):
1053         (WebKit):
1054         (WebKit::WebViewImpl::backgroundColor):
1055         * src/WebViewImpl.h:
1056         (WebViewImpl):
1057
1058 2012-07-19  Andrew Scherkus  <scherkus@chromium.org>
1059
1060         [chromium] Move WebAudioSourceProvider destructor from public to protected
1061         https://bugs.webkit.org/show_bug.cgi?id=91669
1062
1063         Reviewed by Darin Fisher.
1064
1065         The lifetime of a WebAudioSourceProvider is managed by the implementor
1066         and should never be deallocted by WebKit.
1067
1068         * public/WebAudioSourceProvider.h:
1069         (WebAudioSourceProvider):
1070
1071 2012-07-19  Tony Chang  <tony@chromium.org>
1072
1073         Unreviewed, rolling out r123036.
1074         http://trac.webkit.org/changeset/123036
1075         https://bugs.webkit.org/show_bug.cgi?id=91555
1076
1077         Triggers some DCHECKs in Chromium browser_tests
1078
1079         * public/WebTextInputType.h:
1080         * src/WebViewImpl.cpp:
1081         (WebKit::WebViewImpl::textInputType):
1082
1083 2012-07-19  Joshua Bell  <jsbell@chromium.org>
1084
1085         Roll out r121610 and r122487 which may have been causing flaky crashes
1086         https://bugs.webkit.org/show_bug.cgi?id=91637
1087
1088         Reviewed by Kentaro Hara.
1089
1090         Flaky crashes started in random tests following r121610. It's not clear
1091         that r121610 is to blame, but we'd like to prove or disprove it.
1092         If this doesn't resolve the crashes, this patch should be rolled out.
1093
1094         * src/WebBindings.cpp:
1095         (WebKit::getRangeImpl):
1096         (WebKit::getElementImpl):
1097         (WebKit::getArrayBufferImpl):
1098         (WebKit::getArrayBufferViewImpl):
1099         (WebKit::WebBindings::toV8Value):
1100
1101 2012-07-19  Sami Kyostila  <skyostil@chromium.org>
1102
1103         [chromium] Remove duplicate mock CCLayerTreeHostClient
1104         https://bugs.webkit.org/show_bug.cgi?id=89457
1105
1106         Reviewed by Adrienne Walker.
1107
1108         This test can reuse the existing CCFakeLayerTreeHostClient.
1109
1110         * tests/GraphicsLayerChromiumTest.cpp:
1111         (WebKitTests::MockLayerTreeHost::create):
1112
1113 2012-07-19  Peter Beverloo  <peter@chromium.org>
1114
1115         Unreviewed.  Rolled DEPS.
1116
1117         * DEPS:
1118
1119 2012-07-18  Ryosuke Niwa  <rniwa@webkit.org>
1120
1121         Chromium build fix attempt. Don't use anonymous namespace.
1122
1123         * tests/TextureCopierTest.cpp:
1124
1125 2012-07-18  Antoine Labour  <piman@chromium.org>
1126
1127         [chromium] Introduce CCResourceProvider, replacing TextureAllocator and hiding textures from clients to allow transport
1128         https://bugs.webkit.org/show_bug.cgi?id=91044
1129
1130         Reviewed by Adrienne Walker.
1131
1132         This does several things:
1133         - Add a CCResourceProvider class, that hides textures and the 3D context
1134         from layers (except those that need it). Instead layers manage
1135         "resources". In the future, resources are expected to be transportable
1136         to a "parent" CCResourceProvider to allow flattening of nested
1137         compositors.
1138         - Replace texture ids by resource ids in DrawQuads (allowing them to be
1139         serializable).
1140         - Replace TextureAllocator uses by the CCResourceProvider class.
1141         - Upload of data is done through the CCResourceProvider instead of
1142         explicit GL calls.
1143         - External textures are wrapped into a resource at draw time (see
1144         caveat/FIXME in CCTextureLayerImpl).
1145         - Rendering with the resources is done through an explicit
1146         beginRenderFrom/endRenderFrom that exposes the texture only between that
1147         pair.
1148         - Merge all the LayerTextureSubImage instances (one per layer), into a
1149         single instance on the CCResourceProvider.
1150
1151         Added CCResourceProviderTest, the refactoring is covered by existing tests.
1152
1153         * WebKit.gypi:
1154         * tests/CCLayerTreeHostImplTest.cpp:
1155         * tests/CCPrioritizedTextureTest.cpp:
1156         (WTF::CCPrioritizedTextureTest::CCPrioritizedTextureTest):
1157         (WTF::CCPrioritizedTextureTest::createManager):
1158         (WTF::CCPrioritizedTextureTest::validateTexture):
1159         (WTF::CCPrioritizedTextureTest::resourceProvider):
1160         (CCPrioritizedTextureTest):
1161         (WTF::TEST_F):
1162         * tests/CCQuadCullerTest.cpp:
1163         * tests/CCResourceProviderTest.cpp: Added.
1164         (WebKit):
1165         (ResourceProviderContext):
1166         (WebKit::ResourceProviderContext::create):
1167         (WebKit::ResourceProviderContext::bindTexture):
1168         (WebKit::ResourceProviderContext::createTexture):
1169         (WebKit::ResourceProviderContext::deleteTexture):
1170         (WebKit::ResourceProviderContext::texStorage2DEXT):
1171         (WebKit::ResourceProviderContext::texImage2D):
1172         (WebKit::ResourceProviderContext::texSubImage2D):
1173         (WebKit::ResourceProviderContext::getPixels):
1174         (WebKit::ResourceProviderContext::textureCount):
1175         (WebKit::ResourceProviderContext::textureSize):
1176         (WebKit::ResourceProviderContext::ResourceProviderContext):
1177         (WebKit::ResourceProviderContext::Texture::Texture):
1178         (Texture):
1179         (WebKit::ResourceProviderContext::allocateTexture):
1180         (WebKit::ResourceProviderContext::setPixels):
1181         (CCResourceProviderTest):
1182         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
1183         (WebKit::CCResourceProviderTest::context):
1184         (WebKit::CCResourceProviderTest::getResourcePixels):
1185         (WebKit::TEST_F):
1186         * tests/CCScopedTextureTest.cpp:
1187         (WebKitTests::TEST):
1188         * tests/CCTiledLayerImplTest.cpp:
1189         (CCLayerTestCommon::createLayer):
1190         (CCLayerTestCommon::TEST):
1191         * tests/CCTiledLayerTestCommon.cpp:
1192         (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
1193         * tests/CCTiledLayerTestCommon.h:
1194         (Texture):
1195         (WebKitTests::FakeTextureCopier::copyTexture):
1196         (WebKitTests::FakeTextureCopier::flush):
1197         (WebKitTests::FakeTextureUploader::uploadTexture):
1198         * tests/ContentLayerChromiumTest.cpp:
1199         (WebKit::TEST):
1200         * tests/FakeCCGraphicsContext.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCTexture.h.
1201         (WebKit):
1202         (WebKit::createFakeCCGraphicsContext):
1203         * tests/LayerRendererChromiumTest.cpp:
1204         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1205         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1206         (LayerRendererChromiumTest::context):
1207         (LayerRendererChromiumTest):
1208         (TEST_F):
1209         (TEST):
1210         * tests/TextureCopierTest.cpp:
1211         * tests/TextureManagerTest.cpp:
1212         (WTF::TextureManagerTest::TextureManagerTest):
1213         (WTF::TextureManagerTest::createTextureManager):
1214         (WTF::TextureManagerTest::requestTexture):
1215         (TextureManagerTest):
1216         * tests/TiledLayerChromiumTest.cpp:
1217
1218 2012-07-18  David Grogan  <dgrogan@chromium.org>
1219
1220         IndexedDB: Add intVersion to chromium/public/WebIDBMetadata.h
1221         https://bugs.webkit.org/show_bug.cgi?id=91408
1222
1223         Reviewed by Adam Barth.
1224
1225         This is in support of the new upgradeneeded versioning api.
1226         intVersion will eventually replace the WebString version member.
1227
1228         * public/WebIDBMetadata.h:
1229         (WebKit::WebIDBMetadata::WebIDBMetadata):
1230         The spec uses unsigned long long for version numbers but we use signed
1231         long long so that we can use -1 as a sentinel. It indicates that a
1232         database still uses a string version.
1233
1234 2012-07-18  Adam Barth  <abarth@webkit.org>
1235
1236         Disable printing on chromium-android
1237         https://bugs.webkit.org/show_bug.cgi?id=91550
1238
1239         Reviewed by Tony Chang.
1240
1241         We don't implement printing on Android.
1242
1243         * features.gypi:
1244         * src/WebFrameImpl.cpp:
1245         (WebKit::WebFrameImpl::printPage):
1246
1247 2012-07-18  Alexandre Elias  <aelias@google.com>
1248
1249         [chromium] Ubercomp: add id to SharedQuadState
1250         https://bugs.webkit.org/show_bug.cgi?id=91670
1251
1252         Reviewed by Adrienne Walker.
1253
1254         This assigns an integer ID to SharedQuadState objects and a
1255         corresponding ID to quads.  This ID is unique only within a
1256         RenderPass and currently is just set to the index in the shared quad
1257         state list.  This is redundant with the pointer and exists to
1258         simplify serialization.
1259
1260         I found out that pointer rewriting within a pickler is blocked by
1261         pointers to memory being const there, so the reassignment will have to
1262         be performed in the application layer anyway.  In that case, it's
1263         simplest to add some ID integers.
1264
1265         * tests/CCLayerTreeHostImplTest.cpp:
1266         * tests/CCQuadCullerTest.cpp:
1267         * tests/CCRenderSurfaceTest.cpp:
1268         * tests/CCSolidColorLayerImplTest.cpp:
1269         (CCLayerTestCommon::TEST):
1270         * tests/CCTiledLayerImplTest.cpp:
1271         (CCLayerTestCommon::TEST):
1272         (CCLayerTestCommon::getQuads):
1273
1274 2012-07-18  Nate Chapin  <japhet@chromium.org>
1275
1276         Add WebTextInputType enum values for text areas and
1277         content-editable.
1278         https://bugs.webkit.org/show_bug.cgi?id=91654
1279
1280         Reviewed by Adam Barth.
1281
1282         No new tests, no behavior change without corresponding chromium.org changes.
1283
1284         * public/WebTextInputType.h:
1285         * src/WebViewImpl.cpp:
1286         (WebKit::WebViewImpl::textInputType):
1287
1288 2012-07-18  Alexandre Elias  <aelias@google.com>
1289
1290         [chromium] Ubercomp: clean up CCRenderer interface
1291         https://bugs.webkit.org/show_bug.cgi?id=91555
1292
1293         Reviewed by Adrienne Walker.
1294
1295         I replaced the one-by-one RenderPass calls with a new drawFrame()
1296         method that directly takes a CCRenderPassList, and moved a small
1297         amount of code from CCLayerTreeHostImpl to implement it.  In ubercomp
1298         mode, we will produce a frame bundle rather than a command-stream, so
1299         the full list is easier to work with.
1300
1301         Also, give empty default implementations for the methods that don't
1302         need to do anything in a non-GL context, and make private
1303         setScissorToRect.
1304
1305         * tests/LayerRendererChromiumTest.cpp:
1306         (FakeCCRendererClient::FakeCCRendererClient):
1307         (FakeCCRendererClient::renderPasses):
1308         (FakeCCRendererClient):
1309         (TEST_F):
1310         (TEST):
1311
1312 2012-07-18  Joshua Bell  <jsbell@chromium.org>
1313
1314         IndexedDB: Fix some coding style violations
1315         https://bugs.webkit.org/show_bug.cgi?id=91565
1316
1317         Reviewed by Tony Chang.
1318
1319         * tests/IDBLevelDBCodingTest.cpp:
1320         (IDBLevelDBCoding::TEST):
1321
1322 2012-07-18  Tony Chang  <tony@chromium.org>
1323
1324         [chromium] Unreviewed, fix some MSVC compile warnings.
1325
1326         * tests/CCDamageTrackerTest.cpp:
1327         (WebKitTests::TEST_F):
1328         * tests/CCLayerTreeHostCommonTest.cpp:
1329         * tests/TiledLayerChromiumTest.cpp:
1330
1331 2012-07-18  Mark Pilgrim  <pilgrim@chromium.org>
1332
1333         [Chromium] Call SQLiteFileSystem-related functions directly
1334         https://bugs.webkit.org/show_bug.cgi?id=91631
1335
1336         Reviewed by Adam Barth.
1337
1338         Part of a refactoring series. See tracking bug 82948.
1339
1340         * public/platform/WebKitPlatformSupport.h:
1341         (WebKitPlatformSupport):
1342         * src/PlatformSupport.cpp:
1343         (WebCore):
1344
1345 2012-07-18  Tony Chang  <tony@chromium.org>
1346
1347         [chromium] Unreviewed, more compile fixes on Chromium Win.
1348
1349         * tests/WebTransformationMatrixTest.cpp:
1350         (WebKit::TEST):
1351
1352 2012-07-18  Tony Chang  <tony@chromium.org>
1353
1354         [chromium] Fix compile on Windows.
1355
1356         148>tests\LayerChromiumTest.cpp(510): warning C4305: 'argument' : truncation from 'double' to 'float'
1357
1358         * tests/LayerChromiumTest.cpp:
1359
1360 2012-07-18  Alec Flett  <alecflett@chromium.org>
1361
1362         Implement putIndexKeys in WebIDBObjectStoreImpl
1363         https://bugs.webkit.org/show_bug.cgi?id=91546
1364
1365         Reviewed by Darin Fisher.
1366
1367         Implement putIndexKeys in the chromium API, so it is callable
1368         from chromium.
1369
1370         * src/WebIDBObjectStoreImpl.cpp:
1371         (WebKit::WebIDBObjectStoreImpl::putWithIndexKeys):
1372         (WebKit):
1373         * src/WebIDBObjectStoreImpl.h:
1374         (WebIDBObjectStoreImpl):
1375
1376 2012-07-18  Tony Chang  <tony@chromium.org>
1377
1378         [chromium] Unreviewed compile fix for Android.
1379
1380         More sqrt fixes.
1381
1382         * tests/CCLayerTreeHostCommonTest.cpp:
1383
1384 2012-07-18  Tony Chang  <tony@chromium.org>
1385
1386         [chromium] Unreviewed compile fix for Android.
1387         
1388         Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp: In member function 'virtual void<unnamed>::CCDamageTrackerTest_verifyDamageForTransformedLayer_Test::TestBody()':
1389         Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp:332: error: call of overloaded 'sqrt(int)' is ambiguous
1390
1391         * tests/CCDamageTrackerTest.cpp:
1392         (WebKitTests::TEST_F):
1393
1394 2012-07-18  Varun Jain  <varunjain@chromium.org>
1395
1396         [chromium] Drag image for image elements should be scaled with device scale factor.
1397         https://bugs.webkit.org/show_bug.cgi?id=89688
1398
1399         Reviewed by Adam Barth.
1400
1401         * src/DragClientImpl.cpp:
1402         (WebKit::DragClientImpl::startDrag):
1403         * tests/DragImageTest.cpp:
1404         (WebCore::TEST):
1405
1406 2012-07-18  Shawn Singh  <shawnsingh@chromium.org>
1407
1408         [chromium] Fix style for numeric literals in chromium unit test code
1409         https://bugs.webkit.org/show_bug.cgi?id=91635
1410
1411         Reviewed by Adrienne Walker.
1412
1413         Where possible, removed ".0" and "f" suffixes on numeric literals,
1414         to be more consistent with WebKit style rules.
1415
1416         * tests/CCDamageTrackerTest.cpp:
1417         (WebKitTests::TEST_F):
1418         * tests/CCLayerQuadTest.cpp:
1419         (WebCore::TEST):
1420         * tests/CCLayerTreeHostCommonTest.cpp:
1421         * tests/CCQuadCullerTest.cpp:
1422         * tests/LayerChromiumTest.cpp:
1423         * tests/WebTransformationMatrixTest.cpp:
1424         (WebKit::TEST):
1425
1426 2012-07-17  Shawn Singh  <shawnsingh@chromium.org>
1427
1428         [chromium] Remove awkward anchorPoint usage that implicity affects layer position
1429         https://bugs.webkit.org/show_bug.cgi?id=91472
1430
1431         Reviewed by Adrienne Walker.
1432
1433         Unit tests were updated to account for the fact that anchorPoint
1434         and position are now separated.
1435
1436         * tests/CCDamageTrackerTest.cpp:
1437         (WebKitTests::TEST_F):
1438         * tests/CCLayerTreeHostCommonTest.cpp:
1439         * tests/CCLayerTreeHostImplTest.cpp:
1440         * tests/TiledLayerChromiumTest.cpp:
1441
1442 2012-07-18  Yoshifumi Inoue  <yosin@chromium.org>
1443
1444         Decimal::toString should not round integer value.
1445         https://bugs.webkit.org/show_bug.cgi?id=91481
1446
1447         Reviewed by Kent Tamura.
1448
1449         This patch adds a new test cases for Decimal::toString() for failed
1450         value and maximum coefficient value with various exponent.
1451
1452         * tests/DecimalTest.cpp:
1453         (TEST_F): DecimalTest.toString: Add test cases for big coefficient values.
1454
1455 2012-07-18  Hans Wennborg  <hans@chromium.org>
1456
1457         Add copy constructor to WebSpeechGrammar.h
1458         https://bugs.webkit.org/show_bug.cgi?id=91484
1459
1460         Reviewed by Adam Barth.
1461
1462         Provide user-defined copy constructor (and assign function) for WebSpeechGrammar.
1463         Without this, we were hitting the implicit copy constructor, which in
1464         turn used the implicit copy constructor of WebPrivatePtr. This was bad,
1465         because the implicit copy constructor wouldn't increace the reference
1466         count on the wrapped object, causing us to crash.
1467
1468         Also add one for WebSpeechRecognitionResult; haven't seen any problems
1469         here, but I noticed it was missing.
1470
1471         * public/WebSpeechGrammar.h:
1472         (WebKit::WebSpeechGrammar::WebSpeechGrammar):
1473         (WebSpeechGrammar):
1474         * public/WebSpeechRecognitionResult.h:
1475         (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
1476         (WebSpeechRecognitionResult):
1477         * src/WebSpeechGrammar.cpp:
1478         (WebKit::WebSpeechGrammar::assign):
1479         (WebKit):
1480
1481 2012-07-17  Yoshifumi Inoue  <yosin@chromium.org>
1482
1483         Decimal constructor with 99999999999999999 loses last digit
1484         https://bugs.webkit.org/show_bug.cgi?id=91579
1485
1486         Reviewed by Kent Tamura.
1487
1488         This patch adds test cases for Decimal::EncodedData constructors for
1489         testing edge cases in addition to common cases which they aren't
1490         covered by other test cases.
1491
1492         * tests/DecimalTest.cpp:
1493         (EXPECT_DECIMAL_ENCODED_DATA_EQ): Introduce a new macro for ease of
1494         writing test cases for verifying components of Decimal::EncodedData.
1495         (TEST_F): Added a new test entry DecimalTest.Constructor.
1496
1497 2012-07-17  Yoshifumi Inoue  <yosin@chromium.org>
1498
1499         Test cases in DecimalTest should use EXPECT_STREQ for ease of debugging test case
1500         https://bugs.webkit.org/show_bug.cgi?id=91572
1501
1502         Reviewed by Kent Tamura.
1503
1504         This patch introduces EXPECT_DECIMAL_STREQ macro to replace EXPECT_EQ
1505         with String class for displaying text string rather than object dump
1506         for ease of debugging test cases.
1507
1508         * tests/DecimalTest.cpp:
1509         (DecimalTest::stepDown): Changed to return Decimal instead of String
1510         to use EXPECT_DECIMAL_STREQ.
1511         (DecimalTest::stepUp): ditto.
1512         (TEST_F): Replaced EXPECT_EQ + String class to EXPECT_DECIMAL_STREQ.
1513
1514 2012-07-17  Joshua Bell  <jsbell@chromium.org>
1515
1516         IndexedDB: Key generator state not maintained across connections
1517         https://bugs.webkit.org/show_bug.cgi?id=91456
1518
1519         Reviewed by Tony Chang.
1520
1521         Add stub method implementations to test class.
1522
1523         * tests/IDBFakeBackingStore.h:
1524
1525 2012-07-17  Tony Chang  <tony@chromium.org>
1526
1527         Unreviewed, rolling out r122884.
1528         http://trac.webkit.org/changeset/122884
1529         https://bugs.webkit.org/show_bug.cgi?id=91408
1530
1531         Broke the chromium-win build.
1532
1533         * public/WebIDBMetadata.h:
1534         (WebIDBMetadata):
1535         (WebKit::WebIDBMetadata::WebIDBMetadata):
1536
1537 2012-07-17  David Grogan  <dgrogan@chromium.org>
1538
1539         IndexedDB: Add intVersion to chromium/public/WebIDBMetadata.h
1540         https://bugs.webkit.org/show_bug.cgi?id=91408
1541
1542         Reviewed by Adam Barth.
1543
1544         This is in support of the new upgradeneeded versioning api.
1545         intVersion will eventually replace the WebString version member.
1546
1547         * public/WebIDBMetadata.h:
1548         (WebIDBMetadata): The spec uses unsigned long long for version
1549         numbers but we use int64_t here so that we can use -1 as a sentinel.
1550         It indicates that a database still uses a string version.
1551
1552 2012-07-17  Tony Chang  <tony@chromium.org>
1553
1554         Unreviewed.  Rolled DEPS.
1555
1556         * DEPS:
1557
1558 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
1559
1560         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
1561         https://bugs.webkit.org/show_bug.cgi?id=91196
1562
1563         Reviewed by Pavel Feldman.
1564
1565         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
1566         now returning the InspectorFrontendChannel.
1567
1568         * src/InspectorClientImpl.cpp:
1569         (WebKit::InspectorClientImpl::openInspectorFrontend):
1570         * src/InspectorClientImpl.h:
1571         (InspectorClientImpl):
1572         * src/WebDevToolsAgentImpl.cpp:
1573         (WebKit::WebDevToolsAgentImpl::reattach):
1574         (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
1575         * src/WebDevToolsAgentImpl.h:
1576         (WebDevToolsAgentImpl):
1577
1578 2012-07-16  Adam Barth  <abarth@webkit.org>
1579
1580         Unreviewed. Remove two empty directories.
1581
1582         * public/linuxish: Removed.
1583         * src/linuxish: Removed.
1584
1585 2012-07-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1586
1587         Add RegisterProtocolHandlerClient to the Modules/protocolhandler
1588         https://bugs.webkit.org/show_bug.cgi?id=90940
1589
1590         Reviewed by Hajime Morita.
1591
1592         As a step to let protocol handler be moved to the modules, RegisterProtocolHandlerClient needs
1593         to be added to the Modules/protocolhandler. Because ChromeClient has some virtual functions for
1594         protocol handlers, virtual functions should be moved to RegisterProtocolHandlerClient.
1595
1596         In order to support this, RegisterProtocolHandlerClientImpl class is added to ChromeClientImpl files.
1597
1598         In addition, existing functions related to protocol handler in ChromeClientImpl class are moved to
1599         RegisterProtocolHandlerClientImpl class.
1600
1601         * WebKit.gyp:
1602         * src/ChromeClientImpl.cpp: Implement RegisterProtocolHandlerClientImpl class.
1603         (WebKit):
1604         (WebKit::RegisterProtocolHandlerClientImpl::create):
1605         (WebKit::RegisterProtocolHandlerClientImpl::RegisterProtocolHandlerClientImpl):
1606         (WebKit::RegisterProtocolHandlerClientImpl::registerProtocolHandler):
1607         * src/ChromeClientImpl.h:
1608         (ChromeClientImpl):
1609         (RegisterProtocolHandlerClientImpl):
1610         (WebKit::RegisterProtocolHandlerClientImpl::~RegisterProtocolHandlerClientImpl):
1611         (WebKit):
1612         * src/WebViewImpl.cpp: Register RegisterProtocolHandlerClientImpl in order to support supplement.
1613         (WebKit::WebViewImpl::WebViewImpl):
1614         * src/WebViewImpl.h:
1615
1616 2012-07-16  Yoshifumi Inoue  <yosin@chromium.org>
1617
1618         REGRESSION(r122552): DecimalTest tests (CeilingSmallExponent and FloorSmallExponent) started failing.
1619         https://bugs.webkit.org/show_bug.cgi?id=91244
1620
1621         Reviewed by Kent Tamura.
1622
1623         This patch enables and updates disabled test cases of DecimalTest
1624         caused by fixes in r122552 of Decimal::ceiling() and Decimal::floor()
1625         for small fraction numbers and added test cases. Fixes in r122552
1626         itself is correct however, it didn't update existing tests for very small
1627         fraction numbers.
1628
1629         * tests/DecimalTest.cpp:
1630         (TEST_F): CeilingSmallExponent: Change expected value to 1 for ceiling(1e-1000),
1631         ceiling rounds number toward positive infinity.
1632         (TEST_F): FloorSmallExponent: Change expected value to -1 for floor(-1e-1000),
1633         floor rounds number toward negative infinity.
1634
1635 2012-07-16  Koji Ishii  <kojiishi@gmail.com>
1636
1637         Vertical alternate glyph (GSUB) support for OpenTypeVerticalData
1638         https://bugs.webkit.org/show_bug.cgi?id=81389
1639
1640         Reviewed by Tony Chang.
1641
1642         Tests for pointer validations for OpenType tables.
1643
1644         * WebKit.gypi:
1645         * tests/OpenTypeVerticalDataTest.cpp: Added.
1646         (WebCore):
1647         (TestTable):
1648         (WebCore::TestTable::validateOffset):
1649         (WebCore::TEST):
1650
1651 2012-07-16  Alexandre Elias  <aelias@google.com>
1652
1653         [chromium] Fix WebFrameTest flakiness due to synthetic mouse events
1654         https://bugs.webkit.org/show_bug.cgi?id=91428
1655
1656         Reviewed by Adam Barth.
1657
1658         Synthetic mouse move events on scrolling can cause segfaults in
1659         WebFrameTest due to delayed callbacks on the message loop after
1660         state destruction. This is currently only affecting
1661         the Android port, but has the potential to affect other platforms in the
1662         future.
1663
1664         We can avoid the issue by disabling the deviceSupportsMouse
1665         setting, which shouldn't be needed by any WebFrameTest.
1666
1667         * tests/FrameTestHelpers.cpp:
1668         (WebKit::FrameTestHelpers::createWebViewAndLoad):
1669
1670 2012-07-16  Alec Flett  <alecflett@chromium.org>
1671
1672         IndexedDB: Introduce putWithIndexKeys and calculate them in the renderer
1673         https://bugs.webkit.org/show_bug.cgi?id=90923
1674
1675         Reviewed by Darin Fisher.
1676
1677         Stub out implementations of putWithIndexKeys(), already implemented
1678         on the chromium side.
1679
1680         * public/WebIDBObjectStore.h:
1681         (WebKit::WebIDBObjectStore::putWithIndexKeys):
1682         * src/IDBObjectStoreBackendProxy.cpp:
1683         (WebKit::IDBObjectStoreBackendProxy::putWithIndexKeys):
1684         (WebKit):
1685         * src/IDBObjectStoreBackendProxy.h:
1686         (IDBObjectStoreBackendProxy):
1687
1688 2012-07-16  Adrienne Walker  <enne@google.com>
1689
1690         [chromium] Unify compositor quad transforms into content space
1691         https://bugs.webkit.org/show_bug.cgi?id=91350
1692
1693         Reviewed by Kenneth Russell.
1694
1695         Update tests to add bounds/contentBounds properties to layers. This
1696         exposed a bug in the quad culler tests where the draw transform was
1697         incorrectly being set to the origin transform rather than being a
1698         transform that operates on centered layer rects. Fixed this bug.
1699
1700         * tests/CCQuadCullerTest.cpp:
1701         * tests/CCSolidColorLayerImplTest.cpp:
1702         (CCLayerTestCommon::TEST):
1703         * tests/CCTiledLayerImplTest.cpp:
1704         (CCLayerTestCommon::createLayer):
1705
1706 2012-07-16  Adrienne Walker  <enne@google.com>
1707
1708         [chromium] Unify compositor quad transforms into content space
1709         https://bugs.webkit.org/show_bug.cgi?id=91350
1710
1711         Reviewed by Kenneth Russell.
1712
1713         Update tests to add bounds/contentBounds properties to layers. This
1714         exposed a bug in the quad culler tests where the draw transform was
1715         incorrectly being set to the origin transform rather than being a
1716         transform that operates on centered layer rects. Fixed this bug.
1717
1718         * tests/CCQuadCullerTest.cpp:
1719         * tests/CCSolidColorLayerImplTest.cpp:
1720         (CCLayerTestCommon::TEST):
1721         * tests/CCTiledLayerImplTest.cpp:
1722         (CCLayerTestCommon::createLayer):
1723
1724 2012-07-16  Dana Jansens  <danakj@chromium.org>
1725
1726         [chromium] Remove targetRenderSurface concept, give layers a renderTarget which is the layer whose coordinate space they draw into
1727         https://bugs.webkit.org/show_bug.cgi?id=91288
1728
1729         Reviewed by Adrienne Walker.
1730
1731         * tests/CCDamageTrackerTest.cpp:
1732         (WebKitTests::TEST_F):
1733         * tests/CCLayerImplTest.cpp:
1734         (WebCore::TEST):
1735         * tests/CCLayerTreeHostCommonTest.cpp:
1736         * tests/CCOcclusionTrackerTest.cpp:
1737         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
1738         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
1739         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
1740         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
1741         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
1742         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
1743         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
1744         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
1745         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
1746         (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
1747         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
1748         * tests/CCQuadCullerTest.cpp:
1749         * tests/CCTiledLayerTestCommon.cpp:
1750         (WebKitTests::FakeTiledLayerChromium::setTexturePriorities):
1751         * tests/LayerChromiumTest.cpp:
1752
1753 2012-07-16  Sami Kyostila  <skyostil@chromium.org>
1754
1755         [chromium] Only apply page scale delta to root scroll layer
1756         https://bugs.webkit.org/show_bug.cgi?id=91374
1757
1758         Reviewed by Adrienne Walker.
1759
1760         New unit test
1761         CCLayerTreeHostImplTest.pageScaleDeltaAppliedToRootScrollLayerOnly to verify
1762         the transformation of child layer while pinch zooming.
1763
1764         * tests/CCLayerTreeHostImplTest.cpp:
1765
1766 2012-07-16  Kihong Kwon  <kihong.kwon@samsung.com>
1767
1768         Remove setController from BatteryClient
1769         https://bugs.webkit.org/show_bug.cgi?id=90944
1770
1771         Reviewed by Adam Barth.
1772
1773         Remove virtual identifier from setController because setController is removed from WebCore::BatteryClient.
1774         In addition, BatteryController is set to instance of BatteryClientImpl in the constructor of WebViewImpl.
1775
1776         * src/BatteryClientImpl.h:
1777         (BatteryClientImpl):
1778         * src/WebViewImpl.cpp:
1779         (WebKit::WebViewImpl::WebViewImpl):
1780
1781 2012-07-16  Dana Jansens  <danakj@chromium.org>
1782
1783         [chromium] Incorrect assertion: Replicas will cause a RenderPass to be removed twice
1784         https://bugs.webkit.org/show_bug.cgi?id=91328
1785
1786         Reviewed by Adrienne Walker.
1787
1788         Add replicas to the surfaces in the test.
1789
1790         * tests/CCLayerTreeHostTest.cpp:
1791         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
1792         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::beginTest):
1793         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::afterTest):
1794         (CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
1795
1796 2012-07-13  Eric Penner  <epenner@google.com>
1797
1798         [chromium] Add 'self-managed' option to CCPrioritizedTexture to enable render-surface and canvas use cases.
1799         https://bugs.webkit.org/show_bug.cgi?id=91177
1800
1801         Reviewed by Adrienne Walker.
1802
1803         * tests/CCPrioritizedTextureTest.cpp:
1804         (WTF::TEST_F):
1805         * tests/TiledLayerChromiumTest.cpp:
1806
1807 2012-07-13  Brian Anderson  <brianderson@chromium.org>
1808
1809         Add flushes to CCTextureUpdater::update
1810         https://bugs.webkit.org/show_bug.cgi?id=89035
1811
1812         Reviewed by Adrienne Walker.
1813
1814         CCTextureUpdaterTest added to verify texture upload/flushing patterns.
1815
1816         * WebKit.gypi:
1817         * tests/CCTextureUpdaterTest.cpp: Added.
1818
1819 2012-07-13  David Grogan  <dgrogan@chromium.org>
1820
1821         IndexedDB: Re-enable indexeddb in test_shell
1822         https://bugs.webkit.org/show_bug.cgi?id=91161
1823
1824         Reviewed by Tony Chang.
1825
1826         IDB used to be allowed to run if webView->permissionClient() was NULL,
1827         as is the case in test_shell. This was inadvertently changed in
1828         http://wkb.ug/90310.
1829
1830         We still don't have an automated test for this (http://crbug.com/113738)
1831         Tested manually:
1832
1833         * In test_shell:
1834         1) Open an IDB page
1835         2) Verify IDB has permission to open a DB
1836
1837         * In chrome:
1838         1) Open an IDB page
1839         2) Verify IDB has permission to open a DB
1840         3) Revoke IDB permissions in chrome://chrome/settings/content
1841         4) Reload the IDB page
1842         5) Verify IDB doesn't have permission to open a DB
1843
1844         * src/IDBFactoryBackendProxy.cpp:
1845         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
1846
1847 2012-07-13  Wei James  <james.wei@intel.com>
1848
1849         enable TestWebKitAPI/webkit_unit_tests apk on x86 android platform by adding abi support
1850         https://bugs.webkit.org/show_bug.cgi?id=91194
1851
1852         Reviewed by Adam Barth.
1853
1854         * WebKitUnitTests.gyp:
1855
1856 2012-07-13  Dana Jansens  <danakj@chromium.org>
1857
1858         webkit_unit_test CCLayerTreeHostImplTest.testRemoveRenderPasses started failing.
1859         https://bugs.webkit.org/show_bug.cgi?id=91245
1860
1861         Reviewed by Adrienne Walker.
1862
1863         * tests/CCLayerTreeHostImplTest.cpp:
1864
1865 2012-07-13  Vsevolod Vlasov  <vsevik@chromium.org>
1866
1867         Unreviewed gardening: skip failing webkit unit test.
1868
1869         * tests/CCLayerTreeHostImplTest.cpp:
1870
1871 2012-07-13  Vsevolod Vlasov  <vsevik@chromium.org>
1872
1873         Unreviewed gardening, skip failing webkit_unit_tests.
1874
1875         * tests/DecimalTest.cpp:
1876         (TEST_F):
1877
1878 2012-07-13  Kent Tamura  <tkent@chromium.org>
1879
1880         Make calendar pickers testable
1881         https://bugs.webkit.org/show_bug.cgi?id=84827
1882
1883         Reviewed by Hajime Morita.
1884
1885         * src/ChromeClientImpl.cpp:
1886         (WebKit::ChromeClientImpl::ChromeClientImpl):
1887         Initialize m_pagePopupDriver with the WebViewImpl.
1888         (WebKit::ChromeClientImpl::openPagePopup):
1889         Just calls PagePoupDriver::openPagePopup().
1890         (WebKit::ChromeClientImpl::closePagePopup):
1891         Just calls PagePoupDriver::closePagePopup().
1892         (WebKit::ChromeClientImpl::setPagePopupDriver):
1893         * src/ChromeClientImpl.h:
1894         (ChromeClientImpl): Add setPagePopupDriver
1895         * src/WebViewImpl.h:
1896         (WebViewImpl):
1897         WebViewImpl implements PagePopupDriver. openPagePopup() and
1898         closePagePopup() override members of PagePopupDriver.
1899
1900 2012-07-13  Yoshifumi Inoue  <yosin@chromium.org>
1901
1902         REGRESSION(r119948): [Forms] Spin button Up/Down actions make value to zero for input type "number" when step mismatched
1903         https://bugs.webkit.org/show_bug.cgi?id=91197
1904
1905         Reviewed by Kent Tamura.
1906
1907         This patch adds test cases for Decimal::ceiling() and floor() of
1908         positive/negative small fractional numbers.
1909
1910         * tests/DecimalTest.cpp:
1911         (TEST_F):
1912
1913 2012-07-12  Adrienne Walker  <enne@google.com>
1914
1915         [chromium] Root invalidations for RTL pages need to be in the right space
1916         https://bugs.webkit.org/show_bug.cgi?id=91155
1917
1918         Reviewed by Kenneth Russell.
1919
1920         The root layer has a translation on it when placed in the tree, so any
1921         invalidations on this layer likewise need to be adjusted.
1922
1923         This adjustment is due to the fact that compositor layers all have the
1924         origin in the upper left corner of the layer, but this is not always
1925         the origin for graphics layers. Rather than making compositor layers
1926         have to deal with a potential offset, we change the transform when
1927         inserting the layer into the tree. Invalidations need to be similarly
1928         transformed from document space into compositor layer space.
1929
1930         The need for this offset is due to the definition of the initial
1931         containing block. RTL pages (pages with dir=RTL on the body) start
1932         scrolled all the way to the right, and the origin is in the upper left
1933         hand corner of this initial viewport. Thus on RTL pages with
1934         horizontal overflow, the left of the document is in negative CSS
1935         space.
1936
1937         * src/NonCompositedContentHost.cpp:
1938         (WebKit::NonCompositedContentHost::invalidateRect):
1939
1940 2012-07-12  Dana Jansens  <danakj@chromium.org>
1941
1942         [chromium] Remove the RenderPass pointer from RenderPassDrawQuad
1943         https://bugs.webkit.org/show_bug.cgi?id=91023
1944
1945         Reviewed by Adrienne Walker.
1946
1947         * tests/CCLayerTreeHostImplTest.cpp:
1948
1949 2012-07-12  Adam Barth  <abarth@webkit.org>
1950
1951         [Chromium] WebSettings should be sorted
1952         https://bugs.webkit.org/show_bug.cgi?id=91157
1953
1954         Reviewed by Eric Seidel.
1955
1956         This might be my OCD, but IMHO this file would be cleaner if we listed
1957         the settings in alphabetic order.
1958
1959         * public/WebSettings.h:
1960         * src/WebSettingsImpl.h:
1961         (WebSettingsImpl):
1962         (WebKit::WebSettingsImpl::forceSoftwareCompositing):
1963         (WebKit::WebSettingsImpl::viewportEnabled):
1964         (WebKit::WebSettingsImpl::maxUntiledLayerSize):
1965
1966 2012-07-12  Joshua Bell  <jsbell@chromium.org>
1967
1968         IndexedDB: Enable IDBFactory.deleteDatabase() and webkitGetDatabaseNames() in Workers
1969         https://bugs.webkit.org/show_bug.cgi?id=90310
1970
1971         Reviewed by Tony Chang.
1972
1973         * src/IDBFactoryBackendProxy.cpp:
1974         (WebKit::IDBFactoryBackendProxy::allowIndexedDB): Consolidates user-prompting logic.
1975         (WebKit::getWebFrame): Helper to dig out frame from Document, or null for Worker.
1976         (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
1977         (WebKit):
1978         (WebKit::IDBFactoryBackendProxy::open):
1979         (WebKit::IDBFactoryBackendProxy::deleteDatabase):
1980         * src/IDBFactoryBackendProxy.h: Update method signatures to match interface.
1981         (WebCore):
1982         (IDBFactoryBackendProxy):
1983
1984 2012-07-12  Dana Jansens  <danakj@chromium.org>
1985
1986         [chromium] The root layer should not try create a second RenderSurface for itself
1987         https://bugs.webkit.org/show_bug.cgi?id=91124
1988
1989         Reviewed by Adrienne Walker.
1990
1991         * tests/CCLayerTreeHostImplTest.cpp:
1992
1993 2012-07-12  Eric Penner  <epenner@google.com>
1994
1995         [chromium] Use CCTexture/TextureAllocator and remove TextureManager
1996         https://bugs.webkit.org/show_bug.cgi?id=91001
1997
1998         Reviewed by Adrienne Walker.
1999
2000         Deleting old texture manager tests.
2001
2002         * WebKit.gypi:
2003         * tests/CCLayerTreeHostImplTest.cpp:
2004         * tests/CCPrioritizedTextureTest.cpp:
2005         (WTF::CCPrioritizedTextureTest::texturesMemorySize):
2006         * tests/CCThreadedTest.cpp:
2007         * tests/CCTiledLayerTestCommon.h:
2008         * tests/Canvas2DLayerBridgeTest.cpp:
2009         * tests/TextureManagerTest.cpp: Removed.
2010
2011 2012-07-12  Robert Sesek  <rsesek@chromium.org>
2012
2013         [chromium][Mac] r122400 broke 10.6 build
2014         https://bugs.webkit.org/show_bug.cgi?id=91103
2015
2016         Reviewed by Tony Chang.
2017
2018         Use the right availability macros for forward-declaring methods and
2019         defining constants.
2020
2021         * src/mac/WebInputEventFactory.mm:
2022
2023 2012-07-12  Tony Chang  <tony@chromium.org>
2024
2025         [chromium] Remove drag and drop API methods that are no longer used
2026         https://bugs.webkit.org/show_bug.cgi?id=90996
2027
2028         Reviewed by Adam Barth.
2029
2030         In r117327, we added a parameter for modifier keys to these methods.
2031         Chromium has since switched to using the methods that require the
2032         extra parameter so we can remove these methods.
2033
2034         * public/WebView.h:
2035         (WebView):
2036         * src/WebViewImpl.cpp:
2037         (WebKit::WebViewImpl::dragTargetDragEnter):
2038         (WebKit::WebViewImpl::dragTargetDragOver):
2039         * src/WebViewImpl.h:
2040         (WebViewImpl):
2041
2042 2012-07-12  Tony Chang  <tony@chromium.org>
2043
2044         Unreviewed.  Rolled DEPS.
2045
2046         * DEPS:
2047
2048 2012-07-12  Adam Barth  <abarth@webkit.org>
2049
2050         [Chromium] Delete last mention of Hixie76 in WebKit/chromium
2051         https://bugs.webkit.org/show_bug.cgi?id=91099
2052
2053         Reviewed by Tony Chang.
2054
2055         This deprecated API is no longer used anywhere.
2056
2057         * public/WebSettings.h:
2058         (WebKit::WebSettings::setDefaultDeviceScaleFactor):
2059
2060 2012-07-12  Tony Chang  <tony@chromium.org>
2061
2062         Unreviewed, rolling out r122477.
2063         http://trac.webkit.org/changeset/122477
2064         https://bugs.webkit.org/show_bug.cgi?id=91103
2065
2066         Broke Chromium Mac build
2067
2068         * src/mac/WebInputEventFactory.mm:
2069
2070 2012-07-12  Robert Sesek  <rsesek@chromium.org>
2071
2072         [chromium][Mac] r122400 broke 10.6 build
2073         https://bugs.webkit.org/show_bug.cgi?id=91103
2074
2075         Reviewed by Tony Chang.
2076
2077         Use the right availability macros for forward-declaring methods and
2078         defining constants.
2079
2080         * src/mac/WebInputEventFactory.mm:
2081
2082 2012-07-12  Peter Beverloo  <peter@chromium.org>
2083
2084         [Chromium] Enable building APKs for TestWebKitAPI and webkit_unit_tests
2085         https://bugs.webkit.org/show_bug.cgi?id=90989
2086
2087         Reviewed by Adam Barth.
2088
2089         Add dependencies on the webkit_unit_tests_apk and TestWebKitAPI_apk
2090         targets for Android, making sure that we're generating the packages.
2091
2092         * All.gyp:
2093
2094 2012-07-12  Leandro Gracia Gil  <leandrogracia@chromium.org>
2095
2096         [Chromium] Remove unrequired API in WebSurroundingText.
2097         https://bugs.webkit.org/show_bug.cgi?id=91067
2098
2099         Reviewed by Adam Barth.
2100
2101         Remove the unused first initialize method from WebSurroundingText.
2102         Now both Chromium and LayoutTestController use the second method.
2103
2104         * public/WebSurroundingText.h:
2105         (WebSurroundingText):
2106         * src/WebSurroundingText.cpp:
2107
2108 2012-07-11  Mark Rowe  <mrowe@apple.com>
2109
2110         <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
2111
2112         This removal was handled by a script that translates the relevant macros in to the equivalent checks
2113         using the system availability macros.
2114
2115         Reviewed by Filip Pizlo.
2116
2117         * src/mac/WebInputEventFactory.mm:
2118
2119 2012-07-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2120
2121         Unreviewed.  Rolled DEPS.
2122
2123         * DEPS:
2124
2125 2012-07-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2126
2127         Unreviewed, rolling out r122358.
2128         http://trac.webkit.org/changeset/122358
2129         https://bugs.webkit.org/show_bug.cgi?id=91037
2130
2131         Build break on WebKit Win (Requested by hayato on #webkit).
2132
2133         * public/WebView.h:
2134         (WebView):
2135         * src/WebViewImpl.cpp:
2136         (WebKit::WebViewImpl::dragTargetDragEnter):
2137         (WebKit):
2138         (WebKit::WebViewImpl::dragTargetDragOver):
2139         (WebKit::WebViewImpl::dragTargetDrop):
2140         * src/WebViewImpl.h:
2141         (WebViewImpl):
2142
2143 2012-07-11  Alexandre Elias  <aelias@google.com>
2144
2145         [chromium] Move compositor quads to Platform/chromium/public
2146         https://bugs.webkit.org/show_bug.cgi?id=90582
2147
2148         Reviewed by Adrienne Walker.
2149
2150         This moves CCSharedQuadState, CCDrawQuad, and all but two CC*DrawQuad
2151         classes to the WebKit namespace, as a first step to pushing them
2152         across the process boundary for the ubercompositor.
2153
2154         - The intent is to serialize the class hierarchy using the same
2155         mechanism as WebInputEvent.  In order to do this, there are three
2156         requirements: pure POD data, a method returning size, and a packing
2157         pragma.
2158
2159         - Private data members are fine with this kind of serializer, and a
2160         default constructor is not needed.  Because of that, we can maintain
2161         the same encapsulation and convenient APIs (behind
2162         WEBKIT_IMPLEMENTATION) as the original classes.  To ease the
2163         transition, the original WebCore headers still exist and typedef to
2164         the new classes.
2165
2166         - However, SharedQuadState will be serialized using the normal
2167         IPC_STRUCT_TRAITS macro, so I made its members public.  A custom
2168         serializer (on quad lists) will maintain the pointers from quads to
2169         SharedQuadStates.
2170
2171         - I converted the Material casting mechanism to materialCast() methods
2172         living in the derived classes.  That way, the WebCompositorQuad header
2173         doesn't need to know about all its derived classes.
2174
2175         - Quad classes not yet transitioned can still be used in
2176         non-ubercompositor mode.  CCRenderPassDrawQuad and CCYUVVideoDrawQuad
2177         are currently non-POD and I left them in their original files.
2178
2179         This approach is the best I've found so far, since it preserves all
2180         WebCore-facing APIs and avoids unnecessary code duplication (new quad
2181         types or members can be added by modifying only one place).  There
2182         also should not be an unreasonable amount of custom serializer code
2183         required.
2184
2185         * tests/CCLayerTestCommon.cpp:
2186         (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
2187         * tests/CCSolidColorLayerImplTest.cpp:
2188         (CCLayerTestCommon::TEST):
2189
2190 2012-07-11  Dana Jansens  <danakj@chromium.org>
2191
2192         [chromium] Rename layerRect to contentRect for rects that live in content space
2193         https://bugs.webkit.org/show_bug.cgi?id=90843
2194
2195         Reviewed by Adrienne Walker.
2196
2197         * tests/CCLayerImplTest.cpp:
2198         (WebCore::TEST):
2199         * tests/CCLayerTreeHostCommonTest.cpp:
2200         * tests/CCLayerTreeHostImplTest.cpp:
2201         * tests/CCOcclusionTrackerTest.cpp:
2202         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
2203         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
2204         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
2205         * tests/CCQuadCullerTest.cpp:
2206         * tests/CCRenderSurfaceTest.cpp:
2207         * tests/CCSolidColorLayerImplTest.cpp:
2208         (CCLayerTestCommon::TEST):
2209         * tests/CCTiledLayerImplTest.cpp:
2210         (CCLayerTestCommon::createLayer):
2211         (CCLayerTestCommon::TEST):
2212         (CCLayerTestCommon::getQuads):
2213         (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
2214         (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
2215         * tests/CCTiledLayerTestCommon.cpp:
2216         (WebKitTests::FakeLayerTextureUpdater::prepareToUpdate):
2217         (WebKitTests::FakeTiledLayerChromium::update):
2218         * tests/CCTiledLayerTestCommon.h:
2219         (FakeTiledLayerChromium):
2220         * tests/LayerChromiumTest.cpp:
2221         * tests/TiledLayerChromiumTest.cpp:
2222
2223 2012-07-11  Dana Jansens  <danakj@chromium.org>
2224
2225         [chromium] Minimum size used for occlusion tracking should be a setting on CCLayerTreeHost
2226         https://bugs.webkit.org/show_bug.cgi?id=90993
2227
2228         Reviewed by Adrienne Walker.
2229
2230         * tests/CCLayerTreeHostImplTest.cpp:
2231
2232 2012-07-11  Adam Barth  <abarth@webkit.org>
2233
2234         [Chromium] Enable LEGACY_VIEWPORT_ADAPTION
2235         https://bugs.webkit.org/show_bug.cgi?id=90991
2236
2237         Reviewed by Tony Chang.
2238
2239         Chromium wishes to support LEGACY_VIEWPORT_ADAPTION. I actually thought
2240         this was enabled before, but the enable bit got lost in the shuffle.
2241
2242         * features.gypi:
2243
2244 2012-07-11  Tony Chang  <tony@chromium.org>
2245
2246         [chromium] Remove drag and drop API methods that are no longer used
2247         https://bugs.webkit.org/show_bug.cgi?id=90996
2248
2249         Reviewed by Adam Barth.
2250
2251         In r117327, we added a parameter for modifier keys to these methods.
2252         Chromium has since switched to using the methods that require the
2253         extra parameter so we can remove these methods.
2254
2255         * public/WebView.h:
2256         (WebView):
2257         * src/WebViewImpl.cpp:
2258         (WebKit::WebViewImpl::dragTargetDragEnter):
2259         (WebKit::WebViewImpl::dragTargetDragOver):
2260         * src/WebViewImpl.h:
2261         (WebViewImpl):
2262
2263 2012-07-11  Shawn Singh  <shawnsingh@chromium.org>
2264
2265         Unreviewed build fix, forgot to add URLTestHelpers.* when landing r122344
2266
2267         * tests/URLTestHelpers.cpp: Added.
2268         (URLTestHelpers):
2269         (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
2270         (WebKit::URLTestHelpers::registerMockedURLLoad):
2271         * tests/URLTestHelpers.h: Added.
2272         (WebKit):
2273         (URLTestHelpers):
2274         (WebKit::URLTestHelpers::toKURL):
2275
2276 2012-07-11  Shawn Singh  <shawnsingh@chromium.org>
2277
2278         [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
2279         https://bugs.webkit.org/show_bug.cgi?id=90094
2280
2281         Reviewed by Adrienne Walker.
2282
2283         This patch adds the WEBKIT_IMPLEMENTATION = 1 define to
2284         WebKitUnitTests.gyp. To get it to compile correctly, some string
2285         and URL code was refactored and fixed, in particular GURL usage is
2286         replaced with KURL usage.
2287
2288         * WebKit.gyp:
2289         added WEBKIT_IMPLEMENTATION == 1 for unit test code when in shared library
2290         added URLTestHelpers to exclusion in shared library build, because it depends on webkit_support
2291
2292         * WebKit.gypi:
2293         added URLTestHelpers.h and .cpp to the build process
2294
2295         * WebKitUnitTests.gyp:
2296         added WEBKIT_IMPLEMENTATION == 1 for unit test code when not in shared library.
2297         note that in shared library build, RunAllTests.cpp does not have WEBKIT_IMPLEMENTATION == 1.
2298
2299         * public/WebDOMMessageEvent.h:
2300         (WebKit::WebDOMMessageEvent::WebDOMMessageEvent):
2301         * tests/AssociatedURLLoaderTest.cpp:
2302         * tests/EventListenerTest.cpp:
2303         * tests/FrameTestHelpers.cpp:
2304         (WebKit::FrameTestHelpers::loadFrame):
2305         * tests/FrameTestHelpers.h:
2306         * tests/ListenerLeakTest.cpp:
2307         (WebKit::ListenerLeakTest::RunTest):
2308         * tests/PopupMenuTest.cpp:
2309         * tests/RunAllTests.cpp:
2310         * tests/URLTestHelpers.cpp: Added.
2311         (URLTestHelpers):
2312         (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
2313         (WebKit::URLTestHelpers::registerMockedURLLoad):
2314         * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
2315         (WebKit):
2316         (URLTestHelpers):
2317         (WebKit::URLTestHelpers::toKURL):
2318         * tests/WebFrameTest.cpp:
2319         * tests/WebPageNewSerializerTest.cpp:
2320         * tests/WebPageSerializerTest.cpp:
2321         * tests/WebViewTest.cpp:
2322
2323 2012-07-10  Pavel Feldman  <pfeldman@chromium.org>
2324
2325         Web Inspector: migrate from background images to CSS for statusbar rendering.
2326         https://bugs.webkit.org/show_bug.cgi?id=90902
2327
2328         Reviewed by Vsevolod Vlasov.
2329
2330         * WebKit.gypi:
2331         * src/js/Images/statusbarBackgroundChromium.png: Removed.
2332         * src/js/Images/statusbarBottomBackgroundChromium.png: Removed.
2333         * src/js/Images/statusbarButtonsChromium.png: Removed.
2334         * src/js/Images/statusbarMenuButtonChromium.png: Removed.
2335         * src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed.
2336         * src/js/devTools.css:
2337         (.status-bar-background):
2338
2339 2012-07-11  Kenichi Ishibashi  <bashi@chromium.org>
2340
2341         [Chromium] Adding HarfBuzz-ng for Linux
2342         https://bugs.webkit.org/show_bug.cgi?id=90362
2343
2344         Reviewed by Tony Chang.
2345
2346         * features.gypi: Added use_harfbuzz_ng variable. If the value is set, USE(HARFBUZZ_NG) is defined.
2347
2348 2012-07-10  Hayato Ito  <hayato@chromium.org>
2349
2350         Unreviewed gardening.
2351
2352         Android builder started to fail after r122292.
2353         My best guess is that '--ant-compile' does not take an argument.
2354
2355         * WebKitUnitTests.gyp:
2356
2357 2012-07-10  Yoshifumi Inoue  <yosin@chromium.org>
2358
2359         [Chromium-Windows] Implement functions for localized time format information
2360         https://bugs.webkit.org/show_bug.cgi?id=90236
2361
2362         Reviewed by Kent Tamura.
2363
2364         This patch introduces test cases for date and time format related
2365         functions in LocaleWin.
2366
2367         * tests/LocaleWinTest.cpp:
2368         (LocaleWinTest):
2369         (LocaleWinTest::dateComponents): Added.
2370         (LocaleWinTest::msForDate): Moved inside class LocaleWinTest.
2371         (LocaleWinTest::formatDate): Added.
2372         (LocaleWinTest::parseDate): Added.
2373         (LocaleWinTest::dateFormatText): Added.
2374         (LocaleWinTest::firstDayOfWeek): Added.
2375         (LocaleWinTest::monthLabel): Added.
2376         (LocaleWinTest::weekDayShortLabel): Added.
2377         (LocaleWinTest::timeFormatText): Added.
2378         (LocaleWinTest::shortTimeFormatText): Added.
2379         (LocaleWinTest::timeAMPMLabel): Added.
2380         (TEST_F):
2381
2382 2012-07-10  Adam Barth  <abarth@webkit.org>
2383
2384         [Chromium-Android] Add apk test targets for webkit_unit_tests and TestWebKitAPI
2385         https://bugs.webkit.org/show_bug.cgi?id=90918
2386
2387         Reviewed by Tony Chang.
2388
2389         The rules are similar to what we have added for DumpRenderTree apk.
2390         All references to gtest_target_type can be removed once we enable APK
2391         tests on the all bots.
2392
2393         * WebKitUnitTests.gyp:
2394
2395 2012-07-10  Kevin Ellis  <kevers@chromium.org>
2396
2397         Input elements with type=range do not have default touch handlers.
2398         https://bugs.webkit.org/show_bug.cgi?id=88807
2399
2400         Reviewed by Antonio Gomes.
2401
2402         Adds flag to enable native handling of touch events for input elements
2403         with type=range.
2404
2405         * features.gypi:
2406
2407 2012-07-10  Adam Klein  <adamk@chromium.org>
2408
2409         [Chromium] REGRESSION(r121909): m_currentInputEvent never set
2410         https://bugs.webkit.org/show_bug.cgi?id=90914
2411
2412         Reviewed by Abhishek Arya.
2413
2414         The always-null m_currentInputEvent causes a regression when
2415         middle-clicking on a link that calls window.open('...', '_blank');
2416         that new tab should open in the background, but instead opens in the
2417         foreground (see code in ChromeClientImpl::getNavigationPolicy()).
2418
2419         Fix usage of TemporaryChange to specify a local variable name so that
2420         m_currentInputEvent is actually set for the duration of handleInputEvent.
2421
2422         * src/WebViewImpl.cpp:
2423         (WebKit::WebViewImpl::handleInputEvent): Name the TemporaryChange instance.
2424
2425 2012-07-10  Adam Barth  <abarth@webkit.org>
2426
2427         WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
2428         https://bugs.webkit.org/show_bug.cgi?id=90910
2429
2430         Reviewed by Eric Seidel.
2431
2432         * public/WebSettings.h:
2433         (WebKit::WebSettings::setHixie76WebSocketProtocolEnabled):
2434         * src/WebSettingsImpl.cpp:
2435         * src/WebSettingsImpl.h:
2436         (WebSettingsImpl):
2437         * src/WebSharedWorkerImpl.cpp:
2438         (WebKit::WebSharedWorkerImpl::initializeLoader):
2439
2440 2012-07-09  Dana Jansens  <danakj@chromium.org>
2441
2442         [chromium] Replace use of ManagedTexture with CCScopedTexture for impl thread and remove implTextureManager from LayerRendererChromium
2443         https://bugs.webkit.org/show_bug.cgi?id=90841
2444
2445         Reviewed by Adrienne Walker.
2446
2447         * tests/CCLayerTreeHostImplTest.cpp:
2448
2449 2012-07-10  Xianzhu Wang  <wangxianzhu@chromium.org>
2450
2451         [Chromium-Android] Use default font rendering styles in FontPlatformData::querySystemForRenderStyle()
2452         https://bugs.webkit.org/show_bug.cgi?id=90826
2453
2454         Reviewed by Adam Barth.
2455
2456         * WebKit.gyp:
2457         * src/PlatformSupport.cpp:
2458         (WebCore::PlatformSupport::getRenderStyleForStrike): Call style.setDefault() on Android or when the font is not specified.
2459
2460 2012-07-10  Dana Jansens  <danakj@chromium.org>
2461
2462         [chromium] Avoid allocating render pass textures that have no content
2463         https://bugs.webkit.org/show_bug.cgi?id=90702
2464
2465         Reviewed by Adrienne Walker.
2466
2467         * tests/CCLayerTreeHostImplTest.cpp:
2468         * tests/CCLayerTreeHostTest.cpp:
2469         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
2470         (CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
2471         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
2472         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::beginTest):
2473         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::didCommit):
2474         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::drawLayersOnCCThread):
2475         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::afterTest):
2476         (WTF):
2477
2478 2012-07-10  Leandro Gracia Gil  <leandrogracia@chromium.org>
2479
2480         Unreviewed Chromium build fix for mac-release.
2481
2482         Fixing clang build after https://bugs.webkit.org/show_bug.cgi?id=90807
2483
2484         * public/WebSurroundingText.h:
2485         (WebKit):
2486
2487 2012-07-10  Leandro Gracia Gil  <leandrogracia@chromium.org>
2488
2489         WebSurroundingText layout tests should use the same code path as the rest of the feature.
2490         https://bugs.webkit.org/show_bug.cgi?id=90807
2491
2492         Reviewed by Adam Barth.
2493
2494         Replace the offset-based initialize method used only by LayoutTestController
2495         with a point-based version to follow the same code path.
2496
2497         * public/WebSurroundingText.h:
2498         (WebKit):
2499         (WebSurroundingText):
2500         * src/WebSurroundingText.cpp:
2501         (WebKit::WebSurroundingText::initialize):
2502
2503 2012-07-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2504
2505         Unreviewed, rolling out r122207.
2506         http://trac.webkit.org/changeset/122207
2507         https://bugs.webkit.org/show_bug.cgi?id=90874
2508
2509         Broke the cr-windows bot (Requested by beverloo on #webkit).
2510
2511         * DEPS:
2512
2513 2012-07-10  Jochen Eisinger  <jochen@chromium.org>
2514
2515         Unreviewed.  Rolled DEPS.
2516
2517         * DEPS:
2518
2519 2012-07-09  Matt Falkenhagen  <falken@chromium.org>
2520
2521         Add ENABLE_DIALOG_ELEMENT and skeleton files
2522         https://bugs.webkit.org/show_bug.cgi?id=90521
2523
2524         Reviewed by Kent Tamura.
2525
2526         * features.gypi:
2527         * public/WebRuntimeFeatures.h:
2528         (WebRuntimeFeatures):
2529         * src/WebRuntimeFeatures.cpp:
2530         (WebKit::WebRuntimeFeatures::enableDialogElement):
2531         (WebKit):
2532         (WebKit::WebRuntimeFeatures::isDialogElementEnabled):
2533
2534 2012-07-09  Yoshifumi Inoue  <yosin@chromium.org>
2535
2536         [Chromium-Mac] Implement functions for localized time format information
2537         https://bugs.webkit.org/show_bug.cgi?id=90237
2538
2539         Reviewed by Kent Tamura.
2540
2541         * tests/LocaleMacTest.cpp:
2542         (LocaleMacTest):
2543         (LocaleMacTest::timeFormatText):
2544         (LocaleMacTest::shortTimeFormatText):
2545         (LocaleMacTest::timeAMPMLabel):
2546         (TEST_F):
2547
2548 2012-07-09  Eric Penner  <epenner@google.com>
2549
2550         [chromium] Merge updates and idle updates into one pass
2551         https://bugs.webkit.org/show_bug.cgi?id=90324
2552
2553         Reviewed by Adrienne Walker.
2554
2555         * tests/CCLayerTreeHostTest.cpp:
2556         (WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
2557         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
2558         (ContentLayerChromiumWithUpdateTracking):
2559         (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
2560         * tests/CCTiledLayerTestCommon.h:
2561         (FakeTiledLayerChromium):
2562         * tests/TiledLayerChromiumTest.cpp:
2563
2564 2012-07-09  Yoshifumi Inoue  <yosin@chromium.org>
2565
2566         [Platform] Introduce LocaleMac class
2567         https://bugs.webkit.org/show_bug.cgi?id=90248
2568
2569         Reviewed by Kent Tamura.
2570
2571         This patch added tests for LocaleMac class.
2572
2573         * WebKit.gypi:
2574         * tests/LocaleMacTest.cpp: Added.
2575         (LocaleMacTest):
2576         (LocaleMacTest::dateComponents):
2577         (LocaleMacTest::msForDate):
2578         (LocaleMacTest::formatDate):
2579         (LocaleMacTest::parseDate):
2580         (LocaleMacTest::dateFormatText):
2581         (LocaleMacTest::firstDayOfWeek):
2582         (LocaleMacTest::monthLabel):
2583         (LocaleMacTest::weekDayShortLabel):
2584         (TEST_F):
2585
2586 2012-07-09  Dana Jansens  <danakj@chromium.org>
2587
2588         [chromium] Create CCScopedTexture class for creating/freeing textures
2589         https://bugs.webkit.org/show_bug.cgi?id=89485
2590
2591         Reviewed by Adrienne Walker.
2592
2593         * WebKit.gypi:
2594         * tests/CCScopedTextureTest.cpp: Added.
2595         (WebKitTests):
2596         (WebKitTests::TEST):
2597         (TrackingTextureAllocator):
2598         (WebKitTests::TrackingTextureAllocator::TrackingTextureAllocator):
2599         (WebKitTests::TrackingTextureAllocator::numTextures):
2600
2601 2012-07-09  Joshua Bell  <jsbell@chromium.org>
2602
2603         IndexedDB: Remove obsolete accessor plumbing
2604         https://bugs.webkit.org/show_bug.cgi?id=90812
2605
2606         Reviewed by Tony Chang.
2607
2608         * public/WebIDBCursor.h: Remove direction.
2609         * public/WebIDBDatabase.h: Remove name, version, objectStoreNames;
2610         (WebKit::WebIDBDatabase::metadata):
2611         * public/WebIDBIndex.h: Remove name, keyPath, unique, multiEntry;
2612         * public/WebIDBObjectStore.h: Remove name, keyPath, indexNames, autoIncrement;
2613         * src/IDBDatabaseBackendProxy.cpp: Remove plumbing.
2614         * src/IDBDatabaseBackendProxy.h: Remove plumbing.
2615         (IDBDatabaseBackendProxy):
2616         * src/IDBIndexBackendProxy.cpp: Remove plumbing.
2617         * src/IDBIndexBackendProxy.h: Remove plumbing.
2618         (IDBIndexBackendProxy):
2619         * src/IDBObjectStoreBackendProxy.cpp: Remove plumbing.
2620         * src/IDBObjectStoreBackendProxy.h: Remove plumbing.
2621         (IDBObjectStoreBackendProxy):
2622         * src/IDBTransactionBackendProxy.cpp: Remove plumbing.
2623         * src/IDBTransactionBackendProxy.h: Assert stub is not used - only needed
2624         by real IDBTransactionBackendImpl
2625         (WebKit::IDBTransactionBackendProxy::mode):
2626         * src/WebIDBTransactionImpl.cpp: Remove plumbing.
2627         * src/WebIDBTransactionImpl.h: Remove plumbing.
2628
2629 2012-07-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2630
2631         Unreviewed, rolling out r122161.
2632         http://trac.webkit.org/changeset/122161
2633         https://bugs.webkit.org/show_bug.cgi?id=90837
2634
2635         failed to compile on chromium webkit linux bot (Requested by
2636         shawnsingh on #webkit).
2637
2638         * WebKit.gypi:
2639         * WebKitUnitTests.gyp:
2640         * public/WebDOMMessageEvent.h:
2641         * tests/AssociatedURLLoaderTest.cpp:
2642         (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
2643         (WebKit::AssociatedURLLoaderTest::SetUp):
2644         (WebKit::AssociatedURLLoaderTest::CheckMethodFails):
2645         (WebKit::AssociatedURLLoaderTest::CheckHeaderFails):
2646         (WebKit::AssociatedURLLoaderTest::CheckAccessControlHeaders):
2647         (WebKit::TEST_F):
2648         * tests/EventListenerTest.cpp:
2649         * tests/FrameTestHelpers.cpp:
2650         (WebKit::FrameTestHelpers::registerMockedURLLoad):
2651         (FrameTestHelpers):
2652         (WebKit::FrameTestHelpers::loadFrame):
2653         * tests/FrameTestHelpers.h:
2654         (FrameTestHelpers):
2655         * tests/ListenerLeakTest.cpp:
2656         (WebKit::ListenerLeakTest::RunTest):
2657         * tests/PopupMenuTest.cpp:
2658         (WebKit::SelectPopupMenuTest::registerMockedURLLoad):
2659         (WebKit::SelectPopupMenuTest::loadFrame):
2660         (WebKit::TEST_F):
2661         * tests/RunAllTests.cpp:
2662         * tests/URLTestHelpers.cpp: Removed.
2663         * tests/URLTestHelpers.h: Removed.
2664         * tests/WebFrameTest.cpp:
2665         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
2666         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
2667         (WebKit::TEST_F):
2668         * tests/WebPageNewSerializerTest.cpp:
2669         (WebKit::WebPageNewSerializeTest::registerMockedURLLoad):
2670         (WebPageNewSerializeTest):
2671         (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
2672         (WebKit::WebPageNewSerializeTest::loadURLInTopFrame):
2673         (WebKit::WebPageNewSerializeTest::resourceVectorContains):
2674         (WebKit::TEST_F):
2675         * tests/WebPageSerializerTest.cpp:
2676         (WebKit::WebPageSerializerTest::registerMockedURLLoad):
2677         (WebKit::WebPageSerializerTest::loadURLInTopFrame):
2678         (WebKit::WebPageSerializerTest::webVectorContains):
2679         (WebKit::TEST_F):
2680         * tests/WebViewTest.cpp:
2681         (WebKit::TEST_F):
2682         (WebKit::WebViewTest::testAutoResize):
2683         (WebKit::WebViewTest::testTextInputType):
2684
2685 2012-07-09  Shawn Singh  <shawnsingh@chromium.org>
2686
2687         [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
2688         https://bugs.webkit.org/show_bug.cgi?id=90094
2689
2690         Reviewed by Adam Barth.
2691
2692         This patch adds the WEBKIT_IMPLEMENTATION = 1 define to
2693         WebKitUnitTests.gyp. To get it to compile correctly, some string
2694         and URL code was refactored, and GURL types were replaced with KURL types.
2695
2696         * WebKit.gypi:
2697         * WebKitUnitTests.gyp:
2698         * public/WebDOMMessageEvent.h:
2699         (WebKit::WebDOMMessageEvent::WebDOMMessageEvent):
2700         * tests/AssociatedURLLoaderTest.cpp:
2701         * tests/EventListenerTest.cpp:
2702         * tests/FrameTestHelpers.cpp:
2703         (WebKit::FrameTestHelpers::loadFrame):
2704         * tests/FrameTestHelpers.h:
2705         * tests/ListenerLeakTest.cpp:
2706         (WebKit::ListenerLeakTest::RunTest):
2707         * tests/PopupMenuTest.cpp:
2708         * tests/RunAllTests.cpp:
2709         * tests/URLTestHelpers.cpp: Added.
2710         (URLTestHelpers):
2711         (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
2712         (WebKit::URLTestHelpers::registerMockedURLLoad):
2713         * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
2714         (WebKit):
2715         (URLTestHelpers):
2716         (WebKit::URLTestHelpers::toKURL):
2717         * tests/WebFrameTest.cpp:
2718         * tests/WebPageNewSerializerTest.cpp:
2719         * tests/WebPageSerializerTest.cpp:
2720         * tests/WebViewTest.cpp:
2721
2722 2012-07-09  Dana Jansens  <danakj@chromium.org>
2723
2724         [chromium] Decouple RenderPass drawing from CCRenderSurface
2725         https://bugs.webkit.org/show_bug.cgi?id=90573
2726
2727         Reviewed by Adrienne Walker.
2728
2729         * tests/CCLayerTreeHostImplTest.cpp:
2730         * tests/LayerRendererChromiumTest.cpp:
2731         (FakeCCRendererClient::FakeCCRendererClient):
2732
2733 2012-07-09  Adam Klein  <adamk@chromium.org>
2734
2735         Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver
2736         https://bugs.webkit.org/show_bug.cgi?id=90810
2737
2738         Reviewed by Ojan Vafai.
2739
2740         * src/WebKit.cpp:
2741
2742 2012-07-09  Leandro Gracia Gil  <leandrogracia@chromium.org>
2743
2744         SurroundingText should not advance character iterators if they are at end.
2745         https://bugs.webkit.org/show_bug.cgi?id=90560
2746
2747         Reviewed by Ryosuke Niwa.
2748
2749         Moving the check for null visible positions to WebCore as it makes no
2750         sense to be in a platform-specific code.
2751
2752         * src/WebSurroundingText.cpp:
2753         (WebKit::WebSurroundingText::initialize):
2754
2755 2012-07-09  Dana Jansens  <danakj@chromium.org>
2756
2757         [chromium] Create render surfaces on main thread only for the current frame
2758         https://bugs.webkit.org/show_bug.cgi?id=89793
2759
2760         Reviewed by Adrienne Walker.
2761
2762         * tests/CCLayerTreeHostCommonTest.cpp:
2763
2764 2012-07-02  Ryosuke Niwa  <rniwa@webkit.org>
2765
2766         Make HTMLCollection RefCounted
2767         https://bugs.webkit.org/show_bug.cgi?id=90414
2768
2769         Reviewed by Sam Weinig.
2770
2771         * src/WebPageSerializer.cpp:
2772         (WebCore::retrieveResourcesForFrame):
2773         * src/WebPageSerializerImpl.cpp:
2774         (WebKit::WebPageSerializerImpl::collectTargetFrames):
2775
2776 2012-07-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2777
2778         Unreviewed, rolling out r122107.
2779         http://trac.webkit.org/changeset/122107
2780         https://bugs.webkit.org/show_bug.cgi?id=90794
2781
2782         Build failure on Mac debug bots (Requested by falken_ on
2783         #webkit).
2784
2785         * features.gypi:
2786         * public/WebRuntimeFeatures.h:
2787         (WebRuntimeFeatures):
2788         * src/WebRuntimeFeatures.cpp:
2789
2790 2012-07-09  Matt Falkenhagen  <falken@chromium.org>
2791
2792         Add ENABLE_DIALOG_ELEMENT and skeleton files
2793         https://bugs.webkit.org/show_bug.cgi?id=90521
2794
2795         Reviewed by Kent Tamura.
2796
2797         * features.gypi:
2798         * public/WebRuntimeFeatures.h:
2799         (WebRuntimeFeatures):
2800         * src/WebRuntimeFeatures.cpp:
2801         (WebKit::WebRuntimeFeatures::enableDialogElement):
2802         (WebKit):
2803         (WebKit::WebRuntimeFeatures::isDialogElementEnabled):
2804
2805 2012-07-09  MORITA Hajime  <morrita@google.com>
2806
2807         [Chromium] ContextFeaturesClient::isEnabled is slow
2808         https://bugs.webkit.org/show_bug.cgi?id=90367
2809
2810         Reviewed by Kent Tamura.
2811
2812         ContextFeaturesClientImpl::isEnabled touches a heavy part in chrome
2813         where locks are acquired for each invocation.
2814
2815         This change introduces a set of caches to avoid such slow calls.
2816         The cache class ContextFeaturesCache is implemented as a
2817         Supplement of ScriptExecutionContext because the flag bits
2818         depend on the domain of each Document.
2819
2820         * src/ContextFeaturesClientImpl.cpp:
2821         (ContextFeaturesCache): Added.
2822         (Entry): Added.
2823         (WebKit::ContextFeaturesCache::Entry::Entry):
2824         (WebKit::ContextFeaturesCache::Entry::isEnabled):
2825         (WebKit::ContextFeaturesCache::Entry::set):
2826         (WebKit::ContextFeaturesCache::Entry::needsRefresh):
2827         (WebKit::ContextFeaturesCache::entryFor):
2828         (WebKit):
2829         (WebKit::ContextFeaturesCache::supplementName):
2830         (WebKit::ContextFeaturesCache::from):
2831         (WebKit::ContextFeaturesCache::refreshAgainst):
2832         (WebKit::ContextFeaturesClientImpl::isEnabled):
2833         (WebKit::ContextFeaturesClientImpl::urlDidChange): Added to invoke refrshAgainst.
2834         (WebKit::ContextFeaturesClientImpl::askIfIsEnabled):
2835         * src/ContextFeaturesClientImpl.h:
2836         (ContextFeaturesClientImpl):
2837
2838 2012-07-09  Vsevolod Vlasov  <vsevik@chromium.org>
2839
2840         Unreviewed chromium inspector test fix.
2841
2842         * src/js/Tests.js:
2843         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
2844
2845 2012-07-05  Yoshifumi Inoue  <yosin@chromium.org>
2846
2847         Unreviewed Chromium gardening. Roll Chromium DEPS
2848
2849         * DEPS: 145501 => 145569
2850
2851 2012-07-05  Yoshifumi Inoue  <yosin@chromium.org>
2852
2853         Unreviewed Chromium gardening - Disable WebAnimationTest for Linux and Windows.
2854         https://bugs.webkit.org/show_bug.cgi?id=90651
2855
2856         * tests/WebAnimationTest.cpp:
2857         (WebKit):
2858         (WebKit::TEST):
2859
2860 2012-07-05  Ian Vollick  <vollick@chromium.org>
2861
2862         [chromium] Create a WebKit::Web* wrapper for the cc animation classes
2863         https://bugs.webkit.org/show_bug.cgi?id=90303
2864
2865         Reviewed by James Robinson.
2866
2867         * WebKit.gyp:
2868         * WebKit.gypi:
2869         * src/WebAnimation.cpp: Added.
2870         (WebKit):
2871         (WebKit::WebAnimation::iterations):
2872         (WebKit::WebAnimation::setIterations):
2873         (WebKit::WebAnimation::startTime):
2874         (WebKit::WebAnimation::setStartTime):
2875         (WebKit::WebAnimation::timeOffset):
2876         (WebKit::WebAnimation::setTimeOffset):
2877         (WebKit::WebAnimation::alternatesDirection):
2878         (WebKit::WebAnimation::setAlternatesDirection):
2879         (WebKit::WebAnimation::toCCActiveAnimation):
2880         (WebKit::WebAnimation::initialize):
2881         (WebKit::WebAnimation::destroy):
2882         * src/WebAnimationCurveCommon.cpp: Added.
2883         (WebKit):
2884         (WebKit::createTimingFunction):
2885         * src/WebAnimationCurveCommon.h: Added.
2886         (WebCore):
2887         (WebKit):
2888         * src/WebFloatAnimationCurve.cpp: Added.
2889         (WebKit):
2890         (WebKit::WebFloatAnimationCurve::add):
2891         (WebKit::WebFloatAnimationCurve::toCCAnimationCurve):
2892         (WebKit::WebFloatAnimationCurve::initialize):
2893         (WebKit::WebFloatAnimationCurve::destroy):
2894         * src/WebTransformAnimationCurve.cpp: Added.
2895         (WebKit):
2896         (WebKit::WebTransformAnimationCurve::add):
2897         (WebKit::WebTransformAnimationCurve::toCCAnimationCurve):
2898         (WebKit::WebTransformAnimationCurve::initialize):
2899         (WebKit::WebTransformAnimationCurve::destroy):
2900         * tests/WebAnimationTest.cpp: Added.
2901         * tests/WebFloatAnimationCurveTest.cpp: Added.
2902         * tests/WebTransformAnimationCurveTest.cpp: Added.
2903
2904 2012-07-05  Vincent Scheib  <scheib@chromium.org>
2905
2906         [Chromium] Clear m_currentInputEvent after handled by pointerLockMouseEvent().
2907         https://bugs.webkit.org/show_bug.cgi?id=90391
2908
2909         WebViewImpl::handleInputEvent was keeping a pointer to an input event that would
2910         later be accessed. When in pointer lock, that pointer was not being cleared.
2911         Code modified to use TemporaryChange to automatically clear the pointer at all
2912         method exit points.
2913
2914         Reviewed by Abhishek Arya.
2915
2916         * src/WebViewImpl.cpp:
2917         (WebKit::WebViewImpl::handleInputEvent):
2918
2919 2012-07-05  John Mellor  <johnme@chromium.org>
2920
2921         Text Autosizing: Add test framework and simple test.
2922         https://bugs.webkit.org/show_bug.cgi?id=90561
2923
2924         ENABLE(TEXT_AUTOSIZING) is now on in Chromium (but disabled at runtime).
2925         This allows it to be used in Layout Tests (and in future by Web
2926         Inspector's mobile device emulation).
2927
2928         Reviewed by Adam Barth.
2929
2930         * features.gypi:
2931
2932 2012-07-05  Oli Lan  <olilan@chromium.org>
2933
2934         [chromium] Add a method didChangeFormState to WebViewClient.
2935         https://bugs.webkit.org/show_bug.cgi?id=90563
2936
2937         Reviewed by Adam Barth.
2938
2939         This patch adds a new method didChangeFormState to WebViewClient,
2940         and calls it from ChromeClientImpl::formStateDidChange with the changed node.
2941
2942         This new method can be used for example by the Android port to update the browser's
2943         IME when the state of the currently focused text node has changed. To facilitate this
2944         usage, a focused() method has been added to WebNode.
2945
2946         A new test has been added to WebViewTest. This test checks that didChangeFormState
2947         is called when an input's value is changed, and also checks that WebNode::focused() returns
2948         the correct value for the provided node, in both the focused and non-focused cases.
2949
2950         * public/WebNode.h:
2951         * public/WebViewClient.h:
2952         (WebKit::WebViewClient::didChangeFormState):
2953         * src/ChromeClientImpl.cpp:
2954         (WebKit::ChromeClientImpl::formStateDidChange):
2955         * src/WebNode.cpp:
2956         (WebKit::WebNode::focused):
2957         (WebKit):
2958         * tests/WebViewTest.cpp:
2959         (FormChangeWebViewClient):
2960         (WebKit::FormChangeWebViewClient::didChangeFormState):
2961         (WebKit::FormChangeWebViewClient::reset):
2962         (WebKit::FormChangeWebViewClient::called):
2963         (WebKit::FormChangeWebViewClient::focused):
2964         (WebKit):
2965         (WebKit::TEST_F):
2966         * tests/data/input_field_set_value_while_focused.html: Added.
2967         * tests/data/input_field_set_value_while_not_focused.html: Added.
2968
2969 2012-07-04  Yoshifumi Inoue  <yosin@chromium.org>
2970
2971         Unreviewed, Chromium gardening. Roll Chromium DEPS.
2972
2973         * DEPS: chromium_rev: 145322 => 145501
2974
2975 2012-07-04  Dana Jansens  <danakj@chromium.org>
2976
2977         [chromium] Respect memory needed for RenderSurfaces when reserving contents textures
2978         https://bugs.webkit.org/show_bug.cgi?id=89901
2979
2980         Reviewed by Adrienne Walker.
2981
2982         * tests/CCPrioritizedTextureTest.cpp:
2983         (WTF::CCPrioritizedTextureTest::createManager):
2984         (WTF::TEST_F):
2985         (WTF):
2986         * tests/CCTiledLayerTestCommon.cpp:
2987         (WebKitTests::FakeTiledLayerChromium::setTexturePriorities):
2988         (WebKitTests):
2989         * tests/CCTiledLayerTestCommon.h:
2990         (FakeTiledLayerChromium):
2991         * tests/TiledLayerChromiumTest.cpp:
2992
2993 2012-07-04  Dana Jansens  <danakj@chromium.org>
2994
2995         [chromium] Clear RenderSurfaces still when no idle paint will be done
2996         https://bugs.webkit.org/show_bug.cgi?id=90553
2997
2998         Reviewed by Adrienne Walker.
2999
3000         * tests/CCLayerTreeHostTest.cpp:
3001         (CCLayerTreeHostTestCompositeAndReadbackCleanup):
3002         (WTF::CCLayerTreeHostTestCompositeAndReadbackCleanup::CCLayerTreeHostTestCompositeAndReadbackCleanup):
3003         (WTF::CCLayerTreeHostTestCompositeAndReadbackCleanup::beginTest):
3004         (WTF::CCLayerTreeHostTestCompositeAndReadbackCleanup::afterTest):
3005         (WTF):
3006
3007 2012-07-04  Dana Jansens  <danakj@chromium.org>
3008
3009         [chromium] Remove CCLayerTreeHostTestThreadOnly class to cleanup CCLayerTreeHostTests
3010         https://bugs.webkit.org/show_bug.cgi?id=90556
3011
3012         Reviewed by Adrienne Walker.
3013
3014         Currently many tests that run both single and threaded versions subclass
3015         from CCLayerTreeHostTestThreadOnly just from copy/pasting. The class
3016         only adds a runTestThreaded() which calls runTest(true). Many other
3017         tests do run only in threaded mode call runTest(true) themselves, making
3018         for an inconsistent mess.
3019
3020         We remove CCLayerTreeHostTestThreadOnly class, so we don't have tests
3021         inheriting it that are not thread-only. And now all tests that are
3022         thread-only call runTest(true) consistently.
3023
3024         * tests/CCLayerTreeHostTest.cpp:
3025         (WTF::TEST_F):
3026
3027 2012-07-04  John Mellor  <johnme@chromium.org>
3028
3029         Text Autosizing: Add compile flag and runtime setting
3030         https://bugs.webkit.org/show_bug.cgi?id=87394
3031
3032         This patch renames Font Boosting to Text Autosizing and adds compile guards around the runtime setting.
3033
3034         Reviewed by Adam Barth.
3035
3036         * features.gypi:
3037         * public/WebSettings.h:
3038         * src/WebSettingsImpl.cpp:
3039         (WebKit::WebSettingsImpl::setTextAutosizingEnabled):
3040         * src/WebSettingsImpl.h:
3041         (WebSettingsImpl):
3042
3043 2012-07-04  Ian Vollick  <vollick@chromium.org>
3044
3045         [chromium] Correctly reject accelerated animations with certain rotations.
3046         https://bugs.webkit.org/show_bug.cgi?id=89768
3047
3048         Reviewed by James Robinson.
3049
3050         * tests/GraphicsLayerChromiumTest.cpp:
3051         (WebKitTests::TEST_F):
3052         (WebKitTests):
3053
3054 2012-07-03  Alex Sakhartchouk  <alexst@chromium.org>
3055
3056         [chromium] Avoid calling getUniformLocation??() in the compositor startup
3057         https://bugs.webkit.org/show_bug.cgi?id=90217
3058
3059         Reviewed by Adrienne Walker.
3060
3061         Fixing the build error.
3062
3063         * tests/TextureCopierTest.cpp:
3064
3065 2012-07-03  Erik Arvidsson  <arv@chromium.org>
3066
3067         [V8] Remove enableFasterDOMStoreAccess which is never used
3068         https://bugs.webkit.org/show_bug.cgi?id=90489
3069
3070         Reviewed by Adam Barth.
3071
3072         * src/WebScriptController.cpp:
3073         (WebKit::WebScriptController::enableV8SingleThreadMode):
3074
3075 2012-07-03  Tony Chang  <tony@chromium.org>
3076
3077         [chromium] Unreviewed, update .gitignore to handle VS2010 files.
3078
3079         * .gitignore:
3080
3081 2012-07-03  Tony Chang  <tony@chromium.org>
3082
3083         Unreviewed.  Rolled DEPS.
3084
3085         * DEPS:
3086
3087 2012-07-03  Charles Wei  <charles.wei@torchmobile.com.cn>
3088
3089         IndexedDB: should make the LevelDB persistant to the directory indicated in PageGroupSettings::indexedDBDataBasePath
3090         https://bugs.webkit.org/show_bug.cgi?id=88338
3091
3092         Reviewed by David Levin.
3093
3094         * src/WebSharedWorkerImpl.cpp:
3095         (WebKit::WebSharedWorkerImpl::startWorkerContext):
3096         * src/WebWorkerClientImpl.cpp:
3097         (WebKit::WebWorkerClientImpl::startWorkerContext):
3098
3099 2012-07-02  Sheriff Bot  <webkit.review.bot@gmail.com>
3100
3101         Unreviewed.  Rolled DEPS.
3102
3103         * DEPS:
3104
3105 2012-07-02  Leandro Gracia Gil  <leandrogracia@chromium.org>
3106
3107         [Chromium] Implement a Layout Test for editing/SurroundingText
3108         https://bugs.webkit.org/show_bug.cgi?id=82461
3109
3110         Reviewed by Ryosuke Niwa.
3111
3112         Allow passing nodes as arguments for layout test methods.
3113
3114         * public/WebBindings.h:
3115         (WebBindings):
3116         * src/WebBindings.cpp:
3117         (WebKit::getNodeImpl):
3118         (WebKit):
3119         (WebKit::WebBindings::getNode):
3120
3121 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
3122
3123         Do not do any logging initialization when logging is disabled
3124         https://bugs.webkit.org/show_bug.cgi?id=90228
3125
3126         Reviewed by Simon Fraser.
3127
3128         * src/WebKit.cpp:
3129         (WebKit::enableLogChannel):
3130
3131 2012-07-01  Keishi Hattori  <keishi@webkit.org>
3132
3133         Unreviewed, rolling out r121650.
3134         http://trac.webkit.org/changeset/121650
3135         https://bugs.webkit.org/show_bug.cgi?id=90303
3136
3137         runhooks is failing for chromium win bots and
3138         WebAnimationTest.DefaultSettings is crashing
3139
3140         * WebKit.gyp:
3141         * WebKit.gypi:
3142         * src/WebAnimation.cpp: Removed.
3143         * src/WebAnimationCurveCommon.cpp: Removed.
3144         * src/WebAnimationCurveCommon.h: Removed.
3145         * src/WebFloatAnimationCurve.cpp: Removed.
3146         * src/WebTransformAnimationCurve.cpp: Removed.
3147         * tests/WebAnimationTest.cpp: Removed.
3148         * tests/WebFloatAnimationCurveTest.cpp: Removed.
3149         * tests/WebTransformAnimationCurveTest.cpp: Removed.
3150
3151 2012-07-01  Ian Vollick  <vollick@chromium.org>
3152
3153         [chromium] Create a WebKit::Web* wrapper for the cc animation classes
3154         https://bugs.webkit.org/show_bug.cgi?id=90303
3155
3156         Reviewed by James Robinson.
3157
3158         * WebKit.gyp:
3159         * WebKit.gypi:
3160         * src/WebAnimation.cpp: Added.
3161         (WebKit):
3162         (WebKit::WebAnimation::iterations):
3163         (WebKit::WebAnimation::setIterations):
3164         (WebKit::WebAnimation::startTime):
3165         (WebKit::WebAnimation::setStartTime):
3166         (WebKit::WebAnimation::timeOffset):
3167         (WebKit::WebAnimation::setTimeOffset):
3168         (WebKit::WebAnimation::alternatesDirection):
3169         (WebKit::WebAnimation::setAlternatesDirection):
3170         (WebKit::WebAnimation::toCCActiveAnimation):
3171         (WebKit::WebAnimation::initialize):
3172         (WebKit::WebAnimation::destroy):
3173         * src/WebAnimationCurveCommon.cpp: Added.
3174         (WebKit):
3175         (WebKit::createTimingFunction):
3176         * src/WebAnimationCurveCommon.h: Added.
3177         (WebCore):
3178         (WebKit):
3179         * src/WebFloatAnimationCurve.cpp: Added.
3180         (WebKit):
3181         (WebKit::WebFloatAnimationCurve::add):
3182         (WebKit::WebFloatAnimationCurve::toCCAnimationCurve):
3183         (WebKit::WebFloatAnimationCurve::initialize):
3184         (WebKit::WebFloatAnimationCurve::destroy):
3185         * src/WebTransformAnimationCurve.cpp: Added.
3186         (WebKit):
3187         (WebKit::WebTransformAnimationCurve::add):
3188         (WebKit::WebTransformAnimationCurve::toCCAnimationCurve):
3189         (WebKit::WebTransformAnimationCurve::initialize):
3190         (WebKit::WebTransformAnimationCurve::destroy):
3191         * tests/WebAnimationTest.cpp: Added.
3192         * tests/WebFloatAnimationCurveTest.cpp: Added.
3193         * tests/WebTransformAnimationCurveTest.cpp: Added.
3194
3195 2012-06-30  Ian Vollick  <vollick@chromium.org>
3196
3197         [chromium] CanvasLayerTextureUpdater needs to convert opaque rects back to content space.
3198         https://bugs.webkit.org/show_bug.cgi?id=90092
3199
3200         The CanvasLayerTextureUpdater currently receives its opaque rects in
3201         layer space, but is expected to return them in content space and does
3202         not convert them. This patch adds this conversion. To avoid numerical
3203         errors, this patch also switches to using float rects to store opaque
3204         rects where appropriate.
3205
3206         Reviewed by Adrienne Walker.
3207
3208         * WebKit.gypi:
3209         * src/WebContentLayerImpl.cpp:
3210         (WebKit::WebContentLayerImpl::paintContents):
3211         * src/WebContentLayerImpl.h:
3212         (WebContentLayerImpl):
3213         * tests/CCLayerTreeHostCommonTest.cpp:
3214         * tests/CCLayerTreeHostTest.cpp:
3215         (WTF::TestOpacityChangeLayerDelegate::paintContents):
3216         (WTF::MockContentLayerDelegate::paintContents):
3217         * tests/ContentLayerChromiumTest.cpp: Added.
3218         (WebKit):
3219         (OpaqueRectDrawingGraphicsContextPainter):
3220         (WebKit::OpaqueRectDrawingGraphicsContextPainter::OpaqueRectDrawingGraphicsContextPainter):
3221         (WebKit::OpaqueRectDrawingGraphicsContextPainter::~OpaqueRectDrawingGraphicsContextPainter):
3222         (MockContentLayerDelegate):
3223         (WebKit::MockContentLayerDelegate::MockContentLayerDelegate):
3224         (WebKit::TEST):
3225         * tests/LayerChromiumTest.cpp:
3226         * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
3227         (WebCore::TEST_F):
3228         * tests/TiledLayerChromiumTest.cpp:
3229         * tests/WebLayerTest.cpp:
3230
3231 2012-06-29  Joshua Bell  <jsbell@chromium.org>
3232
3233         IndexedDB: Keep direction on IDBCursor to avoid calls to back end
3234         https://bugs.webkit.org/show_bug.cgi?id=90114
3235
3236         Stop plumbing IDBCursorBackendInterface::direction() through API.
3237
3238         Reviewed by Tony Chang.
3239
3240         * src/IDBCursorBackendProxy.cpp:
3241         * src/IDBCursorBackendProxy.h:
3242         (IDBCursorBackendProxy):
3243         * src/WebIDBCursorImpl.cpp:
3244         * src/WebIDBCursorImpl.h:
3245         (WebIDBCursorImpl):
3246
3247 2012-06-29  Adam Barth  <abarth@webkit.org>
3248
3249         [Chromium] WebFontRendering.cpp requires some OS(ANDROID) ifdefs to build downstream
3250         https://bugs.webkit.org/show_bug.cgi?id=90292
3251
3252         Reviewed by Nate Chapin.
3253
3254         These ifdefs are required to build this file downstream. There's some
3255         sublte difference between how the OS flags are set upstream and
3256         downstream. This is on our list of issues to resolve, but in the
3257         meantime, this patch makes these files identical upstream and
3258         downstream to reduce noise in the upstreaming queue.
3259
3260         * src/linux/WebFontRendering.cpp:
3261         (WebKit::WebFontRendering::setSubpixelPositioning):
3262
3263 2012-06-29  Eric Penner  <epenner@google.com>
3264
3265         [chromium] Adding PrioritizedTexture and replacing ContentsTextureManager
3266         https://bugs.webkit.org/show_bug.cgi?id=84308
3267
3268         Reviewed by Adrienne Walker.
3269
3270         * WebKit.gypi:
3271         * tests/CCLayerTreeHostTest.cpp:
3272         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
3273         * tests/CCPrioritizedTextureTest.cpp: Added.
3274         (WTF):
3275         (CCPrioritizedTextureTest):
3276         (WTF::CCPrioritizedTextureTest::CCPrioritizedTextureTest):
3277         (WTF::CCPrioritizedTextureTest::~CCPrioritizedTextureTest):
3278         (WTF::CCPrioritizedTextureTest::texturesMemorySize):
3279         (WTF::CCPrioritizedTextureTest::createManager):
3280         (WTF::CCPrioritizedTextureTest::validateTexture):
3281         (WTF::CCPrioritizedTextureTest::allocator):
3282         (WTF::TEST_F):
3283         * tests/CCTiledLayerTestCommon.cpp:
3284         (WebKitTests::FakeLayerTextureUpdater::Texture::Texture):
3285         (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
3286         (WebKitTests::FakeLayerTextureUpdater::createTexture):
3287         (WebKitTests::FakeTiledLayerChromium::FakeTiledLayerChromium):
3288         (WebKitTests::FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds):
3289         * tests/CCTiledLayerTestCommon.h:
3290         (Texture):
3291         (FakeLayerTextureUpdater):
3292         (FakeTiledLayerChromium):
3293         (FakeTiledLayerWithScaledBounds):
3294         * tests/TiledLayerChromiumTest.cpp:
3295
3296 2012-06-29  Ian Vollick  <vollick@chromium.org>
3297
3298         [chromium] Roll chromium rev to 144906
3299         https://bugs.webkit.org/show_bug.cgi?id=90278
3300
3301         Unreviewed. Deps roll.
3302
3303         * DEPS:
3304
3305 2012-06-29  Alexander Pavlov  <apavlov@chromium.org>
3306
3307         Web Inspector: [Device Metrics] "Fit window" option inhibits adjusting the page zoom factor
3308         https://bugs.webkit.org/show_bug.cgi?id=90187
3309
3310         Reviewed by Vsevolod Vlasov.
3311
3312         This change fixes the stale zoom factor, which does not get updated upon browser window resize in the "Fit window" mode.
3313         The expected test results have little to do with actual dimensions of the test page in Chrome on a real mobile device,
3314         since Chrome on the mobile uses a different zooming technique (pageScaleFactor-based viewport using layout width
3315         rather than plain pageZoomFactor) and font boosting, which has not been upstreamed yet.
3316
3317         * src/WebDevToolsAgentImpl.cpp:
3318         (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
3319         (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
3320
3321 2012-06-29  Konrad Piascik  <kpiascik@rim.com>
3322
3323         Don't hardcode target dpi of 160 (it should be 96 on desktop)
3324         https://bugs.webkit.org/show_bug.cgi?id=88114
3325
3326         Reviewed by Adam Barth.
3327
3328         Updated the call to computeViewportAttributes.
3329
3330         * src/ChromeClientImpl.cpp:
3331         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
3332
3333 2012-06-29  Amy Ousterhout  <aousterh@chromium.org>
3334
3335         Deleting unused function in WebDeviceOrientation
3336         https://bugs.webkit.org/show_bug.cgi?id=90185
3337
3338         Reviewed by Adam Barth.
3339
3340         Deleting the unused copy assignment function in WebDeviceOrientation.
3341
3342         * public/WebDeviceOrientation.h:
3343         (WebDeviceOrientation):
3344         * src/WebDeviceOrientation.cpp:
3345
3346 2012-06-29  Yoshifumi Inoue  <yosin@chromium.org>
3347
3348         [Platform] Implement Date Time format parser
3349         https://bugs.webkit.org/show_bug.cgi?id=89963
3350
3351         Reviewed by Kent Tamura.
3352
3353         This patch adds an unit test for date time format parser if
3354         ENABLE(INPUT_TYPE_TIME_MULTIPLE_FIELDS) is true.
3355
3356         * tests/DateTimeFormatTest.cpp: Added.
3357         (DateTimeFormatTest):
3358         (Token):
3359         (DateTimeFormatTest::Token::Token):
3360         (DateTimeFormatTest::Token::operator==):
3361         (DateTimeFormatTest::Token::toString):
3362         (Tokens):
3363         (DateTimeFormatTest::Tokens::Tokens):
3364         (DateTimeFormatTest::Tokens::operator==):
3365         (DateTimeFormatTest::Tokens::toString):
3366         (DateTimeFormatTest::parse):
3367         (DateTimeFormatTest::single):
3368         (TokenHandler):
3369         (DateTimeFormatTest::TokenHandler::~TokenHandler):
3370         (DateTimeFormatTest::TokenHandler::fieldType):
3371         (DateTimeFormatTest::TokenHandler::tokens):
3372         (DateTimeFormatTest::TokenHandler::visitField):
3373         (DateTimeFormatTest::TokenHandler::visitLiteral):
3374         (operator<<):
3375         (TEST_F):
3376
3377 2012-06-28  Joshua Bell  <jsbell@chromium.org>
3378
3379         IndexedDB: Implement IDBTransaction internal active flag
3380         https://bugs.webkit.org/show_bug.cgi?id=89379
3381
3382         Reviewed by Tony Chang.
3383
3384         To match the IDB spec, transactions that have had no requests
3385         filed against them should commit, not abort. This requires plumbing
3386         through the commit() call from front-end to back-end.
3387
3388         * src/IDBTransactionBackendProxy.cpp:
3389         (WebKit::IDBTransactionBackendProxy::commit):
3390         (WebKit):
3391         * src/IDBTransactionBackendProxy.h:
3392         (IDBTransactionBackendProxy):
3393         * src/WebIDBTransactionImpl.cpp:
3394         (WebKit::WebIDBTransactionImpl::commit):
3395         (WebKit):
3396         * src/WebIDBTransactionImpl.h:
3397
3398 2012-06-28  Adrienne Walker  <enne@google.com>
3399
3400         [chromium] Split WebScrollbar into WebPluginScrollbar and WebScrollbar
3401         https://bugs.webkit.org/show_bug.cgi?id=90117
3402
3403         Reviewed by James Robinson.
3404
3405         Convert WebScrollbar/WebScrollbarClient/WebScrollbarImpl to be
3406         WebPluginScrollbar, WebPluginScrollbarClient, and
3407         WebPluginScrollbarImpl. Modify ScrollbarGroup
3408         to use this instead.
3409
3410         WebScrollbar is now the base interface for a pre-existing scrollbar
3411         that is accessed in a const manner. It also provides all of the common
3412         WebKit ScrollTypes.h enums. WebPluginScrollbar is now a scrollbar that
3413         has been externally created and is externally modified in terms of its
3414         position, invalidation, and painting.
3415
3416         This is a pre-refactoring for adding Web versions of ScrollbarTheme
3417         into the Platform directory which will operate on WebScrollbar, but
3418         that don't need all of what WebPluginScrollbar provides.
3419
3420         As WebScrollbar is moved to Platform, WebKit.gyp now must depend on
3421         Platform as well.
3422
3423         * WebKit.gyp:
3424         * public/WebPluginScrollbar.h:
3425         (WebKit):
3426         (WebPluginScrollbar):
3427         (WebKit::WebPluginScrollbar::~WebPluginScrollbar):
3428         * public/WebPluginScrollbarClient.h:
3429         (WebKit):
3430         (WebPluginScrollbarClient):
3431         * public/WebScrollbar.h: Removed.
3432         * public/WebScrollbarClient.h: Removed.
3433         * src/AssertMatchingEnums.cpp:
3434         * src/ScrollbarGroup.cpp:
3435         (WebKit::ScrollbarGroup::scrollbarCreated):
3436         (WebKit::ScrollbarGroup::scrollbarDestroyed):
3437         (WebKit::ScrollbarGroup::scrollSize):
3438         (WebKit::ScrollbarGroup::scrollPosition):
3439         (WebKit::ScrollbarGroup::contentsSize):
3440         * src/ScrollbarGroup.h:
3441         (WebKit):
3442         (ScrollbarGroup):
3443         * src/WebPluginScrollbarImpl.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarImpl.cpp.
3444         (WebKit):
3445         (WebKit::WebPluginScrollbar::createForPlugin):
3446         (WebKit::WebPluginScrollbar::defaultThickness):
3447         (WebKit::WebPluginScrollbarImpl::WebPluginScrollbarImpl):
3448         (WebKit::WebPluginScrollbarImpl::~WebPluginScrollbarImpl):
3449         (WebKit::WebPluginScrollbarImpl::setScrollOffset):
3450         (WebKit::WebPluginScrollbarImpl::invalidateScrollbarRect):
3451         (WebKit::WebPluginScrollbarImpl::getTickmarks):
3452         (WebKit::WebPluginScrollbarImpl::convertFromContainingViewToScrollbar):
3453         (WebKit::WebPluginScrollbarImpl::scrollbarStyleChanged):
3454         (WebKit::WebPluginScrollbarImpl::isOverlay):
3455         (WebKit::WebPluginScrollbarImpl::value):
3456         (WebKit::WebPluginScrollbarImpl::setLocation):
3457         (WebKit::WebPluginScrollbarImpl::setValue):
3458         (WebKit::WebPluginScrollbarImpl::setDocumentSize):
3459         (WebKit::WebPluginScrollbarImpl::scroll):
3460         (WebKit::WebPluginScrollbarImpl::paint):
3461         (WebKit::WebPluginScrollbarImpl::handleInputEvent):
3462         (WebKit::WebPluginScrollbarImpl::onMouseDown):
3463         (WebKit::WebPluginScrollbarImpl::onMouseUp):
3464         (WebKit::WebPluginScrollbarImpl::onMouseMove):
3465         (WebKit::WebPluginScrollbarImpl::onMouseLeave):
3466         (WebKit::WebPluginScrollbarImpl::onMouseWheel):
3467         (WebKit::WebPluginScrollbarImpl::onKeyDown):
3468         * src/WebPluginScrollbarImpl.h: Added.
3469         (WebCore):
3470         (WebKit):
3471         (WebPluginScrollbarImpl):
3472         (WebKit::WebPluginScrollbarImpl::scrollOffset):
3473         (WebKit::WebPluginScrollbarImpl::scrollbar):
3474         * src/WebScrollbarImpl.h: Removed.
3475
3476 2012-06-28  Adam Barth  <abarth@webkit.org>
3477
3478         [Chromium] On Android, we should be able to ask the embedder what intents exist in a region of the page
3479         https://bugs.webkit.org/show_bug.cgi?id=90210
3480
3481         Reviewed by Dimitri Glazkov.
3482
3483         This patch introduces a function that asks the embedder to analyze the
3484         region around a hit test result for interesting content, like phone
3485         numbers, email addresses, or physical addresses. The embedder then
3486         responds with the "most interesting" content, together with an intent
3487         URL for enacting the intent embodied by that content.
3488
3489         This function will be used in a subsequent patch to detect content
3490         after touch events.
3491
3492         * WebKit.gyp:
3493         * public/WebContentDetectionResult.h: Added.
3494         (WebKit):
3495         (WebContentDetectionResult):
3496         (WebKit::WebContentDetectionResult::WebContentDetectionResult):
3497         (WebKit::WebContentDetectionResult::isValid):
3498         (WebKit::WebContentDetectionResult::range):
3499         (WebKit::WebContentDetectionResult::string):
3500         (WebKit::WebContentDetectionResult::intent):
3501         * public/WebViewClient.h:
3502         (WebViewClient):
3503         (WebKit::WebViewClient::detechContentAround):
3504
3505 2012-06-28  Alec Flett  <alecflett@chromium.org>
3506
3507         IndexedDB: Hook up render-side key ASSERTing for get()
3508         https://bugs.webkit.org/show_bug.cgi?id=90001
3509
3510         Reviewed by Tony Chang.
3511
3512         Hook up Chromium WebKit API to new onSuccess handler.
3513
3514         * src/WebIDBCallbacksImpl.cpp:
3515         (WebKit::WebIDBCallbacksImpl::onSuccess):
3516         * tests/IDBAbortOnCorruptTest.cpp:
3517         (WebCore::MockIDBCallbacks::onSuccess):
3518         * tests/IDBDatabaseBackendTest.cpp:
3519
3520 2012-06-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3521
3522         Unreviewed.  Rolled DEPS.
3523
3524         * DEPS:
3525
3526 2012-06-28  Alpha Lam  <hclam@chromium.org>
3527
3528         Unreviewed, rolling out r121463.
3529         http://trac.webkit.org/changeset/121463
3530         https://bugs.webkit.org/show_bug.cgi?id=90094
3531
3532         Broke Windows build.
3533
3534         * WebKit.gypi:
3535         * WebKitUnitTests.gyp:
3536         * public/WebDOMMessageEvent.h:
3537         * tests/AssociatedURLLoaderTest.cpp:
3538         (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
3539         (WebKit::AssociatedURLLoaderTest::SetUp):
3540         (WebKit::AssociatedURLLoaderTest::CheckMethodFails):
3541         (WebKit::AssociatedURLLoaderTest::CheckHeaderFails):
3542         (WebKit::AssociatedURLLoaderTest::CheckAccessControlHeaders):
3543         (WebKit::TEST_F):
3544         * tests/EventListenerTest.cpp:
3545         * tests/FrameTestHelpers.cpp:
3546         (WebKit::FrameTestHelpers::registerMockedURLLoad):
3547         (FrameTestHelpers):
3548         (WebKit::FrameTestHelpers::loadFrame):
3549         * tests/FrameTestHelpers.h:
3550         (FrameTestHelpers):
3551         * tests/ListenerLeakTest.cpp:
3552         (WebKit::ListenerLeakTest::RunTest):
3553         * tests/PopupMenuTest.cpp:
3554         (WebKit::SelectPopupMenuTest::registerMockedURLLoad):
3555         (WebKit::SelectPopupMenuTest::loadFrame):
3556         (WebKit::TEST_F):
3557         * tests/RunAllTests.cpp:
3558         * tests/URLTestHelpers.cpp: Removed.
3559         * tests/URLTestHelpers.h: Removed.
3560         * tests/WebFrameTest.cpp:
3561         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
3562         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
3563         (WebKit::TEST_F):
3564         * tests/WebPageNewSerializerTest.cpp:
3565         (WebKit::WebPageNewSerializeTest::registerMockedURLLoad):
3566         (WebPageNewSerializeTest):
3567         (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
3568         (WebKit::WebPageNewSerializeTest::loadURLInTopFrame):
3569         (WebKit::WebPageNewSerializeTest::resourceVectorContains):
3570         (WebKit::TEST_F):
3571         * tests/WebPageSerializerTest.cpp:
3572         (WebKit::WebPageSerializerTest::registerMockedURLLoad):
3573         (WebKit::WebPageSerializerTest::loadURLInTopFrame):
3574         (WebKit::WebPageSerializerTest::webVectorContains):
3575         (WebKit::TEST_F):
3576         * tests/WebViewTest.cpp:
3577         (WebKit::TEST_F):
3578         (WebKit::WebViewTest::testAutoResize):
3579         (WebKit::WebViewTest::testTextInputType):
3580
3581 2012-06-28  Shawn Singh  <shawnsingh@chromium.org>
3582
3583         [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
3584         https://bugs.webkit.org/show_bug.cgi?id=90094
3585
3586         Reviewed by Adam Barth.
3587
3588         This patch adds the WEBKIT_IMPLEMENTATION = 1 define to
3589         WebKitUnitTests.gyp. To get it to compile correctly, some string
3590         and URL code was refactored and fixed.
3591
3592         * WebKit.gypi:
3593         * WebKitUnitTests.gyp:
3594         * public/WebDOMMessageEvent.h:
3595         (WebKit::WebDOMMessageEvent::WebDOMMessageEvent):
3596         * tests/AssociatedURLLoaderTest.cpp:
3597         * tests/EventListenerTest.cpp:
3598         * tests/FrameTestHelpers.cpp:
3599         (WebKit::FrameTestHelpers::loadFrame):
3600         * tests/FrameTestHelpers.h:
3601         * tests/ListenerLeakTest.cpp:
3602         (WebKit::ListenerLeakTest::RunTest):
3603         * tests/PopupMenuTest.cpp:
3604         * tests/RunAllTests.cpp:
3605         * tests/URLTestHelpers.cpp: Added.
3606         (URLTestHelpers):
3607         (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
3608         (WebKit::URLTestHelpers::registerMockedURLLoad):
3609         * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
3610         (WebKit):
3611         (URLTestHelpers):
3612         (WebKit::URLTestHelpers::toKURL):
3613         * tests/WebFrameTest.cpp:
3614         * tests/WebPageNewSerializerTest.cpp:
3615         * tests/WebPageSerializerTest.cpp:
3616         * tests/WebViewTest.cpp:
3617
3618 2012-06-28  Oli Lan  <olilan@chromium.org>
3619
3620         [chromium] Change WebViewImpl::textInputInfo to use root editable element.
3621         https://bugs.webkit.org/show_bug.cgi?id=90179
3622
3623         Reviewed by Adam Barth.
3624
3625         WebViewImpl::textInputInfo currently returns text value and offsets relative to the
3626         focused node. For contenteditable nodes, this may not give the expected result.
3627
3628         This patch changes the method to return value and offsets for the root editable element.
3629         This also allows the implementation to be simplified somewhat.
3630
3631         This also ensures that the offsets returned will use the same basis as the recently added
3632         method Editor::setSelectionOffsets (and WebViewImpl::setEditableSelectionOffsets).
3633
3634         Testing for textInputInfo has been added to WebViewTest.
3635
3636         * src/WebViewImpl.cpp:
3637         (WebKit::WebViewImpl::textInputInfo):
3638         * tests/WebViewTest.cpp:
3639         (WebKit::TEST_F):
3640
3641 2012-06-28  James Robinson  <jamesr@chromium.org>
3642
3643         [chromium] Should schedule a commit when dropping contents textures
3644         https://bugs.webkit.org/show_bug.cgi?id=90031
3645
3646         Reviewed by Adrienne Walker.
3647
3648         Adds a somewhat vacuous test unit test for committing when releasing textures.
3649
3650         * tests/CCLayerTreeHostImplTest.cpp:
3651
3652 2012-06-27  Dana Jansens  <danakj@chromium.org>
3653
3654         [chromium] Do not multiply bounds by contentsScale in TiledLayerChromium and CanvasLayerTextureUpdater
3655         https://bugs.webkit.org/show_bug.cgi?id=90103
3656
3657         Reviewed by Adrienne Walker.
3658
3659         * tests/CCTiledLayerTestCommon.cpp:
3660         (WebKitTests::FakeLayerTextureUpdater::prepareToUpdate):
3661         * tests/CCTiledLayerTestCommon.h:
3662         (FakeTiledLayerChromium):
3663         * tests/TiledLayerChromiumTest.cpp:
3664
3665 2012-06-28  Dan Alcantara  <dfalcantara@chromium.org>
3666
3667         [chromium] Introduce way to reload a page using the original request URL
3668         https://bugs.webkit.org/show_bug.cgi?id=89788
3669
3670         Reviewed by Adam Barth.
3671
3672         Adds a new reload method for cases where we need to override the URL
3673         when reloading a page. This is needed for situations where a server
3674         redirects navigation based on information that may have changed since
3675         the last time the page was loaded.
3676         
3677         User agents, for example, can cause a server to redirect to the mobile
3678         version of a page.  Changing to the desktop version by switching user agents
3679         requires loading a URL from before the redirect occurred.
3680
3681         Also adds a unit test to confirm that scroll position and page scale are
3682         saved when the reload occurs.
3683
3684         * public/WebFrame.h:
3685         (WebFrame):
3686         * src/WebFrameImpl.cpp:
3687         (WebKit::WebFrameImpl::reloadWithGivenURL):
3688         (WebKit):
3689         * src/WebFrameImpl.h:
3690         (WebFrameImpl):
3691         * src/WebViewImpl.cpp:
3692         (WebKit::WebViewImpl::WebViewImpl):
3693         (WebKit::WebViewImpl::setClearPageScaleFactorOnLoad):
3694         (WebKit):
3695         (WebKit::WebViewImpl::didCommitLoad):
3696         * src/WebViewImpl.h:
3697         (WebViewImpl):
3698
3699 2012-06-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3700
3701         Unreviewed, rolling out r121395.
3702         http://trac.webkit.org/changeset/121395
3703         https://bugs.webkit.org/show_bug.cgi?id=90143
3704
3705         Patch causes crashes in fast/workers/worker-context-gc.html
3706         (Requested by zdobersek on #webkit).
3707
3708         * src/WebSharedWorkerImpl.cpp:
3709         (WebKit::WebSharedWorkerImpl::startWorkerContext):
3710         * src/WebWorkerClientImpl.cpp:
3711         (WebKit::WebWorkerClientImpl::startWorkerContext):
3712
3713 2012-06-28  Yoshifumi Inoue  <yosin@chromium.org>
3714
3715         [Platform] Implement functions for localized time format information
3716         https://bugs.webkit.org/show_bug.cgi?id=89965
3717
3718         Reviewed by Kent Tamura.
3719
3720         This patch adds new test LocalizedDateICUTest if ENABLE(INPUT_TYPE_TIME_MULTIPLE_FIELDS)
3721         is true.
3722
3723         * WebKit.gypi:
3724         * tests/LocalizedDateICUTest.cpp: Added.
3725         (LocalizedDateICUTest):
3726         (Labels):
3727         (LocalizedDateICUTest::Labels::Labels):
3728         (LocalizedDateICUTest::Labels::operator==):
3729         (LocalizedDateICUTest::Labels::toString):
3730         (LocalizedDateICUTest::labels):
3731         (LocalizedDateICUTest::localizedDateFormatText):
3732         (LocalizedDateICUTest::localizedShortDateFormatText):
3733         (LocalizedDateICUTest::timeAMPMLabels):
3734         (operator<<):
3735         (TEST_F):
3736
3737 2012-06-27  Sheriff Bot  <webkit.review.bot@gmail.com>
3738
3739         Unreviewed, rolling out r121405.
3740         http://trac.webkit.org/changeset/121405
3741         https://bugs.webkit.org/show_bug.cgi?id=90135
3742
3743         broke windows build (Requested by shawnsingh_ on #webkit).
3744
3745         * WebKit.gypi:
3746         * WebKitUnitTests.gyp:
3747         * public/WebDOMMessageEvent.h:
3748         * tests/AssociatedURLLoaderTest.cpp:
3749         (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
3750         (WebKit::AssociatedURLLoaderTest::SetUp):
3751         (WebKit::AssociatedURLLoaderTest::CheckMethodFails):
3752         (WebKit::AssociatedURLLoaderTest::CheckHeaderFails):
3753         (WebKit::AssociatedURLLoaderTest::CheckAccessControlHeaders):
3754         (WebKit::TEST_F):
3755         * tests/EventListenerTest.cpp:
3756         * tests/FrameTestHelpers.cpp:
3757         (WebKit::FrameTestHelpers::registerMockedURLLoad):
3758         (FrameTestHelpers):
3759         (WebKit::FrameTestHelpers::loadFrame):
3760         * tests/FrameTestHelpers.h:
3761         (FrameTestHelpers):
3762         * tests/ListenerLeakTest.cpp:
3763         (WebKit::ListenerLeakTest::RunTest):
3764         * tests/PopupMenuTest.cpp:
3765         (WebKit::SelectPopupMenuTest::registerMockedURLLoad):
3766         (WebKit::SelectPopupMenuTest::loadFrame):
3767         * tests/RunAllTests.cpp:
3768         * tests/URLTestHelpers.cpp: Removed.
3769         * tests/URLTestHelpers.h: Removed.
3770         * tests/WebFrameTest.cpp:
3771         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
3772         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
3773         (WebKit::TEST_F):
3774         * tests/WebPageNewSerializerTest.cpp:
3775         (WebKit::WebPageNewSerializeTest::registerMockedURLLoad):
3776         (WebPageNewSerializeTest):
3777         (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
3778         (WebKit::WebPageNewSerializeTest::loadURLInTopFrame):
3779         (WebKit::WebPageNewSerializeTest::resourceVectorContains):
3780         (WebKit::TEST_F):
3781         * tests/WebPageSerializerTest.cpp:
3782         (WebKit::WebPageSerializerTest::registerMockedURLLoad):
3783         (WebKit::WebPageSerializerTest::loadURLInTopFrame):
3784         (WebKit::WebPageSerializerTest::webVectorContains):
3785         (WebKit::TEST_F):
3786         * tests/WebViewTest.cpp:
3787         (WebKit::TEST_F):
3788         (WebKit::WebViewTest::testAutoResize):
3789         (WebKit::WebViewTest::testTextInputType):
3790
3791 2012-06-27  Shawn Singh  <shawnsingh@chromium.org>
3792
3793         [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
3794         https://bugs.webkit.org/show_bug.cgi?id=90094
3795
3796         Reviewed by James Robinson.
3797
3798         This patch adds the WEBKIT_IMPLEMENTATION = 1 define to
3799         WebKitUnitTests.gyp. To get it to compile correctly, some string
3800         and URL code was refactored and fixed.
3801
3802         * WebKit.gypi:
3803         * WebKitUnitTests.gyp:
3804         * public/WebDOMMessageEvent.h:
3805         (WebKit::WebDOMMessageEvent::WebDOMMessageEvent):
3806         * tests/AssociatedURLLoaderTest.cpp:
3807         * tests/EventListenerTest.cpp:
3808         * tests/FrameTestHelpers.cpp:
3809         (WebKit::FrameTestHelpers::loadFrame):
3810         * tests/FrameTestHelpers.h:
3811         * tests/ListenerLeakTest.cpp:
3812         (WebKit::ListenerLeakTest::RunTest):
3813         * tests/PopupMenuTest.cpp:
3814         * tests/RunAllTests.cpp:
3815         * tests/URLTestHelpers.cpp: Added.
3816         (URLTestHelpers):
3817         (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
3818         (WebKit::URLTestHelpers::registerMockedURLLoad):
3819         * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
3820         (WebKit):
3821         (URLTestHelpers):
3822         (WebKit::URLTestHelpers::toKURL):
3823         * tests/WebFrameTest.cpp:
3824         * tests/WebPageNewSerializerTest.cpp:
3825         * tests/WebPageSerializerTest.cpp:
3826         * tests/WebViewTest.cpp:
3827
3828 2012-06-27  Yoshifumi Inoue  <yosin@chromium.org>
3829
3830         [Platform] Implement localizedDecimalSeparator function
3831         https://bugs.webkit.org/show_bug.cgi?id=90036
3832
3833         Reviewed by Kent Tamura.
3834
3835         This patch adds test case for localizedDecimalSeparator().
3836
3837         * tests/LocalizedNumberICUTest.cpp:
3838         (testDecimalSeparator):
3839         (TEST):
3840
3841 2012-06-27  Yusuke Sato  <yusukes@chromium.org>
3842
3843         [chromium] Improve keyboardEvent() so a web page could receive a DOM3 spec compliant keyboard event.
3844         https://bugs.webkit.org/show_bug.cgi?id=89637
3845
3846         Reviewed by Tony Chang.
3847
3848         This is a Gtk port of http://crrev.com/142209.
3849
3850         Normalizes event->state to make it Windows/Mac compatible. Since the
3851         way of setting modifier mask on X is very different than Windows/Mac
3852         as shown in http://crbug.com/127142#c8, the normalization is necessary.
3853
3854         * src/gtk/WebInputEventFactory.cpp:
3855         (WebKit):
3856         (WebKit::normalizeEventState):
3857         (WebKit::WebInputEventFactory::keyboardEvent):
3858
3859 2012-06-27  James Robinson  <jamesr@chromium.org>
3860
3861         [chromium] Use SkColor in compositor internals
3862         https://bugs.webkit.org/show_bug.cgi?id=90108
3863
3864         Reviewed by Adrienne Walker.
3865
3866         * src/NonCompositedContentHost.cpp:
3867         (WebKit::NonCompositedContentHost::setBackgroundColor):
3868         * tests/CCLayerImplTest.cpp:
3869         (WebCore::TEST):
3870         * tests/CCLayerTreeHostImplTest.cpp:
3871         * tests/CCSolidColorLayerImplTest.cpp:
3872         (CCLayerTestCommon::TEST):
3873         * tests/LayerChromiumTest.cpp:
3874
3875 2012-06-27  Charles Wei  <charles.wei@torchmobile.com.cn>
3876
3877         IndexedDB: should make the LevelDB persistant to the directory indicated in PageGroupSettings::indexedDBDataBasePath
3878         https://bugs.webkit.org/show_bug.cgi?id=88338
3879
3880         Reviewed by David Levin.
3881
3882         * src/WebSharedWorkerImpl.cpp:
3883         (WebKit::WebSharedWorkerImpl::startWorkerContext):
3884         * src/WebWorkerClientImpl.cpp:
3885         (WebKit::WebWorkerClientImpl::startWorkerContext):
3886
3887 2012-06-27  Joshua Bell  <jsbell@chromium.org>
3888
3889         [Chromium] IndexedDB: Expose WebIDBTransaction::commit() method in public API
3890         https://bugs.webkit.org/show_bug.cgi?id=90089
3891
3892         Reviewed by James Robinson.
3893
3894         Prep work for http://webkit.org/b/89379 which requires empty transactions to
3895         trigger a commit from the front-end.
3896
3897         * public/WebIDBTransaction.h:
3898         (WebKit::WebIDBTransaction::commit):
3899
3900 2012-06-27  Josh Horwich  <jhorwich@chromium.org>
3901
3902         [chromium] Expose device scale factor in WebPluginContainer
3903         https://bugs.webkit.org/show_bug.cgi?id=87874
3904
3905         Reviewed by Adam Barth.
3906
3907         * public/WebPluginContainer.h:
3908         (WebPluginContainer):
3909         * src/WebPluginContainerImpl.cpp:
3910         (WebKit::WebPluginContainerImpl::deviceScaleFactor):
3911         (WebKit):
3912         (WebKit::WebPluginContainerImpl::pageScaleFactor):
3913         (WebKit::WebPluginContainerImpl::pageZoomFactor):
3914         * src/WebPluginContainerImpl.h:
3915         (WebPluginContainerImpl):
3916
3917 2012-06-27  Robert Kroeger  <rjkroege@chromium.org>
3918
3919         [chromium] out-of-order assert in WebViewImpl setDeviceScaleFactor
3920         https://bugs.webkit.org/show_bug.cgi?id=90006
3921
3922         The assert in WebViewImpl::setDeviceScaleFactor should test for non-scaling
3923         after we have set both m_DeviceScaleInCompositor and page()->deviceScaleFactor()
3924         instead of in between.
3925
3926         Reviewed by James Robinson.
3927
3928         * src/WebViewImpl.cpp:
3929         (WebKit::WebViewImpl::setDeviceScaleFactor):
3930
3931 2012-06-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3932
3933         Unreviewed.  Rolled DEPS.
3934
3935         * DEPS:
3936
3937 2012-06-26  James Robinson  <jamesr@chromium.org>
3938
3939         [chromium] Remove WebView::graphicsContext3D getter
3940         https://bugs.webkit.org/show_bug.cgi?id=89916
3941
3942         Reviewed by Adrienne Walker.
3943
3944         Removes WebView::graphicsContext3D getter. This getter was used to access the compositor's context, which is an
3945         inherently dangerous operation since the compositor context may not be safe to use on the main thread and has
3946         somewhat complicated creation / recreation semantics. A shared context is exposed
3947         (WebView::sharedGraphicsContext3D) for callers who may want access to a context in a share group with the
3948         compositor.
3949
3950         * public/WebView.h:
3951         (WebView):
3952         * src/WebLayerTreeView.cpp:
3953         * src/WebViewImpl.cpp:
3954         * src/WebViewImpl.h:
3955         (WebViewImpl):
3956
3957 2012-06-26  Peter Beverloo  <peter@chromium.org>
3958
3959         [Chromium] Decrease the number of conditional blocks in features.gypi
3960         https://bugs.webkit.org/show_bug.cgi?id=90013
3961
3962         Reviewed by Adam Barth.
3963
3964         Consolidate two Android-specific and accelerated-compositing-specific
3965         conditional blocks into other blocks which serve an identical purpose.
3966
3967         * features.gypi:
3968
3969 2012-06-26  Dave Tu  <dtu@chromium.org>
3970
3971         [chromium] Expose rendering statistics to WebWidget.
3972         https://bugs.webkit.org/show_bug.cgi?id=88268
3973
3974         Reviewed by James Robinson.
3975
3976         The WebKit side of a basic framework for exposing rendering statistics
3977         to Chromium's --enable-benchmarking extension.
3978
3979         * src/WebLayerTreeView.cpp:
3980         (WebKit::WebLayerTreeView::renderingStatistics):
3981         (WebKit):
3982
3983 2012-06-25  James Robinson  <jamesr@chromium.org>
3984
3985         [chromium] Add WebLayer API for scrolling
3986         https://bugs.webkit.org/show_bug.cgi?id=89913
3987
3988         Reviewed by Adrienne Walker.
3989
3990         Use WebScrollableLayer type in NonCompositedContentHost.
3991
3992         * WebKit.gyp:
3993         * src/NonCompositedContentHost.cpp:
3994         (WebKit::NonCompositedContentHost::setScrollLayer):
3995         (WebKit::reserveScrollbarLayers):
3996         (WebKit::NonCompositedContentHost::setViewport):
3997         (WebKit::NonCompositedContentHost::haveScrollLayer):
3998         (WebKit):
3999         (WebKit::NonCompositedContentHost::scrollLayer):
4000         * src/NonCompositedContentHost.h:
4001         (WebCore):
4002         * src/WebContentLayer.cpp:
4003         (WebKit::WebContentLayer::WebContentLayer):
4004         * src/WebLayer.cpp:
4005         (WebKit::WebLayer::numberOfChildren):
4006         (WebKit):
4007         (WebKit::WebLayer::childAt):
4008         (WebKit::WebLayer::setAlwaysReserveTextures):
4009         * src/WebScrollableLayer.cpp:
4010         (WebKit):
4011         (WebKit::WebScrollableLayer::setScrollPosition):
4012         (WebKit::WebScrollableLayer::setScrollable):
4013         (WebKit::WebScrollableLayer::setHaveWheelEventHandlers):
4014         (WebKit::WebScrollableLayer::setShouldScrollOnMainThread):
4015
4016 2012-06-26  Ian Vollick  <vollick@chromium.org>
4017
4018         [chromium] The single thread proxy should not automatically tick new animations.
4019         https://bugs.webkit.org/show_bug.cgi?id=89996
4020
4021         Reviewed by James Robinson.
4022
4023         * WebKit.gypi:
4024         * tests/CCSingleThreadProxyTest.cpp: Removed.
4025
4026 2012-06-26  Ian Vollick  <vollick@chromium.org>
4027
4028         [chromium] Layer chromium should need a redraw after getting its first non-empty bounds.
4029         https://bugs.webkit.org/show_bug.cgi?id=89784
4030
4031         Reviewed by James Robinson.
4032
4033         Previously, we'd only set needs redraw if the old bounds were zero,
4034         and the new bounds were non-zero, but we should actually have 
4035         checked that the old bounds were non-empty.
4036
4037         * tests/LayerChromiumTest.cpp:
4038
4039 2012-06-26  James Robinson  <jamesr@chromium.org>
4040
4041         [chromium] Remove dead compositor-related API from GraphicsContext3DPrivate / Extensions3DChromium
4042         https://bugs.webkit.org/show_bug.cgi?id=89933
4043
4044         Reviewed by Kenneth Russell.
4045
4046         * tests/Canvas2DLayerBridgeTest.cpp:
4047         (Canvas2DLayerBridgeTest::fullLifecycleTest):
4048
4049 2012-06-26  Shawn Singh  <shawnsingh@chromium.org>
4050
4051         [chromium] Fix incorrect #ifdef WEBKIT_IMPLEMENTATION statements
4052         https://bugs.webkit.org/show_bug.cgi?id=89931
4053
4054         Reviewed by James Robinson.
4055
4056         WEBKIT_IMPLEMENTATION is defined as either 0 or 1, so the usage of
4057         #ifdef or #if have different behavior. There are some places in
4058         the code that use "#ifdef WEBKIT_IMLPEMENTATION", but they should
4059         actually be "#if WEBKIT_IMPLEMENTATION". This patch fixes those
4060         #ifdef statements.
4061
4062         * public/WebTextRun.h:
4063         (WebTextRun):
4064         * public/linux/WebFontRenderStyle.h:
4065
4066 2012-06-26  Jun Mukai  <mukai@chromium.org>
4067
4068         Allow using <input type="color"> UI in ChromeOS.
4069         https://bugs.webkit.org/show_bug.cgi?id=89944
4070
4071         Reviewed by Kent Tamura.
4072
4073         http://crrev.com/144111 adds the UI of <input type="color"> for
4074         ChromeOS, so now we can set its flag too.
4075
4076         * features.gypi:
4077
4078 2012-06-25  Ryosuke Niwa  <rniwa@webkit.org>
4079
4080         Get rid of firstItem and nextItem from HTMLCollection
4081         https://bugs.webkit.org/show_bug.cgi?id=89923
4082
4083         Reviewed by Andreas Kling.
4084
4085         Re-implement WebNodeCollection::firstItem() and WebNodeCollection::nextItem() in WebKit code
4086         because we got rid of it from WebCore implementation.
4087
4088         This is an extremely poor API and we shouldn't be exposing it in the future.
4089
4090         * public/WebNodeCollection.h:
4091         (WebKit::WebNodeCollection::WebNodeCollection):
4092         (WebNodeCollection):
4093         * src/WebNodeCollection.cpp:
4094         (WebKit::WebNodeCollection::nextItem):
4095         (WebKit::WebNodeCollection::firstItem):
4096         * src/WebPageSerializerImpl.cpp:
4097         (WebKit::WebPageSerializerImpl::collectTargetFrames):
4098
4099 2012-06-25  Luke Macpherson  <macpherson@chromium.org>
4100
4101         Add runtime flag to enable/disable CSS variables (in addition to existing compile-time flag).
4102         https://bugs.webkit.org/show_bug.cgi?id=89542
4103
4104         Reviewed by Dimitri Glazkov.
4105
4106         * features.gypi:
4107         * public/WebSettings.h:
4108         * src/WebSettingsImpl.cpp:
4109         (WebKit::WebSettingsImpl::setExperimentalCSSVariablesEnabled):
4110         (WebKit):
4111         * src/WebSettingsImpl.h:
4112         (WebSettingsImpl):
4113
4114 2012-06-25  Adrienne Walker  <enne@google.com>
4115
4116         [chromium] Add WebPluginScrollbar and WebPluginScrollbarClient stub implementations
4117         https://bugs.webkit.org/show_bug.cgi?id=89928
4118
4119         Reviewed by Darin Fisher.
4120
4121         These classes are just typedef'd to be the non-Plugin version. The
4122         next step is to change Chromium to use the Plugin version, then move
4123         most of WebPluginScrollbar to a WebScrollbar in Platform to separate
4124         out the base functionality, while providing the same top level API.
4125
4126         * WebKit.gyp:
4127         * public/WebPluginScrollbar.h: Added.
4128         (WebKit):
4129         * public/WebPluginScrollbarClient.h: Added.
4130         (WebKit):
4131
4132 2012-06-25  Sheriff Bot  <webkit.review.bot@gmail.com>
4133
4134         Unreviewed.  Rolled DEPS.
4135
4136         * DEPS:
4137
4138 2012-06-25  Sheriff Bot  <webkit.review.bot@gmail.com>
4139
4140         Unreviewed, rolling out r121206.
4141         http://trac.webkit.org/changeset/121206
4142         https://bugs.webkit.org/show_bug.cgi?id=89935
4143
4144         [chromium] webkit_unit_tests
4145         WebViewTest.MHTMLWithMissingResourceFinishesLoading crash
4146         (Requested by ukai on #webkit).
4147
4148         * tests/EventListenerTest.cpp:
4149         * tests/FrameTestHelpers.cpp:
4150         (WebKit::FrameTestHelpers::registerMockedURLLoad):
4151         (WebKit::FrameTestHelpers::createWebViewAndLoad):
4152         * tests/FrameTestHelpers.h:
4153         (FrameTestHelpers):
4154         * tests/ListenerLeakTest.cpp:
4155         (WebKit::ListenerLeakTest::RunTest):
4156         * tests/WebFrameTest.cpp:
4157         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
4158         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
4159         * tests/WebViewTest.cpp:
4160         (WebKit::TEST_F):
4161         (WebKit::WebViewTest::testAutoResize):
4162         (WebKit::WebViewTest::testTextInputType):
4163
4164 2012-06-25  Adam Barth  <abarth@webkit.org>
4165
4166         [Chromium] Let the embedder override the max page scale factor set by the page
4167         https://bugs.webkit.org/show_bug.cgi?id=89406
4168
4169         Reviewed by James Robinson.
4170
4171         Chrome on Android has an option to force the web site to allow page
4172         scaling (for accessibility). This patch adds
4173         WebView::setIgnoreViewportTagMaximumScale, which instructs the WebView
4174         to ignore the maximum scale factor supplied by by the page in the
4175         viewport meta tag.
4176
4177         This patch is a bit different from how this is implemented on the
4178         chromium-android branch, but I'll clean up the branch once this patch
4179         lands.
4180
4181         * public/WebView.h:
4182         (WebView):
4183         * src/ChromeClientImpl.cpp:
4184         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
4185         * src/WebViewImpl.cpp:
4186         (WebKit::WebViewImpl::WebViewImpl):
4187         (WebKit::WebViewImpl::setIgnoreViewportTagMaximumScale):
4188         (WebKit):
4189         * src/WebViewImpl.h:
4190         (WebViewImpl):
4191         (WebKit::WebViewImpl::ignoreViewportTagMaximumScale):
4192         * tests/WebFrameTest.cpp:
4193         (WebKit::TEST_F):
4194         (WebKit):
4195
4196 2012-06-25  Sheriff Bot  <webkit.review.bot@gmail.com>
4197
4198         Unreviewed, rolling out r121176.
4199         http://trac.webkit.org/changeset/121176
4200         https://bugs.webkit.org/show_bug.cgi?id=89934
4201
4202         [chromium] browser_tests assert failed:
4203         FATAL:native_theme_win.cc(1541)] Check failed: false. Invalid
4204         part: 16 (Requested by ukai on #webkit).
4205
4206         * src/PlatformSupport.cpp:
4207
4208 2012-06-25  Jay Civelli  <jcivelli@chromium.org>
4209
4210         Fix progress load reporting for MHTML documents.
4211
4212         MHTML documents containing references to resources they don't include
4213         never finish loading.
4214         https://bugs.webkit.org/show_bug.cgi?id=71859
4215
4216         Reviewed by Nate Chapin.
4217
4218         * tests/EventListenerTest.cpp:
4219         * tests/FrameTestHelpers.cpp:
4220         (FrameTestHelpers):
4221         (WebKit::FrameTestHelpers::registerMockedURLLoad):
4222         (WebKit::FrameTestHelpers::registerMockedURLLoadAsHTML):
4223         (WebKit::FrameTestHelpers::createWebViewAndLoad):
4224         * tests/FrameTestHelpers.h:
4225         (FrameTestHelpers):
4226         * tests/ListenerLeakTest.cpp:
4227         (WebKit::ListenerLeakTest::RunTest):
4228         * tests/WebFrameTest.cpp:
4229         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
4230         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
4231         * tests/WebViewTest.cpp:
4232         (WebKit::TEST_F):
4233         (WebKit::WebViewTest::testAutoResize):
4234         (WebKit::WebViewTest::testTextInputType):
4235         (TestWebViewClient):
4236         (WebKit::TestWebViewClient::TestWebViewClient):
4237         (WebKit::TestWebViewClient::didStartLoading):
4238         (WebKit::TestWebViewClient::didStopLoading):
4239         (WebKit::TestWebViewClient::didChangeLoadProgress):
4240         (WebKit::TestWebViewClient::loadingStarted):
4241         (WebKit::TestWebViewClient::loadingStopped):
4242         (WebKit::TestWebViewClient::loadProgress):
4243         (WebKit):
4244
4245 2012-06-25  James Robinson  <jamesr@chromium.org>
4246
4247         [chromium] Use WebGraphicsContext3D in compositor implementation
4248         https://bugs.webkit.org/show_bug.cgi?id=89700
4249
4250         Reviewed by Adrienne Walker.
4251
4252         Updates tests for refactor, mostly by removing unnecessary GraphicsContext3D wrapper around mock contexts.
4253
4254         * WebKit.gypi:
4255         * src/WebLayerTreeView.cpp:
4256         (WebKit::WebLayerTreeView::context):
4257         * src/WebLayerTreeViewImpl.cpp:
4258         * tests/CCLayerTreeHostImplTest.cpp:
4259         * tests/CCLayerTreeHostTest.cpp:
4260         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
4261         (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
4262         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
4263         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
4264         * tests/CCSingleThreadProxyTest.cpp:
4265         * tests/CCThreadedTest.cpp:
4266         (WebKitTests::TestHooks::createContext):
4267         * tests/CCThreadedTest.h:
4268         (TestHooks):
4269         * tests/Canvas2DLayerBridgeTest.cpp:
4270         (Canvas2DLayerBridgeTest::fullLifecycleTest):
4271         * tests/CompositorFakeGraphicsContext3D.h: Removed.
4272         * tests/DrawingBufferChromiumTest.cpp: Removed.
4273         * tests/FakeCCLayerTreeHostClient.h:
4274         * tests/FakeGraphicsContext3DTest.cpp:
4275         (TEST):
4276         * tests/GraphicsLayerChromiumTest.cpp:
4277         * tests/LayerRendererChromiumTest.cpp:
4278         (FakeLayerRendererChromium::FakeLayerRendererChromium):
4279         (LayerRendererChromiumTest::LayerRendererChromiumTest):
4280         (LayerRendererChromiumTest):
4281         (TEST_F):
4282         (TEST):
4283         * tests/TextureCopierTest.cpp:
4284         * tests/ThrottledTextureUploaderTest.cpp:
4285         (WebKit::TEST):
4286         * tests/TiledLayerChromiumTest.cpp:
4287
4288 2012-06-25  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
4289
4290         [Chromium] Add a chromium-webkit API to create a serializable file system.
4291         https://bugs.webkit.org/show_bug.cgi?id=89776
4292
4293         In order to send a DOMFileSystem as part of WebIntent payload data it
4294         should be serializable. Therefore, I added an API that allows us to
4295         create serializable file system in chromium code.
4296
4297         Reviewed by Adam Barth.
4298
4299         * public/WebFrame.h:
4300         (WebFrame):
4301         * src/WebFrameImpl.cpp:
4302         (WebKit::WebFrameImpl::createSerializableFileSystem):
4303         (WebKit):
4304         * src/WebFrameImpl.h:
4305         (WebFrameImpl):
4306
4307 2012-06-25  Alpha Lam  <hclam@chromium.org>
4308
4309         Unreviewed, rolling out r121178.
4310         http://trac.webkit.org/changeset/121178
4311         https://bugs.webkit.org/show_bug.cgi?id=89784
4312
4313         New unit test added is failing on WebKit Linux (dbg)
4314
4315         * tests/LayerChromiumTest.cpp:
4316
4317 2012-06-25  Alpha Lam  <hclam@chromium.org>
4318
4319         Unreviewed, rolling out r121129.
4320         http://trac.webkit.org/changeset/121129
4321         https://bugs.webkit.org/show_bug.cgi?id=89542
4322
4323         Chromium ASan failure: crbug.com/134402
4324
4325         * features.gypi:
4326         * public/WebSettings.h:
4327         * src/WebSettingsImpl.cpp:
4328         * src/WebSettingsImpl.h:
4329         (WebSettingsImpl):
4330
4331 2012-06-25  Alpha Lam  <hclam@chromium.org>
4332
4333         Roll Chromium DEPS to r144020
4334         https://bugs.webkit.org/show_bug.cgi?id=89912
4335
4336         Build fixed now! Unreviewed.
4337
4338         Rolled DEPS to fix chromium build.
4339         Patch by Scott Graham <scottmg@chromium.org>.
4340
4341         * DEPS:
4342
4343 2012-06-25  Alec Flett  <alecflett@chromium.org>
4344
4345         IndexedDB: Stub out new onSuccess() handler for chromium
4346         https://bugs.webkit.org/show_bug.cgi?id=89895
4347
4348         This is the chromium side of a refactor which will
4349         introduce an onSuccess() method which includes the raw
4350         SerializedScriptValue to the frontend, so the primaryKey
4351         injection can happen in the front end, rather than
4352         the V8 helper process.
4353
4354         Reviewed by Darin Fisher.
4355
4356         * public/WebIDBCallbacks.h:
4357         (WebKit):
4358         (WebKit::WebIDBCallbacks::onSuccess):
4359         * src/IDBCallbacksProxy.cpp:
4360         (WebKit::IDBCallbacksProxy::onSuccess):
4361         * src/IDBCallbacksProxy.h:
4362         (IDBCallbacksProxy):
4363         * src/WebIDBCallbacksImpl.cpp:
4364         (WebKit::WebIDBCallbacksImpl::onSuccess):
4365         (WebKit):
4366         * src/WebIDBCallbacksImpl.h:
4367         (WebIDBCallbacksImpl):
4368
4369 2012-06-25  Joshua Bell  <jsbell@chromium.org>
4370
4371         IndexedDB: Remove unused backend property accessors
4372         https://bugs.webkit.org/show_bug.cgi?id=89893
4373
4374         Reviewed by Darin Fisher.
4375
4376         Following the "metadata" API addition in trac.webkit.org/changeset/121059
4377         per-property accessors can be removed from the Chromium WebKit API.
4378
4379         * src/WebIDBDatabaseImpl.cpp: Removed name, version, objectStoreNames.
4380         * src/WebIDBDatabaseImpl.h:
4381         (WebIDBDatabaseImpl):
4382         * src/WebIDBIndexImpl.cpp: Removed name, keyPath, unique, multiEntry.
4383         * src/WebIDBIndexImpl.h:
4384         (WebIDBIndexImpl):
4385         * src/WebIDBObjectStoreImpl.cpp: Removed name, keyPath, autoIncrement, indexNames.
4386         * src/WebIDBObjectStoreImpl.h:
4387         (WebIDBObjectStoreImpl):
4388
4389 2012-06-25  Ian Vollick  <vollick@chromium.org>
4390
4391         [chromium] Layer chromium should need a redraw after getting its first non-empty bounds.
4392         https://bugs.webkit.org/show_bug.cgi?id=89784
4393
4394         Reviewed by James Robinson.
4395
4396         Previously, we'd only set needs redraw if the old bounds were zero,
4397         and the new bounds were non-zero, but we should actually have 
4398         checked that the old bounds were non-empty.
4399
4400         * tests/LayerChromiumTest.cpp:
4401
4402 2012-06-25  Scott Graham  <scottmg@chromium.org>
4403
4404         Plumb Scrollbar button dimensions down to WebThemeEngine
4405         https://bugs.webkit.org/show_bug.cgi?id=89264
4406
4407         Reviewed by James Robinson.
4408
4409         Rather than making the height of the scrollbar buttons the same as the
4410         width of the scrollbar, delegate to the WebThemeEngine. This allows
4411         matching the Aura theme rather than the standard Windows theme.
4412
4413         * src/PlatformSupport.cpp:
4414         (WebCore::PlatformSupport::getThemePartSize):
4415         (WebCore):
4416
4417 2012-06-25  Zeev Lieber  <zlieber@chromium.org>
4418
4419         [Chromium] RenderPass textures are evicted at the end of every frame
4420         https://bugs.webkit.org/show_bug.cgi?id=89786
4421
4422         Reviewed by Adrienne Walker.
4423
4424         Added unit tests to verify large textures are staying in memory
4425         and available for render pass optimization.
4426
4427         * tests/CCLayerTreeHostImplTest.cpp:
4428
4429 2012-06-25  Kinuko Yasuda  <kinuko@chromium.org>
4430
4431         Heap-use-after-free in WebKit::MainThreadFileSystemCallbacks
4432         https://bugs.webkit.org/show_bug.cgi?id=87019
4433
4434         Reviewed by David Levin.
4435
4436         Should not access the CallbacksBridge's member field after it's freed.
4437
4438         * src/WorkerFileSystemCallbacksBridge.cpp:
4439         (WebKit::WorkerFileSystemCallbacksBridge::cleanUpAfterCallback):
4440
4441 2012-06-24  Luke Macpherson  <macpherson@chromium.org>
4442
4443         Add runtime flag to enable/disable CSS variables (in addition to existing compile-time flag).
4444         https://bugs.webkit.org/show_bug.cgi?id=89542
4445
4446         Reviewed by Dimitri Glazkov.
4447
4448         * features.gypi:
4449         * public/WebSettings.h:
4450         * src/WebSettingsImpl.cpp:
4451         (WebKit::WebSettingsImpl::setExperimentalCSSVariablesEnabled):
4452         (WebKit):
4453         * src/WebSettingsImpl.h:
4454         (WebSettingsImpl):
4455
4456 2012-06-23  Kwang Yul Seo  <skyul@company100.net>
4457
4458         [chromium] Return has value, in function returning void
4459         https://bugs.webkit.org/show_bug.cgi?id=89822
4460
4461         Reviewed by Adam Barth.
4462
4463         A followup for r121091.
4464
4465         * src/WebHistoryItem.cpp:
4466         (WebKit::WebHistoryItem::setPageScaleFactor):
4467         * src/WebImageLayer.cpp:
4468         (WebKit::WebImageLayer::setBitmap):
4469         * src/WebLayer.cpp:
4470         (WebKit::WebLayer::setMaskLayer):
4471         * src/WebOptionElement.cpp:
4472         (WebKit::WebOptionElement::setValue):
4473         (WebKit::WebOptionElement::setDefaultSelected):
4474
4475 2012-06-23  Kwang Yul Seo  <skyul@company100.net>
4476
4477         [chromium] Return has value, in function returning void
4478         https://bugs.webkit.org/show_bug.cgi?id=89805
4479
4480         Reviewed by Adam Barth.
4481
4482         Make WebFrameImpl::replaceSelection not return a value because it is a function returning void.
4483
4484         * src/WebFrameImpl.cpp:
4485         (WebKit::WebFrameImpl::replaceSelection):
4486
4487 2012-06-22  Sheriff Bot  <webkit.review.bot@gmail.com>
4488
4489         Unreviewed.  Rolled DEPS.
4490
4491         * DEPS:
4492
4493 2012-06-22  David Grogan  <dgrogan@chromium.org>
4494
4495         IndexedDB: Avoid infinite loop if we try to encode -1 for leveldb
4496         https://bugs.webkit.org/show_bug.cgi?id=89625
4497
4498         Reviewed by Tony Chang.
4499
4500         * tests/IDBLevelDBCodingTest.cpp:
4501         (IDBLevelDBCoding::TEST):
4502
4503 2012-06-22  Michael Nordman  <michaeln@google.com>
4504
4505         [chromium] WebKit API plumbing for applicationCache.abort() 
4506         https://bugs.webkit.org/show_bug.cgi?id=89792
4507
4508         Reviewed by Darin Fisher.
4509
4510         * public/WebApplicationCacheHost.h:
4511         (WebKit::WebApplicationCacheHost::abort):
4512         * src/ApplicationCacheHost.cpp:
4513         (WebCore::ApplicationCacheHost::abort):
4514
4515 2012-06-22  James Robinson  <jamesr@chromium.org>
4516
4517         [chromium] LayerRendererChromium is not getting visibility messages in single threaded compositing mode.
4518         https://bugs.webkit.org/show_bug.cgi?id=89045
4519
4520         Reviewed by Adrienne Walker.
4521
4522         Based on patch by Michal Mocny <mmocny@google.com>.
4523
4524         Update various test fixtures and tests to cover scheduling, visibility, and resource allocation changes.
4525
4526         * tests/CCLayerTreeHostImplTest.cpp:
4527         * tests/CCLayerTreeHostTest.cpp:
4528         (CCLayerTreeHostTestAbortFrameWhenInvisible):
4529         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::CCLayerTreeHostTestAbortFrameWhenInvisible):
4530         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::beginTest):
4531         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::afterTest):
4532         (WTF):
4533         (WTF::TEST_F):
4534         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
4535         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
4536         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
4537         * tests/CCSchedulerStateMachineTest.cpp:
4538         (WebCore::TEST):
4539         * tests/CCTiledLayerTestCommon.h:
4540         * tests/FakeWebGraphicsContext3D.h:
4541         (WebKit::FakeWebGraphicsContext3D::FakeWebGraphicsContext3D):
4542         (FakeWebGraphicsContext3D):
4543         (WebKit::FakeWebGraphicsContext3D::createTexture):
4544         * tests/LayerRendererChromiumTest.cpp:
4545         (TEST_F):
4546         * tests/TiledLayerChromiumTest.cpp:
4547
4548
4549 2012-06-22  Sadrul Habib Chowdhury  <sadrul@chromium.org>
4550
4551         [chromium] Notify the document if a plugin accepts touch input events
4552         https://bugs.webkit.org/show_bug.cgi?id=89769
4553
4554         Reviewed by Adam Barth.
4555
4556         The browser sends touch events to webkit only if webkit has any touch-event handlers. So it is
4557         necessary to notify the document when a plugin starts accepting touch-events so that it can in
4558         turn tell the browser to send it touch events.
4559
4560         * public/WebPluginContainer.h:
4561         (WebPluginContainer):
4562         * src/WebPluginContainerImpl.cpp:
4563         (WebKit::WebPluginContainerImpl::setIsAcceptingTouchEvents):
4564         (WebKit):
4565         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
4566         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
4567         * src/WebPluginContainerImpl.h:
4568         (WebPluginContainerImpl):
4569
4570 2012-06-22  Kenneth Russell  <kbr@google.com>
4571
4572         Unreviewed, rolling out r121064.
4573         http://trac.webkit.org/changeset/121064
4574         https://bugs.webkit.org/show_bug.cgi?id=88268
4575
4576         Broke Chromium Mac build.
4577
4578         * public/WebView.h:
4579         (WebKit):
4580         (WebView):
4581         * src/WebLayerTreeView.cpp:
4582         * src/WebViewImpl.cpp:
4583         * src/WebViewImpl.h:
4584         (WebViewImpl):
4585         * tests/CCLayerTreeHostTest.cpp:
4586         (WTF::CCLayerTreeHostTestScrollSimple::layout):
4587         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
4588         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommitAndDrawFrame):
4589         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommit):
4590
4591 2012-06-22  Dave Tu  <dtu@chromium.org>
4592
4593         [chromium] Expose rendering statistics to WebWidget.
4594         https://bugs.webkit.org/show_bug.cgi?id=88268
4595
4596         Reviewed by James Robinson.
4597
4598         The WebKit side of a basic framework for exposing rendering statistics
4599         to Chromium's --enable-benchmarking extension.
4600
4601         * src/WebLayerTreeView.cpp:
4602         (WebKit::WebLayerTreeView::renderingStatistics):
4603         (WebKit):
4604
4605 2012-06-22  Shawn Singh  <shawnsingh@chromium.org>
4606
4607         [chromium] Do not accumulate occlusion from 3d layers on the main thread
4608         https://bugs.webkit.org/show_bug.cgi?id=89704
4609
4610         Reviewed by James Robinson.
4611
4612         * tests/CCOcclusionTrackerTest.cpp:
4613         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
4614         (WebKitTests):
4615         (CCOcclusionTrackerTestUnsorted3dLayers):
4616         (WebKitTests::CCOcclusionTrackerTestUnsorted3dLayers::runMyTest):
4617         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
4618
4619 2012-06-22  Joshua Bell  <jsbell@chromium.org>
4620
4621         IndexedDB: Snapshot metadata in front end to avoid IPC round-trips
4622         https://bugs.webkit.org/show_bug.cgi?id=88467
4623
4624         Reviewed by Tony Chang.
4625
4626         Add conversions to/from WebCore IDB metadata type and plumbing for routing the
4627         IDBDatabaseBackendInterface::metadata() call through the public API..
4628
4629         * WebKit.gyp: New file added.
4630         * public/WebIDBMetadata.h: Conversion functions.
4631         (WebCore):
4632         (WebIDBMetadata):
4633         * src/IDBDatabaseBackendProxy.cpp: Plumbing.
4634         (WebKit::IDBDatabaseBackendProxy::metadata):
4635         (WebKit):
4636         * src/IDBDatabaseBackendProxy.h: Plumbing.
4637         (IDBDatabaseBackendProxy):
4638         * src/WebIDBDatabaseImpl.cpp: Plumbing.
4639         (WebKit::WebIDBDatabaseImpl::metadata):
4640         (WebKit):
4641         * src/WebIDBDatabaseImpl.h: Plumbing.
4642         (WebKit):
4643         (WebIDBDatabaseImpl):
4644         * src/WebIDBMetadata.cpp: Added - conversion functions.
4645         (WebKit):
4646         (WebKit::WebIDBMetadata::WebIDBMetadata):
4647         (WebKit::WebIDBMetadata::operator IDBDatabaseMetadata):
4648
4649 2012-06-22  Fady Samuel  <fsamuel@chromium.org>
4650
4651         [Chromium] Browser Plugin: Expose advanceFocus to WebKit API so that guests can advance focus of theirs embedders
4652         https://bugs.webkit.org/show_bug.cgi?id=88827
4653
4654         Reviewed by Darin Fisher.
4655
4656         A browser plugin needs to be able to tells its embedder when the guest
4657         is done tabbing through controls and wants its embedder to advance its
4658         tab position.
4659
4660         * public/WebView.h:
4661         (WebView):
4662         (WebKit::WebView::advanceFocus):
4663         * src/WebViewImpl.cpp:
4664         (WebKit::WebViewImpl::advanceFocus):
4665         (WebKit):
4666         * src/WebViewImpl.h:
4667         (WebViewImpl):
4668
4669 2012-06-22  Jeff Timanus  <twiz@chromium.org>
4670
4671         [Chromium] Change implementing a fast-path for copying GPU-accelerated Canvas2D instances to WebGL textures.
4672         https://bugs.webkit.org/show_bug.cgi?id=86275
4673
4674         This change adds the necessary plumbing to the various rendering contexts to copy the backing store texture of
4675         a Canvas2D instance to be copied to a WebGL texture.  The GL_CHROMIUM_copy_texture extension is necessary
4676         because the backing-store for a GPU-accelerated skia Canvas2D is normally in BGRA format, which is not supported
4677         by glCopyTexImage.
4678
4679         Reviewed by Kenneth Russell.
4680
4681         * DEPS: Rolled chromium to 143630 to fix chromium-linux ews failures.
4682
4683 2012-06-22  Kenneth Russell  <kbr@google.com>
4684
4685         Unreviewed, rolling out r121025.
4686         http://trac.webkit.org/changeset/121025
4687         https://bugs.webkit.org/show_bug.cgi?id=89580
4688
4689         Caused crash in
4690         EventHandler.shouldTurnVerticalTicksIntoHorizontal webkit unit
4691         test on 10.7
4692
4693         * WebKit.gypi:
4694         * tests/EventHandlerTest.cpp: Removed.
4695
4696 2012-06-22  Peter Beverloo  <peter@chromium.org>
4697
4698         [Chromium] Disable c++0x compatibility warnings in JavaScriptCore.gyp when building for Android
4699         https://bugs.webkit.org/show_bug.cgi?id=88853
4700
4701         Reviewed by Steve Block.
4702
4703         The Android exclusions were necessary to fix a gyp generation error, as
4704         the gcc_version variable wasn't being defined for Android. Remove these
4705         exceptions when Chromium is able to define the gcc_version variable.
4706
4707         * WebKit.gyp:
4708         * WebKitUnitTests.gyp:
4709
4710 2012-06-22  Robert Kroeger  <rjkroege@chromium.org>
4711
4712         Suppress horizontal conversion of PlatformWheelEvents when hasPreciseScrollingDeltas is true
4713         https://bugs.webkit.org/show_bug.cgi?id=89580
4714
4715         WebKit GTK and Chromium Linux force vertical wheel events to
4716         scroll horizontally when over horizontal scroll bars.  This is
4717         undesirable for touchpad scrolling with hasPreciseScrollingDeltas() == true.
4718
4719         Added unit tests to show that
4720         EventHandler::shouldTurnVerticalTicksIntoHorizontal() is true
4721         only for PlatformWheelEvents when !hasPreciseScrollingDeltas().
4722
4723         Reviewed by Adam Barth.
4724
4725         * WebKit.gypi:
4726         * tests/EventHandlerTest.cpp: Added.
4727         (MockScrollbar):
4728         (MockScrollbar::MockScrollbar):
4729         (MockScrollbar::~MockScrollbar):
4730         (MockHitTestResult):
4731         (MockHitTestResult::MockHitTestResult):
4732         (MockHitTestResult::scrollbar):
4733         (MockPlatformWheelEvent):
4734         (MockPlatformWheelEvent::MockPlatformWheelEvent):
4735         (EventHandlerTest):
4736         (EventHandlerTest::EventHandlerTest):
4737         (EventHandlerTest::externalShouldTurnVerticalTicksIntoHorizontal):
4738         (TEST):
4739
4740 2012-06-22  Amy Ousterhout  <aousterh@chromium.org>
4741
4742         Renamed DeviceOrientation to DeviceOrientationData
4743         https://bugs.webkit.org/show_bug.cgi?id=88663
4744
4745         Reviewed by Steve Block.
4746
4747         Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
4748         This change makes DeviceOrientationData consistent with DeviceMotionData.
4749         
4750         * public/WebDeviceOrientation.h:
4751         (WebDeviceOrientation):
4752         * src/DeviceOrientationClientProxy.cpp:
4753         (WebKit::DeviceOrientationClientProxy::lastOrientation):
4754         * src/DeviceOrientationClientProxy.h:
4755         (DeviceOrientationClientProxy):
4756         * src/WebDeviceOrientation.cpp:
4757         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
4758         (WebKit::WebDeviceOrientation::operator=):
4759         (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientationData>):
4760         * src/WebDeviceOrientationController.cpp:
4761         (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
4762
4763 2012-06-22  Joseph Pecoraro  <pecoraro@apple.com>
4764
4765         Web Inspector: InspectorState::updateCookie should not do JSON serialization if unsupported
4766         https://bugs.webkit.org/show_bug.cgi?id=89743
4767
4768         The Chromium port does want InspectorState updates.
4769
4770         Reviewed by Yury Semikhatsky.
4771
4772         * src/InspectorClientImpl.h:
4773         (WebKit::InspectorClientImpl::supportsInspectorStateUpdates):
4774         * src/WebDevToolsAgentImpl.h:
4775         (WebKit::WebDevToolsAgentImpl::supportsInspectorStateUpdates):
4776
4777 2012-06-21  Sheriff Bot  <webkit.review.bot@gmail.com>
4778
4779         Unreviewed, rolling out r120982.
4780         http://trac.webkit.org/changeset/120982
4781         https://bugs.webkit.org/show_bug.cgi?id=89740
4782
4783         [chromium] ASSERTION FAILED:
4784         m_allocatedTextureIds.contains(textureId) (Requested by ukai
4785         on #webkit).
4786
4787         * tests/CCLayerTreeHostImplTest.cpp:
4788         * tests/CCLayerTreeHostTest.cpp:
4789         (CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
4790         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
4791         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::beginTest):
4792         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommitAndDrawFrame):
4793         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommit):
4794         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::commitCompleteOnCCThread):
4795         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::afterTest):
4796         (WTF):
4797         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
4798         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
4799         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
4800         * tests/CCSchedulerStateMachineTest.cpp:
4801         (WebCore::TEST):
4802         * tests/CCTiledLayerTestCommon.h:
4803         (WebKitTests::FakeTextureAllocator::createTexture):
4804         (WebKitTests::FakeTextureAllocator::deleteTexture):
4805         * tests/FakeWebGraphicsContext3D.h:
4806         (WebKit::FakeWebGraphicsContext3D::createTexture):
4807         (FakeWebGraphicsContext3D):
4808         * tests/LayerRendererChromiumTest.cpp:
4809         (TEST_F):
4810         * tests/TiledLayerChromiumTest.cpp:
4811
4812 2012-06-21  James Robinson  <jamesr@chromium.org>
4813
4814         [chromium] Initialize compositor's visibility state upon initialization
4815         https://bugs.webkit.org/show_bug.cgi?id=89712
4816
4817         Reviewed by Adrienne Walker.
4818
4819         A given WebViewImpl's visibility state might change any number of times before compositing is enabled. If the
4820         visibility state is not the default (visible) when the compositor is initialized, we need to let it know the
4821         correct visibility state or it will start ticking uselessly in threaded mode.
4822
4823         Tested manually, there's no way to create a new WebViewImpl in a non-visible state in a WebKit test that I know
4824         of.
4825
4826         * src/WebViewImpl.cpp:
4827         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4828
4829 2012-06-21  Sadrul Habib Chowdhury  <sadrul@chromium.org>
4830
4831         [chromium] Add touch-event support for WebPluginContainerImpl
4832         https://bugs.webkit.org/show_bug.cgi?id=89089
4833
4834         Reviewed by Adam Barth.
4835
4836         * src/WebPluginContainerImpl.cpp:
4837         (WebKit::WebPluginContainerImpl::handleEvent):
4838         * src/WebPluginContainerImpl.h:
4839         (WebCore):
4840         (WebPluginContainerImpl):
4841
4842 2012-06-21  Oli Lan  <olilan@chromium.org>
4843
4844         Add methods to select between offsets in an editable field.
4845         https://bugs.webkit.org/show_bug.cgi?id=89098
4846
4847         Reviewed by Ryosuke Niwa.
4848
4849         Reviewed by Ryosuke Niwa.
4850
4851         This adds a new method WebViewImpl::setEditableSelectionOffsets, which
4852         can be used to select between two character positions in the node
4853         currently beign edited.
4854
4855         The offsets are assumed to be relative to the rootEditableElement.
4856         
4857         This can be used for IME features that require the ability to manipulate
4858         the selection, for example on Android where the method InputConnection#setSelection
4859         is used.
4860
4861         This method calls a new method Editor::setSelectionOffsets.
4862
4863         The method works for inputs/textareas (i.e. text form controls) and
4864         contenteditable nodes, and the new test in WebViewTest tests both these cases.
4865
4866         * public/WebView.h:
4867         (WebView):
4868         * src/WebViewImpl.cpp:
4869         (WebKit::WebViewImpl::setEditableSelectionOffsets):
4870         (WebKit):
4871         * src/WebViewImpl.h:
4872         (WebViewImpl):
4873         * tests/WebViewTest.cpp:
4874         (WebKit::TEST_F):
4875         (WebKit):
4876         * tests/data/content_editable_populated.html: Added.
4877         * tests/data/input_field_populated.html: Added.
4878
4879 2012-06-19  James Robinson  <jamesr@chromium.org>
4880
4881         [chromium] LayerRendererChromium is not getting visibility messages in single threaded compositing mode.
4882         https://bugs.webkit.org/show_bug.cgi?id=89045
4883
4884         Reviewed by Adrienne Walker.
4885
4886         Based on patch by Michal Mocny <mmocny@google.com>.
4887
4888         Update various test fixtures and tests to cover scheduling, visibility, and resource allocation changes.
4889
4890         * tests/CCLayerTreeHostImplTest.cpp:
4891         * tests/CCLayerTreeHostTest.cpp:
4892         (CCLayerTreeHostTestAbortFrameWhenInvisible):
4893         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::CCLayerTreeHostTestAbortFrameWhenInvisible):
4894         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::beginTest):
4895         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::afterTest):
4896         (WTF):
4897         (WTF::TEST_F):
4898         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
4899         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
4900         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
4901         * tests/CCSchedulerStateMachineTest.cpp:
4902         (WebCore::TEST):
4903         * tests/CCTiledLayerTestCommon.h:
4904         * tests/FakeWebGraphicsContext3D.h:
4905         (WebKit::FakeWebGraphicsContext3D::FakeWebGraphicsContext3D):
4906         (FakeWebGraphicsContext3D):
4907         (WebKit::FakeWebGraphicsContext3D::createTexture):
4908         * tests/LayerRendererChromiumTest.cpp:
4909         (TEST_F):
4910         * tests/TiledLayerChromiumTest.cpp:
4911
4912
4913 2012-06-21  Mike West  <mkwst@chromium.org>
4914
4915         [Chromium] Enable CSP_NEXT on the Chromium port.
4916         https://bugs.webkit.org/show_bug.cgi?id=89683
4917
4918         Reviewed by Adam Barth.
4919
4920         Enable CSP 1.1 on the Chromium port. This has zero practical effect,
4921         as no CSP 1.1 patches have landed yet. But it will. Oh it will.
4922
4923         * features.gypi: ENABLE_CSP_NEXT=1
4924
4925 2012-06-21  Alec Flett  <alecflett@chromium.org>
4926
4927         IndexedDB: Implement spec behavior for multiEntry indexes with invalid/duplicate subkeys
4928         https://bugs.webkit.org/show_bug.cgi?id=86123
4929
4930         Reviewed by Darin Fisher.
4931
4932         Add matching isValid() to WebIDBKey to match the one in IDBKey.
4933
4934         * public/WebIDBKey.h:
4935         * src/WebIDBKey.cpp:
4936         (WebKit::WebIDBKey::isValid):
4937         (WebKit):
4938         * src/WebIDBKeyRange.cpp:
4939         (WebKit::WebIDBKeyRange::assign):
4940
4941 2012-06-21  Ian Vollick  <vollick@chromium.org>
4942
4943         [chromium] Overlays when using the web inspector are blurry with device scale factor > 1
4944         https://bugs.webkit.org/show_bug.cgi?id=89676
4945
4946         Reviewed by James Robinson.
4947
4948         Whenever we construct a GraphicsLayerChromium, make initialize the
4949         device and page scale factors, if possible.
4950
4951         * tests/GraphicsLayerChromiumTest.cpp:
4952         (WebKitTests::TEST_F):
4953         (WebKitTests):
4954
4955 2012-06-21  Min Qin  <qinmin@chromium.org>
4956
4957         remove ENABLE_FULLSCREEN_MEDIA_CONTROL flag
4958         https://bugs.webkit.org/show_bug.cgi?id=89614
4959
4960         Reviewed by Eric Carlson.
4961
4962         Since desktop chrome now has fullscreen button, we don't need this flag anymore
4963
4964         * features.gypi:
4965
4966 2012-06-20  Zeev Lieber  <zlieber@chromium.org>
4967
4968         [Chromium] Damage tracker is not used without partial swap, causing valid render passes to be removed
4969         https://bugs.webkit.org/show_bug.cgi?id=89589
4970
4971         Reviewed by Adrienne Walker.
4972
4973         Added unit tests to check surface texture caching when partial
4974         swap is not used.
4975
4976         * tests/CCLayerTreeHostImplTest.cpp:
4977
4978 2012-06-20  Sheriff Bot  <webkit.review.bot@gmail.com>
4979
4980         Unreviewed, rolling out r120889.
4981         http://trac.webkit.org/changeset/120889
4982         https://bugs.webkit.org/show_bug.cgi?id=89630
4983
4984         [Chromium] webkit_unit_tests didDrawNotCalledOnHiddenLayer
4985         start failing (Requested by ukai on #webkit).
4986
4987         * tests/CCLayerTreeHostImplTest.cpp:
4988
4989 2012-06-20  Zeev Lieber  <zlieber@chromium.org>
4990
4991         [Chromium] Damage tracker is not used without partial swap, causing valid render passes to be removed
4992         https://bugs.webkit.org/show_bug.cgi?id=89589
4993
4994         Reviewed by Adrienne Walker.
4995
4996         Added unit tests to check surface texture caching when partial
4997         swap is not used.
4998
4999         * tests/CCLayerTreeHostImplTest.cpp:
5000
5001 2012-06-20  Joshua Bell  <jsbell@chromium.org>
5002
5003         IndexedDB: Remove redundant IDBObjectStore.delete() overloads
5004         https://bugs.webkit.org/show_bug.cgi?id=89587
5005
5006         Reviewed by Darin Fisher.
5007
5008         * public/WebIDBObjectStore.h: Add note to remove overload when Chromium is updated.
5009         (WebIDBObjectStore):
5010         * src/IDBObjectStoreBackendProxy.cpp: Delete IDBKey overload.
5011         * src/IDBObjectStoreBackendProxy.h: Delete IDBKey overload.
5012         (IDBObjectStoreBackendProxy):
5013         * src/WebIDBObjectStoreImpl.cpp: Delete IDBKey overload.
5014         * src/WebIDBObjectStoreImpl.h: Delete IDBKey overload.
5015         (WebIDBObjectStoreImpl):
5016
5017 2012-06-20  Garret Kelly  <gdk@chromium.org>
5018
5019         Moving cookieEnabled/setCookieEnabled from Page to Settings, and
5020         exposing through WebSettings.
5021         https://bugs.webkit.org/show_bug.cgi?id=89545
5022
5023         Reviewed by Adam Barth.
5024
5025         * public/WebSettings.h:
5026         * src/WebSettingsImpl.cpp:
5027         (WebKit::WebSettingsImpl::setCookieEnabled):
5028         * src/WebSettingsImpl.h:
5029         (WebSettingsImpl):
5030
5031 2012-06-20  Raymes Khoury  <raymes@chromium.org>
5032
5033         Perform hit-test from correct frame in isRectTopmost()
5034         https://bugs.webkit.org/show_bug.cgi?id=89492
5035
5036         Reviewed by Levi Weintraub.
5037
5038         Hit-testing was being performed from the main frame, which gave the
5039         incorrect result if the plugin was in a different frame.
5040
5041         * src/WebPluginContainerImpl.cpp:
5042         (WebKit::WebPluginContainerImpl::isRectTopmost):
5043
5044 2012-06-20  Alexandre Elias  <aelias@google.com>
5045
5046         [chromium] Support mobile device rotation resizing
5047         https://bugs.webkit.org/show_bug.cgi?id=86819
5048
5049         Reviewed by Adam Barth.
5050
5051         Resizes on a mobile device are caused either by rotation or
5052         on-screen-keyboard bringup, and need different treatment to remain
5053         naturally laid out, scaled and scrolled without disorienting the user.
5054
5055         * src/WebViewImpl.cpp:
5056         (WebKit::WebViewImpl::resize):
5057
5058 2012-06-19  James Robinson  <jamesr@chromium.org>
5059
5060         [chromium] Separate LayerRenderer initialization from updateLayers
5061         https://bugs.webkit.org/show_bug.cgi?id=89525
5062
5063         Reviewed by Adrienne Walker.
5064
5065         Update tests to call initializeLayerRendererIfNeeded() before calling updateLayers() to reflect what the proxies
5066         do.
5067
5068         * tests/CCLayerTreeHostTest.cpp:
5069         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
5070         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
5071         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
5072         * tests/TiledLayerChromiumTest.cpp:
5073
5074 2012-06-20  Christopher Cameron  <ccameron@chromium.org>
5075
5076         [chromium] webkit-backface-visibility doesn't work with video
5077         https://bugs.webkit.org/show_bug.cgi?id=88908
5078
5079         When determining a contents layer's backface culling, use the parent
5080         layer's transform and backface-visibility properties. Track which
5081         layers need this special treatment with useParentBackfaceVisibility
5082         and setUseParentBackfaceVisibility functions in WebCore::LayerChromium,
5083         WebKit::WebLayer, and WebCore::CCLayerImpl.
5084
5085         Reviewed by Adrienne Walker.
5086
5087         * src/WebLayer.cpp:
5088             (WebKit::WebLayer::setUseParentBackfaceVisibility):
5089                 Add an accessor to specify that a layer should use its parent's
5090                 backface culling behavior.
5091
5092 2012-06-20  Ian Vollick  <vollick@chromium.org>
5093
5094         [chromium] Make sure that render surfaces are not pixel doubled with a device scale factor of 2
5095         https://bugs.webkit.org/show_bug.cgi?id=86882
5096
5097         Reviewed by Adrienne Walker.
5098
5099         To ensure that render surfaces are not pixel doubled when device scale factor is
5100         two, the render surface's owning layer's draw transform is scaled by the
5101         contents scale (in the same way that the parent matrix is scaled by the device
5102         scale factor). The transformedLayerRect's dimensions also need to be in pixel
5103         space. The surface origin transform should not scale, but needs to offset the
5104         correct number of pixels, and the replica transforms need to be modified to
5105         account for the scaling.
5106
5107         * tests/CCLayerTreeHostCommonTest.cpp:
5108
5109 2012-06-20  Joshua Bell  <jsbell@chromium.org>
5110
5111         Unreviewed build fix.
5112
5113         * tests/IDBDatabaseBackendTest.cpp:
5114         (WebCore::MockIDBCallbacks::~MockIDBCallbacks):
5115         (WebCore::FakeIDBDatabaseCallbacks::~FakeIDBDatabaseCallbacks):
5116
5117 2012-06-20  Joshua Bell  <jsbell@chromium.org>
5118
5119         [Chromium] IndexedDB: Don't close database if pending connections are in flight
5120         https://bugs.webkit.org/show_bug.cgi?id=89512
5121
5122         Reviewed by Tony Chang.
5123
5124         * tests/IDBDatabaseBackendTest.cpp:
5125         (MockIDBCallbacks):
5126         (WebCore::MockIDBCallbacks::create):
5127         (WebCore::MockIDBCallbacks::MockIDBCallbacks):
5128         (WebCore):
5129         (FakeIDBDatabaseCallbacks):
5130         (WebCore::FakeIDBDatabaseCallbacks::create):
5131         (WebCore::FakeIDBDatabaseCallbacks::FakeIDBDatabaseCallbacks):
5132         (WebCore::TEST):
5133
5134 2012-06-20  Zeev Lieber  <zlieber@chromium.org>
5135
5136         [Chromium] Remove redundant #includes in compositor
5137         https://bugs.webkit.org/show_bug.cgi?id=89503
5138
5139         Reviewed by Adrienne Walker.
5140
5141         Minor adjustments to #include statements to remove
5142         dependencies. No new tests.
5143
5144         * src/WebCompositorImpl.cpp:
5145         * src/WebLayerTreeView.cpp:
5146         * tests/CCLayerTestCommon.cpp:
5147         * tests/CCLayerTreeHostImplTest.cpp:
5148         * tests/CCLayerTreeHostTest.cpp:
5149         * tests/CCOcclusionTrackerTest.cpp:
5150         * tests/CCQuadCullerTest.cpp:
5151         * tests/CCTiledLayerImplTest.cpp:
5152         * tests/ImageLayerChromiumTest.cpp:
5153         * tests/LayerRendererChromiumTest.cpp:
5154         * tests/TiledLayerChromiumTest.cpp:
5155
5156 2012-06-20  Hans Wennborg  <hans@chromium.org>
5157
5158         Speech JavaScript API: add SpeechRecognition.maxAlternatives attribute
5159         https://bugs.webkit.org/show_bug.cgi?id=89459
5160
5161         Reviewed by Eric Seidel.
5162
5163         Plumbing for the maxAlternatives attribute.
5164
5165         * public/WebSpeechRecognitionParams.h:
5166         (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
5167         (WebKit::WebSpeechRecognitionParams::maxAlternatives):
5168         (WebSpeechRecognitionParams):
5169         * src/SpeechRecognitionClientProxy.cpp:
5170         (WebKit::SpeechRecognitionClientProxy::start):
5171         * src/SpeechRecognitionClientProxy.h:
5172         (SpeechRecognitionClientProxy):
5173
5174 2012-06-20  Hironori Bono  <hbono@chromium.org>
5175
5176         [chromium] Select the marker range when right-clicking on a marker.
5177         https://bugs.webkit.org/show_bug.cgi?id=89331
5178
5179         Reviewed by Hajime Morita.
5180
5181         Chromium always selects only one word when right-clicking on a spelling marker.
5182         This prevents selecting whole region specified by a marker if the marker
5183         consists of two or more words. This change retrieves a range coverted by a
5184         marker and select the range. This emulates the behavior of Mac Chromium and it
5185         does not need any workarounds for Mac.
5186
5187         * src/ContextMenuClientImpl.cpp:
5188         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5189
5190 2012-06-19  Kenneth Russell  <kbr@google.com>
5191
5192         Unreviewed, rolling out r120772.
5193         http://trac.webkit.org/changeset/120772
5194         https://bugs.webkit.org/show_bug.cgi?id=89503
5195
5196         Broke build on Chromium Mac
5197
5198         * src/WebCompositorImpl.cpp:
5199         * src/WebLayerTreeView.cpp:
5200         * tests/CCLayerTestCommon.cpp:
5201         * tests/CCLayerTreeHostImplTest.cpp:
5202         * tests/CCLayerTreeHostTest.cpp:
5203         * tests/CCOcclusionTrackerTest.cpp:
5204         * tests/CCQuadCullerTest.cpp:
5205         * tests/CCTiledLayerImplTest.cpp:
5206         * tests/ImageLayerChromiumTest.cpp:
5207         * tests/LayerRendererChromiumTest.cpp:
5208         * tests/TiledLayerChromiumTest.cpp:
5209
5210 2012-06-19  Zeev Lieber  <zlieber@chromium.org>
5211
5212         [Chromium] Remove redundant #includes in compositor
5213         https://bugs.webkit.org/show_bug.cgi?id=89503
5214
5215         Reviewed by Adrienne Walker.
5216
5217         Minor adjustments to #include statements to remove
5218         dependencies. No new tests.
5219
5220         * src/WebCompositorImpl.cpp:
5221         * src/WebLayerTreeView.cpp:
5222         * tests/CCLayerTestCommon.cpp:
5223         * tests/CCLayerTreeHostImplTest.cpp:
5224         * tests/CCLayerTreeHostTest.cpp:
5225         * tests/CCOcclusionTrackerTest.cpp:
5226         * tests/CCQuadCullerTest.cpp:
5227         * tests/CCTiledLayerImplTest.cpp:
5228         * tests/ImageLayerChromiumTest.cpp:
5229         * tests/LayerRendererChromiumTest.cpp:
5230         * tests/TiledLayerChromiumTest.cpp:
5231
5232 2012-06-19  Joshua Bell  <jsbell@chromium.org>
5233
5234         IndexedDB: Add new type (and chromium webkit API) for metadata snapshot
5235         https://bugs.webkit.org/show_bug.cgi?id=88678
5236
5237         Reviewed by Darin Fisher.
5238
5239         * WebKit.gyp:
5240         * public/WebIDBDatabase.h:
5241         (WebKit::WebIDBDatabase::metadata):
5242         * public/WebIDBKeyPath.h:
5243         (WebIDBKeyPath):
5244         (WebKit::WebIDBKeyPath::WebIDBKeyPath):
5245         (WebKit::WebIDBKeyPath::~WebIDBKeyPath):
5246         (WebKit::WebIDBKeyPath::operator=): Used by Chromium backend.
5247         * public/WebIDBMetadata.h: Added new type.
5248         (WebKit):
5249         (WebIDBMetadata):
5250         (WebKit::WebIDBMetadata::WebIDBMetadata):
5251         (ObjectStore):
5252         (WebKit::WebIDBMetadata::ObjectStore::ObjectStore):
5253         (Index):
5254         (WebKit::WebIDBMetadata::Index::Index):
5255         * src/WebIDBKeyPath.cpp: Conform to normal WebXXX patern.
5256         (WebKit::WebIDBKeyPath::assign):
5257         (WebKit):
5258         (WebKit::WebIDBKeyPath::reset):
5259
5260 2012-06-19  Amy Ousterhout  <aousterh@chromium.org>
5261
5262         [Chromium] Style Fix in WebDeviceOrientationController
5263         https://bugs.webkit.org/show_bug.cgi?id=89337
5264
5265         Reviewed by Steve Block.
5266
5267         Changing a local variable from a PassRefPtr to a RefPtr in order to be consistent with the style guide.
5268
5269         * src/WebDeviceOrientationController.cpp:
5270         (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
5271
5272 2012-06-19  Peter Wang  <peter.wang@torchmobile.com.cn>
5273
5274         Remove the function ScriptDebugServer::supportsNativeBreakpoints()
5275         https://bugs.webkit.org/show_bug.cgi?id=88759
5276
5277         Reviewed by Pavel Feldman.
5278
5279         * src/js/DevTools.js:
5280
5281 2012-06-19  Yury Semikhatsky  <yurys@chromium.org>
5282
5283         [Chromium] Web Inspector: remove unnecessary indirection from message loop instrumentation
5284         https://bugs.webkit.org/show_bug.cgi?id=89443
5285
5286         Removed start/stopMainThreadMonitoring methods from WebDevToolsAgentClient
5287         and WebDevToolsAgentImpl. The functionality is now implemented inside
5288         InspectorClientImpl.
5289
5290         Reviewed by Vsevolod Vlasov.
5291
5292         * public/WebDevToolsAgentClient.h:
5293         * src/InspectorClientImpl.cpp:
5294         (WebKit::InspectorClientImpl::clearBrowserCookies):
5295         (WebKit::InspectorClientImpl::startMainThreadMonitoring):
5296         (WebKit::InspectorClientImpl::stopMainThreadMonitoring):
5297         (WebKit::InspectorClientImpl::willProcessTask):
5298         (WebKit):
5299         (WebKit::InspectorClientImpl::didProcessTask):
5300         * src/InspectorClientImpl.h:
5301         (InspectorClientImpl):
5302         * src/WebDevToolsAgentImpl.cpp:
5303         * src/WebDevToolsAgentImpl.h:
5304         (WebDevToolsAgentImpl):
5305
5306 2012-06-19  Mike West  <mkwst@chromium.org>
5307
5308         Introduce ENABLE_CSP_NEXT configuration flag.
5309         https://bugs.webkit.org/show_bug.cgi?id=89300
5310
5311         Reviewed by Adam Barth.
5312
5313         The 1.0 draft of the Content Security Policy spec is just about to
5314         move to Last Call. We'll hide work on the upcoming 1.1 spec behind
5315         this ENABLE flag, disabled by default.
5316
5317         Spec: https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html
5318
5319         * features.gypi:
5320
5321 2012-06-19  Sheriff Bot  <webkit.review.bot@gmail.com>
5322
5323         Unreviewed, rolling out r120586.
5324         http://trac.webkit.org/changeset/120586
5325         https://bugs.webkit.org/show_bug.cgi?id=89444
5326
5327         doesn't fix mac issue (Requested by morrita on #webkit).
5328
5329         * src/ContextMenuClientImpl.cpp:
5330         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5331         * src/WebFrameImpl.cpp:
5332         (WebKit::WebFrameImpl::replaceMisspelledRange):
5333
5334 2012-06-19  Mike West  <mkwst@chromium.org>
5335
5336         Add a scheme registry for bypassing Content Security Policy.
5337         https://bugs.webkit.org/show_bug.cgi?id=89373
5338
5339         Reviewed by Adam Barth.
5340
5341         * public/WebSecurityPolicy.h:
5342         (WebSecurityPolicy):
5343         * src/WebSecurityPolicy.cpp:
5344         (WebKit::WebSecurityPolicy::registerURLSchemeAsBypassingContentSecurityPolicy):
5345         (WebKit):
5346
5347 2012-06-18  Adam Barth  <abarth@webkit.org>
5348
5349         [Chromium] GesturePinchBegin and friends are gesture events
5350         https://bugs.webkit.org/show_bug.cgi?id=89398
5351
5352         Reviewed by James Robinson.
5353
5354         * public/WebInputEvent.h:
5355         (WebKit::WebInputEvent::isGestureEventType):
5356
5357 2012-06-18  Amy Ousterhout  <aousterh@chromium.org>
5358
5359         [Chromium] DeviceOrientation Cleanup
5360         https://bugs.webkit.org/show_bug.cgi?id=89354
5361
5362         Reviewed by Kent Tamura.
5363
5364         * public/WebDeviceOrientation.h: added const-qualifiers to getters, simplified an overly-complicated parameter to two functions
5365         (WebKit::WebDeviceOrientation::isNull):
5366         (WebKit::WebDeviceOrientation::canProvideAlpha):
5367         (WebKit::WebDeviceOrientation::alpha):
5368         (WebKit::WebDeviceOrientation::canProvideBeta):
5369         (WebKit::WebDeviceOrientation::beta):
5370         (WebKit::WebDeviceOrientation::canProvideGamma):
5371         (WebKit::WebDeviceOrientation::gamma):
5372         (WebKit::WebDeviceOrientation::canProvideAbsolute):
5373         (WebKit::WebDeviceOrientation::absolute):
5374         (WebDeviceOrientation):
5375         * public/WebDeviceOrientationClient.h: added WEBKIT_ASSERT_NOT_REACHED to virtual functions
5376         (WebKit::WebDeviceOrientationClient::setController):
5377         (WebKit::WebDeviceOrientationClient::startUpdating):
5378         (WebKit::WebDeviceOrientationClient::stopUpdating):
5379         (WebKit::WebDeviceOrientationClient::lastOrientation):
5380         * public/WebDeviceOrientationClientMock.h: added OVERRIDE specifier for virtual functions
5381         (WebDeviceOrientationClientMock):
5382         * src/DeviceOrientationClientProxy.h: designated functions as 'virtual' and added OVERRIDE specifier
5383         (DeviceOrientationClientProxy):
5384         * src/WebDeviceOrientation.cpp: simplified overly-complicated parameter to two functions 
5385         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
5386         (WebKit::WebDeviceOrientation::operator=):
5387
5388 2012-06-18  Ami Fischman  <fischman@chromium.org>
5389
5390         Unreviewed.  Rolled DEPS.
5391
5392         * DEPS:
5393
5394 2012-06-14  James Robinson  <jamesr@chromium.org>
5395
5396         [chromium] Use WebImageLayer in GraphicsLayerChromium for image layers
5397         https://bugs.webkit.org/show_bug.cgi?id=89150
5398
5399         Reviewed by Adrienne Walker.
5400
5401         Implementation of WebImageLayer. Note: This could (should?) live in WebCore/platform/chromium/support/, but it's
5402         here to be next to the other Web*Layer.cpp implementation files.
5403
5404         * WebKit.gyp:
5405         * src/WebImageLayer.cpp: Added.
5406         (WebKit):
5407         (WebKit::WebImageLayer::create):
5408         (WebKit::WebImageLayer::WebImageLayer):
5409         (WebKit::WebImageLayer::setBitmap):
5410
5411 2012-06-14  James Robinson  <jamesr@chromium.org>
5412
5413         [chromium] GraphicsLayerChromium should use WebContentLayer directly
5414         https://bugs.webkit.org/show_bug.cgi?id=89145
5415
5416         Reviewed by Adrienne Walker.
5417
5418         * src/WebContentLayerImpl.cpp:
5419         (WebKit::WebContentLayerImpl::paintContents):
5420         * tests/CCOcclusionTrackerTest.cpp:
5421         (WebKitTests::CCOcclusionTrackerTestMainThreadTypes::createLayer):
5422         * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
5423         (WebCore):
5424         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::OpaqueRectTrackingContentLayerDelegateTest):
5425         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::canvasRect):
5426         (WebCore::TEST_F):
5427         * tests/WebLayerTest.cpp:
5428
5429 2012-06-18  Ilya Sherman  <isherman@chromium.org>
5430
5431         [Chromium] Ensure layout has happened before calling into hasNonEmptyBoundingBox()
5432         Also update existing code to use updateLayoutIgnorePendingStylesheets()
5433         https://bugs.webkit.org/show_bug.cgi?id=89258
5434
5435         Reviewed by James Robinson.
5436
5437         * src/WebNode.cpp:
5438         (WebKit::WebNode::isFocusable): Use updateLayoutIgnorePendingStylesheets()
5439         (WebKit::WebNode::hasNonEmptyBoundingBox): Force layout before checking the bounding box
5440
5441 2012-06-18  Ian Vollick  <vollick@chromium.org>
5442
5443         [chromium] Ensure that skipping frames during an accelerated animation doesn't cause starvation
5444         https://bugs.webkit.org/show_bug.cgi?id=87766
5445
5446         Reviewed by James Robinson.
5447
5448         * tests/CCLayerTreeHostTest.cpp:
5449         (WTF):
5450         (CCLayerTreeHostTestCheckerboardDoesNotStarveDraws):
5451         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws):
5452         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::beginTest):
5453         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::afterTest):
5454         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::animateLayers):
5455         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::drawLayersOnCCThread):
5456         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::prepareToDrawOnCCThread):
5457         (WTF::TEST_F):
5458         * tests/CCSchedulerStateMachineTest.cpp:
5459         (WebCore::TEST):
5460         (WebCore):
5461         * tests/CCThreadedTest.cpp:
5462         (WebKitTests::MockLayerTreeHostImpl::prepareToDraw):
5463         * tests/CCThreadedTest.h:
5464         (WebKitTests::TestHooks::prepareToDrawOnCCThread):
5465
5466 2012-06-18  Xianzhu Wang  <wangxianzhu@chromium.org>
5467
5468         [Chromium] Change back "linuxish" to "linux" and include WebFontRendering.cpp on Android
5469         https://bugs.webkit.org/show_bug.cgi?id=89228
5470
5471         Reviewed by Tony Chang.
5472
5473         * WebKit.gyp:
5474         * public/linux/WebFontRendering.h:
5475         (WebKit):
5476         (WebFontRendering):
5477         * public/linuxish/WebFontRendering.h: Removed.
5478         * src/linux/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp.
5479         (WebKit):
5480         (WebKit::WebFontRendering::setHinting):
5481         (WebKit::WebFontRendering::setAutoHint):
5482         (WebKit::WebFontRendering::setUseBitmaps):
5483         (WebKit::WebFontRendering::setAntiAlias):
5484         (WebKit::WebFontRendering::setSubpixelRendering):
5485         (WebKit::WebFontRendering::setSubpixelPositioning):
5486         (WebKit::WebFontRendering::setLCDOrder):
5487         (WebKit::WebFontRendering::setLCDOrientation):
5488
5489 2012-06-18  Hironori Bono  <hbono@chromium.org>
5490
5491         [chromium] Spellchecker should show suggestions only when right-clicking a misspelled word.
5492         https://bugs.webkit.org/show_bug.cgi?id=89331
5493
5494         Reviewed by Hajime Morita.
5495
5496         When a selection includes two or more misspelled words, it is not so easy to
5497         select one word from them and to show its suggestions. To avoid this problem,
5498         this change shows suggestions only when the selection is collapsed. For this
5499         case, we can use Range::setStart and setEnd to convert a DocumentMarker to a
5500         Range.
5501
5502         * src/ContextMenuClientImpl.cpp:
5503         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Added a check that the selection is collapsed.
5504         * src/WebFrameImpl.cpp:
5505         (WebKit::WebFrameImpl::replaceMisspelledRange): Added a check that the selection is collapsed. Also, use Range::setStart() and Range::setEnd() to get the marker range to emulate the behavior of DocumentMarker::markersInRange().
5506
5507 2012-06-14  Kinuko Yasuda  <kinuko@chromium.org>
5508
5509         [chromium] Cleanup: remove PlatformSupport::createAsyncFileSystem as it's no longer used
5510         https://bugs.webkit.org/show_bug.cgi?id=89083
5511
5512         Reviewed by Kentaro Hara.
5513
5514         * src/PlatformSupport.cpp:
5515
5516 2012-06-15  Kinuko Yasuda  <kinuko@chromium.org>
5517
5518         XHR_RESPONSE_BLOB is not enabled on some platforms
5519         https://bugs.webkit.org/show_bug.cgi?id=88859
5520
5521         Reviewed by Adam Barth.
5522
5523         Removing XHR_RESPONSE_BLOB since the current implementation has
5524         no platform-specific part.
5525
5526         * src/PlatformSupport.cpp:
5527         * src/WebRuntimeFeatures.cpp:
5528         (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
5529         (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
5530
5531 2012-06-17  MORITA Hajime  <morrita@google.com>
5532
5533         Unreviewed build fix.
5534
5535         * tests/CCLayerTreeHostImplTest.cpp:
5536
5537 2012-06-17  Zeev Lieber  <zlieber@chromium.org>
5538
5539         [Chromium] Compositor should avoid drawing quads when cached textures are available and contents unchanged
5540         https://bugs.webkit.org/show_bug.cgi?id=88482
5541
5542         Reviewed by Adrienne Walker.
5543
5544         Added tests to verify quad removal algorithm. Added infrastructure
5545         code to generate custom render passes out of a script encoded as C
5546         string.
5547
5548         * tests/CCDamageTrackerTest.cpp:
5549         (WebKitTests::TEST_F):
5550         * tests/CCLayerImplTest.cpp:
5551         (WebCore):
5552         (WebCore::TEST):
5553         * tests/CCLayerTreeHostImplTest.cpp:
5554
5555 2012-06-16  Robert Kroeger  <rjkroege@chromium.org>
5556
5557         [chromium] Make the deviceScaleFactor dynamically adjustable.
5558         https://bugs.webkit.org/show_bug.cgi?id=88916
5559
5560         Reviewed by James Robinson.
5561
5562         * src/WebLayerTreeView.cpp:
5563         (WebKit::WebLayerTreeView::Settings::operator CCSettings): Removed unused
5564         static deviceScaleFactor.
5565         (WebKit::WebLayerTreeView::setDeviceScaleFactor):
5566         (WebKit):
5567         (WebKit::WebLayerTreeView::deviceScaleFactor):
5568         * src/WebViewImpl.cpp:
5569         (WebKit::WebViewImpl::setDeviceScaleFactor): Push the dynamic deviceScaleFactor
5570         to the compositor as required.
5571         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
5572         * tests/CCLayerTreeHostTest.cpp: Tests use dynamic setDeviceScaleFactor.
5573         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers):
5574         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::beginTest):
5575         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
5576
5577 2012-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
5578
5579         Unreviewed, rolling out r120536.
5580         http://trac.webkit.org/changeset/120536
5581         https://bugs.webkit.org/show_bug.cgi?id=89296
5582
5583         Does not compile on chromium-linux (Requested by abarth on
5584         #webkit).
5585
5586         * WebKit.gyp:
5587         * public/linux/WebFontRendering.h:
5588         * public/linuxish/WebFontRendering.h: Renamed from Source/WebKit/chromium/public/WebFontRendering.h.
5589         (WebKit):
5590         (WebFontRendering):
5591         * src/linuxish/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/WebFontRendering.cpp.
5592         (WebKit):
5593         (WebKit::WebFontRendering::setHinting):
5594         (WebKit::WebFontRendering::setAutoHint):
5595         (WebKit::WebFontRendering::setUseBitmaps):
5596         (WebKit::WebFontRendering::setAntiAlias):
5597         (WebKit::WebFontRendering::setSubpixelRendering):
5598         (WebKit::WebFontRendering::setSubpixelPositioning):
5599         (WebKit::WebFontRendering::setLCDOrder):
5600         (WebKit::WebFontRendering::setLCDOrientation):
5601
5602 2012-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
5603
5604         Unreviewed, rolling out r120539.
5605         http://trac.webkit.org/changeset/120539
5606         https://bugs.webkit.org/show_bug.cgi?id=89295
5607
5608         Does not compile on chromium-mac (Requested by abarth on
5609         #webkit).
5610
5611         * tests/CCDamageTrackerTest.cpp:
5612         (WebKitTests::TEST_F):
5613         * tests/CCLayerImplTest.cpp:
5614         (WebCore):
5615         (WebCore::TEST):
5616         * tests/CCLayerTreeHostImplTest.cpp:
5617
5618 2012-06-16  Zeev Lieber  <zlieber@chromium.org>
5619
5620         [Chromium] Compositor should avoid drawing quads when cached textures are available and contents unchanged
5621         https://bugs.webkit.org/show_bug.cgi?id=88482
5622
5623         Reviewed by Adrienne Walker.
5624
5625         Added tests to verify quad removal algorithm. Added infrastructure
5626         code to generate custom render passes out of a script
5627         encoded as C string.
5628
5629         * tests/CCDamageTrackerTest.cpp:
5630         (WebKitTests::TEST_F):
5631         * tests/CCLayerImplTest.cpp:
5632         (WebCore):
5633         (WebCore::TEST):
5634         * tests/CCLayerTreeHostImplTest.cpp:
5635
5636 2012-06-16  Xianzhu Wang  <wangxianzhu@chromium.org>
5637
5638         [Chromium] Move chromium/public/linuxish/WebFontRendering.h out of linuxish directory
5639         https://bugs.webkit.org/show_bug.cgi?id=89228
5640
5641         Reverse dependency originally from WebCore::FontPlatformDataHarfBuzz to WebKit::WebFontRendering
5642         so that WebKit::WebFontRendering can be platform-independent.
5643
5644         This also avoids the ambiguous name 'linuxish'.
5645
5646         Reviewed by Tony Chang.
5647
5648         * WebKit.gyp:
5649         * public/WebFontRendering.h: Copied from Source/WebKit/chromium/public/linuxish/WebFontRendering.h. Added getters under WEBKIT_IMPLEMENTATION.
5650         (WebFontRendering):
5651         * public/linux/WebFontRendering.h:
5652         * public/linuxish: Removed.
5653         * public/linuxish/WebFontRendering.h: Removed.
5654         * src/WebFontRendering.cpp: Copied from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp. Changed setters to be independent of platform-dependent implementation and added getters.
5655         (WebKit):
5656         (WebKit::WebFontRendering::setHinting):
5657         (WebKit::WebFontRendering::hinting):
5658         (WebKit::WebFontRendering::setAutoHint):
5659         (WebKit::WebFontRendering::autoHint):
5660         (WebKit::WebFontRendering::setUseBitmaps):
5661         (WebKit::WebFontRendering::useBitmaps):
5662         (WebKit::WebFontRendering::setAntiAlias):
5663         (WebKit::WebFontRendering::antiAlias):
5664         (WebKit::WebFontRendering::setSubpixelRendering):
5665         (WebKit::WebFontRendering::subpixelRendering):
5666         (WebKit::WebFontRendering::setSubpixelPositioning):
5667         (WebKit::WebFontRendering::subpixelPositioning):
5668         * src/linuxish: Removed.
5669         * src/linuxish/WebFontRendering.cpp: Removed.
5670
5671 2012-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
5672
5673         Unreviewed.  Rolled DEPS.
5674
5675         * DEPS:
5676
5677 2012-06-16  Dan Alcantara  <dfalcantara@chromium.org>
5678
5679         [chromium] WebFrameClient::userAgentOverride() should take in a WebFrame* as its first argument
5680         https://bugs.webkit.org/show_bug.cgi?id=89233
5681
5682         Reviewed by Darin Fisher.
5683
5684         Adds a WebFrame* to the WebFrameClient::userAgentOverride() function.
5685
5686         * public/WebFrameClient.h:
5687         (WebKit::WebFrameClient::userAgentOverride):
5688         * src/FrameLoaderClientImpl.cpp:
5689         (WebKit::FrameLoaderClientImpl::userAgent):
5690         * tests/FrameLoaderClientImplTest.cpp:
5691
5692 2012-06-15  Sheriff Bot  <webkit.review.bot@gmail.com>
5693
5694         Unreviewed, rolling out r120511.
5695         http://trac.webkit.org/changeset/120511
5696         https://bugs.webkit.org/show_bug.cgi?id=89255
5697
5698         Breaks at least Android builder (Requested by wangxianzhu on
5699         #webkit).
5700
5701         * WebKit.gyp:
5702         * public/linux/WebFontRendering.h:
5703         * public/linuxish/WebFontRendering.h: Renamed from Source/WebKit/chromium/public/WebFontRendering.h.
5704         (WebKit):
5705         (WebFontRendering):
5706         * src/linuxish/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/WebFontRendering.cpp.
5707         (WebKit):
5708         (WebKit::WebFontRendering::setHinting):
5709         (WebKit::WebFontRendering::setAutoHint):
5710         (WebKit::WebFontRendering::setUseBitmaps):
5711         (WebKit::WebFontRendering::setAntiAlias):
5712         (WebKit::WebFontRendering::setSubpixelRendering):
5713         (WebKit::WebFontRendering::setSubpixelPositioning):
5714         (WebKit::WebFontRendering::setLCDOrder):
5715         (WebKit::WebFontRendering::setLCDOrientation):
5716
5717 2012-06-15  Xianzhu Wang  <wangxianzhu@chromium.org>
5718
5719         [Chromium] Move chromium/public/linuxish/WebFontRendering.h out of linuxish directory
5720         https://bugs.webkit.org/show_bug.cgi?id=89228
5721
5722         Reverse dependency originally from WebCore::FontPlatformDataHarfBuzz to WebKit::WebFontRendering
5723         so that WebKit::WebFontRendering can be platform-independent.
5724
5725         This also avoids the ambiguous name 'linuxish'.
5726
5727         Reviewed by Tony Chang.
5728
5729         * WebKit.gyp:
5730         * public/WebFontRendering.h: Copied from Source/WebKit/chromium/public/linuxish/WebFontRendering.h. Added getters under WEBKIT_IMPLEMENTATION.
5731         (WebFontRendering):
5732         * public/linux/WebFontRendering.h:
5733         * public/linuxish: Removed.
5734         * public/linuxish/WebFontRendering.h: Removed.
5735         * src/WebFontRendering.cpp: Copied from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp. Changed setters to be independent of platform-dependent implementation and added getters.
5736         (WebKit):
5737         (WebKit::WebFontRendering::setHinting):
5738         (WebKit::WebFontRendering::hinting):
5739         (WebKit::WebFontRendering::setAutoHint):
5740         (WebKit::WebFontRendering::autoHint):
5741         (WebKit::WebFontRendering::setUseBitmaps):
5742         (WebKit::WebFontRendering::useBitmaps):
5743         (WebKit::WebFontRendering::setAntiAlias):
5744         (WebKit::WebFontRendering::antiAlias):
5745         (WebKit::WebFontRendering::setSubpixelRendering):
5746         (WebKit::WebFontRendering::subpixelRendering):
5747         (WebKit::WebFontRendering::setSubpixelPositioning):
5748         (WebKit::WebFontRendering::subpixelPositioning):
5749         * src/linuxish: Removed.
5750         * src/linuxish/WebFontRendering.cpp: Removed.
5751
5752 2012-06-15  Tony Chang  <tony@chromium.org>
5753
5754         [chromium] Remove WebKit/chromium/public/gtk/WebFontInfo.h since it's no longer referenced.
5755         https://bugs.webkit.org/show_bug.cgi?id=89251
5756
5757         Reviewed by Adam Barth.
5758
5759         This was a forwarding header when we moved the file to public/linux.
5760
5761         * public/gtk/WebFontInfo.h: Removed.
5762
5763 2012-06-15  Bill Budge  <bbudge@chromium.org>
5764
5765         AssociatedURLLoader should allow trusted clients to read all headers, not just exposed ones.
5766         https://bugs.webkit.org/show_bug.cgi?id=89185
5767
5768         Reviewed by Adam Barth.
5769
5770         This change adds an option to turn off whitelist filtering of response headers for CORS loads,
5771         and modifies AssociatedURLLoader check for that before filtering.
5772
5773         * public/WebURLLoaderOptions.h:
5774         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
5775         (WebURLLoaderOptions):
5776         * src/AssociatedURLLoader.cpp:
5777         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
5778         * tests/AssociatedURLLoaderTest.cpp:
5779         (WebKit):
5780         (WebKit::TEST_F):
5781
5782 2012-06-15  Sami Kyostila  <skyostil@chromium.org>
5783
5784         [chromium] Allow scrolling non-root layers in the compositor thread
5785         https://bugs.webkit.org/show_bug.cgi?id=73350
5786
5787         Reviewed by James Robinson.
5788
5789         New unit tests to verify layer scrolling behavior and the associated
5790         utility functions.
5791
5792         * src/WebCompositorInputHandlerImpl.cpp:
5793         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
5794         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
5795         * tests/CCLayerTreeHostCommonTest.cpp:
5796         * tests/CCLayerTreeHostImplTest.cpp:
5797         * tests/CCLayerTreeHostTest.cpp:
5798         (WTF::MockContentLayerDelegate::paintContents):
5799         (CCLayerTreeHostTestScrollChildLayer):
5800         (WTF::CCLayerTreeHostTestScrollChildLayer::CCLayerTreeHostTestScrollChildLayer):
5801         (WTF::CCLayerTreeHostTestScrollChildLayer::beginTest):
5802         (WTF::CCLayerTreeHostTestScrollChildLayer::applyScrollAndScale):
5803         (WTF::CCLayerTreeHostTestScrollChildLayer::beginCommitOnCCThread):
5804         (WTF::CCLayerTreeHostTestScrollChildLayer::drawLayersOnCCThread):
5805         (WTF::CCLayerTreeHostTestScrollChildLayer::afterTest):
5806         (WTF):
5807         (WTF::TEST_F):
5808         * tests/WebCompositorInputHandlerImplTest.cpp:
5809         (WebKit::TEST_F):
5810
5811 2012-06-15  Hironori Bono  <hbono@chromium.org>
5812
5813         Allow platforms to choose whether to remove markers on editing
5814         https://bugs.webkit.org/show_bug.cgi?id=88838
5815
5816         Reviewed by Hajime Morita.
5817
5818         This change implements EditorClientImpl::checkGrammarOfString so
5819         DumpRenderTree can run grammar tests.
5820
5821         * src/EditorClientImpl.cpp:
5822         (WebKit::EditorClientImpl::isGrammarCheckingEnabled): Return true also when unified text-checking is enabled.
5823         (WebKit::EditorClientImpl::shouldEraseMarkersAfterChangeSelection): ditto.
5824         (WebKit::EditorClientImpl::checkGrammarOfString): Implement this function with our unified text-checker.
5825
5826 2012-06-14  Kent Tamura  <tkent@chromium.org>
5827
5828         Support file extensions in HTMLInputElement::accept
5829         https://bugs.webkit.org/show_bug.cgi?id=88298
5830
5831         Reviewed by Hajime Morita.
5832
5833         * src/ChromeClientImpl.cpp:
5834         (WebKit::ChromeClientImpl::runOpenPanel):
5835         Use FileChooserSettings::acceptTypes() to get both of MIME types and file extensions.
5836
5837 2012-06-14  Kaustubh Atrawalkar  <kaustubh@motorola.com>
5838
5839         Remove support for counterValueForElementById from chromium port
5840         https://bugs.webkit.org/show_bug.cgi?id=88851
5841
5842         Reviewed by Adam Barth.
5843
5844         Moved the counterValueForElementById from LayoutTestCotroller to Internals so
5845         remove the old platform specific implementations as it exclusively tests WebCore functionality.
5846
5847         * public/WebFrame.h:
5848         (WebFrame):
5849         * src/WebFrameImpl.cpp:
5850         (WebKit):
5851         * src/WebFrameImpl.h:
5852         (WebFrameImpl):
5853
5854 2012-06-14  Xianzhu Wang  <wangxianzhu@chromium.org>
5855
5856         [Chromium-Android] Initialize font rendering in DumpRenderTree
5857         https://bugs.webkit.org/show_bug.cgi?id=89133
5858
5859         Reviewed by Adam Barth.
5860
5861         * src/linuxish/WebFontRendering.cpp:
5862         (WebKit::WebFontRendering::setSubpixelPositioning): Now calls WebFontInfo::setSubpixelPositioning to avoid API users from calling both and simplify platform differences at call sites.
5863
5864 2012-06-14  Tony Chang  <tony@chromium.org>
5865
5866         [chromium] Port IFrameRedirectTest.Test from test_shell_tests to webkit_unit_tests
5867         https://bugs.webkit.org/show_bug.cgi?id=89132
5868
5869         Reviewed by Adam Barth.
5870
5871         This test is currently in src/webkit/glue/iframe_redirect_unittest.cc
5872         and uses test_shell's layoutTestController. Moving this will make
5873         it easier to get rid of layoutTestController in test_shell.
5874
5875         * tests/WebFrameTest.cpp:
5876         (WebKit::TEST_F):
5877         (WebKit):
5878         * tests/data/iframe_redirect.html: Added.
5879
5880 2012-06-14  David Reveman  <reveman@chromium.org>
5881
5882         [Chromium] Sub-pixel text rendering is incorrectly used for WebView with transparent background.
5883         https://bugs.webkit.org/show_bug.cgi?id=89033
5884
5885         Reviewed by James Robinson.
5886
5887         Add canvas background argument to PageWidgetDelegate::paint and call
5888         PlatformCanvasSkia::setDrawingToImageBuffer to ensure that sub-pixel
5889         rendering is only used when WebView has opaque background.
5890
5891         * src/PageWidgetDelegate.cpp:
5892         (WebKit::PageWidgetDelegate::paint):
5893         * src/PageWidgetDelegate.h:
5894         * src/WebPagePopupImpl.cpp:
5895         (WebKit::WebPagePopupImpl::paint):
5896         * src/WebViewImpl.cpp:
5897         (WebKit::WebViewImpl::paint):
5898
5899 2012-06-14  Shawn Singh  <shawnsingh@chromium.org>
5900
5901         [chromium] CCLayerTreeHostCommonTest.verifyHitTestingForSingleLayer failing in debug
5902         https://bugs.webkit.org/show_bug.cgi?id=89065
5903
5904         Reviewed by James Robinson.
5905
5906         A debug assertion was being triggered in the hit-testing unit
5907         tests because I accidentally forgot to set the
5908         DebugScopedSetImplThread for the tests.
5909
5910         This patch also re-enables the disabled broken test.
5911
5912         * tests/CCLayerTreeHostCommonTest.cpp:
5913
5914 2012-06-14  Xianzhu Wang  <wangxianzhu@chromium.org>
5915
5916         [Chromium] Add setAutoHint() and setUseBitmaps() in WebFontRendering
5917         https://bugs.webkit.org/show_bug.cgi?id=89014
5918
5919         Reviewed by James Robinson.
5920
5921         * public/linuxish/WebFontRendering.h:
5922         (WebFontRendering):
5923         * src/linuxish/WebFontRendering.cpp:
5924         (WebKit):
5925         (WebKit::WebFontRendering::setAutoHint):
5926         (WebKit::WebFontRendering::setUseBitmaps):
5927         (WebKit::WebFontRendering::setAntiAlias):
5928
5929 2012-06-14  Daniel Erat  <derat@chromium.org>
5930
5931         [chromium/linux] Drop deprecated WebFontRenderStyle::useSubpixel
5932         https://bugs.webkit.org/show_bug.cgi?id=88263
5933
5934         Reviewed by Adam Barth.
5935
5936         This removes the useSubpixel member, which was replaced by
5937         useSubpixelRendering.  Chrome has been updated to set only the
5938         useSubpixelRendering field.
5939
5940         No test updates since the existing behavior shouldn't change.
5941
5942         * public/linux/WebFontInfo.h:
5943         (WebFontInfo):
5944         * public/linux/WebFontRenderStyle.h:
5945         * src/linux/WebFontInfo.cpp:
5946         (WebKit::WebFontInfo::renderStyleForStrike):
5947         * src/linux/WebFontRenderStyle.cpp:
5948         (WebKit::WebFontRenderStyle::toFontRenderStyle):
5949         (WebKit::WebFontRenderStyle::setDefaults):
5950
5951 2012-06-14  Shawn Singh  <shawnsingh@chromium.org>
5952
5953         [chromium] For hit testing in CCLayerTreeHostCommon, need to check that the transform is invertible before inverting it.
5954         https://bugs.webkit.org/show_bug.cgi?id=89049
5955
5956         Reviewed by Adrienne Walker.
5957
5958         * tests/CCLayerTreeHostCommonTest.cpp:
5959
5960 2012-06-14  Ian Vollick  <vollick@chromium.org>
5961
5962         [chromium] Certain settings in CCSettings could be global
5963         https://bugs.webkit.org/show_bug.cgi?id=88384
5964
5965         Reviewed by James Robinson.
5966
5967         * WebKit.gypi:
5968         * public/WebCompositor.h:
5969         (WebCompositor):
5970         * public/WebSettings.h:
5971         * src/WebCompositorImpl.cpp:
5972         (WebKit::WebCompositor::shutdown):
5973         (WebKit):
5974         (WebKit::WebCompositor::setPerTilePaintingEnabled):
5975         (WebKit::WebCompositor::setPartialSwapEnabled):
5976         (WebKit::WebCompositor::setAcceleratedAnimationEnabled):
5977         * src/WebLayerTreeView.cpp:
5978         (WebKit):
5979         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
5980         * src/WebSettingsImpl.cpp:
5981         * src/WebSettingsImpl.h:
5982         (WebSettingsImpl):
5983         * src/WebViewImpl.cpp:
5984         (WebKit::WebViewImpl::WebViewImpl):
5985         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
5986         * tests/CCLayerTreeHostImplTest.cpp:
5987         * tests/CCLayerTreeHostTest.cpp:
5988         (WTF):
5989         (CCLayerTreeHostTestShortlived1):
5990         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
5991         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
5992         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
5993         * tests/CCTestCommon.h: Added.
5994         (WebKitTests):
5995         (CCScopedSettings):
5996         (WebKitTests::CCScopedSettings::CCScopedSettings):
5997         (WebKitTests::CCScopedSettings::~CCScopedSettings):
5998         * tests/CCThreadedTest.cpp:
5999         (WebKitTests::MockLayerTreeHostImpl::create):
6000         (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
6001         (WebKitTests::MockLayerTreeHost::create):
6002         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
6003         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
6004         (WebKitTests::CCThreadedTest::runTest):
6005         * tests/CCThreadedTest.h:
6006         (CCThreadedTest):
6007         (MockLayerTreeHostImpl):
6008         * tests/GraphicsLayerChromiumTest.cpp:
6009         (WebKitTests::MockLayerTreeHost::create):
6010         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
6011         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
6012         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
6013         * tests/LayerChromiumTest.cpp:
6014         * tests/LayerRendererChromiumTest.cpp:
6015         (LayerRendererChromiumTest):
6016         (TEST_F):
6017         (TEST):
6018         * tests/TextureLayerChromiumTest.cpp:
6019         * tests/TiledLayerChromiumTest.cpp:
6020         * tests/TreeSynchronizerTest.cpp:
6021         (WebKitTests::TEST):
6022
6023 2012-06-14  James Robinson  <jamesr@chromium.org>
6024
6025         [chromium] Move opaque rectangle tracking logic out of compositor core
6026         https://bugs.webkit.org/show_bug.cgi?id=89031
6027
6028         Reviewed by Adrienne Walker.
6029
6030         Moves the grayscale/subpixel AA text decision into NonCompositedContentHost and removes one layer of indirection
6031         betwen NCCH and WVI that existed only for historical reasons.
6032
6033         Ports the opaque rect tracking tests that were in LayerTextureUpdaterTest to
6034         OpaquerectTrackingContentLayerDelegateTest to reflect the move in responsibilities.
6035
6036         * WebKit.gypi:
6037         * src/NonCompositedContentHost.cpp:
6038         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
6039         (WebKit::NonCompositedContentHost::setOpaque):
6040         (WebKit::NonCompositedContentHost::paintContents):
6041         * src/NonCompositedContentHost.h:
6042         (WebCore):
6043         (WebKit):
6044         (WebKit::NonCompositedContentHost::create):
6045         (NonCompositedContentHost):
6046         * src/WebContentLayerImpl.cpp:
6047         (WebKit::WebContentLayerImpl::paintContents):
6048         * src/WebContentLayerImpl.h:
6049         (WebContentLayerImpl):
6050         * src/WebViewImpl.cpp:
6051         (WebKit::WebViewImpl::paintRootLayer):
6052         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6053         * src/WebViewImpl.h:
6054         (WebViewImpl):
6055         * tests/CCLayerTreeHostTest.cpp:
6056         (WTF::TestOpacityChangeLayerDelegate::paintContents):
6057         (WTF::MockContentLayerDelegate::paintContents):
6058         * tests/LayerChromiumTest.cpp:
6059         * tests/LayerTextureUpdaterTest.cpp: Removed.
6060         * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp: Added.
6061         (WebCore):
6062         (PaintCallback):
6063         (TestLayerPainterChromium):
6064         (WebCore::TestLayerPainterChromium::TestLayerPainterChromium):
6065         (WebCore::PaintFillAlpha::operator()):
6066         (WebCore::PaintFillPartialOpaque::PaintFillPartialOpaque):
6067         (PaintFillPartialOpaque):
6068         (WebCore::PaintFillPartialOpaque::operator()):
6069         (OpaqueRectTrackingContentLayerDelegateTest):
6070         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::OpaqueRectTrackingContentLayerDelegateTest):
6071         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::skCanvas):
6072         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::canvasRect):
6073         (WebCore::TEST_F):
6074
6075 2012-06-14  Justin Novosad  <junov@chromium.org>
6076
6077         [Chromium] webkitImageSmoothingEnabled canvas property does not work on redraw
6078         https://bugs.webkit.org/show_bug.cgi?id=89018
6079
6080         Reviewed by Stephen White.
6081
6082         Rolling chromium DEPS to 141884
6083
6084         * DEPS:
6085
6086 2012-06-14  Alexander Pavlov  <apavlov@chromium.org>
6087
6088         [Chromium] Unreviewed, build fix for Mac 10.5
6089
6090         * src/WebDevToolsAgentImpl.cpp:
6091         (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
6092
6093 2012-06-14  Eugene Klyuchnikov  <eustas.bug@gmail.com>
6094
6095         Web Inspector: Refactor message loop instrumentation.
6096         https://bugs.webkit.org/show_bug.cgi?id=88978
6097
6098         Reviewed by Pavel Feldman.
6099
6100         1) Remove "messageLoop" term
6101         2) Reuse WebThread::TaskObserver interface
6102         3) Move implementation (from embedder) to platform code.
6103
6104         * public/WebDevToolsAgent.h:
6105         (WebDevToolsAgent):
6106         * public/WebDevToolsAgentClient.h:
6107         (WebDevToolsAgentClient):
6108         (WebKit::WebDevToolsAgentClient::startMainThreadMonitoring): Renamed medthod.
6109         (WebKit::WebDevToolsAgentClient::stopMainThreadMonitoring): Ditto.
6110         * src/InspectorClientImpl.cpp:
6111         (WebKit::InspectorClientImpl::startMainThreadMonitoring): Ditto.
6112         (WebKit::InspectorClientImpl::stopMainThreadMonitoring): Ditto.
6113         * src/InspectorClientImpl.h:
6114         (InspectorClientImpl):
6115         * src/WebDevToolsAgentImpl.cpp:
6116         (WebKit::WebDevToolsAgentImpl::startMainThreadMonitoring): Use platform threading.
6117         (WebKit::WebDevToolsAgentImpl::stopMainThreadMonitoring): Ditto.
6118         (WebKit::WebDevToolsAgentImpl::willProcessTask): Renamed medthod.
6119         (WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.
6120         * src/WebDevToolsAgentImpl.h:
6121         (WebDevToolsAgentImpl):
6122         * src/WebKit.cpp:
6123
6124 2012-06-14  Alexander Pavlov  <apavlov@chromium.org>
6125
6126         Web Inspector: [Device Metrics] "Fit window" results in duplicate rescaling in WebDevToolsAgentImpl::autoZoomPageToFitWidth()
6127         https://bugs.webkit.org/show_bug.cgi?id=89092
6128
6129         Reviewed by Pavel Feldman.
6130
6131         Do not apply the sizeRatio after it has been applied in scaledEmulatedFrameSize().
6132
6133         * src/WebDevToolsAgentImpl.cpp:
6134         (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
6135         (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
6136
6137 2012-06-14  Yoshifumi Inoue  <yosin@chromium.org>
6138
6139         [Chromium][Forms] We should remove ENABLE_INPUT_TYPE_TIME=0 and so on to allows us to override them by ~/.gyp/include.gypi
6140         https://bugs.webkit.org/show_bug.cgi?id=89062
6141
6142         Reviewed by Kent Tamura.
6143
6144         This patch removes ENABLE_INPUT_TYPE_*=0 from default entry of feature_defines to
6145         allows us overriding by ~/.gyp/include.gypi
6146
6147         * features.gypi: Remove ENABLE_INPUT_TYPE_DATETIME=0, ENABLE_INPUT_TYPE_DATETIMELOCAL=0,
6148         and so on.
6149
6150 2012-06-14  Min Qin  <qinmin@google.com>
6151
6152         Remove the const keyword from MediaPlayerPrivate::enterFullscreen()
6153         https://bugs.webkit.org/show_bug.cgi?id=89044
6154
6155         Reviewed by Adam Barth.
6156
6157         enterFullscreen() should be treated similarly as exitFullscreen() as it could alter the player state.
6158         This reverts the change from r120213.
6159
6160         * src/WebMediaPlayerClientImpl.cpp:
6161         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
6162         * src/WebMediaPlayerClientImpl.h:
6163         (WebMediaPlayerClientImpl):
6164
6165 2012-06-14  Dan Alcantara  <dfalcantara@chromium.org>
6166
6167         [chromium] Rename WebFrameClient::userAgent() to better reflect what it does
6168         https://bugs.webkit.org/show_bug.cgi?id=89028
6169
6170         Reviewed by Adam Barth.
6171
6172         Renames WebFrameClient::userAgent() to userAgentOverride() and makes it return
6173         the user agent override string directly.
6174
6175         * public/WebFrameClient.h:
6176         (WebFrameClient):
6177         (WebKit::WebFrameClient::userAgentOverride):
6178         * src/FrameLoaderClientImpl.cpp:
6179         (WebKit::FrameLoaderClientImpl::userAgent):
6180         * tests/FrameLoaderClientImplTest.cpp:
6181
6182 2012-06-13  Jesse Greenwald  <jgreenwald@google.com>
6183
6184         [Chromium] Add WebDocument.images
6185         https://bugs.webkit.org/show_bug.cgi?id=88837
6186
6187         Reviewed by Adam Barth.
6188
6189         This method is needed on Android to support the existing
6190         WebView.documentHasImages Java API.
6191
6192         * public/WebDocument.h:
6193         (WebDocument):
6194         * src/WebDocument.cpp:
6195         (WebKit::WebDocument::images):
6196         (WebKit):
6197
6198 2012-06-13  Dominic Cooney  <dominicc@chromium.org>
6199
6200         Unreviewed: Disable verifyHitTestingForSingleLayer.
6201         https://bugs.webkit.org/show_bug.cgi?id=89065
6202
6203         It is failing on canary debug bots.
6204
6205         * tests/CCLayerTreeHostCommonTest.cpp:
6206
6207 2012-06-13  Sheriff Bot  <webkit.review.bot@gmail.com>
6208
6209         Unreviewed, rolling out r120268.
6210         http://trac.webkit.org/changeset/120268
6211         https://bugs.webkit.org/show_bug.cgi?id=89060
6212
6213         WebCompositor::setPerTilePaintingEnabled hits an assertion in
6214         DEBUG (Requested by dominicc|work on #webkit).
6215
6216         * WebKit.gypi:
6217         * public/WebCompositor.h:
6218         (WebCompositor):
6219         * public/WebSettings.h:
6220         * src/WebCompositorImpl.cpp:
6221         (WebKit::WebCompositor::shutdown):
6222         * src/WebLayerTreeView.cpp:
6223         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
6224         * src/WebSettingsImpl.cpp:
6225         (WebKit::WebSettingsImpl::setPerTilePaintingEnabled):
6226         (WebKit):
6227         (WebKit::WebSettingsImpl::setPartialSwapEnabled):
6228         (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
6229         * src/WebSettingsImpl.h:
6230         (WebSettingsImpl):
6231         * src/WebViewImpl.cpp:
6232         (WebKit::WebViewImpl::WebViewImpl):
6233         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6234         * tests/CCLayerTreeHostImplTest.cpp:
6235         * tests/CCLayerTreeHostTest.cpp:
6236         * tests/CCTestCommon.h: Removed.
6237         * tests/CCThreadedTest.cpp:
6238         (WebKitTests::MockLayerTreeHostImpl::create):
6239         (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
6240         (WebKitTests::MockLayerTreeHost::create):
6241         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
6242         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
6243         (WebKitTests::CCThreadedTest::runTest):
6244         * tests/CCThreadedTest.h:
6245         (CCThreadedTest):
6246         (MockLayerTreeHostImpl):
6247         * tests/GraphicsLayerChromiumTest.cpp:
6248         (WebKitTests::MockLayerTreeHost::create):
6249         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
6250         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
6251         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
6252         * tests/LayerChromiumTest.cpp:
6253         * tests/LayerRendererChromiumTest.cpp:
6254         (LayerRendererChromiumTest):
6255         (TEST_F):
6256         (TEST):
6257         * tests/TextureLayerChromiumTest.cpp:
6258         * tests/TiledLayerChromiumTest.cpp:
6259         * tests/TreeSynchronizerTest.cpp:
6260         (WebKitTests::TEST):
6261
6262 2012-06-13  Hironori Bono  <hbono@chromium.org>
6263
6264         [chromium] Add WebFrame::replaceMisspelledRange
6265         https://bugs.webkit.org/show_bug.cgi?id=88618
6266
6267         Reviewed by Kent Tamura.
6268
6269         This change adds WebFrame::replaceMisspelledRange, which replaces the range of a
6270         misspelled marker with text so Chromium can use it for replacing misspelled
6271         words with suggetions.
6272
6273         * public/WebFrame.h:
6274         (WebFrame):
6275         * src/WebFrameImpl.cpp:
6276         (WebKit::WebFrameImpl::replaceMisspelledRange):
6277         (WebKit):
6278         * src/WebFrameImpl.h:
6279         (WebFrameImpl):
6280
6281 2012-06-13  Xianzhu Wang  <wangxianzhu@chromium.org>
6282
6283         [Chromium] Let Android and Linux share WebFontRendering decl/impl.
6284         https://bugs.webkit.org/show_bug.cgi?id=88802
6285
6286         Reviewed by Adam Barth.
6287
6288         * WebKit.gyp:
6289         * public/linux/WebFontRendering.h: Temporarily forwards to the new file under linuxish.
6290         * public/linuxish: Added.
6291         * public/linuxish/WebFontRendering.h: Copied from chromium/public/linux/WebFontRendering.h.
6292         * src/linux/WebFontRendering.cpp: Removed.
6293         * src/linuxish: Added.
6294         * src/linuxish/WebFontRendering.cpp: Copied from chromium/src/linux/WebFontRendering.cpp.
6295
6296 2012-06-13  Ian Vollick  <vollick@chromium.org>
6297
6298         [chromium] Certain settings in CCSettings could be global
6299         https://bugs.webkit.org/show_bug.cgi?id=88384
6300
6301         Reviewed by James Robinson.
6302
6303         * WebKit.gypi:
6304         * public/WebCompositor.h:
6305         (WebCompositor):
6306         * public/WebSettings.h:
6307         * src/WebCompositorImpl.cpp:
6308         (WebKit::WebCompositor::shutdown):
6309         (WebKit):
6310         (WebKit::WebCompositor::setPerTilePaintingEnabled):
6311         (WebKit::WebCompositor::setPartialSwapEnabled):
6312         (WebKit::WebCompositor::setAcceleratedAnimationEnabled):
6313         * src/WebLayerTreeView.cpp:
6314         (WebKit):
6315         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
6316         * src/WebSettingsImpl.cpp:
6317         * src/WebSettingsImpl.h:
6318         (WebSettingsImpl):
6319         * src/WebViewImpl.cpp:
6320         (WebKit::WebViewImpl::WebViewImpl):
6321         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6322         * tests/CCLayerTreeHostImplTest.cpp:
6323         * tests/CCLayerTreeHostTest.cpp:
6324         (WTF):
6325         (CCLayerTreeHostTestShortlived1):
6326         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
6327         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
6328         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
6329         * tests/CCTestCommon.h: Added.
6330         (WebKitTests):
6331         (CCScopedSettings):
6332         (WebKitTests::CCScopedSettings::CCScopedSettings):
6333         (WebKitTests::CCScopedSettings::~CCScopedSettings):
6334         * tests/CCThreadedTest.cpp:
6335         (WebKitTests::MockLayerTreeHostImpl::create):
6336         (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
6337         (WebKitTests::MockLayerTreeHost::create):
6338         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
6339         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
6340         (WebKitTests::CCThreadedTest::runTest):
6341         * tests/CCThreadedTest.h:
6342         (CCThreadedTest):
6343         (MockLayerTreeHostImpl):
6344         * tests/GraphicsLayerChromiumTest.cpp:
6345         (WebKitTests::MockLayerTreeHost::create):
6346         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
6347         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
6348         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
6349         * tests/LayerChromiumTest.cpp:
6350         * tests/LayerRendererChromiumTest.cpp:
6351         (LayerRendererChromiumTest):
6352         (TEST_F):
6353         (TEST):
6354         * tests/TextureLayerChromiumTest.cpp:
6355         * tests/TiledLayerChromiumTest.cpp:
6356         * tests/TreeSynchronizerTest.cpp:
6357         (WebKitTests::TEST):
6358
6359 2012-06-13  Dana Jansens  <danakj@chromium.org>
6360
6361         [chromium] Assert if iterating an invalid RenderSurfaceLayerList, where a layer in the list has no RenderSurface
6362         https://bugs.webkit.org/show_bug.cgi?id=89004
6363
6364         Reviewed by Adrienne Walker.
6365
6366         * tests/CCLayerIteratorTest.cpp:
6367
6368 2012-06-13  Shawn Singh  <shawnsingh@chromium.org>
6369
6370         [chromium] Implement hit-testing for impl-side input handling in accelerated compositor
6371         https://bugs.webkit.org/show_bug.cgi?id=88972
6372
6373         Reviewed by Adrienne Walker.
6374
6375         * tests/CCLayerTreeHostCommonTest.cpp:
6376
6377 2012-06-13  David Reveman  <reveman@chromium.org>
6378
6379         [Chromium] Crash when WebViewImpl::setIsTransparent is called before the WebLayerTreeView has been initialized.
6380         https://bugs.webkit.org/show_bug.cgi?id=89013
6381
6382         Reviewed by James Robinson.
6383
6384         Add !m_layerTreeView.isNull() check to WebViewImpl::setIsTransparent.
6385
6386         * src/WebViewImpl.cpp:
6387         (WebKit::WebViewImpl::setIsTransparent):
6388
6389 2012-06-13  Sheriff Bot  <webkit.review.bot@gmail.com>
6390
6391         Unreviewed, rolling out r120220.
6392         http://trac.webkit.org/changeset/120220
6393         https://bugs.webkit.org/show_bug.cgi?id=89021
6394
6395         The patch broke build Chromium Win Release (Requested by
6396         wangxianzhu on #webkit).
6397
6398         * WebKit.gyp:
6399         * public/linux/WebFontRendering.h:
6400         (WebKit):
6401         (WebFontRendering):
6402         * public/linuxish/WebFontRendering.h: Removed.
6403         * src/linux/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp.
6404         (WebKit):
6405         (WebKit::WebFontRendering::setHinting):
6406         (WebKit::WebFontRendering::setAntiAlias):
6407         (WebKit::WebFontRendering::setSubpixelGlyphs):
6408         (WebKit::WebFontRendering::setSubpixelRendering):
6409         (WebKit::WebFontRendering::setSubpixelPositioning):
6410         (WebKit::WebFontRendering::setLCDOrder):
6411         (WebKit::WebFontRendering::setLCDOrientation):
6412
6413 2012-06-13  Xianzhu Wang  <wangxianzhu@chromium.org>
6414
6415         [Chromium] Let Android and Linux share WebFontRendering decl/impl.
6416         https://bugs.webkit.org/show_bug.cgi?id=88802
6417
6418         Reviewed by Adam Barth.
6419
6420         * WebKit.gyp:
6421         * public/linux/WebFontRendering.h: Temporarily forwards to the new file under linuxish.
6422         * public/linuxish: Added.
6423         * public/linuxish/WebFontRendering.h: Copied from chromium/public/linux/WebFontRendering.h.
6424         * src/linux/WebFontRendering.cpp: Removed.
6425         * src/linuxish: Added.
6426         * src/linuxish/WebFontRendering.cpp: Copied from chromium/src/linux/WebFontRendering.cpp.
6427
6428 2012-06-13  Martin Kosiba  <mkosiba@google.com>
6429
6430         [Chromium] WebFrameImpl::find doesn't work for searching from a selection.
6431         https://bugs.webkit.org/show_bug.cgi?id=88885
6432
6433         Reviewed by Adam Barth.
6434
6435         Remember the active match not just until the seatchText changes but for the entire find session.
6436
6437         * src/WebFrameImpl.cpp:
6438         (WebKit::WebFrameImpl::find):
6439         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
6440
6441 2012-06-13  Peter Beverloo  <peter@chromium.org>
6442
6443         [Chromium] Fix Clang build with USE(NATIVE_FULLSCREEN_VIDEO)=1
6444         https://bugs.webkit.org/show_bug.cgi?id=88987
6445
6446         Reviewed by Simon Hausmann.
6447
6448         The enterFullscreen method is declared as const by MediaPlayerPrivateInterface,
6449         so this one should be declared as such as well.
6450
6451         Patch by Evgeniy Stepanov <eugenis@google.com>
6452
6453         * src/WebMediaPlayerClientImpl.cpp:
6454         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
6455         * src/WebMediaPlayerClientImpl.h:
6456         (WebMediaPlayerClientImpl):
6457
6458 2012-06-13  MORITA Hajime  <morrita@google.com>
6459
6460         REGRESSION(r118098): <content> element does not render distributed children when cloned from another document
6461         https://bugs.webkit.org/show_bug.cgi?id=88148
6462
6463         Reviewed by Dimitri Glazkov.
6464
6465         - Added ContextFeaturesClientImpl which implements WebCore::ContextFeaturesClient.
6466         - Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
6467
6468         * WebKit.gyp:
6469         * public/WebPermissionClient.h:
6470         (WebKit):
6471         (WebKit::WebPermissionClient::allowWebComponents):
6472         * src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp.
6473         (WebKit):
6474         (WebKit::ContextFeaturesClientImpl::isEnabled):
6475         * src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.h.
6476         (WebKit):
6477         (ContextFeaturesClientImpl):
6478         (WebKit::ContextFeaturesClientImpl::ContextFeaturesClientImpl):
6479         (WebKit::ContextFeaturesClientImpl::setPermissionClient):
6480         * src/FrameLoaderClientImpl.cpp:
6481         * src/FrameLoaderClientImpl.h:
6482         (FrameLoaderClientImpl):
6483         * src/WebPagePopupImpl.cpp:
6484         (PagePopupFeaturesClient):
6485         (WebKit::PagePopupFeaturesClient::isEnabled):
6486         (WebKit):
6487         (WebKit::WebPagePopupImpl::initPage):
6488         * src/WebViewImpl.cpp:
6489         (WebKit::WebViewImpl::setPermissionClient):
6490         (WebKit::WebViewImpl::WebViewImpl):
6491         * src/WebViewImpl.h:
6492         (WebKit):
6493
6494 2012-06-12  Ian Vollick  <vollick@chromium.org>
6495
6496         [chromium] Roll chromium rev in DEPS
6497         https://bugs.webkit.org/show_bug.cgi?id=88934
6498
6499         Reviewed by James Robinson.
6500
6501         Rolling to 141410
6502
6503         * DEPS:
6504
6505 2012-06-12  James Robinson  <jamesr@chromium.org>
6506
6507         [chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
6508         https://bugs.webkit.org/show_bug.cgi?id=88597
6509
6510         Reviewed by Adrienne Walker.
6511
6512         Implementations for new WebExternalTextureLayer APIs, updates test.
6513
6514         * src/WebExternalTextureLayer.cpp:
6515         (WebKit::WebExternalTextureLayer::willModifyTexture):
6516         (WebKit):
6517         (WebKit::WebExternalTextureLayer::setRateLimitContext):
6518         * tests/Canvas2DLayerBridgeTest.cpp:
6519         (Canvas2DLayerBridgeTest::fullLifecycleTest):
6520
6521 2012-06-12  Adrienne Walker  <enne@google.com>
6522
6523         [chromium] Paint scrollbars on WebKit thread and composite those textures
6524         https://bugs.webkit.org/show_bug.cgi?id=88145
6525
6526         Reviewed by James Robinson.
6527
6528         Remove scrollbarLayerLostContext test that no longer makes sense. The
6529         compositor won't draw at all after a lost context if it has no
6530         contents.
6531
6532         * tests/CCLayerTreeHostImplTest.cpp:
6533
6534 2012-06-12  Joshua Bell  <jsbell@chromium.org>
6535
6536         IndexedDB: ObjectStore/Index shouldn't hold reference to backing store
6537         https://bugs.webkit.org/show_bug.cgi?id=83074
6538
6539         Reviewed by Tony Chang.
6540
6541         * WebKit.gypi:
6542         * tests/IDBDatabaseBackendTest.cpp: Added.
6543         (WebCore):
6544         (WebCore::TEST):
6545
6546 2012-06-12  Dana Jansens  <danakj@chromium.org>
6547
6548         [chromium] Set contentBounds() on impl layers in CCLayerTreeHostCommonTests
6549         https://bugs.webkit.org/show_bug.cgi?id=88903
6550
6551         Reviewed by Adrienne Walker.
6552
6553         Without setting the contentBounds() on impl layers, the visibleLayerRect
6554         will be wrong. This is not the case for main-thread layers, which most
6555         of the tests in this file use. But this is a potential serious confusion
6556         for future test implementors so I'd like to make it explicit now.
6557
6558         * tests/CCLayerTreeHostCommonTest.cpp:
6559
6560 2012-06-12  Dana Jansens  <danakj@chromium.org>
6561
6562         [chromium] Return empty visibleLayerRect for layers with empty content bounds
6563         https://bugs.webkit.org/show_bug.cgi?id=88901
6564
6565         Reviewed by Adrienne Walker.
6566
6567         * tests/CCLayerTreeHostImplTest.cpp:
6568
6569 2012-06-12  Mark Mentovai  <mark@chromium.org>
6570
6571         [chromium mac] Don't #include things in subframeworks of
6572         ApplicationServices.framework.
6573
6574         #including the umbrella <ApplicatonServices/ApplicationServices.h>
6575         exposed an ambiguous name, FontMetrics, that needs to be fully
6576         qualified as WebCore::FontMetrics.
6577
6578         https://bugs.webkit.org/show_bug.cgi?id=88569
6579
6580         Reviewed by Stephen White.
6581
6582         * src/WebFontImpl.cpp:
6583         (WebKit::WebFontImpl::estimateTextBounds):
6584
6585 2012-06-12  James Robinson  <jamesr@chromium.org>
6586
6587         [chromium] REGRESSION(119769): Canvas2DLayerBridge may go away before its TextureLayerChromium
6588         https://bugs.webkit.org/show_bug.cgi?id=88910
6589
6590         Reviewed by Adrienne Walker.
6591
6592         New unit test to verify that we can still update a TextureLayerChromium after the bridge owning it has gone
6593         away.
6594
6595         * tests/Canvas2DLayerBridgeTest.cpp:
6596
6597 2012-06-12  Adrienne Walker  <enne@google.com>
6598
6599         [chromium] Fix incorrect LayerChromium scroll position for RTL overflow pages
6600         https://bugs.webkit.org/show_bug.cgi?id=88887
6601
6602         Reviewed by James Robinson.
6603
6604         The scroll position on layers needs to take into account the scroll
6605         origin, since RTL pages start scrolled all the way to the right.
6606         Otherwise, when scrolling left the scroll position incorrectly will go
6607         negative, causing havok in scrollbar theme code that just assumes that
6608         it's always scrolled all the way to the left.
6609
6610         Also, now that the scroll origin is passed into NCCH, handle
6611         scrollOrigin.y() for layer adjusting. This is always zero in practice,
6612         but it seemed awkward to just drop it and that assumption could always
6613         change in the future.
6614
6615         * src/NonCompositedContentHost.cpp:
6616         (WebKit::NonCompositedContentHost::setViewport):
6617         (WebKit::NonCompositedContentHost::paintContents):
6618         * src/NonCompositedContentHost.h:
6619         (NonCompositedContentHost):
6620         * src/WebViewImpl.cpp:
6621         (WebKit::WebViewImpl::updateLayerTreeViewport):
6622
6623 2012-06-12  Shawn Singh  <shawnsingh@chromium.org>
6624
6625         [chromium] Make damage tracking more robust to early exits
6626         https://bugs.webkit.org/show_bug.cgi?id=84803
6627
6628         Reviewed by James Robinson.
6629
6630         * tests/CCDamageTrackerTest.cpp:
6631         (WebKitTests::clearDamageForAllSurfaces):
6632         (WebKitTests::TEST_F):
6633
6634 2012-06-12  Sheriff Bot  <webkit.review.bot@gmail.com>
6635
6636         Unreviewed, rolling out r120051.
6637         http://trac.webkit.org/changeset/120051
6638         https://bugs.webkit.org/show_bug.cgi?id=88852
6639
6640         some tests are crashing (Requested by morrita on #webkit).
6641
6642         * WebKit.gyp:
6643         * public/WebPermissionClient.h:
6644         (WebKit::WebPermissionClient::allowWebComponents):
6645         * src/FrameLoaderClientImpl.cpp:
6646         (WebKit::FrameLoaderClientImpl::allowShadowDOM):
6647         (WebKit):
6648         (WebKit::FrameLoaderClientImpl::allowStyleScoped):
6649         * src/FrameLoaderClientImpl.h:
6650         (FrameLoaderClientImpl):
6651         * src/WebPagePopupImpl.cpp:
6652         (WebKit::WebPagePopupImpl::initPage):
6653         * src/WebViewImpl.cpp:
6654         (WebKit::WebViewImpl::setPermissionClient):
6655         (WebKit::WebViewImpl::WebViewImpl):
6656         * src/WebViewImpl.h:
6657         (WebKit):
6658
6659 2012-06-12  MORITA Hajime  <morrita@google.com>
6660
6661         REGRESSION(r118098): <content> element does not render distributed children when cloned from another document
6662         https://bugs.webkit.org/show_bug.cgi?id=88148
6663
6664         Reviewed by Dimitri Glazkov.
6665
6666         - Added ContextFeaturesClientImpl which implements WebCore::ContextFeaturesClient.
6667         - Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
6668
6669         * WebKit.gyp:
6670         * public/WebPermissionClient.h:
6671         (WebKit):
6672         (WebKit::WebPermissionClient::allowWebComponents):
6673         * src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp.
6674         (WebKit):
6675         (WebKit::ContextFeaturesClientImpl::isEnabled):
6676         * src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.h.
6677         (WebKit):
6678         (ContextFeaturesClientImpl):
6679         (WebKit::ContextFeaturesClientImpl::ContextFeaturesClientImpl):
6680         (WebKit::ContextFeaturesClientImpl::setPermissionClient):
6681         * src/FrameLoaderClientImpl.cpp:
6682         * src/FrameLoaderClientImpl.h:
6683         (FrameLoaderClientImpl):
6684         * src/WebPagePopupImpl.cpp:
6685         (PagePopupFeaturesClient):
6686         (WebKit::PagePopupFeaturesClient::isEnabled):
6687         (WebKit):
6688         (WebKit::WebPagePopupImpl::initPage):
6689         * src/WebViewImpl.cpp:
6690         (WebKit::WebViewImpl::setPermissionClient):
6691         (WebKit::WebViewImpl::WebViewImpl):
6692         * src/WebViewImpl.h:
6693         (WebKit):
6694
6695 2012-06-11  Nico Weber  <thakis@chromium.org>
6696
6697         Remove unused member variables found by clang's -Wunused-private-field
6698         https://bugs.webkit.org/show_bug.cgi?id=88812
6699
6700         Reviewed by Anders Carlsson.
6701
6702         * src/AudioDestinationChromium.cpp:
6703         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
6704         * src/AudioDestinationChromium.h:
6705         (AudioDestinationChromium):
6706         * src/InspectorFrontendClientImpl.cpp:
6707         (WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl):
6708         * src/InspectorFrontendClientImpl.h:
6709         (InspectorFrontendClientImpl):
6710         * src/WebFrameImpl.cpp:
6711         (ChromePluginPrintContext):
6712         * src/WebInputEvent.cpp:
6713         * src/WorkerAsyncFileSystemChromium.cpp:
6714         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
6715         * src/WorkerAsyncFileWriterChromium.cpp:
6716         (WebCore::WorkerAsyncFileWriterChromium::WorkerAsyncFileWriterChromium):
6717         * src/WorkerAsyncFileWriterChromium.h:
6718         (WorkerAsyncFileWriterChromium):
6719         * tests/CCLayerTreeHostTest.cpp:
6720         (WTF::CCLayerTreeHostTestSetVisible::CCLayerTreeHostTestSetVisible):
6721         (CCLayerTreeHostTestSetVisible):
6722
6723 2012-06-11  Vincent Scheib  <scheib@chromium.org>
6724
6725         Consolidate Pointer Lock runtime enabled flags to just one.
6726         https://bugs.webkit.org/show_bug.cgi?id=88810
6727
6728         Reviewed by Dimitri Glazkov.
6729
6730         * src/WebRuntimeFeatures.cpp:
6731         (WebKit::WebRuntimeFeatures::enablePointerLock):
6732         (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
6733
6734 2012-06-11  Alexis Menard  <alexis.menard@openbossa.org>
6735
6736         [CSS3 Backgrounds and Borders] Protect box-decoration-break behind a feature flag.
6737         https://bugs.webkit.org/show_bug.cgi?id=88804
6738
6739         Reviewed by Tony Chang.
6740
6741         Protect box-decoration-break behind a feature flag enabled by default.
6742
6743         * features.gypi:
6744
6745 2012-05-11  James Robinson  <jamesr@chromium.org>
6746
6747         [chromium] Port DrawingBufferChromium from TextureLayerChromium over to WebExternalTextureLayer
6748         https://bugs.webkit.org/show_bug.cgi?id=86273
6749
6750         Reviewed by Adrienne Walker.
6751
6752         * src/WebExternalTextureLayer.cpp:
6753         (WebTextureUpdaterImpl):
6754         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
6755         (WebKit):
6756         (WebExternalTextureLayerImpl):
6757         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
6758         (WebKit::WebExternalTextureLayer::create):
6759         (WebKit::WebExternalTextureLayer::clearClient):
6760         (WebKit::WebExternalTextureLayer::setOpaque):
6761         (WebKit::WebExternalTextureLayer::setPremultipliedAlpha):
6762
6763 2012-06-11  Dana Jansens  <danakj@chromium.org>
6764
6765         [chromium] Separate CCVideoDrawQuad and from the layer tree and video provider by removing ManagedTexture and WebVideoFrame pointers from the quad
6766         https://bugs.webkit.org/show_bug.cgi?id=88363
6767
6768         Reviewed by Adrienne Walker.
6769
6770         * tests/CCLayerTreeHostImplTest.cpp:
6771         * tests/CCTiledLayerTestCommon.h:
6772         (WebKitTests::FakeTextureCopier::copyToTexture):
6773         * tests/Canvas2DLayerChromiumTest.cpp:
6774
6775 2012-06-11  Joshua Bell  <jsbell@chromium.org>
6776
6777         IndexedDB: Object stores are not successfully deleted
6778         https://bugs.webkit.org/show_bug.cgi?id=88788
6779
6780         Reviewed by Tony Chang.
6781
6782         * tests/IDBLevelDBCodingTest.cpp:
6783         (IDBLevelDBCoding::TEST):
6784
6785 2012-06-11  Shawn Singh  <shawnsingh@chromium.org>
6786
6787         [chromium] Implement position:fixed in compositor thread
6788         https://bugs.webkit.org/show_bug.cgi?id=70103
6789
6790         Reviewed by Adrienne Walker.
6791
6792         * tests/CCLayerTreeHostCommonTest.cpp:
6793
6794 2012-06-11  Sam Weinig  <sam@webkit.org>
6795
6796         Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
6797         https://bugs.webkit.org/show_bug.cgi?id=88723
6798
6799         Reviewed by Dan Bernstein.
6800
6801         * src/WebFrameImpl.cpp:
6802         (WebKit::WebFrameImpl::scopeStringMatches):
6803
6804 2012-06-11  Varun Jain  <varunjain@chromium.org>
6805
6806         [chromium] WebInputEvent::isGestureEventType should return true for GestureTwoFingerTap
6807         https://bugs.webkit.org/show_bug.cgi?id=88789
6808
6809         Reviewed by Adam Barth.
6810
6811         * public/WebInputEvent.h:
6812         (WebKit::WebInputEvent::isGestureEventType):
6813
6814 2012-06-11  Mark Pilgrim  <pilgrim@chromium.org>
6815
6816         [Chromium] Call shared timer functions directly
6817         https://bugs.webkit.org/show_bug.cgi?id=88781
6818
6819         Reviewed by Adam Barth.
6820
6821         Part of a refactoring series. See tracking bug 82948.
6822
6823         * src/PlatformSupport.cpp:
6824         (WebCore):
6825
6826 2012-06-11  Amy Ousterhout  <aousterh@chromium.org>
6827
6828         [Chromium] Removing long WebDeviceOrientation constructor
6829         https://bugs.webkit.org/show_bug.cgi?id=88779
6830
6831         Reviewed by Adam Barth.
6832
6833         Removing the WebDeviceOrientation constructor with nine parameters.
6834         Chromium has been changed to use the default constructor and setter
6835         functions instead (see https://chromiumcodereview.appspot.com/10542025/).
6836
6837         * public/WebDeviceOrientation.h:
6838
6839 2012-06-11  David Dorwin  <ddorwin@chromium.org>
6840
6841         [chromium] Provide access to the WebPlugin created by the helper plugin widget
6842         https://bugs.webkit.org/show_bug.cgi?id=88028
6843
6844         Reviewed by Adam Barth.
6845
6846         A WebPlugin is created when the document created by createHelperPlugin() is laid out.
6847         Expose it so the embedder can interact with the plugin instance.
6848
6849         * public/WebHelperPlugin.h:
6850         (WebKit):
6851         (WebHelperPlugin):
6852         * public/WebMediaPlayerClient.h:
6853         (WebKit):
6854         * public/WebPlugin.h:
6855         (WebKit::WebPlugin::isPlaceholder):
6856         (WebPlugin):
6857         * src/WebHelperPluginImpl.cpp:
6858         (WebKit::WebHelperPluginImpl::WebHelperPluginImpl):
6859         (WebKit):
6860         (WebKit::WebHelperPluginImpl::getPlugin):
6861         (WebKit::WebHelperPluginImpl::initPage):
6862         (WebKit::WebHelperPluginImpl::close):
6863         * src/WebHelperPluginImpl.h:
6864         (WebKit):
6865         (WebHelperPluginImpl):
6866         * src/WebMediaPlayerClientImpl.cpp:
6867         (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
6868         * src/WebMediaPlayerClientImpl.h:
6869         (WebMediaPlayerClientImpl):
6870         * src/WebPagePopupImpl.cpp:
6871
6872 2012-06-05  Dana Jansens  <danakj@chromium.org>
6873
6874         [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
6875         https://bugs.webkit.org/show_bug.cgi?id=88371
6876
6877         Reviewed by James Robinson.
6878
6879         * tests/CCLayerTreeHostImplTest.cpp:
6880
6881 2012-06-11  Kent Tamura  <tkent@chromium.org>
6882
6883         [Chromium] Should call frameDetached() in WebPagePopupImpl::close()
6884         https://bugs.webkit.org/show_bug.cgi?id=88754
6885
6886         Reviewed by Adam Barth.
6887
6888         * src/WebPagePopupImpl.cpp:
6889         (WebKit::WebPagePopupImpl::close): Calls FrameLoader::frameDetached().
6890
6891 2012-06-11  Min Qin  <qinmin@google.com>
6892
6893         Adding a flag to show fullscreen media controls in chromium
6894         https://bugs.webkit.org/show_bug.cgi?id=88266
6895
6896         Reviewed by Adam Barth.
6897
6898         Adding a flag to the gyp file so that we can enable fullscreen media control
6899         
6900         * features.gypi:
6901
6902 2012-06-09  Eugene Klyuchnikov  <eustas.bug@gmail.com>
6903
6904         Web Inspector: Add message loop instrumentation to public API and timeline agent
6905         https://bugs.webkit.org/show_bug.cgi?id=88639
6906
6907         Reviewed by Vsevolod Vlasov.
6908
6909         Message loop instrumentation will show when the render thread is busy.
6910         That way developer can discover if a render thread business causes low fps, or not.
6911
6912         * public/WebDevToolsAgent.h:
6913         (WebDevToolsAgent):
6914         * public/WebDevToolsAgentClient.h:
6915         (WebDevToolsAgentClient):
6916         (WebKit::WebDevToolsAgentClient::startMessageLoopMonitoring):
6917         Request message loop notifications.
6918         (WebKit::WebDevToolsAgentClient::stopMessageLoopMonitoring):
6919         Cancel message loop notifications.
6920         * src/InspectorClientImpl.cpp:
6921         (WebKit::InspectorClientImpl::startMessageLoopMonitoring):
6922         Request message loop notifications.
6923         (WebKit):
6924         (WebKit::InspectorClientImpl::stopMessageLoopMonitoring):
6925         Cancel message loop notifications.
6926         * src/InspectorClientImpl.h:
6927         (InspectorClientImpl):
6928         * src/WebDevToolsAgentImpl.cpp:
6929         (WebKit::WebDevToolsAgentImpl::startMessageLoopMonitoring):
6930         Request message loop notifications.
6931         (WebKit):
6932         (WebKit::WebDevToolsAgentImpl::stopMessageLoopMonitoring):
6933         Cancel message loop notifications.
6934         (WebKit::WebDevToolsAgentImpl::instrumentWillProcessTask):
6935         Message loop notification.
6936         (WebKit::WebDevToolsAgentImpl::instrumentDidProcessTask):
6937         Ditto.
6938         * src/WebDevToolsAgentImpl.h:
6939         (WebDevToolsAgentImpl):
6940
6941 2012-06-08  David Reveman  <reveman@chromium.org>
6942
6943         [Chromium] Compositor doesn't support translucent root layers.
6944         https://bugs.webkit.org/show_bug.cgi?id=87821
6945
6946         Reviewed by James Robinson.
6947
6948         * src/NonCompositedContentHost.cpp:
6949         (WebKit::NonCompositedContentHost::setOpaque):
6950         (WebKit):
6951         * src/NonCompositedContentHost.h:
6952         (NonCompositedContentHost):
6953         * src/WebLayerTreeView.cpp:
6954         (WebKit::WebLayerTreeView::setHasTransparentBackground):
6955         (WebKit):
6956         * src/WebViewImpl.cpp:
6957         (WebKit::WebViewImpl::setIsTransparent):
6958         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6959         * tests/CCLayerTreeHostImplTest.cpp:
6960         * tests/LayerRendererChromiumTest.cpp:
6961         (ClearCountingContext):
6962         (ClearCountingContext::ClearCountingContext):
6963         (ClearCountingContext::clear):
6964         (ClearCountingContext::clearCount):
6965         (TEST):
6966
6967 2012-06-08  Ian Vollick  <vollick@chromium.org>
6968
6969         [chromium] Single thread proxy's animation timer should short circuit if the layer renderer has not been initialized
6970         https://bugs.webkit.org/show_bug.cgi?id=88668
6971
6972         Reviewed by James Robinson.
6973
6974         * WebKit.gypi:
6975         * tests/CCLayerTreeHostTest.cpp:
6976         (WTF::CCLayerTreeHostTestWriteLayersRedraw::beginTest):
6977         (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::commitCompleteOnCCThread):
6978         (WTF):
6979         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::CCLayerTreeHostTestLayerAddedWithAnimation):
6980         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
6981         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::didAddAnimation):
6982         (CCLayerTreeHostTestLayerAddedWithAnimation):
6983         * tests/CCSingleThreadProxyTest.cpp: Added.
6984         (FakeWebGraphicsContext3DMakeCurrentFails):
6985         (FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
6986         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation):
6987         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation):
6988         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::beginTest):
6989         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::animateLayers):
6990         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::didRecreateContext):
6991         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::afterTest):
6992         (TEST_F):
6993         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer):
6994         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer):
6995         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::beginTest):
6996         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::animateLayers):
6997         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::didRecreateContext):
6998         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::didAddAnimation):
6999         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::afterTest):
7000         * tests/CCThreadedTest.cpp: Added.
7001         (WebKitTests):
7002         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
7003         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
7004         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
7005         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
7006         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
7007         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
7008         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
7009         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
7010         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
7011         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
7012         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
7013         (WebKitTests::TestHooks::createContext):
7014         (WebKitTests::MockLayerTreeHostImpl::create):
7015         (WebKitTests::MockLayerTreeHostImpl::beginCommit):
7016         (WebKitTests::MockLayerTreeHostImpl::commitComplete):
7017         (WebKitTests::MockLayerTreeHostImpl::prepareToDraw):
7018         (WebKitTests::MockLayerTreeHostImpl::drawLayers):
7019         (WebKitTests::MockLayerTreeHostImpl::animateLayers):
7020         (WebKitTests::MockLayerTreeHostImpl::lowFrequencyAnimationInterval):
7021         (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
7022         (MockLayerTreeHost):
7023         (WebKitTests::MockLayerTreeHost::create):
7024         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
7025         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
7026         (MockLayerTreeHostClient):
7027         (WebKitTests::MockLayerTreeHostClient::create):
7028         (WebKitTests::MockLayerTreeHostClient::MockLayerTreeHostClient):
7029         (TimeoutTask):
7030         (WebKitTests::TimeoutTask::TimeoutTask):
7031         (WebKitTests::TimeoutTask::clearTest):
7032         (WebKitTests::TimeoutTask::~TimeoutTask):
7033         (WebKitTests::TimeoutTask::run):
7034         (BeginTask):
7035         (WebKitTests::BeginTask::BeginTask):
7036         (WebKitTests::BeginTask::~BeginTask):
7037         (WebKitTests::BeginTask::run):
7038         (EndTestTask):
7039         (WebKitTests::EndTestTask::EndTestTask):
7040         (WebKitTests::EndTestTask::~EndTestTask):
7041         (WebKitTests::EndTestTask::clearTest):
7042         (WebKitTests::EndTestTask::run):
7043         (WebKitTests::CCThreadedTest::CCThreadedTest):
7044         (WebKitTests::CCThreadedTest::endTest):
7045         (WebKitTests::CCThreadedTest::endTestAfterDelay):
7046         (WebKitTests::CCThreadedTest::postSetNeedsAnimateToMainThread):
7047         (WebKitTests::CCThreadedTest::postAddAnimationToMainThread):
7048         (WebKitTests::CCThreadedTest::postAddInstantAnimationToMainThread):
7049         (WebKitTests::CCThreadedTest::postSetNeedsCommitToMainThread):
7050         (WebKitTests::CCThreadedTest::postAcquireLayerTextures):
7051         (WebKitTests::CCThreadedTest::postSetNeedsRedrawToMainThread):
7052         (WebKitTests::CCThreadedTest::postSetNeedsAnimateAndCommitToMainThread):
7053         (WebKitTests::CCThreadedTest::postSetVisibleToMainThread):
7054         (WebKitTests::CCThreadedTest::postDidAddAnimationToMainThread):
7055         (WebKitTests::CCThreadedTest::doBeginTest):
7056         (WebKitTests::CCThreadedTest::timeout):
7057         (WebKitTests::CCThreadedTest::scheduleComposite):
7058         (WebKitTests::CCThreadedTest::onEndTest):
7059         (WebKitTests::CCThreadedTest::dispatchSetNeedsAnimate):
7060         (WebKitTests::CCThreadedTest::dispatchAddInstantAnimation):
7061         (WebKitTests::CCThreadedTest::dispatchAddAnimation):
7062         (WebKitTests::CCThreadedTest::dispatchSetNeedsAnimateAndCommit):
7063         (WebKitTests::CCThreadedTest::dispatchSetNeedsCommit):
7064         (WebKitTests::CCThreadedTest::dispatchAcquireLayerTextures):
7065         (WebKitTests::CCThreadedTest::dispatchSetNeedsRedraw):
7066         (WebKitTests::CCThreadedTest::dispatchSetVisible):
7067         (WebKitTests::CCThreadedTest::dispatchSetInvisible):
7068         (WebKitTests::CCThreadedTest::dispatchComposite):
7069         (WebKitTests::CCThreadedTest::dispatchDidAddAnimation):
7070         (WebKitTests::CCThreadedTest::runTest):
7071         * tests/CCThreadedTest.h: Added.
7072         (WebCore):
7073         (WebKit):
7074         (WebKitTests):
7075         (TestHooks):
7076         (WebKitTests::TestHooks::beginCommitOnCCThread):
7077         (WebKitTests::TestHooks::commitCompleteOnCCThread):
7078         (WebKitTests::TestHooks::prepareToDrawOnCCThread):
7079         (WebKitTests::TestHooks::drawLayersOnCCThread):
7080         (WebKitTests::TestHooks::animateLayers):
7081         (WebKitTests::TestHooks::willAnimateLayers):
7082         (WebKitTests::TestHooks::applyScrollAndScale):
7083         (WebKitTests::TestHooks::updateAnimations):
7084         (WebKitTests::TestHooks::layout):
7085         (WebKitTests::TestHooks::didRecreateContext):
7086         (WebKitTests::TestHooks::didAddAnimation):
7087         (WebKitTests::TestHooks::didCommit):
7088         (WebKitTests::TestHooks::didCommitAndDrawFrame):
7089         (WebKitTests::TestHooks::scheduleComposite):
7090         (WebKitTests::TestHooks::notifyAnimationStarted):
7091         (WebKitTests::TestHooks::notifyAnimationFinished):
7092         (CCThreadedTest):
7093         (WebKitTests::CCThreadedTest::clearTimeout):
7094         (WebKitTests::CCThreadedTest::clearEndTestTask):
7095         (WebKitTests::CCThreadedTest::layerTreeHost):
7096         (CCThreadedTestThreadOnly):
7097         (WebKitTests::CCThreadedTestThreadOnly::runTestThreaded):
7098         (MockLayerTreeHostImpl):
7099         (CompositorFakeWebGraphicsContext3DWithTextureTracking):
7100
7101 2012-06-08  David Grogan  <dgrogan@chromium.org>
7102
7103         IndexedDB: rename some instances of open to registerFrontendCallbacks
7104         https://bugs.webkit.org/show_bug.cgi?id=88611
7105
7106         Reviewed by Tony Chang.
7107
7108         * src/IDBDatabaseBackendProxy.cpp:
7109         (WebKit::IDBDatabaseBackendProxy::registerFrontendCallbacks):
7110         * src/IDBDatabaseBackendProxy.h:
7111         (IDBDatabaseBackendProxy):
7112         * src/WebIDBDatabaseImpl.cpp:
7113         (WebKit::WebIDBDatabaseImpl::open):
7114         * src/WebIDBDatabaseImpl.h:
7115         (WebIDBDatabaseImpl):
7116
7117 2012-06-08  Dana Jansens  <danakj@chromium.org>
7118
7119         [chromium] Skip willDraw() and didDraw() on fully occluded layers
7120         https://bugs.webkit.org/show_bug.cgi?id=88435
7121
7122         Reviewed by Adrienne Walker.
7123
7124         * tests/CCLayerTreeHostImplTest.cpp:
7125
7126 2012-06-08  James Robinson  <jamesr@chromium.org>
7127
7128         [chromium] Clean up some unnecessary LayerChromium.h includes
7129         https://bugs.webkit.org/show_bug.cgi?id=88599
7130
7131         Reviewed by Adam Barth.
7132
7133         Removes unused include, update comment.
7134
7135         * src/WebMediaPlayerClientImpl.cpp:
7136         (WebKit::WebMediaPlayerClientImpl::platformLayer):
7137         (WebKit::WebMediaPlayerClientImpl::paint):
7138
7139 2012-06-08  Jochen Eisinger  <jochen@chromium.org>
7140
7141         Unreviewed.  Rolled DEPS.
7142
7143         * DEPS:
7144
7145 2012-06-08  Ian Vollick  <vollick@chromium.org>
7146
7147         [chromium] Accelerated animations should use WebTransformOperations
7148         https://bugs.webkit.org/show_bug.cgi?id=87686
7149
7150         Reviewed by James Robinson.
7151
7152         CCTransformKeyframe new owns a WebTransformOperations rather than a
7153         TransformOperations. LayerChromium's API has been changed so that
7154         LayerChromium::addAnimation should take only a CCActiveAnimation.
7155         GraphicsLayerChromium is new responsible for translating to
7156         WebTransformOperations and creating CCActiveAnimations. Tests that use
7157         the public API (that is, they call addAnimation with KeyframeValueList
7158         and Animation arguments) have been moved to GraphicsLayerChromiumTest.
7159
7160         * tests/CCAnimationTestCommon.cpp:
7161         (WebCore::addOpacityTransition):
7162         (WebCore::addAnimatedTransform):
7163         (WebKitTests::FakeTransformTransition::getValue):
7164         * tests/CCAnimationTestCommon.h:
7165         * tests/CCKeyframedAnimationCurveTest.cpp:
7166         * tests/CCLayerAnimationControllerTest.cpp:
7167         * tests/CCLayerTreeHostTest.cpp:
7168         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
7169         * tests/GraphicsLayerChromiumTest.cpp:
7170         (MockLayerTreeHostClient):
7171         (WebKitTests):
7172         (MockLayerTreeHost):
7173         (WebKitTests::MockLayerTreeHost::create):
7174         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
7175         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
7176         (GraphicsLayerChromiumTest):
7177         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
7178         (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
7179         (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
7180         (WebKitTests::TEST_F):
7181         * tests/LayerChromiumTest.cpp:
7182
7183 2012-06-08  Robert Kroeger  <rjkroege@chromium.org>
7184
7185         More than 8 fingers get ignored by touch
7186         https://bugs.webkit.org/show_bug.cgi?id=88359
7187
7188         Reviewed by James Robinson.
7189
7190         * public/WebInputEvent.h: Increase of TouchPoints per TouchEvent from 8 to 12.
7191
7192 2012-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>
7193
7194         Unreviewed.  Rolled DEPS.
7195
7196         * DEPS:
7197
7198 2012-06-08  Taiju Tsuiki  <tzik@chromium.org>
7199
7200         Add FileSystem item to storage tree.
7201         https://bugs.webkit.org/show_bug.cgi?id=72691
7202
7203         Reviewed by Vsevolod Vlasov.
7204
7205         * src/js/DevTools.js:
7206
7207 2012-06-08  Peter Beverloo  <peter@chromium.org>
7208
7209         [Chromium] Re-enable SHARED_WORKERS for Android until a build fix has been resolved.
7210         https://bugs.webkit.org/show_bug.cgi?id=88637
7211
7212         Unreviewed build fix.
7213
7214         Linking content_shell on the Chromium side fails due to an unresolved
7215         call to WebSharedWorker::create(). Since this blocks WebKit rolls,
7216         temporarily re-enable the feature until this has been solved.
7217
7218         * features.gypi:
7219
7220 2012-06-07  Nico Weber  <thakis@chromium.org>
7221
7222         [chromium/mac] Improve deviceDPI, rect, and availableRect computation
7223         https://bugs.webkit.org/show_bug.cgi?id=88596
7224
7225         Reviewed by Adam Barth.
7226
7227         Set deviceDPI to 160 for normal displays and 320 for HiDPI displays.
7228         (Why 160? That's what chromium's render_view.cc assumes as default
7229         single-resolution resolution at the moment. The only other place
7230         where this number gets used is fixed layout mode, which is currently
7231         not enabled.)
7232
7233         Also fix rect and availableRect computations: They get returned in
7234         user space already.
7235
7236         Needed for http://crbug.com/31960.
7237
7238         * src/mac/WebScreenInfoFactory.mm:
7239         (WebKit::toUserSpace):
7240         (WebKit::deviceScaleFactor):
7241         (WebKit):
7242         (WebKit::WebScreenInfoFactory::screenInfo):
7243
7244 2012-06-07  Mark Pilgrim  <pilgrim@chromium.org>
7245
7246         [Chromium] Move didStartWorkerRunLoop to Platform.h
7247         https://bugs.webkit.org/show_bug.cgi?id=88562
7248
7249         Reviewed by Adam Barth.
7250
7251         Part of a refactoring series. See tracking bug 82948.
7252
7253         * src/PlatformSupport.cpp:
7254         (WebCore):
7255
7256 2012-06-05  James Robinson  <jamesr@chromium.org>
7257
7258         [chromium] Move deferral-related logic out of Canvas2DLayerChromium
7259         https://bugs.webkit.org/show_bug.cgi?id=86050
7260
7261         Reviewed by Stephen White.
7262
7263         * WebKit.gypi:
7264         * tests/Canvas2DLayerBridgeTest.cpp: Renamed from tests/Canvas2DLayerChromiumTest
7265         (Canvas2DLayerBridgeTest):
7266         (Canvas2DLayerBridgeTest::fullLifecycleTest):
7267
7268 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
7269
7270         Unreviewed, rolling out r119744.
7271         http://trac.webkit.org/changeset/119744
7272         https://bugs.webkit.org/show_bug.cgi?id=88584
7273
7274         Fails assertions in debug builds (Requested by jamesr_ on
7275         #webkit).
7276
7277         * tests/CCLayerTreeHostImplTest.cpp:
7278
7279 2012-06-07  Adam Barth  <abarth@webkit.org>
7280
7281         Settings::defaultDeviceScaleFactor is redundant with Page::deviceScaleFactor
7282         https://bugs.webkit.org/show_bug.cgi?id=88375
7283
7284         Reviewed by James Robinson.
7285
7286         * public/WebSettings.h:
7287         (WebKit::WebSettings::setDefaultDeviceScaleFactor):
7288         (WebSettings):
7289         * src/ChromeClientImpl.cpp:
7290         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
7291         * src/WebSettingsImpl.cpp:
7292         (WebKit):
7293         * src/WebSettingsImpl.h:
7294         (WebSettingsImpl):
7295         * src/WebViewImpl.cpp:
7296         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
7297         * tests/WebFrameTest.cpp:
7298         (WebKit::TEST_F):
7299
7300 2012-06-07  Peter Beverloo  <peter@chromium.org>
7301
7302         [Chromium] features.gypi should have the correct definitions for Android
7303         https://bugs.webkit.org/show_bug.cgi?id=88533
7304
7305         Reviewed by Adam Barth.
7306
7307         Make all features which are enabled on Android but disabled on other platforms,
7308         or are disabled on Android while enabled on other platforms, conditional. This
7309         also means that the selection of code compiled for Android will slightly change.
7310
7311         This change also removes the enable_viewport variable as the value of this is
7312         no longer respected by WebKit - it's enabled by default for all of Chromium.
7313         Furthermore, ENABLE_OVERFLOW_SCROLLING is now listed in features.gypi again.
7314
7315         * features.gypi:
7316
7317 2012-06-07  Dana Jansens  <danakj@chromium.org>
7318
7319         [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
7320         https://bugs.webkit.org/show_bug.cgi?id=88371
7321
7322         Reviewed by James Robinson.
7323
7324         * tests/CCLayerTreeHostImplTest.cpp:
7325
7326 2012-06-07  Ami Fischman  <fischman@chromium.org>
7327
7328         Plumb CORS attribute information from HTMLMediaElement to media players so it can be used
7329         https://bugs.webkit.org/show_bug.cgi?id=88349
7330
7331         Reviewed by Adam Barth.
7332
7333         * public/WebMediaPlayer.h:
7334         (WebMediaPlayer):
7335         * src/AssertMatchingEnums.cpp:
7336         * src/WebMediaPlayerClientImpl.cpp:
7337         (WebKit::WebMediaPlayerClientImpl::loadInternal):
7338         (WebKit::WebMediaPlayerClientImpl::didPassCORSAccessCheck):
7339         (WebKit):
7340         * src/WebMediaPlayerClientImpl.h:
7341         (WebMediaPlayerClientImpl):
7342
7343 2012-06-07  Daniel Erat  <derat@chromium.org>
7344
7345         Add setting to enable subpixel-positioned text on Linux.
7346         https://bugs.webkit.org/show_bug.cgi?id=88263
7347
7348         Reviewed by Tony Chang.
7349
7350         Add subpixel positioning field to WebFontRenderStyle and rename
7351         subpixel rendering field.  Make similar changes in
7352         WebFontRendering.
7353
7354         Also add global WebFontInfo::setSubpixelPositioning() to turn
7355         subpixel positioning on or off (there's not currently a
7356         well-defined way to configure subpixel positioning via FontConfig).
7357
7358         * public/linux/WebFontInfo.h:
7359         (WebFontInfo):
7360         * public/linux/WebFontRenderStyle.h:
7361         * public/linux/WebFontRendering.h:
7362         (WebFontRendering):
7363         * src/linux/WebFontInfo.cpp:
7364         (WebKit):
7365         (WebKit::WebFontInfo::setSubpixelPositioning):
7366         (WebKit::WebFontInfo::renderStyleForStrike):
7367         * src/linux/WebFontRenderStyle.cpp:
7368         (WebKit::WebFontRenderStyle::toFontRenderStyle):
7369         (WebKit::WebFontRenderStyle::setDefaults):
7370         * src/linux/WebFontRendering.cpp:
7371         (WebKit::WebFontRendering::setSubpixelGlyphs):
7372         (WebKit):
7373         (WebKit::WebFontRendering::setSubpixelRendering):
7374         (WebKit::WebFontRendering::setSubpixelPositioning):
7375
7376 2012-06-06  Dana Jansens  <danakj@chromium.org>
7377
7378         [chromium] In each composited frame, didDraw() should only be called on layers for which willDraw() was called
7379         https://bugs.webkit.org/show_bug.cgi?id=88469
7380
7381         Reviewed by James Robinson.
7382
7383         * tests/CCLayerTreeHostImplTest.cpp:
7384
7385 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
7386
7387         Unreviewed, rolling out r119694.
7388         http://trac.webkit.org/changeset/119694
7389         https://bugs.webkit.org/show_bug.cgi?id=88529
7390
7391         it broke PrerenderBrowserTest.PrerenderHTML5VideoNetwork
7392         (Requested by loislo on #webkit).
7393
7394         * public/WebMediaPlayer.h:
7395         (WebMediaPlayer):
7396         * src/AssertMatchingEnums.cpp:
7397         * src/WebMediaPlayerClientImpl.cpp:
7398         (WebKit::WebMediaPlayerClientImpl::loadInternal):
7399         * src/WebMediaPlayerClientImpl.h:
7400         (WebMediaPlayerClientImpl):
7401
7402 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
7403
7404         Unreviewed, rolling out r119689.
7405         http://trac.webkit.org/changeset/119689
7406         https://bugs.webkit.org/show_bug.cgi?id=88516
7407
7408         it broke didDrawNotCalledOnScissoredLayer webkit_unit_test
7409         (Requested by loislo on #webkit).
7410
7411         * tests/CCLayerTreeHostImplTest.cpp:
7412
7413 2012-06-07  Ami Fischman  <fischman@chromium.org>
7414
7415         Plumb CORS attribute information from HTMLMediaElement to media players so it can be used
7416         https://bugs.webkit.org/show_bug.cgi?id=88349
7417
7418         Reviewed by Adam Barth.
7419
7420         * public/WebMediaPlayer.h:
7421         (WebMediaPlayer):
7422         * src/WebMediaPlayerClientImpl.cpp:
7423         (WebKit::WebMediaPlayerClientImpl::loadInternal):
7424
7425 2012-06-07  Yoshifumi Inoue  <yosin@chromium.org>
7426
7427         [Platform] Introduce conversion from/to Deciaml to/from double and helper functions
7428         https://bugs.webkit.org/show_bug.cgi?id=88480
7429
7430         Reviewed by Kent Tamura.
7431
7432         This patch added tests for Decimal::fromDouble, isInfinity, toDouble.
7433
7434         * tests/DecimalTest.cpp:
7435         (TEST_F):
7436
7437 2012-06-07  Ami Fischman  <fischman@chromium.org>
7438
7439         Unreviewed.  Rolled DEPS.
7440
7441         * DEPS:
7442
7443 2012-06-06  Dana Jansens  <danakj@chromium.org>
7444
7445         [chromium] In each composited frame, didDraw() should only be called on layers for which willDraw() was called
7446         https://bugs.webkit.org/show_bug.cgi?id=88469
7447
7448         Reviewed by James Robinson.
7449
7450         * tests/CCLayerTreeHostImplTest.cpp:
7451
7452 2012-06-06  Kent Tamura  <tkent@chromium.org>
7453
7454         Unreviewed, rolling out r60044.
7455         http://trac.webkit.org/changeset/60044
7456
7457         It made a regression, crbug.com/114922.
7458
7459         * src/ChromeClientImpl.cpp:
7460         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll): Do not hide popups by scrolling.
7461         (WebKit::ChromeClientImpl::scroll): ditto.
7462
7463 2012-06-06  Noel Gordon  <noel.gordon@gmail.com>
7464
7465         Unreviewed. Rolled DEPS.
7466
7467         * DEPS: Roll to chromium 140955.
7468
7469 2012-06-06  Sheriff Bot  <webkit.review.bot@gmail.com>
7470
7471         Unreviewed, rolling out r119683.
7472         http://trac.webkit.org/changeset/119683
7473         https://bugs.webkit.org/show_bug.cgi?id=88505
7474
7475         it broke webkit-unit-test
7476         WebLayerTreeViewThreadedTest.InstrumentationCallbacks on mac
7477         (Requested by loislo on #webkit).
7478
7479         * tests/CCLayerTreeHostTest.cpp:
7480         (WTF::MockLayerTreeHost::create):
7481         * tests/Canvas2DLayerChromiumTest.cpp:
7482         (Canvas2DLayerChromiumTest::fullLifecycleTest):
7483
7484 2012-06-06  Robert Kroeger  <rjkroege@chromium.org>
7485
7486         [Chromium] Re-enable handling of smooth scrolling on Chromium Linux/Windows
7487         https://bugs.webkit.org/show_bug.cgi?id=87535 by adding support for precise
7488         scrolling deltas on all Chromium platforms.
7489
7490         Reviewed by James Robinson.
7491
7492         * src/WebInputEventConversion.cpp:
7493         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder): Create PlatformWheelEvents
7494         with m_hasPreciseScrollingDelta flag as required.
7495         * tests/ScrollAnimatorNoneTest.cpp: Added new unit test condiiton for precise scrolling.
7496         (TEST):
7497
7498 2012-06-06  Michal Mocny  <mmocny@google.com>
7499
7500         [chromium] Stop dropping texture limits when the layer tree host becomes invisible, and initialize with 0 allocation.
7501         https://bugs.webkit.org/show_bug.cgi?id=87747
7502
7503         Reviewed by Adrienne Walker.
7504
7505         * tests/CCLayerTreeHostTest.cpp:
7506         (WTF::MockLayerTreeHost::create):
7507         * tests/Canvas2DLayerChromiumTest.cpp:
7508         (Canvas2DLayerChromiumTest::fullLifecycleTest):
7509
7510 2012-06-06  Mark Pilgrim  <pilgrim@chromium.org>
7511
7512         [Chromium] Move createMessagePortChannel to Platform.h
7513         https://bugs.webkit.org/show_bug.cgi?id=85764
7514
7515         Reviewed by Adam Barth.
7516         
7517         Part of a refactoring series. See tracking bug 82948.
7518
7519         * WebKit.gyp:
7520         * public/WebFrame.h:
7521         (WebFrame):
7522         * public/WebMessagePortChannel.h:
7523         * public/WebMessagePortChannelClient.h:
7524         * public/WebSharedWorkerClient.h:
7525         (WebSharedWorkerClient):
7526         * public/platform/WebKitPlatformSupport.h:
7527         (WebKit):
7528         (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
7529         * src/PlatformMessagePortChannel.cpp:
7530         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
7531         * src/PlatformMessagePortChannel.h:
7532         * src/SharedWorkerRepository.cpp:
7533         * src/WebSharedWorkerImpl.cpp:
7534
7535 2012-06-06  Amy Ousterhout  <aousterh@chromium.org>
7536
7537         [Chromium] DeviceOrientation cleanup
7538         https://bugs.webkit.org/show_bug.cgi?id=88406
7539
7540         Reviewed by Kent Tamura.
7541
7542         Made default constructor public and added a set function for each property.
7543         This will allow us to remove the 8-parameter constructor.
7544
7545         * public/WebDeviceOrientation.h:
7546         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
7547         (WebKit::WebDeviceOrientation::setNull):
7548         (WebKit::WebDeviceOrientation::setAlpha):
7549         (WebKit::WebDeviceOrientation::setBeta):
7550         (WebKit::WebDeviceOrientation::setGamma):
7551         (WebKit::WebDeviceOrientation::setAbsolute):
7552         (WebDeviceOrientation):
7553
7554 2012-06-06  James Robinson  <jamesr@chromium.org>
7555
7556         [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support
7557         https://bugs.webkit.org/show_bug.cgi?id=86257
7558
7559         Reviewed by Kenneth Russell.
7560
7561         * WebKit.gyp:
7562
7563 2012-06-06  James Robinson  <jamesr@chromium.org>
7564
7565         [chromium] Unreviewed build fix, add an apparently used include of OwnArrayPtr.h back to GraphicsContext3DPrivate.h
7566         https://bugs.webkit.org/show_bug.cgi?id=88468
7567
7568         * src/GraphicsContext3DPrivate.h:
7569
7570 2012-06-06  James Robinson  <jamesr@chromium.org>
7571
7572         [chromium] Clean up GraphicsContext3D implementation
7573         https://bugs.webkit.org/show_bug.cgi?id=88460
7574
7575         Reviewed by Kenneth Russell.
7576
7577         Chromium's implementation of the GraphicsContext3D implementation has been somewhat messy for historical
7578         reasons. The actual implementation of the majority of these functions is done by delegating to the Platform API
7579         WebGraphicsContext3D. A few bits of functionality - extension mapping, some compositor functionality, a readback
7580         utility - are implemented by code in WebKit. Previously, all GraphicsContext3D functions delegates to a clone of
7581         the interface in GraphicsContext3DPrivate which in turn delegated to WebGraphicsContext3D. This required
7582         duplicating the entire GraphicsContext3D interface and made updating the interface an epic pain in the rear.
7583
7584         This patch provides the implementations of GraphicsContext3D functions in GraphicsContext3DChromium.cpp. Most of
7585         these functions delegate directly to WebGraphicsContext3D. The ones that do not delegate to
7586         GraphicsContext3DPrivate, which now has a dedicated header and cpp file. GraphicsContext3DPrivate.cpp implements
7587         all GraphicsContext3DPrivate functions. I've also reordered the implementation files so that the function order
7588         matches the associated header file and normalized the names of callback adapters.
7589
7590         Refactor only, no change in functionality. Existing tests apply.
7591
7592         * WebKit.gyp:
7593         * src/Extensions3DChromium.cpp:
7594         (WebCore::Extensions3DChromium::ensureEnabled):
7595         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
7596         (WebCore::Extensions3DChromium::blitFramebuffer):
7597         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
7598         (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
7599         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
7600         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
7601         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
7602         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
7603         (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
7604         (WebCore::Extensions3DChromium::discardFramebufferEXT):
7605         (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
7606         (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
7607         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
7608         (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
7609         (WebCore::Extensions3DChromium::texStorage2DEXT):
7610         (WebCore::Extensions3DChromium::createQueryEXT):
7611         (WebCore::Extensions3DChromium::deleteQueryEXT):
7612         (WebCore::Extensions3DChromium::isQueryEXT):
7613         (WebCore::Extensions3DChromium::beginQueryEXT):
7614         (WebCore::Extensions3DChromium::endQueryEXT):
7615         (WebCore::Extensions3DChromium::getQueryivEXT):
7616         (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
7617         * src/GraphicsContext3DChromium.cpp:
7618         (WebCore::GraphicsContext3D::GraphicsContext3D):
7619         (WebCore::GraphicsContext3D::~GraphicsContext3D):
7620         (WebCore::GraphicsContext3D::setContextLostCallback):
7621         (WebCore::GraphicsContext3D::setErrorMessageCallback):
7622         (WebCore::GraphicsContext3D::create):
7623         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
7624         (WebCore::GraphicsContext3D::platformTexture):
7625         (WebCore::GraphicsContext3D::grContext):
7626         (WebCore::GraphicsContext3D::platformLayer):
7627         (WebCore):
7628         (WebCore::GraphicsContext3D::isGLES2Compliant):
7629         (WebCore::GraphicsContext3D::isResourceSafe):
7630         (WebCore::GraphicsContext3D::bindAttribLocation):
7631         (WebCore::GraphicsContext3D::bufferData):
7632         (WebCore::GraphicsContext3D::getActiveAttrib):
7633         (WebCore::GraphicsContext3D::getActiveUniform):
7634         (WebCore::GraphicsContext3D::getAttribLocation):
7635         (WebCore::GraphicsContext3D::getContextAttributes):
7636         (WebCore::GraphicsContext3D::getProgramInfoLog):
7637         (WebCore::GraphicsContext3D::getShaderInfoLog):
7638         (WebCore::GraphicsContext3D::getShaderSource):
7639         (WebCore::GraphicsContext3D::getString):
7640         (WebCore::GraphicsContext3D::getUniformLocation):
7641         (WebCore::GraphicsContext3D::shaderSource):
7642         (WebCore::GraphicsContext3D::texImage2D):
7643         (WebCore::GraphicsContext3D::texSubImage2D):
7644         (WebCore::GraphicsContext3D::reshape):
7645         (WebCore::GraphicsContext3D::markContextChanged):
7646         (WebCore::GraphicsContext3D::layerComposited):
7647         (WebCore::GraphicsContext3D::markLayerComposited):
7648         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
7649         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
7650         (WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
7651         (WebCore::GraphicsContext3D::getExtensions):
7652         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
7653         * src/GraphicsContext3DPrivate.cpp: Added.
7654         (WebCore):
7655         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
7656         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
7657         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
7658         (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
7659         (GrMemoryAllocationChangedCallback):
7660         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
7661         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
7662         (WebCore::GraphicsContext3DPrivate::grContext):
7663         (WebCore::GraphicsContext3DPrivate::markContextChanged):
7664         (WebCore::GraphicsContext3DPrivate::layerComposited):
7665         (WebCore::GraphicsContext3DPrivate::markLayerComposited):
7666         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
7667         (GraphicsContextLostCallbackAdapter):
7668         (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter):
7669         (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter):
7670         (WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
7671         (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
7672         (GraphicsErrorMessageCallbackAdapter):
7673         (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
7674         (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
7675         (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
7676         (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
7677         (WebCore::GraphicsContext3DPrivate::getExtensions):
7678         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
7679         (WebCore::GraphicsContext3DPrivate::supportsExtension):
7680         (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
7681         (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
7682         (WebCore::GraphicsContext3DPrivate::isResourceSafe):
7683         (GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
7684         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
7685         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
7686         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
7687         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
7688         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
7689         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
7690         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
7691         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
7692         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
7693         * src/GraphicsContext3DPrivate.h:
7694         (GraphicsContext3DPrivate):
7695         (WebCore::GraphicsContext3DPrivate::webContext):
7696         (WebCore::GraphicsContext3DPrivate::preserveDrawingBuffer):
7697
7698 2012-06-06  Sadrul Habib Chowdhury  <sadrul@chromium.org>
7699
7700         [chromium] Avoid limiting page-scale-factor when device-scale-factor is applied in the compositor.
7701         https://bugs.webkit.org/show_bug.cgi?id=88417
7702
7703         Reviewed by James Robinson.
7704
7705         * src/WebViewImpl.cpp:
7706         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
7707
7708 2012-06-06  Ami Fischman  <fischman@chromium.org>
7709
7710         Unreviewed.  Rolled DEPS.
7711
7712         * DEPS:
7713
7714 2012-06-06  Nico Weber  <thakis@chromium.org>
7715
7716         [chromium] Expose setPictographFontFamily through the chromium webkit api.
7717         https://bugs.webkit.org/show_bug.cgi?id=88393
7718
7719         Reviewed by Adam Barth.
7720
7721         This was added to WebCore in
7722         https://bugs.webkit.org/show_bug.cgi?id=65197
7723
7724         * public/WebSettings.h:
7725         * src/WebSettingsImpl.cpp:
7726         (WebKit::WebSettingsImpl::setPictographFontFamily):
7727         (WebKit):
7728         * src/WebSettingsImpl.h:
7729         (WebSettingsImpl):
7730
7731 2012-06-06  Ryosuke Niwa  <rniwa@webkit.org>
7732
7733         Unreviewed.  Rolled DEPS.
7734
7735         * DEPS:
7736
7737 2012-06-06  Kinuko Yasuda  <kinuko@chromium.org>
7738
7739         Roll Chromium DEPS from r140700 to r140711.
7740
7741         * DEPS:
7742
7743 2012-06-06  Ami Fischman  <fischman@chromium.org>
7744
7745         [chromium] Add a WebKit::WebMediaPlayer::CORSMode enum in preparation for 88349
7746         https://bugs.webkit.org/show_bug.cgi?id=88388
7747
7748         Reviewed by Darin Fisher.
7749
7750         * public/WebMediaPlayer.h:
7751
7752 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
7753
7754         Roll Chromium DEPS from r140653 to r140700.
7755
7756         * DEPS:
7757
7758 2012-06-05  Kentaro Hara  <haraken@chromium.org>
7759
7760         Unreviewed, rolling out r119494.
7761         http://trac.webkit.org/changeset/119494
7762         https://bugs.webkit.org/show_bug.cgi?id=87911
7763
7764         We found similar APIs are already implemented
7765
7766         * public/WebWidget.h:
7767         * src/WebViewImpl.cpp:
7768         * src/WebViewImpl.h:
7769         (WebViewImpl):
7770         * tests/WebViewTest.cpp:
7771         * tests/data/textarea.html: Removed.
7772
7773 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
7774
7775         Roll Chromium DEPS from r140528 to r140653.
7776
7777         * DEPS:
7778
7779 2012-06-05  Mark Pilgrim  <pilgrim@chromium.org>
7780
7781         [Chromium] Move createLocalStorageNamespace to Platform.h
7782         https://bugs.webkit.org/show_bug.cgi?id=85766
7783
7784         Reviewed by James Robinson.
7785         
7786         Part of a refactoring series. See tracking bug 82948.
7787
7788         * WebKit.gyp:
7789         * public/WebStorageArea.h:
7790         * public/WebStorageNamespace.h:
7791         * public/platform/WebKitPlatformSupport.h:
7792         (WebKit):
7793         (WebKitPlatformSupport):
7794
7795 2012-06-05  Greg Billock  <gbillock@google.com>
7796
7797         New constructor for WebIntent to be used for delivery
7798         https://bugs.webkit.org/show_bug.cgi?id=87143
7799
7800         Reviewed by Darin Fisher.
7801
7802         When delivering an intent to webkit, the caller needs to be able to
7803         provide the action, type, and data, and also extra data and ports.
7804
7805         * public/WebIntent.h:
7806         (WebIntent):
7807         * src/WebFrameImpl.cpp:
7808         (WebKit::WebFrameImpl::deliverIntent):
7809         * src/WebIntent.cpp:
7810         (WebKit::WebIntent::WebIntent):
7811         (WebKit):
7812         (WebKit::WebIntent::reset):
7813         (WebKit::WebIntent::messagePortChannelsRelease):
7814
7815 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
7816
7817         Roll Chromium DEPS from r140492 to r140528.
7818
7819         * DEPS:
7820
7821 2012-06-05  Seigo Nonaka  <nona@chromium.org>
7822
7823         [chromium] There is no way to retrieve composition character rectangle in WebKit/chromium
7824         https://bugs.webkit.org/show_bug.cgi?id=87911
7825
7826         Reviewed by Ryosuke Niwa.
7827
7828         Add an API for retreieving each character bounds in composition text.
7829         This API is necessary for implementing IMR_QUERYCHARPOSITION message in Windows.
7830         The message is used by Japanese IME for showing their window at the correct position.
7831
7832         * public/WebWidget.h:
7833         (WebWidget):
7834         (WebKit::WebWidget::compositionCharacterBounds):
7835         * src/WebViewImpl.cpp:
7836         (WebKit::WebViewImpl::compositionCharacterBounds):
7837         (WebKit):
7838         * src/WebViewImpl.h:
7839         (WebViewImpl):
7840
7841 2012-06-05  Dongwoo Im  <dw.im@samsung.com>
7842
7843         Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
7844         https://bugs.webkit.org/show_bug.cgi?id=73176
7845
7846         Reviewed by Adam Barth.
7847
7848         Two more APIs are added in Custom Scheme Handler specification.
7849         http://dev.w3.org/html5/spec/Overview.html#custom-handlers
7850         One is 'isProtocolHandlerRegistered' to query whether the specific URL
7851         is registered or not.
7852         The other is 'unregisterProtocolHandler' to remove the registered URL.
7853
7854         * features.gypi: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
7855
7856 2012-06-05  Kent Tamura  <tkent@chromium.org>
7857
7858         Move some function definitions in EmptyClients.h to EmptyClients.cpp
7859         https://bugs.webkit.org/show_bug.cgi?id=88285
7860
7861         Reviewed by Ryosuke Niwa.
7862
7863         * src/WebHelperPluginImpl.cpp: Remove unnecessary #includes, and add necessary #includes.
7864         * src/WebPagePopupImpl.cpp: ditto.
7865
7866 2012-06-05  Noel Gordon  <noel.gordon@gmail.com>
7867
7868         Unreviewed.  Rolled DEPS.
7869
7870         * DEPS:
7871
7872 2012-06-05  Adam Barth  <abarth@webkit.org>
7873
7874         EventHandler shouldn't dispatch fake mousemove events when scrolling on devices that don't have a mouse
7875         https://bugs.webkit.org/show_bug.cgi?id=88270
7876
7877         Reviewed by James Robinson.
7878
7879         * public/WebSettings.h:
7880         * src/WebSettingsImpl.cpp:
7881         (WebKit::WebSettingsImpl::setDeviceSupportsMouse):
7882         (WebKit):
7883         * src/WebSettingsImpl.h:
7884         (WebSettingsImpl):
7885
7886 2012-06-04  Dana Jansens  <danakj@chromium.org>
7887
7888         [chromium] Remove redundant setNeedsCommit when prepareToDraw fails
7889         https://bugs.webkit.org/show_bug.cgi?id=88246
7890
7891         Reviewed by James Robinson.
7892
7893         * tests/CCLayerTreeHostImplTest.cpp:
7894
7895 2012-06-04  Dana Jansens  <danakj@chromium.org>
7896
7897         [chromium] Allow CCLayerImpl to find its layer tree host, and use this for CCVideoLayerImpl instead of always-null pointer.
7898         https://bugs.webkit.org/show_bug.cgi?id=88252
7899
7900         Reviewed by James Robinson.
7901
7902         * tests/ScrollbarLayerChromiumTest.cpp:
7903         (WebCore::TEST):
7904         * tests/TreeSynchronizerTest.cpp:
7905         (WebKitTests::expectTreesAreIdentical):
7906         (WebKitTests::TEST):
7907
7908 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
7909
7910         yet another build fix attempt.
7911
7912         * src/WebHelperPluginImpl.cpp:
7913
7914 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
7915
7916         Another Chromium Windows build fix attempt after r119411.
7917
7918         * src/WebHelperPluginImpl.cpp:
7919
7920 2012-06-04  Shawn Singh  <shawnsingh@chromium.org>
7921
7922         [chromium] CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer needs to be cleaner
7923         https://bugs.webkit.org/show_bug.cgi?id=85245
7924
7925         Reviewed by James Robinson.
7926
7927         Updated CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer
7928         so that the test is clearer and cleaner. The original test was
7929         covering what it needed, but in a confusing and not-so-practical
7930         way. This patch adds comments and performs a tighter test so that
7931         the intent is a bit more clear.
7932
7933         * tests/CCDamageTrackerTest.cpp:
7934         (WebKitTests::TEST_F):
7935
7936 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
7937
7938         Fix attempt after r119411.
7939
7940         * src/WebHelperPluginImpl.cpp:
7941
7942 2012-06-04  Sadrul Habib Chowdhury  <sadrul@chromium.org>
7943
7944         [chromium] Fix software rendering for larger device-scale-factor
7945         https://bugs.webkit.org/show_bug.cgi?id=88136
7946
7947         Reviewed by Darin Fisher.
7948
7949         The fix is to apply the device-scale factor on the GraphicsContext.
7950         (and add a WebWidgetClient::deviceScaleFactor method to facilitate that).
7951
7952         * public/WebWidgetClient.h:
7953         (WebWidgetClient):
7954         (WebKit::WebWidgetClient::deviceScaleFactor):
7955         * src/PageWidgetDelegate.cpp:
7956         (WebKit::PageWidgetDelegate::paint):
7957         * src/WebPopupMenuImpl.cpp:
7958         (WebKit::WebPopupMenuImpl::paint):
7959
7960 2012-06-04  Sadrul Habib Chowdhury  <sadrul@chromium.org>
7961
7962         Combobox options and autofill options should not be scaled for device-scale factor.
7963         https://bugs.webkit.org/show_bug.cgi?id=87921
7964
7965         Reviewed by Darin Fisher.
7966
7967         * src/WebViewImpl.cpp:
7968         (WebKit::WebViewImpl::applyAutofillSuggestions):
7969
7970 2012-06-04  Dana Jansens  <danakj@chromium.org>
7971
7972         [chromium] Make LayerRendererChromium use RenderPasses instead of RenderSurfaces
7973         https://bugs.webkit.org/show_bug.cgi?id=88132
7974
7975         Reviewed by Adrienne Walker.
7976
7977         * tests/CCLayerTreeHostImplTest.cpp:
7978         * tests/LayerRendererChromiumTest.cpp:
7979         (FakeCCRendererClient::FakeCCRendererClient):
7980         (FakeCCRendererClient::rootRenderPass):
7981         (FakeCCRendererClient):
7982         (TEST_F):
7983
7984 2012-06-04  David Dorwin  <ddorwin@chromium.org>
7985
7986         Enable Chromium media player to instantiate a plugin
7987         https://bugs.webkit.org/show_bug.cgi?id=87399
7988
7989         Reviewed by Kent Tamura.
7990
7991         Adds WebHelperPlugin, an off-screen widget that contains an <object> tag.
7992
7993         * WebKit.gyp:
7994         * public/WebHelperPlugin.h: Copied from Source/WebKit/chromium/public/WebPopupType.h.
7995         (WebKit):
7996         (WebHelperPlugin):
7997         (WebKit::WebHelperPlugin::~WebHelperPlugin):
7998         * public/WebMediaPlayerClient.h:
7999         (WebKit):
8000         * public/WebPopupType.h:
8001         * public/WebView.h:
8002         * public/WebViewClient.h:
8003         (WebKit):
8004         (WebViewClient):
8005         (WebKit::WebViewClient::initializeHelperPluginWebFrame):
8006         * src/WebFrameImpl.cpp:
8007         (WebKit::WebFrameImpl::WebFrameImpl):
8008         (WebKit::WebFrameImpl::initializeAsMainFrame):
8009         * src/WebFrameImpl.h:
8010         (WebFrameImpl):
8011         * src/WebHelperPluginImpl.cpp: Added.
8012         (WebKit):
8013         (WebKit::addString):
8014         (WebKit::writeDocument):
8015         (HelperPluginChromeClient):
8016         (WebKit::HelperPluginChromeClient::HelperPluginChromeClient):
8017         (WebKit::WebHelperPluginImpl::WebHelperPluginImpl):
8018         (WebKit::WebHelperPluginImpl::~WebHelperPluginImpl):
8019         (WebKit::WebHelperPluginImpl::init):
8020         (WebKit::WebHelperPluginImpl::initializeFrame):
8021         (WebKit::WebHelperPluginImpl::initPage):
8022         (WebKit::WebHelperPluginImpl::setCompositorSurfaceReady):
8023         (WebKit::WebHelperPluginImpl::composite):
8024         (WebKit::WebHelperPluginImpl::layout):
8025         (WebKit::WebHelperPluginImpl::setFocus):
8026         (WebKit::WebHelperPluginImpl::close):
8027         (WebKit::WebHelperPluginImpl::closeHelperPlugin):
8028         (WebKit::WebHelperPlugin::create):
8029         * src/WebHelperPluginImpl.h: Copied from Source/WebKit/chromium/public/WebPopupType.h.
8030         (WebCore):
8031         (WebKit):
8032         (WebHelperPluginImpl):
8033         * src/WebMediaPlayerClientImpl.cpp:
8034         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
8035         (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
8036         (WebKit):
8037         (WebKit::WebMediaPlayerClientImpl::closeHelperPlugin):
8038         * src/WebMediaPlayerClientImpl.h:
8039         (WebKit):
8040         (WebMediaPlayerClientImpl):
8041         * src/WebViewImpl.cpp:
8042         (WebKit::WebViewImpl::initializeMainFrame):
8043         (WebKit::WebViewImpl::initializeHelperPluginFrame):
8044         (WebKit):
8045         (WebKit::WebViewImpl::createHelperPlugin):
8046         * src/WebViewImpl.h:
8047         (WebKit):
8048         (WebViewImpl):
8049
8050 2012-06-04  Raymes Khoury  <raymes@chromium.org>
8051
8052         Remove obsolete acceptMIMETypes member.
8053         https://bugs.webkit.org/show_bug.cgi?id=88241
8054
8055         Reviewed by Darin Fisher.
8056
8057         Obsoleted by https://bugs.webkit.org/show_bug.cgi?id=87271 and http://codereview.chromium.org/10414085/.
8058
8059         * public/WebFileChooserParams.h:
8060         (WebFileChooserParams):
8061         * src/ChromeClientImpl.cpp:
8062         (WebKit::ChromeClientImpl::runOpenPanel):
8063
8064 2012-06-04  Zeev Lieber  <zlieber@chromium.org>
8065
8066         [chromium] Cleanup scissor rect computation/use with damage
8067         https://bugs.webkit.org/show_bug.cgi?id=87167
8068
8069         Reviewed by Adrienne Walker.
8070
8071         Added unit tests to CCLayerTreeHostImpl using mock graphic context
8072         to verify end-to-end quad drawing.
8073
8074         Added more test cases to CCLayerTreeHostCommon to verify clip and
8075         scissor rect computations.
8076
8077         * tests/CCDamageTrackerTest.cpp:
8078         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
8079         * tests/CCLayerIteratorTest.cpp:
8080         * tests/CCLayerTreeHostCommonTest.cpp:
8081         * tests/CCLayerTreeHostImplTest.cpp:
8082         * tests/CCOcclusionTrackerTest.cpp:
8083         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
8084         * tests/CCRenderSurfaceTest.cpp:
8085
8086 2012-06-03  Ryosuke Niwa  <rniwa@webkit.org>
8087
8088         Roll Chromium DEPS from r140222 to r140260.
8089
8090         * DEPS:
8091
8092 2012-06-03  Ryosuke Niwa  <rniwa@webkit.org>
8093
8094         Roll Chromium DEPS from r140000 to r140222.
8095
8096         * DEPS:
8097
8098 2012-06-03  Varun Jain  <varunjain@google.com>
8099
8100         [chromium] Add new gesture type (two finger tap) that triggers context menu.
8101         https://bugs.webkit.org/show_bug.cgi?id=88173
8102
8103         Reviewed by Adam Barth.
8104
8105         * public/WebInputEvent.h:
8106         * src/PageWidgetDelegate.cpp:
8107         (WebKit::PageWidgetDelegate::handleInputEvent):
8108         * src/WebInputEventConversion.cpp:
8109         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
8110         * src/WebPopupMenuImpl.cpp:
8111         (WebKit::WebPopupMenuImpl::handleInputEvent):
8112         * src/WebViewImpl.cpp:
8113         (WebKit::WebViewImpl::handleGestureEvent):
8114
8115 2012-06-03  Robert Kroeger  <rjkroege@chromium.org>
8116
8117         [chromium] replace isScrollGestureEventType with isGestureEventType
8118         https://bugs.webkit.org/show_bug.cgi?id=88097
8119
8120         This change replaces the unused and incorrect isScrollGestureEventType
8121         method with a correct and useful isGestureEventType method.
8122
8123         Reviewed by Adam Barth.
8124
8125         * public/WebInputEvent.h:
8126         (WebInputEvent):
8127         (WebKit::WebInputEvent::isGestureEventType):
8128
8129 2012-06-01  Alexandre Elias  <aelias@google.com>
8130
8131         [chromium] Software compositor initialization and base classes
8132         https://bugs.webkit.org/show_bug.cgi?id=87920
8133
8134         Reviewed by James Robinson.
8135
8136         Add a new setting to force software compositing.  In this mode,
8137         no GraphicsContext3D should ever be created.
8138
8139         * public/WebSettings.h:
8140         * src/WebLayerTreeView.cpp:
8141         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
8142         (WebKit::WebLayerTreeView::context):
8143         * src/WebLayerTreeViewImpl.cpp:
8144         * src/WebSettingsImpl.cpp:
8145         (WebKit::WebSettingsImpl::WebSettingsImpl):
8146         (WebKit::WebSettingsImpl::setForceSoftwareCompositing):
8147         (WebKit):
8148         * src/WebSettingsImpl.h:
8149         (WebSettingsImpl):
8150         (WebKit::WebSettingsImpl::forceSoftwareCompositing):
8151         * src/WebViewImpl.cpp:
8152         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
8153         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
8154         (WebKit::WebViewImpl::createContext3D):
8155         * tests/CCLayerTreeHostImplTest.cpp:
8156         (WebKitTests::CCLayerTreeHostImplTest::createContext):
8157         (WebKitTests::TEST_F):
8158         * tests/CCLayerTreeHostTest.cpp:
8159         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
8160         (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
8161         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
8162         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
8163         * tests/CCTiledLayerTestCommon.cpp:
8164         (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
8165         * tests/CCTiledLayerTestCommon.h:
8166         (Texture):
8167         (WebKitTests::FakeTextureCopier::copyTexture):
8168         (WebKitTests::FakeTextureUploader::uploadTexture):
8169         * tests/Canvas2DLayerChromiumTest.cpp:
8170         (Canvas2DLayerChromiumTest::fullLifecycleTest):
8171         * tests/FakeCCLayerTreeHostClient.h:
8172         * tests/LayerRendererChromiumTest.cpp:
8173         (FakeLayerRendererChromium::FakeLayerRendererChromium):
8174         (LayerRendererChromiumTest::LayerRendererChromiumTest):
8175         (LayerRendererChromiumTest):
8176         (TEST):
8177         * tests/TextureCopierTest.cpp:
8178         * tests/TiledLayerChromiumTest.cpp:
8179         (WTF::TEST):
8180
8181 2012-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
8182
8183         Unreviewed, rolling out r119283, r119287, and r119291.
8184         http://trac.webkit.org/changeset/119283
8185         http://trac.webkit.org/changeset/119287
8186         http://trac.webkit.org/changeset/119291
8187         https://bugs.webkit.org/show_bug.cgi?id=88159
8188
8189         Not only broke compilation in the initial commit but also
8190         broke LayerChromiumTest.basicCreateAndDestroy (Requested by
8191         rniwa on #webkit).
8192
8193         * tests/CCAnimationTestCommon.cpp:
8194         (WebCore::addOpacityTransition):
8195         (WebCore::addAnimatedTransform):
8196         (WebKitTests::FakeTransformTransition::getValue):
8197         * tests/CCAnimationTestCommon.h:
8198         * tests/CCKeyframedAnimationCurveTest.cpp:
8199         * tests/CCLayerAnimationControllerTest.cpp:
8200         * tests/CCLayerTreeHostTest.cpp:
8201         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
8202         * tests/GraphicsLayerChromiumTest.cpp:
8203         (WebKitTests::MockGraphicsLayerClient::notifyAnimationStarted):
8204         (WebKitTests::MockGraphicsLayerClient::notifySyncRequired):
8205         (WebKitTests::MockGraphicsLayerClient::paintContents):
8206         (WebKitTests::MockGraphicsLayerClient::showDebugBorders):
8207         (WebKitTests::MockGraphicsLayerClient::showRepaintCounter):
8208         (WebKitTests::TEST):
8209
8210 2012-06-01  Ryosuke Niwa  <rniwa@webkit.org>
8211
8212         Use fully qualified name for Fixed to avoid the collision with "typedef SInt32 Fixed" in MacTypes.h
8213
8214         * tests/GraphicsLayerChromiumTest.cpp:
8215         (WebKitTests::TEST_F):
8216
8217 2012-06-01  James Robinson  <jamesr@chromium.org>
8218
8219         [chromium] Unreviewed compile fix for r119283
8220
8221         For the record, Dana Jensens <danakj@chromium.org> wrote this slightly faster than I did.
8222
8223         * tests/CCAnimationTestCommon.h:
8224
8225 2012-06-01  Ian Vollick  <vollick@chromium.org>
8226
8227         [chromium] Accelerated animations should use WebTransformOperations
8228         https://bugs.webkit.org/show_bug.cgi?id=87686
8229
8230         Reviewed by James Robinson.
8231
8232         CCTransformKeyframe new owns a WebTransformOperations rather than a
8233         TransformOperations. LayerChromium's API has been changed so that
8234         LayerChromium::addAnimation should take only a CCActiveAnimation.
8235         GraphicsLayerChromium is new responsible for translating to
8236         WebTransformOperations and creating CCActiveAnimations. Tests that use
8237         the public API (that is, they call addAnimation with KeyframeValueList
8238         and Animation arguments) have been moved to GraphicsLayerChromiumTest.
8239
8240         * tests/CCAnimationTestCommon.cpp:
8241         (WebCore::addOpacityTransition):
8242         (WebCore::addAnimatedTransform):
8243         (WebKitTests::FakeTransformTransition::getValue):
8244         * tests/CCAnimationTestCommon.h:
8245         * tests/CCKeyframedAnimationCurveTest.cpp:
8246         (WebCore::TEST):
8247         * tests/CCLayerAnimationControllerTest.cpp:
8248         (WebKitTests::TEST):
8249         * tests/CCLayerTreeHostTest.cpp:
8250         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
8251         * tests/GraphicsLayerChromiumTest.cpp:
8252         (MockLayerTreeHostClient):
8253         (WebKitTests):
8254         (MockLayerTreeHost):
8255         (WebKitTests::MockLayerTreeHost::create):
8256         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
8257         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
8258         (GraphicsLayerChromiumTest):
8259         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
8260         (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
8261         (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
8262         (WebKitTests::TEST_F):
8263
8264 2012-06-01  Mark Pilgrim  <pilgrim@chromium.org>
8265
8266         [Chromium] Call clipboard methods directly
8267         https://bugs.webkit.org/show_bug.cgi?id=88038
8268
8269         Reviewed by Adam Barth.
8270
8271         Part of a refactoring series. See tracking bug 82948.
8272
8273         * src/AssertMatchingEnums.cpp:
8274         * src/PlatformSupport.cpp:
8275         (WebCore::getCookieJar):
8276
8277 2012-06-01  Peter Beverloo  <peter@chromium.org>
8278
8279         Unreviewed.  Rolled DEPS.
8280
8281         * DEPS:
8282
8283 2012-06-01  Yoshifumi Inoue  <yosin@chromium.org>
8284
8285         [Platform][Decimal] UInt128::operator/= calls makeUInt128 with wrong argument order
8286         https://bugs.webkit.org/show_bug.cgi?id=88044
8287
8288         Reviewed by Kent Tamura.
8289
8290         * tests/DecimalTest.cpp:
8291         (TEST_F): Add a new test for multiplication.
8292
8293 2012-05-31  Hajime Morrita  <morrita@chromium.org>
8294
8295         REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
8296         https://bugs.webkit.org/show_bug.cgi?id=86859
8297
8298         Removed a port specific fix which was introduced at r117572.
8299
8300         Reviewed by Ryosuke Niwa.
8301
8302         * src/EditorClientImpl.cpp:
8303         (WebKit::EditorClientImpl::frameWillDetachPage):
8304         (WebKit::EditorClientImpl::requestCheckingOfString):
8305         * src/EditorClientImpl.h:
8306         (WebCore):
8307         (EditorClientImpl):
8308         * src/WebTextCheckingCompletionImpl.cpp:
8309         (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
8310         (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
8311         * src/WebTextCheckingCompletionImpl.h:
8312         (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
8313         (WebTextCheckingCompletionImpl):
8314
8315 2012-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
8316
8317         Unreviewed, rolling out r119146.
8318         http://trac.webkit.org/changeset/119146
8319         https://bugs.webkit.org/show_bug.cgi?id=88035
8320
8321         android breakage fixed in http://crrev.com/139945 (Requested
8322         by fischman on #webkit).
8323
8324         * public/WebMediaPlayer.h:
8325         (WebMediaPlayer):
8326         * src/WebMediaPlayerClientImpl.cpp:
8327         (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
8328         * src/WebMediaPlayerClientImpl.h:
8329         (WebMediaPlayerClientImpl):
8330
8331 2012-05-31  Shawn Singh  <shawnsingh@chromium.org>
8332
8333         [chromium] Migrate to WebTransformationMatrix
8334         https://bugs.webkit.org/show_bug.cgi?id=87788
8335
8336         Reviewed by James Robinson.
8337
8338         * src/WebLayer.cpp:
8339         (WebKit::WebLayer::setSublayerTransform):
8340         (WebKit::WebLayer::setTransform):
8341         * tests/CCAnimationTestCommon.cpp:
8342         (WebKitTests::FakeTransformTransition::getValue):
8343         * tests/CCAnimationTestCommon.h:
8344         * tests/CCDamageTrackerTest.cpp:
8345         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
8346         (WebKitTests::TEST_F):
8347         * tests/CCKeyframedAnimationCurveTest.cpp:
8348         * tests/CCLayerAnimationControllerTest.cpp:
8349         * tests/CCLayerImplTest.cpp:
8350         (WebCore::TEST):
8351         * tests/CCLayerIteratorTest.cpp:
8352         * tests/CCLayerSorterTest.cpp:
8353         * tests/CCLayerTreeHostCommonTest.cpp:
8354         * tests/CCLayerTreeHostTest.cpp:
8355         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
8356         (WTF::setLayerPropertiesForTesting):
8357         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
8358         (WTF::setTestLayerPropertiesForTesting):
8359         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
8360         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
8361         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
8362         * tests/CCLayerTreeTestCommon.h:
8363         (WebKitTests):
8364         * tests/CCMathUtilTest.cpp:
8365         * tests/CCOcclusionTrackerTest.cpp:
8366         (WebKitTests::CCOcclusionTrackerTest::createRoot):
8367         (WebKitTests::CCOcclusionTrackerTest::createLayer):
8368         (WebKitTests::CCOcclusionTrackerTest::createSurface):
8369         (WebKitTests::CCOcclusionTrackerTest::createDrawingLayer):
8370         (WebKitTests::CCOcclusionTrackerTest::createReplicaLayer):
8371         (WebKitTests::CCOcclusionTrackerTest::createDrawingSurface):
8372         (CCOcclusionTrackerTest):
8373         (WebKitTests::CCOcclusionTrackerTest::setBaseProperties):
8374         (WebKitTests::CCOcclusionTrackerTest::setProperties):
8375         (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
8376         (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
8377         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
8378         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
8379         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
8380         (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
8381         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
8382         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
8383         (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
8384         (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
8385         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
8386         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
8387         (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
8388         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
8389         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
8390         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
8391         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
8392         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
8393         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
8394         (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
8395         * tests/CCQuadCullerTest.cpp:
8396         * tests/CCRenderSurfaceTest.cpp:
8397         * tests/FloatQuadTest.cpp:
8398         * tests/LayerChromiumTest.cpp:
8399         * tests/LinkHighlightTest.cpp:
8400         * tests/TiledLayerChromiumTest.cpp:
8401         * tests/WebTransformationMatrixTest.cpp:
8402         (WebKit::TEST):
8403         (WebKit):
8404
8405 2012-05-31  Ian Vollick  <vollick@chromium.org>
8406
8407         [chromium] Single thread proxy should not tick animations unless the layer renderer has been initialized
8408         https://bugs.webkit.org/show_bug.cgi?id=87873
8409
8410         Reviewed by James Robinson.
8411
8412         When the layer renderer fails to initialize, be sure to stop the animation timer.
8413
8414         * tests/CCLayerTreeHostTest.cpp:
8415         (CompositorFakeWebGraphicsContext3DWithTextureTracking):
8416         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
8417         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
8418         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
8419         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
8420         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
8421         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
8422         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
8423         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
8424         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
8425         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
8426         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
8427         (WTF):
8428         (WTF::TestHooks::didRecreateContext):
8429         (TestHooks):
8430         (WTF::TestHooks::createContext):
8431         (CCLayerTreeHostTest):
8432         (WTF::CCLayerTreeHostTest::clearEndTestTask):
8433         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
8434         (EndTestTask):
8435         (WTF::CCLayerTreeHostTest::EndTestTask::EndTestTask):
8436         (WTF::CCLayerTreeHostTest::EndTestTask::~EndTestTask):
8437         (WTF::CCLayerTreeHostTest::EndTestTask::clearTest):
8438         (WTF::CCLayerTreeHostTest::EndTestTask::run):
8439         (WTF::CCLayerTreeHostTest::runTest):
8440         (WTF::CCLayerTreeHostTest::endTestAfterDelay):
8441         (FakeWebGraphicsContext3DMakeCurrentFails):
8442         (WTF::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
8443         (CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation):
8444         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation):
8445         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::beginTest):
8446         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::animateLayers):
8447         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::didRecreateContext):
8448         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::afterTest):
8449         (WTF::TEST_F):
8450
8451 2012-05-15  Brett Wilson  <brettw@chromium.org>
8452
8453         Hook up GTK IsKeyPad flag for keyboard events, and preserve this flag
8454         on all platforms when converting back to a WebKeyboardEvent.
8455
8456         https://bugs.webkit.org/show_bug.cgi?id=86514
8457
8458         Reviewed by Dimitri Glazkov.
8459
8460         * src/WebInputEventConversion.cpp:
8461         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
8462         * src/gtk/WebInputEventFactory.cpp:
8463         (WebKit::WebInputEventFactory::keyboardEvent):
8464         * tests/WebInputEventFactoryTestGtk.cpp:
8465
8466 2012-05-31  Alec Flett  <alecflett@chromium.org>
8467
8468         IndexedDB: Implement IDBTransaction.error and IDBRequest.error
8469         https://bugs.webkit.org/show_bug.cgi?id=87865
8470
8471         Reviewed by Tony Chang.
8472
8473         IDBDatabaseError now honors IDB-specific DOMException codes,
8474         so make sure that's how they are passed to/from chromium.
8475
8476         * src/WebIDBDatabaseError.cpp:
8477         (WebKit::WebIDBDatabaseError::assign):
8478
8479 2012-05-31  James Robinson  <jamesr@chromium.org>
8480
8481         [chromium] Assertion failures during compositor startup in lost context situations
8482         https://bugs.webkit.org/show_bug.cgi?id=87912
8483
8484         Reviewed by Adrienne Walker.
8485
8486         Adds a unit test verifying that even if we lose our context during or before initialization we get through the
8487         rest of the path without failing ASSERT()s.
8488
8489         * tests/LayerRendererChromiumTest.cpp:
8490         (LoseContextOnFirstGetContext):
8491         (LoseContextOnFirstGetContext::LoseContextOnFirstGetContext):
8492         (TEST):
8493
8494 2012-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
8495
8496         Unreviewed, rolling out r119125.
8497         http://trac.webkit.org/changeset/119125
8498         https://bugs.webkit.org/show_bug.cgi?id=88007
8499
8500         Will break android build if rolled (Requested by rafaelw_ on
8501         #webkit).
8502
8503         * public/WebMediaPlayer.h:
8504         (WebMediaPlayer):
8505         * src/WebMediaPlayerClientImpl.cpp:
8506         (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
8507         * src/WebMediaPlayerClientImpl.h:
8508         (WebMediaPlayerClientImpl):
8509
8510 2012-05-31  Dana Jansens  <danakj@chromium.org>
8511
8512         [chromium] Move drawing code for RenderSurfaces into LayerRendererChromium
8513         https://bugs.webkit.org/show_bug.cgi?id=87877
8514
8515         Reviewed by James Robinson.
8516
8517         * tests/CCRenderSurfaceTest.cpp:
8518         (WebCore::TEST):
8519
8520 2012-05-31  Ami Fischman  <fischman@chromium.org>
8521
8522         Replace WebMediaPlayer::bytesLoaded() with an explicit didLoadingProgress()
8523         https://bugs.webkit.org/show_bug.cgi?id=86113
8524
8525         Reviewed by Eric Carlson.
8526
8527         * public/WebMediaPlayer.h:
8528         (WebMediaPlayer):
8529         * src/WebMediaPlayerClientImpl.cpp:
8530         (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
8531         * src/WebMediaPlayerClientImpl.h:
8532         (WebMediaPlayerClientImpl):
8533
8534 2012-05-31  Ian Vollick  <vollick@chromium.org>
8535
8536         [chromium] create WebTransformOperation interface for chromium platform
8537         https://bugs.webkit.org/show_bug.cgi?id=87510
8538
8539         Reviewed by James Robinson.
8540
8541         * WebKit.gypi:
8542         * tests/WebTransformOperationsTest.cpp: Added.
8543         (TEST):
8544         (checkProgress):
8545
8546 2012-05-31  Alexander Pavlov  <apavlov@chromium.org>
8547
8548         Web Inspector: [Chromium] Cannot bring Inspector to front when paused on breakpoint
8549         https://bugs.webkit.org/show_bug.cgi?id=87871
8550
8551         Reviewed by Yury Semikhatsky.
8552
8553         When input events handling is suppressed (due to the JS being paused on a breakpoint), we should report
8554         these events as NOT handled by the WebKit, so that the browser can handle them appropriately
8555         (on MacOS, switching between the application windows is done through the default key event handler, so if you run
8556         event.preventDefault() for all keydown events in a handler, the Chromium window switch will not occur on Cmd+`).
8557
8558         * src/WebViewImpl.cpp:
8559         (WebKit::WebViewImpl::handleInputEvent):
8560
8561 2012-05-31  Peter Beverloo  <peter@chromium.org>
8562
8563         Unreviewed.  Rolled DEPS.
8564
8565         * DEPS:
8566
8567 2012-05-30  Peter Beverloo  <peter@chromium.org>
8568
8569         [Chromium] Automatically install 64-bit linker for Android
8570         https://bugs.webkit.org/show_bug.cgi?id=79780
8571
8572         Reviewed by Adam Barth.
8573
8574         Change the Android-specific dependencies to inherit their revision from
8575         Chromium's DEPS file, like many other dependencies do, solving the
8576         versioning problem that we're running in to right now. These are listed
8577         in Chromium's main DEPS file starting Chromium r139529.
8578
8579         * DEPS:
8580
8581 2012-05-31  Yoshifumi Inoue  <yosin@chromium.org>
8582
8583         Build fix for Chromium Linux (Tests) after r119073.
8584
8585         * tests/DecimalTest.cpp:
8586         (TEST_F):
8587
8588 2012-05-31  Yoshifumi Inoue  <yosin@chromium.org>
8589
8590         [Platform] Introduce Decimal class for Number/Range input type.
8591         https://bugs.webkit.org/show_bug.cgi?id=87360
8592
8593         Reviewed by Kent Tamura.
8594
8595         This patch added unit test for Decimal class.
8596
8597         * WebKit.gypi:
8598         * tests/DecimalTest.cpp: Added.
8599         (WebCore):
8600         (WebCore::operator<<): Output Decimal for unit test debugging
8601         (DecimalStepRange):
8602         (DecimalStepRange::DecimalStepRange):
8603         (DecimalStepRange::clampValue):
8604         (DecimalTest):
8605         (DecimalTest::encode):
8606         (DecimalTest::fromString):
8607         (DecimalTest::stepDown):
8608         (DecimalTest::stepUp):
8609         (TEST_F):
8610
8611 2012-05-30  Yury Semikhatsky  <yurys@chromium.org>
8612
8613         Web Inspector: add MemoryUsageSupport::processMemorySizesInBytes
8614         https://bugs.webkit.org/show_bug.cgi?id=87830
8615
8616         Reviewed by James Robinson.
8617
8618         * public/platform/WebKitPlatformSupport.h: pulled getProcessMemorySize up
8619         to the Source/Platform/chromium/public/Platform.h
8620         * src/PlatformSupport.cpp:
8621
8622 2012-05-31  Kent Tamura  <tkent@chromium.org>
8623
8624         Unreviewed, rolling out r119062 and r119064.
8625         http://trac.webkit.org/changeset/119062
8626         http://trac.webkit.org/changeset/119064
8627         https://bugs.webkit.org/show_bug.cgi?id=87360
8628
8629         Broke build on Lion, SnowLoepard, Chromium Windows, and
8630         Chromium Linux 32
8631
8632         * WebKit.gypi:
8633         * tests/DecimalTest.cpp: Removed.
8634
8635 2012-05-30  Yoshifumi Inoue  <yosin@chromium.org>
8636
8637         [Platform] Introduce Decimal class for Number/Range input type.
8638         https://bugs.webkit.org/show_bug.cgi?id=87360
8639
8640         Reviewed by Kent Tamura.
8641
8642         This patch added unit test for Decimal class.
8643
8644         * WebKit.gypi:
8645         * tests/DecimalTest.cpp: Added.
8646         (WebCore):
8647         (WebCore::operator<<): Output Decimal for unit test debugging
8648         (DecimalStepRange):
8649         (DecimalStepRange::DecimalStepRange):
8650         (DecimalStepRange::clampValue):
8651         (DecimalTest):
8652         (DecimalTest::encode):
8653         (DecimalTest::fromString):
8654         (DecimalTest::stepDown):
8655         (DecimalTest::stepUp):
8656         (TEST_F):
8657
8658 2012-05-30  Shawn Singh  <shawnsingh@chromium.org>
8659
8660         [chromium] Fix min/max bounds error in CCMathUtil.cpp
8661         https://bugs.webkit.org/show_bug.cgi?id=87915
8662
8663         Reviewed by James Robinson.
8664
8665         * tests/CCMathUtilTest.cpp:
8666         (WebCore::TEST):
8667         (WebCore):
8668
8669 2012-05-30  Ami Fischman  <fischman@chromium.org>
8670
8671         Roll chromium DEPS from r139300 to r139542.  Unreviewed.
8672         https://bugs.webkit.org/show_bug.cgi?id=87868
8673
8674         * DEPS:
8675
8676 2012-05-30  Mark Pilgrim  <pilgrim@chromium.org>
8677
8678         [Chromium] Call fileUtilities methods directly
8679         https://bugs.webkit.org/show_bug.cgi?id=87852
8680
8681         Reviewed by Adam Barth.
8682
8683         Part of a refactoring series. See tracking bug 82948.
8684
8685         * src/PlatformSupport.cpp:
8686         (WebCore):
8687
8688 2012-05-30  Sheriff Bot  <webkit.review.bot@gmail.com>
8689
8690         Unreviewed, rolling out r118986.
8691         http://trac.webkit.org/changeset/118986
8692         https://bugs.webkit.org/show_bug.cgi?id=87914
8693
8694         Caused several IndexedDB browser_test failures on Chromium
8695         canary builders (Requested by rafaelw_ on #webkit).
8696
8697         * src/WebIDBDatabaseError.cpp:
8698         (WebKit::WebIDBDatabaseError::assign):
8699
8700 2012-05-30  Dominic Mazzoni  <dmazzoni@google.com>
8701
8702         AX: Chromium WebAccessibilityObject should check if an AccessibilityObject is detached
8703         https://bugs.webkit.org/show_bug.cgi?id=87778
8704
8705         Reviewed by Adam Barth.
8706
8707         Pretty simple - all places that previously just checked for null
8708         now also check if the wrapped AccessibilityObject is detached.
8709
8710         * public/WebAccessibilityObject.h:
8711         (WebAccessibilityObject):
8712         * src/WebAccessibilityObject.cpp:
8713         (WebKit::WebAccessibilityObject::isDetached):
8714         (WebKit):
8715         (WebKit::WebAccessibilityObject::axID):
8716         (WebKit::WebAccessibilityObject::accessibilityDescription):
8717         (WebKit::WebAccessibilityObject::actionVerb):
8718         (WebKit::WebAccessibilityObject::canSetFocusAttribute):
8719         (WebKit::WebAccessibilityObject::canSetValueAttribute):
8720         (WebKit::WebAccessibilityObject::isValid):
8721         (WebKit::WebAccessibilityObject::childCount):
8722         (WebKit::WebAccessibilityObject::childAt):
8723         (WebKit::WebAccessibilityObject::firstChild):
8724         (WebKit::WebAccessibilityObject::focusedChild):
8725         (WebKit::WebAccessibilityObject::lastChild):
8726         (WebKit::WebAccessibilityObject::nextSibling):
8727         (WebKit::WebAccessibilityObject::parentObject):
8728         (WebKit::WebAccessibilityObject::previousSibling):
8729         (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
8730         (WebKit::WebAccessibilityObject::isAnchor):
8731         (WebKit::WebAccessibilityObject::isAriaReadOnly):
8732         (WebKit::WebAccessibilityObject::isButtonStateMixed):
8733         (WebKit::WebAccessibilityObject::isChecked):
8734         (WebKit::WebAccessibilityObject::isCollapsed):
8735         (WebKit::WebAccessibilityObject::isControl):
8736         (WebKit::WebAccessibilityObject::isEnabled):
8737         (WebKit::WebAccessibilityObject::isFocused):
8738         (WebKit::WebAccessibilityObject::isHovered):
8739         (WebKit::WebAccessibilityObject::isIndeterminate):
8740         (WebKit::WebAccessibilityObject::isLinked):
8741         (WebKit::WebAccessibilityObject::isLoaded):
8742         (WebKit::WebAccessibilityObject::isMultiSelectable):
8743         (WebKit::WebAccessibilityObject::isOffScreen):
8744         (WebKit::WebAccessibilityObject::isPasswordField):
8745         (WebKit::WebAccessibilityObject::isPressed):
8746         (WebKit::WebAccessibilityObject::isReadOnly):
8747         (WebKit::WebAccessibilityObject::isRequired):
8748         (WebKit::WebAccessibilityObject::isSelected):
8749         (WebKit::WebAccessibilityObject::isSelectedOptionActive):
8750         (WebKit::WebAccessibilityObject::isVertical):
8751         (WebKit::WebAccessibilityObject::isVisible):
8752         (WebKit::WebAccessibilityObject::isVisited):
8753         (WebKit::WebAccessibilityObject::accessKey):
8754         (WebKit::WebAccessibilityObject::ariaHasPopup):
8755         (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
8756         (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
8757         (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
8758         (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
8759         (WebKit::WebAccessibilityObject::boundingBoxRect):
8760         (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
8761         (WebKit::WebAccessibilityObject::helpText):
8762         (WebKit::WebAccessibilityObject::headingLevel):
8763         (WebKit::WebAccessibilityObject::hierarchicalLevel):
8764         (WebKit::WebAccessibilityObject::hitTest):
8765         (WebKit::WebAccessibilityObject::keyboardShortcut):
8766         (WebKit::WebAccessibilityObject::performDefaultAction):
8767         (WebKit::WebAccessibilityObject::roleValue):
8768         (WebKit::WebAccessibilityObject::selectionEnd):
8769         (WebKit::WebAccessibilityObject::selectionStart):
8770         (WebKit::WebAccessibilityObject::setFocused):
8771         (WebKit::WebAccessibilityObject::stringValue):
8772         (WebKit::WebAccessibilityObject::title):
8773         (WebKit::WebAccessibilityObject::titleUIElement):
8774         (WebKit::WebAccessibilityObject::url):
8775         (WebKit::WebAccessibilityObject::valueDescription):
8776         (WebKit::WebAccessibilityObject::valueForRange):
8777         (WebKit::WebAccessibilityObject::maxValueForRange):
8778         (WebKit::WebAccessibilityObject::minValueForRange):
8779         (WebKit::WebAccessibilityObject::node):
8780         (WebKit::WebAccessibilityObject::document):
8781         (WebKit::WebAccessibilityObject::hasComputedStyle):
8782         (WebKit::WebAccessibilityObject::computedStyleDisplay):
8783         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
8784         (WebKit::WebAccessibilityObject::lineBreaks):
8785         (WebKit::WebAccessibilityObject::columnCount):
8786         (WebKit::WebAccessibilityObject::rowCount):
8787
8788 2012-05-30  Shawn Singh  <shawnsingh@chromium.org>
8789
8790         Simplify TransformationMatrix rotation code to improve precision
8791         https://bugs.webkit.org/show_bug.cgi?id=86666
8792
8793         Reviewed by Adrienne Walker.
8794
8795         * tests/CCLayerTreeHostCommonTest.cpp:
8796         (WebKitTests::TEST):
8797         * tests/WebTransformationMatrixTest.cpp:
8798         (WebKit::TEST):
8799         (WebKit):
8800
8801 2012-05-30  Alec Flett  <alecflett@chromium.org>
8802
8803         IndexedDB: Implement IDBTransaction.error and IDBRequest.error
8804         https://bugs.webkit.org/show_bug.cgi?id=87865
8805
8806         Reviewed by Tony Chang.
8807
8808         IDBDatabaseError now honors IDB-specific DOMException codes,
8809         so make sure that's how they are passed to/from chromium.
8810
8811         * src/WebIDBDatabaseError.cpp:
8812         (WebKit::WebIDBDatabaseError::assign):
8813
8814 2012-05-30  Shawn Singh  <shawnsingh@chromium.org>
8815
8816         [chromium] Merge shared code in CCOcclusionTrackerTest
8817         https://bugs.webkit.org/show_bug.cgi?id=87798
8818
8819         Reviewed by Adrienne Walker.
8820
8821         This patch simple uses a different existing macro function so that
8822         the same thing doesn't exist in multiple places, and so that the
8823         naming is more consistent with gtest's conventions.
8824
8825         * tests/CCOcclusionTrackerTest.cpp:
8826         (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
8827         (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
8828         (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
8829         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
8830         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
8831         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
8832         (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
8833         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
8834         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
8835         (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
8836         (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
8837         (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
8838         (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
8839         (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
8840         (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
8841         (WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
8842         (WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
8843         (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
8844         (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
8845         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
8846         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
8847         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
8848         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
8849         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
8850         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
8851         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
8852         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
8853         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
8854         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
8855         (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
8856         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
8857         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
8858         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
8859         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
8860         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
8861         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
8862         (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
8863
8864 2012-05-30  Tony Chang  <tony@chromium.org>
8865
8866         [chromium] port webframe_unittest.cc to webkit_unit_tests
8867         https://bugs.webkit.org/show_bug.cgi?id=87796
8868
8869         Reviewed by James Robinson.
8870
8871         Move WebFrameTest.GetContentAsPlainText and WebFrameTest.GetFullHtmlOfPage to webkit_unit_tests.
8872
8873         * tests/WebFrameTest.cpp:
8874         (WebKit::TEST_F):
8875         (WebKit): Add tests.
8876
8877 2012-05-30  Jochen Eisinger  <jochen@chromium.org>
8878
8879         Match Firefox restrictions to window.blur and window.focus
8880         https://bugs.webkit.org/show_bug.cgi?id=86969
8881
8882         Reviewed by Adam Barth.
8883
8884         Allow window.focus() during the dispatch of the click event on
8885         notifications.
8886
8887         * src/WebNotification.cpp:
8888         (WebKit::WebNotification::dispatchClickEvent):
8889
8890 2012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
8891
8892         [Chromium] Move fileExists to Platform.h
8893         https://bugs.webkit.org/show_bug.cgi?id=87531
8894
8895         Reviewed by Adam Barth.
8896
8897         Part of a refactoring series. See tracking bug 82948.
8898
8899         * src/PlatformSupport.cpp:
8900         (WebCore):
8901
8902 2012-05-29  Alec Flett  <alecflett@chromium.org>
8903
8904         IndexedDB: Align codes and names for IDB-specific and DOM-specific errors/exceptions
8905         https://bugs.webkit.org/show_bug.cgi?id=87276
8906
8907         Reviewed by Tony Chang.
8908
8909         * public/WebIDBDatabaseException.h:
8910         * src/AssertMatchingEnums.cpp:
8911
8912 2012-05-29  Rafael Weinstein  <rafaelw@chromium.org>
8913
8914         Unreviewed.  Rolled DEPS.
8915
8916         * DEPS:
8917
8918 2012-05-29  Dana Jansens  <danakj@chromium.org>
8919
8920         [chromium] Unoccluded area in surfaces should always be clipped to the rootScissorRect
8921         https://bugs.webkit.org/show_bug.cgi?id=87677
8922
8923         Reviewed by Adrienne Walker.
8924
8925         * tests/CCOcclusionTrackerTest.cpp:
8926         (CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor):
8927         (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
8928         (WebKitTests):
8929
8930 2012-05-29  David Barr  <davidbarr@chromium.org>
8931
8932         Introduce ENABLE_CSS_IMAGE_RESOLUTION compile flag
8933         https://bugs.webkit.org/show_bug.cgi?id=87685
8934
8935         Reviewed by Eric Seidel.
8936
8937         Add a configuration option for CSS image-resolution support, disabling it by default.
8938
8939         * features.gypi:
8940
8941 2012-05-29  Peter Beverloo  <peter@chromium.org>
8942
8943         Unreviewed.  Rolled DEPS.
8944
8945         * DEPS:
8946
8947 2012-05-29  Hironori Bono  <hbono@chromium.org>
8948
8949         Use WebSpellCheckClient::spellcheck to retrieve suggestions.
8950         https://bugs.webkit.org/show_bug.cgi?id=87690
8951
8952         Reviewed by Hajime Morita.
8953
8954         This change uses WebSpellCheckClient::spellcheck as a fallback method to
8955         retrieve suggestions when a marker does not have any suggestions. (It consumes
8956         lots of CPU power to get suggestions for misspelled word, i.e. Chromium cannot
8957         afford to attach suggestions to all spelling markers.)
8958
8959         * src/ContextMenuClientImpl.cpp:
8960         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Retrieve suggestions if markers do not have any.
8961
8962 2012-05-28  Takashi Toyoshima  <toyoshim@chromium.org>
8963
8964         [WebSocket] Receiving reserved close codes, 1005, 1006, and 1015 must appear as code=1006 and wasClean=false
8965         https://bugs.webkit.org/show_bug.cgi?id=87084
8966
8967         Reviewed by Kent Tamura.
8968
8969         Update close event codes corresponding to WebSocketChannel::CloseEventCode.
8970
8971         * public/WebSocket.h: Update on newly defined close event codes
8972
8973 2012-05-28  MORITA Hajime  <morrita@google.com>
8974
8975         Rename FrameLoaderClient::shadowDOMAllowed() to allowShadowDOM()
8976         https://bugs.webkit.org/show_bug.cgi?id=87101
8977
8978         Reviewed by Kentaro Hara.
8979
8980         * src/FrameLoaderClientImpl.cpp:
8981         (WebKit::FrameLoaderClientImpl::allowShadowDOM):
8982         * src/FrameLoaderClientImpl.h:
8983         (FrameLoaderClientImpl):
8984
8985 2012-05-28  Rob Flack  <flackr@chromium.org>
8986
8987         [chromium] Only increase size of Combo Box Options when displayed on touch screen
8988         https://bugs.webkit.org/show_bug.cgi?id=85921
8989
8990         Reviewed by Adam Barth.
8991
8992         Adds a flag to set whether the current device is a touch screen, independent of whether touch events are supported and use this for the combo box sizing.
8993
8994         * public/WebSettings.h:
8995         * src/WebSettingsImpl.cpp:
8996         (WebKit::WebSettingsImpl::defaultDeviceScaleFactor):
8997         (WebKit):
8998         (WebKit::WebSettingsImpl::setDeviceSupportsTouch):
8999         (WebKit::WebSettingsImpl::deviceSupportsTouch):
9000         * src/WebSettingsImpl.h:
9001         (WebSettingsImpl):
9002         * src/WebViewImpl.cpp:
9003         (WebKit::WebViewImpl::applyAutofillSuggestions):
9004         * tests/PopupMenuTest.cpp:
9005         (WebKit::SelectPopupMenuTest::SetUp):
9006         (WebKit::SelectPopupMenuTest::TearDown):
9007         (SelectPopupMenuTest):
9008         (WebKit::TEST_F):
9009
9010 2012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
9011
9012         WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
9013         https://bugs.webkit.org/show_bug.cgi?id=42328
9014
9015         Reviewed by Eric Seidel.
9016
9017         Removed private APIs that were only being used by DRT.
9018
9019         * public/WebDevToolsAgent.h:
9020         (WebDevToolsAgent):
9021         * src/WebDevToolsAgentImpl.cpp:
9022         * src/WebDevToolsAgentImpl.h:
9023         (WebDevToolsAgentImpl):
9024
9025 2012-05-28  Peter Beverloo  <peter@chromium.org>
9026
9027         Unreviewed.  Rolled DEPS.
9028
9029         * DEPS:
9030
9031 2012-05-28  Peter Beverloo  <peter@chromium.org>
9032
9033         [Chromium] Build fix for the Android bot, set CXX_target at gyp generation-time
9034         https://bugs.webkit.org/show_bug.cgi?id=87649
9035
9036         Unreviewed build fix.
9037
9038         Chromium Android builds were broken because v8 tried to compile files
9039         for target with the "-m32" flag. This was caused by a v8 check falling
9040         back to using "which g++" to find the right compiler, whereas it should
9041         have used the $CXX_target environment variable. This isn't being set
9042         for Android builds.
9043
9044         * gyp_webkit: Set the CXX_target environment variable. Annotate the fix
9045           with a FIXME comment too.
9046
9047 2012-05-28  Keishi Hattori  <keishi@webkit.org>
9048
9049         Expose value localization function of HTMLInputElement
9050         https://bugs.webkit.org/show_bug.cgi?id=84356
9051
9052         Reviewed by Kent Tamura.
9053
9054         * public/WebInputElement.h:
9055         (WebInputElement):
9056         * src/WebInputElement.cpp:
9057         (WebKit::WebInputElement::localizeValue):
9058         (WebKit):
9059
9060 2012-05-28  MORITA Hajime <morrita@google.com>
9061
9062         Unreviewed Mac Chromium build fix.
9063
9064         * src/FrameLoaderClientImpl.cpp:
9065         (WebKit::FrameLoaderClientImpl::allowStyleScoped):
9066
9067 2012-05-28  MORITA Hajime  <morrita@google.com>
9068
9069         https://bugs.webkit.org/show_bug.cgi?id=87609
9070         [Chromium] FrameLoaderClient::allowStyleScoped() should be implemented interms of WebPermissionClient
9071
9072         Reviewed by Kent Tamura.
9073
9074         Added allowStyleScoped() implementation which is essentially same as shadowDOMAllowed().
9075
9076         * src/FrameLoaderClientImpl.cpp:
9077         * src/FrameLoaderClientImpl.h:
9078         (FrameLoaderClientImpl):
9079
9080 2012-05-25  Ryosuke Niwa  <rniwa@webkit.org>
9081
9082         Roll chromium DEPS from r139156 to r139184.
9083
9084         * DEPS:
9085
9086 2012-05-25  Garrett Casto  <gcasto@chromium.org>
9087
9088         Allow WebTextFieldDecoratorClient to see applied decorations.
9089         https://bugs.webkit.org/show_bug.cgi?id=86557
9090
9091         Reviewed by Kent Tamura.
9092
9093         * WebKit.gyp: Added new files.
9094         * public/WebInputElement.h:
9095         (WebKit::WebInputElement::decorationElementFor): Returns the
9096         WebElement attached to the WebInputElement by the given
9097         WebTextFieldDecoratorClient, if one exists.
9098         * src/TextFieldDecoratorImpl.cpp:
9099         (WebKit):
9100         * src/TextFieldDecoratorImpl.h:
9101         (TextFieldDecoratorImpl::decoratorClient): Get the
9102         WebTextFieldDecoratorClient owned by this object.
9103
9104 2012-05-25  Mihai Parparita  <mihaip@chromium.org>
9105
9106         Allow synchronous XHRs to be disabled in documents
9107         https://bugs.webkit.org/show_bug.cgi?id=87540
9108
9109         Reviewed by Eric Seidel.
9110
9111         Synchronous XMLHttpRequests are a problematic API, since they result
9112         in blocked UI threads. Some clients may wish to always disable them;
9113         give them a setting to do so (see also r103629 for other cases where
9114         synchronous XHRs are disabled).
9115
9116         * public/WebSettings.h:
9117         * src/WebSettingsImpl.cpp:
9118         (WebKit::WebSettingsImpl::setSyncXHRInDocumentsEnabled):
9119         (WebKit):
9120         * src/WebSettingsImpl.h:
9121         (WebSettingsImpl):
9122
9123 2012-05-25  Kinuko Yasuda  <kinuko@chromium.org>
9124
9125         [chromium] Deprecate FileUtilities::getFileSize and getFileModifiedTime in favor of getFileMetadata
9126         https://bugs.webkit.org/show_bug.cgi?id=87492
9127
9128         Reviewed by Adam Barth.
9129
9130         * src/PlatformSupport.cpp:
9131         (WebCore::PlatformSupport::getFileMetadata):
9132
9133 2012-05-25  Ryosuke Niwa  <rniwa@webkit.org>
9134
9135         Roll Chromium DEPS from r139024 to r139156 in an attempt to fix Chromium Win builds.
9136
9137         * DEPS:
9138
9139 2012-05-25  Mark Pilgrim  <pilgrim@chromium.org>
9140
9141         [Chomium] Move sandboxSupport to Platform.h
9142         https://bugs.webkit.org/show_bug.cgi?id=87518
9143
9144         Reviewed by Adam Barth.
9145
9146         Part of a refactoring series. See tracking bug 82948.
9147
9148         * WebKit.gyp:
9149         * public/platform/WebKitPlatformSupport.h:
9150         (WebKit):
9151         (WebKitPlatformSupport):
9152         * public/platform/android/WebSandboxSupport.h:
9153         * public/platform/linux/WebFontFamily.h:
9154         * public/platform/linux/WebSandboxSupport.h:
9155         * public/platform/mac/WebSandboxSupport.h:
9156         * public/platform/win/WebSandboxSupport.h:
9157         * src/PlatformSupport.cpp:
9158         (WebCore::PlatformSupport::ensureFontLoaded):
9159         (WebCore::PlatformSupport::loadFont):
9160         (WebCore::PlatformSupport::getFontFamilyForCharacters):
9161         (WebCore::PlatformSupport::getRenderStyleForStrike):
9162
9163 2012-05-25  Dana Jansens  <danakj@chromium.org>
9164
9165         [chromium] WebLayerTreeViewImpl should not hide methods in CCLayerTreeHost with signatures that match the Client interface
9166         https://bugs.webkit.org/show_bug.cgi?id=87301
9167
9168         Reviewed by James Robinson.
9169
9170         Most methods in the CCLayerTreeHostClient interface have a matching
9171         method signature on CCLayerTreeHost that simply calls the client, if
9172         one exists at all. However, CCLayerTreeHost::updateAnimations() does
9173         important work in addition to calling the client.
9174
9175         Currently WebLayerTreeViewImpl itself implements the interface for
9176         CCLayerTreeHostClient as well as CCLayerTreeHost, and simply forwards
9177         any call to a method in the client interface to its own client. This
9178         blocks WebViewImpl from calling CCLayerTreeHost::updateAnimations, since
9179         the method is also in the client interface.
9180
9181         We change WebLayerTreeViewImpl to own a CCLayerTreeHost and a
9182         WebLayerTreeHostClientAdapter. This fixes the shadowing by making
9183         the two interfaces separate, and resolves lifetime issues by
9184         ensuring that the CCLayerTreeHost is destroyed before its client.
9185
9186         * src/WebLayerTreeView.cpp:
9187         (WebKit::WebLayerTreeView::setSurfaceReady):
9188         (WebKit::WebLayerTreeView::setRootLayer):
9189         (WebKit::WebLayerTreeView::compositorIdentifier):
9190         (WebKit::WebLayerTreeView::setViewportSize):
9191         (WebKit::WebLayerTreeView::viewportSize):
9192         (WebKit::WebLayerTreeView::setBackgroundColor):
9193         (WebKit::WebLayerTreeView::setVisible):
9194         (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
9195         (WebKit::WebLayerTreeView::startPageScaleAnimation):
9196         (WebKit::WebLayerTreeView::setNeedsAnimate):
9197         (WebKit::WebLayerTreeView::setNeedsRedraw):
9198         (WebKit::WebLayerTreeView::commitRequested):
9199         (WebKit::WebLayerTreeView::composite):
9200         (WebKit::WebLayerTreeView::updateAnimations):
9201         (WebKit::WebLayerTreeView::compositeAndReadback):
9202         (WebKit::WebLayerTreeView::finishAllRendering):
9203         (WebKit::WebLayerTreeView::context):
9204         (WebKit::WebLayerTreeView::loseCompositorContext):
9205         * src/WebLayerTreeViewImpl.cpp:
9206         (WebKit):
9207         (WebLayerTreeViewClientAdapter):
9208         (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
9209         (WebKit::WebLayerTreeViewClientAdapter::~WebLayerTreeViewClientAdapter):
9210         (WebKit::WebLayerTreeViewImpl::create):
9211         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
9212         (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
9213         * src/WebLayerTreeViewImpl.h:
9214         (WebCore):
9215         (WebKit):
9216         (WebKit::WebLayerTreeViewImpl::layerTreeHost):
9217         (WebLayerTreeViewImpl):
9218
9219 2012-05-25  Kinuko Yasuda  <kinuko@chromium.org>
9220
9221         Unreviewed; rolling chromium deps.
9222
9223         * DEPS:
9224
9225 2012-05-25  W. James MacLean  <wjmaclean@chromium.org>
9226
9227         [chromium] LayerChromium should recognise existing layer active animations when the layer is added.
9228         https://bugs.webkit.org/show_bug.cgi?id=87166
9229
9230         Reviewed by Adrienne Walker.
9231
9232         * tests/CCLayerTreeHostTest.cpp:
9233         (WTF::MockLayerTreeHost::didAddAnimationWasCalled):
9234         (MockLayerTreeHost):
9235         (WTF::MockLayerTreeHost::MockLayerTreeHost):
9236         (WTF):
9237         (CCLayerTreeHostTestLayerAddedWithAnimation):
9238         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::CCLayerTreeHostTestLayerAddedWithAnimation):
9239         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
9240         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::afterTest):
9241
9242 2012-05-17  Andrey Kosyakov  <caseq@chromium.org>
9243
9244         [chromium] add instrumentation for compositing
9245         https://bugs.webkit.org/show_bug.cgi?id=83928
9246
9247         Reviewed by James Robinson.
9248
9249         - plumb willCommit() and didComposite() to inspector instrumentation via WebViewImpl.
9250
9251         * WebKit.gypi: Added WebLayerTreeViewTest
9252         * src/WebLayerTreeViewImpl.cpp:
9253         (WebKit::WebLayerTreeViewImpl::didBeginFrame):
9254         (WebKit):
9255         (WebKit::WebLayerTreeViewImpl::willCommit):
9256         * src/WebLayerTreeViewImpl.h:
9257         (WebLayerTreeViewImpl):
9258         * src/WebViewImpl.cpp:
9259         (WebKit::WebViewImpl::didBeginFrame):
9260         (WebKit):
9261         (WebKit::WebViewImpl::willCommit):
9262         * src/WebViewImpl.h:
9263         (WebViewImpl):
9264         * tests/CCLayerTreeHostTest.cpp:
9265         * tests/FakeCCLayerTreeHostClient.h:
9266         * tests/WebLayerTest.cpp:
9267         * tests/WebLayerTreeViewTest.cpp: Added.
9268
9269 2012-05-25  Peter Beverloo  <peter@chromium.org>
9270
9271         [Chromium] Pull in Android tools from Chromium's repo through the DEPS file
9272         https://bugs.webkit.org/show_bug.cgi?id=87478
9273
9274         Reviewed by Kent Tamura.
9275
9276         Chromium's r122048 added the forwarder tool, which forwards a TCP port
9277         listening on the device to a port on the host. This now is a required
9278         dependency of DumpRenderTree, so pull it in.
9279
9280         Since it's likely that more tools will be required, pull in the entire
9281         tools/android/ directory in case the Chromium port for Android is being
9282         checked out or updated.
9283
9284         * DEPS: Added Android-specific dependency on tools/android/
9285
9286 2012-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
9287
9288         Unreviewed, rolling out r118461.
9289         http://trac.webkit.org/changeset/118461
9290         https://bugs.webkit.org/show_bug.cgi?id=87468
9291
9292         Breaks two chromium browser_tests. (Requested by vsevik on
9293         #webkit).
9294
9295         * src/WebViewImpl.cpp:
9296         (WebKit::WebViewImpl::resize):
9297
9298 2012-05-24  Tim Horton  <timothy_horton@apple.com>
9299
9300         Add feature defines for web-facing parts of CSS Regions and Exclusions
9301         https://bugs.webkit.org/show_bug.cgi?id=87442
9302         <rdar://problem/10887709>
9303
9304         Reviewed by Dan Bernstein.
9305
9306         * features.gypi:
9307
9308 2012-05-24  Kent Tamura  <tkent@chromium.org>
9309
9310         PAGE_POPUP: window.setValueAndClosePopup should be moved to a
9311         per-context property of DOMWindow.
9312         https://bugs.webkit.org/show_bug.cgi?id=87086
9313
9314         Reviewed by Adam Barth.
9315
9316         * src/WebPagePopupImpl.cpp:
9317         (WebKit): Add PagePopupFrameLoaderClient, which allows window.pagePopupController.
9318         (WebKit::WebPagePopupImpl::initPage):
9319          - Use PagePopupFrameLoaderClient
9320          - Remove the call of ScriptController::installFunctionsForPagePopup().
9321          - Call DOMWindowPagePopup::install() to inform m_popupClient to a
9322            DOMWindowPagePopup object for the DOMWindow.
9323
9324 2012-05-21  Kinuko Yasuda  <kinuko@chromium.org>
9325
9326         Cleanup: add a file system call which captures the file metadata at once.
9327         https://bugs.webkit.org/show_bug.cgi?id=86995
9328
9329         Reviewed by David Levin.
9330
9331         * src/PlatformSupport.cpp:
9332         (WebCore::PlatformSupport::getFileMetadata):
9333         (WebCore):
9334
9335 2012-05-24  Hironori Bono  <hbono@chromium.org>
9336
9337         Enable grammar checking on Chromium when we paste text  (Take 2)
9338         https://bugs.webkit.org/show_bug.cgi?id=74393
9339
9340         Reviewed by Ryosuke Niwa.
9341
9342         This change enables grammar checking on Chromium and implements a mock grammar
9343         checker to fix a failing test.
9344
9345         * src/ContextMenuClientImpl.cpp:
9346         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Show suggestions when we right-click grammatically-misspelled words.
9347         * src/EditorClientImpl.cpp:
9348         (WebKit::EditorClientImpl::isGrammarCheckingEnabled): Enable grammar checking when we enable asynchronous spellchecking.
9349         (WebKit::EditorClientImpl::checkGrammarOfString): set badGrammarLocation to -1 to avoid an assertion error.
9350         * src/WebTextCheckingResult.cpp:
9351         (WebKit::WebTextCheckingResult::operator TextCheckingResult): Fill GrammarDetails for grammatical errors.
9352
9353 2012-05-24  Alexandre Elias  <aelias@google.com>
9354
9355         [chromium] Support mobile device rotation resizing
9356         https://bugs.webkit.org/show_bug.cgi?id=86819
9357
9358         Reviewed by Adam Barth.
9359
9360         Resizes on a mobile device are caused either by rotation or
9361         on-screen-keyboard bringup, and need different treatment to remain
9362         naturally laid out, scaled and scrolled without disorienting the user.
9363
9364         * src/WebViewImpl.cpp:
9365         (WebKit::WebViewImpl::resize):
9366
9367 2012-05-24  Antoine Labour  <piman@chromium.org>
9368
9369         [chromium] Add a setForceRenderSurface to WebLayer for test/bench purpose
9370         https://bugs.webkit.org/show_bug.cgi?id=87436
9371
9372         Reviewed by James Robinson.
9373
9374         * src/WebLayer.cpp:
9375         (WebKit::WebLayer::setForceRenderSurface):
9376         (WebKit):
9377         (WebKit::WebLayer::forceRenderSurface):
9378         * tests/CCLayerTreeHostCommonTest.cpp:
9379         (WebKitTests::TEST):
9380         (WebKitTests):
9381         * tests/LayerChromiumTest.cpp:
9382
9383 2012-05-24  Adam Barth  <abarth@webkit.org>
9384
9385         Fix the chromium-android build.
9386
9387         * features.gypi:
9388
9389 2012-05-24  John Mellor  <johnme@chromium.org>
9390
9391         Font Boosting: Add compile flag and runtime setting
9392         https://bugs.webkit.org/show_bug.cgi?id=87394
9393
9394         Reviewed by Adam Barth.
9395
9396         Expose fontBoostingEnabled runtime setting via WebSettings.
9397
9398         * features.gypi:
9399         * public/WebSettings.h:
9400         * src/WebSettingsImpl.cpp:
9401         (WebKit::WebSettingsImpl::setFontBoostingEnabled):
9402         (WebKit):
9403         * src/WebSettingsImpl.h:
9404         (WebSettingsImpl):
9405
9406 2012-05-24  Kinuko Yasuda  <kinuko@chromium.org>
9407
9408         Cleanup: introduce toFile() to reduce static cast from Blob to File
9409         https://bugs.webkit.org/show_bug.cgi?id=87234
9410
9411         Reviewed by Eric Seidel.
9412
9413         * src/WebDragData.cpp:
9414         (WebKit::WebDragData::items):
9415
9416 2012-05-24  Lu Guanqun  <guanqun.lu@intel.com>
9417
9418         use built-in data type DashArray
9419         https://bugs.webkit.org/show_bug.cgi?id=87344
9420
9421         Reviewed by Eric Seidel.
9422
9423         * tests/PlatformContextSkiaTest.cpp:
9424         (WebCore::TEST):
9425
9426 2012-05-24  Mark Pilgrim  <pilgrim@chromium.org>
9427
9428         [Chromium] Move queryLocalizedString to Platform.h
9429         https://bugs.webkit.org/show_bug.cgi?id=85762
9430
9431         Reviewed by Adam Barth.
9432
9433         Part of a refactoring series. See tracking bug 82948.
9434
9435         * WebKit.gyp:
9436         * public/platform/WebKitPlatformSupport.h:
9437         (WebKit::WebKitPlatformSupport::getPluginList):
9438         * public/platform/WebLocalizedString.h:
9439         * src/LocalizedStrings.cpp:
9440         (WebCore::query):
9441
9442 2012-05-24  Dana Jansens  <danakj@chromium.org>
9443
9444         [chromium] Only display frames created with memory allocations meant to be displayed
9445         https://bugs.webkit.org/show_bug.cgi?id=85108
9446
9447         Reviewed by Adrienne Walker.
9448
9449         Removing code to protect visible textures when a tab becomes invisible,
9450         as we want to reduce our memory limit for invisible tabs and these
9451         textures should not be saved.
9452
9453         * src/NonCompositedContentHost.cpp:
9454         * src/NonCompositedContentHost.h:
9455         (NonCompositedContentHost):
9456         * src/WebViewImpl.cpp:
9457         (WebKit::WebViewImpl::setVisibilityState):
9458         * tests/CCLayerTreeHostTest.cpp:
9459         (WTF::TestHooks::didCommit):
9460         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
9461         (WTF::CCLayerTreeHostTest::scheduleComposite):
9462         (WTF::CCLayerTreeHostTest::dispatchComposite):
9463         (CCLayerTreeHostTest):
9464         (WTF::CCLayerTreeHostTest::doBeginTest):
9465         (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
9466         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::willAnimateLayers):
9467         (CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
9468         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
9469         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::beginTest):
9470         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommitAndDrawFrame):
9471         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommit):
9472         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::commitCompleteOnCCThread):
9473         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::afterTest):
9474         (WTF):
9475
9476 2012-05-24  Sheriff Bot  <webkit.review.bot@gmail.com>
9477
9478         Unreviewed, rolling out r118352.
9479         http://trac.webkit.org/changeset/118352
9480         https://bugs.webkit.org/show_bug.cgi?id=87390
9481
9482         Caused 6 editing/spelling tests crash/fail on chromium in
9483         debug. (Requested by vsevik on #webkit).
9484
9485         * src/ContextMenuClientImpl.cpp:
9486         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
9487         * src/EditorClientImpl.cpp:
9488         (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
9489         * src/WebTextCheckingResult.cpp:
9490         (WebKit::WebTextCheckingResult::operator TextCheckingResult):
9491
9492 2012-05-24  Ian Vollick  <vollick@chromium.org>
9493
9494         [chromium] Forcibly sync running animations in the waiting state when synchronized start times are needed.
9495         https://bugs.webkit.org/show_bug.cgi?id=87153
9496
9497         Reviewed by James Robinson.
9498
9499         * tests/CCLayerAnimationControllerTest.cpp:
9500         (WebKitTests::TEST):
9501         (WebKitTests):
9502
9503 2012-05-23  Yury Semikhatsky  <yurys@chromium.org>
9504
9505         Web Inspector: add a command to InspectorMemoryAgent for getting process memory break down
9506         https://bugs.webkit.org/show_bug.cgi?id=87263
9507
9508         Reviewed by Pavel Feldman.
9509
9510         Added an API for retrieving render process private and shared memory in bytes.
9511
9512         * public/platform/WebKitPlatformSupport.h:
9513         (WebKitPlatformSupport):
9514         (WebKit::WebKitPlatformSupport::getProcessMemorySize):
9515         * src/PlatformSupport.cpp:
9516         (WebCore::PlatformSupport::getProcessMemorySize):
9517         (WebCore):
9518
9519 2012-05-24  Hironori Bono  <hbono@chromium.org>
9520
9521         Enable grammar checking on Chromium when we paste text.
9522         https://bugs.webkit.org/show_bug.cgi?id=74393
9523
9524         Reviewed by Hajime Morita.
9525
9526         This change enables grammar checking on Chromium and implements a mock grammar
9527         checker to fix a failing test.
9528
9529         * src/ContextMenuClientImpl.cpp:
9530         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Show suggestions when we right-click grammatically-misspelled words.
9531         * src/EditorClientImpl.cpp:
9532         (WebKit::EditorClientImpl::isGrammarCheckingEnabled): Enable grammar checking when we enable asynchronous spellchecking.
9533         * src/WebTextCheckingResult.cpp:
9534         (WebKit::WebTextCheckingResult::operator TextCheckingResult): Fill GrammarDetails for grammatical errors.
9535
9536 2012-05-24  Vivek Galatage  <vivekgalatage@gmail.com>
9537
9538         Web Inspector: localStorage items are not updated when the storage changes
9539         https://bugs.webkit.org/show_bug.cgi?id=83012
9540
9541         Reviewed by Pavel Feldman.
9542
9543         Instrumented the DOM Storage Events in order to update the frontend.
9544
9545         * src/StorageAreaProxy.cpp:
9546         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
9547         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
9548
9549 2012-05-23  Ojan Vafai  <ojan@chromium.org>
9550
9551         add back the ability to disable flexbox
9552         https://bugs.webkit.org/show_bug.cgi?id=87147
9553
9554         Reviewed by Tony Chang.
9555
9556         * features.gypi:
9557
9558 2012-05-23  Dana Jansens  <danakj@chromium.org>
9559
9560         [chromium] Enable the CCLayerTreeHostTestCanDrawBlocksDrawing test in single-threaded mode
9561         https://bugs.webkit.org/show_bug.cgi?id=87308
9562
9563         Reviewed by James Robinson.
9564
9565         Chromium bug: http://crbug.com/127481
9566
9567         Unit test: CCLayerTreeHostTestCanDrawBlocksDrawing.runSingleThread
9568
9569         * tests/CCLayerTreeHostTest.cpp:
9570         (WTF::TestHooks::didCommit):
9571         (WTF):
9572         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::didCommit):
9573
9574 2012-05-23  James Robinson  <jamesr@chromium.org>
9575
9576         Add a Setting to make position:fixed form a new stacking context
9577         https://bugs.webkit.org/show_bug.cgi?id=87186
9578
9579         Reviewed by Adam Barth.
9580
9581         * public/WebSettings.h:
9582         * src/WebSettingsImpl.cpp:
9583         (WebKit::WebSettingsImpl::setFixedPositionCreatesStackingContext):
9584         (WebKit):
9585         * src/WebSettingsImpl.h:
9586         (WebSettingsImpl):
9587
9588 2012-05-23  James Robinson  <jamesr@chromium.org>
9589
9590         [chromium] Turn ENABLE(OVERFLOW_SCROLLING) off for Chromium port
9591         https://bugs.webkit.org/show_bug.cgi?id=87177
9592
9593         Reviewed by Eric Seidel.
9594
9595         Removes ENABLE(OVERFLOW_SCROLLING) from the set of enables set by Chromium. This guards a new non-standard
9596         CSS property, -webkit-overflow-scrolling, that was introduced by iOS5 intended for mobile browsers. This
9597         property is very partially implemented in Chromium but the way it's implemented does cause new stacking contexts
9598         to be created that otherwise would not be, breaking "desktop" pages.
9599
9600         This turns the feature off until we can figure out how to deal with the compatibility issues.
9601
9602         * features.gypi:
9603
9604 2012-05-23  Jay Civelli  <jcivelli@chromium.org>
9605
9606         [chromium] Provides a way to cancel an external popup menu before it is shown.
9607         https://bugs.webkit.org/show_bug.cgi?id=83474
9608
9609         Reviewed by Kent Tamura.
9610
9611         * src/ExternalPopupMenu.cpp:
9612         (WebKit::ExternalPopupMenu::show):
9613
9614 2012-05-23  Michael Nordman  <michaeln@google.com>
9615
9616         [chromium] DomStorage events handling needs TLC (3)
9617         https://bugs.webkit.org/show_bug.cgi?id=87031
9618         https://code.google.com/p/chromium/issues/detail?id=128482
9619         Only queue storage events for Documents which have allocated
9620         a WebCore::Storage instance since pages that have attached onstorage
9621         event handlers must have a non-null Storage instance.
9622
9623         Reviewed by Adam Barth.
9624
9625         * src/StorageAreaProxy.cpp:
9626         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
9627         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
9628         (WebCore::StorageAreaProxy::isEventSource):
9629
9630 2012-05-23  Sheriff Bot  <webkit.review.bot@gmail.com>
9631
9632         Unreviewed, rolling out r118218.
9633         http://trac.webkit.org/changeset/118218
9634         https://bugs.webkit.org/show_bug.cgi?id=87299
9635
9636         breaks webkit win builder (Requested by pilgrim_google__ on
9637         #webkit).
9638
9639         * WebKit.gyp:
9640         * public/platform/WebKitPlatformSupport.h:
9641         (WebKitPlatformSupport):
9642         (WebKit::WebKitPlatformSupport::queryLocalizedString):
9643         * public/platform/WebLocalizedString.h:
9644         (WebKit):
9645         * src/LocalizedStrings.cpp:
9646         (WebCore::query):
9647
9648 2012-05-23  Mark Pilgrim  <pilgrim@chromium.org>
9649
9650         [Chromium] Move themeEngine to Platform.h
9651         https://bugs.webkit.org/show_bug.cgi?id=87268
9652
9653         Reviewed by Adam Barth.
9654
9655         Part of a refactoring series. See tracking bug 82948.
9656
9657         * WebKit.gyp:
9658         * public/platform/WebKitPlatformSupport.h:
9659         (WebKit):
9660         (WebKit::WebKitPlatformSupport::sandboxSupport):
9661         * public/platform/android/WebThemeEngine.h:
9662         * public/platform/linux/WebThemeEngine.h:
9663         * public/platform/mac/WebThemeEngine.h:
9664         * public/platform/win/WebThemeEngine.h:
9665         * src/AssertMatchingEnums.cpp:
9666         * src/PlatformSupport.cpp:
9667         (WebCore::PlatformSupport::paintButton):
9668         (WebCore::PlatformSupport::paintMenuList):
9669         (WebCore::PlatformSupport::paintScrollbarArrow):
9670         (WebCore::PlatformSupport::paintScrollbarThumb):
9671         (WebCore::PlatformSupport::paintScrollbarTrack):
9672         (WebCore::PlatformSupport::paintSpinButton):
9673         (WebCore::PlatformSupport::paintTextField):
9674         (WebCore::PlatformSupport::paintTrackbar):
9675         (WebCore::PlatformSupport::paintProgressBar):
9676         (WebCore::PlatformSupport::getThemePartSize):
9677         (WebCore::PlatformSupport::paintThemePart):
9678
9679 2012-05-23  Raymes Khoury  <raymes@chromium.org>
9680
9681         Change acceptMIMETypes member to acceptTypes now that file extensions are legal accept types
9682         https://bugs.webkit.org/show_bug.cgi?id=87271
9683
9684         Reviewed by Darin Fisher.
9685
9686         * public/WebFileChooserParams.h:
9687         (WebFileChooserParams):
9688         * src/ChromeClientImpl.cpp:
9689         (WebKit::ChromeClientImpl::runOpenPanel):
9690
9691 2012-05-23  Dana Jansens  <danakj@chromium.org>
9692
9693         [chromium] Layers on main thread should get a RenderSurface for animating transform only if masksToBounds is true also
9694         https://bugs.webkit.org/show_bug.cgi?id=87184
9695
9696         Reviewed by James Robinson.
9697
9698         * tests/CCLayerTreeHostCommonTest.cpp:
9699         (WebKitTests::TEST):
9700
9701 2012-05-23  Mark Pilgrim  <pilgrim@chromium.org>
9702
9703         [Chromium] Move queryLocalizedString to Platform.h
9704         https://bugs.webkit.org/show_bug.cgi?id=85762
9705
9706         Reviewed by Adam Barth.
9707
9708         Part of a refactoring series. See tracking bug 82948.
9709
9710         * WebKit.gyp:
9711         * public/platform/WebKitPlatformSupport.h:
9712         (WebKit::WebKitPlatformSupport::getPluginList):
9713         * public/platform/WebLocalizedString.h:
9714         * src/LocalizedStrings.cpp:
9715         (WebCore::query):
9716
9717 2012-05-23  Antti Koivisto  <antti@apple.com>
9718
9719         Build fix.
9720
9721         Not reviewed.
9722
9723         * src/WebDocument.cpp:
9724         (WebKit::WebDocument::insertUserStyleSheet):
9725
9726 2012-05-22  Alexandre Elias  <aelias@google.com>
9727
9728         [chromium] Apply viewport tag initial-scale only once
9729         https://bugs.webkit.org/show_bug.cgi?id=82949
9730
9731         Reviewed by Adam Barth.
9732
9733         First, check that isPageScaleFactorSet return false before setting
9734         initial-scale. We need to call dispatchViewportPropertiesDidChange()
9735         when the viewport width changes, since that's an input to the viewport
9736         tag calculation. When this happens, we shouldn't pop back to initial
9737         scale.
9738
9739         Second, check that isNewNavigation is true when deciding to clear
9740         isPageScaleFactorIsSet in didCommitLoad. We only want to clear it on
9741         the very first commit, otherwise we'll pop back to initial scale if
9742         the user zooms in before the load is complete.
9743
9744         New test WebFrameTest::FixedLayoutInitializeAtMinimumPageScale.
9745
9746         * src/ChromeClientImpl.cpp:
9747         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
9748         * src/WebViewImpl.cpp:
9749         (WebKit::WebViewImpl::didCommitLoad):
9750
9751 2012-05-21  Shawn Singh  <shawnsingh@chromium.org>
9752
9753         Improve W3C conformance of backface-visibility
9754         https://bugs.webkit.org/show_bug.cgi?id=84195
9755
9756         Reviewed by Adrienne Walker.
9757
9758         * tests/CCLayerTreeHostCommonTest.cpp:
9759         (WebKitTests::TEST):
9760         (WebKitTests):
9761
9762 2012-05-22  Sheriff Bot  <webkit.review.bot@gmail.com>
9763
9764         Unreviewed, rolling out r118095.
9765         http://trac.webkit.org/changeset/118095
9766         https://bugs.webkit.org/show_bug.cgi?id=87201
9767
9768         "Causing crashes on Mac in
9769         WebCore::StyleResolver::adjustRenderStyle (Requested by
9770         sundiamonde on #webkit).
9771
9772         * public/WebSettings.h:
9773         * src/WebSettingsImpl.cpp:
9774         * src/WebSettingsImpl.h:
9775         (WebSettingsImpl):
9776
9777 2012-05-22  Xianzhu Wang  <wangxianzhu@chromium.org>
9778
9779         [Chromium-Android] Run DumpRenderTree as an apk (C++ and gyp part)
9780         https://bugs.webkit.org/show_bug.cgi?id=86922
9781
9782         Reviewed by Kent Tamura.
9783
9784         * All.gyp: Added DumpRenderTree_apk into dependencies for Android.
9785
9786 2012-05-22  Mark Pilgrim  <pilgrim@chromium.org>
9787
9788         [Chromium] Call canAccelerate2dCanvas directly
9789         https://bugs.webkit.org/show_bug.cgi?id=86893
9790
9791         Reviewed by James Robinson.
9792
9793         Part of a refactoring series. See tracking bug 82948.
9794
9795         * public/platform/WebKitPlatformSupport.h:
9796         (WebKitPlatformSupport):
9797         * src/PlatformSupport.cpp:
9798         (WebCore):
9799
9800 2012-05-22  Dana Jansens  <danakj@chromium.org>
9801
9802         [chromium] Don't drop children of a RenderSurface from the renderSurfaceLayerList when then position of the surface in its clipRect is not known
9803         https://bugs.webkit.org/show_bug.cgi?id=87181
9804
9805         Reviewed by Adrienne Walker.
9806
9807         * tests/CCLayerTreeHostCommonTest.cpp:
9808         (WebKitTests::TEST):
9809         (WebKitTests):
9810
9811 2012-05-22  MORITA Hajime  <morrita@google.com>
9812
9813         [Chromium][API] Introduce WebPermissionClient::allowWebComponents()
9814         https://bugs.webkit.org/show_bug.cgi?id=87097
9815
9816         Reviewed by Kent Tamura.
9817
9818         - Added WebPermissionClient::allowWebComponents(), and
9819         - Implemented FrameLoaderClientImpl::shadowDOMAllowed() using it.
9820
9821         * public/WebPermissionClient.h:
9822         (WebPermissionClient):
9823         (WebKit::WebPermissionClient::allowWebComponents):
9824         * src/FrameLoaderClientImpl.cpp:
9825         (WebKit::FrameLoaderClientImpl::shadowDOMAllowed):
9826         (WebKit):
9827         * src/FrameLoaderClientImpl.h:
9828         (FrameLoaderClientImpl):
9829
9830 2012-05-22  James Robinson  <jamesr@chromium.org>
9831
9832         Add a Setting to make position:fixed form a new stacking context
9833         https://bugs.webkit.org/show_bug.cgi?id=87186
9834
9835         Reviewed by Adam Barth.
9836
9837         * public/WebSettings.h:
9838         * src/WebSettingsImpl.cpp:
9839         (WebKit::WebSettingsImpl::setFixedPositionCreatesStackingContext):
9840         (WebKit):
9841         * src/WebSettingsImpl.h:
9842         (WebSettingsImpl):
9843
9844 2012-05-22  Dana Jansens  <danakj@chromium.org>
9845
9846         [chromium] Don't force the visibleLayerRect to be empty for animating layers whose front face is not visible
9847         https://bugs.webkit.org/show_bug.cgi?id=86886
9848
9849         Reviewed by Adrienne Walker.
9850
9851         * tests/CCLayerTreeHostCommonTest.cpp:
9852         (WebKitTests::TEST):
9853
9854 2012-05-22  Mark Pilgrim  <pilgrim@chromium.org>
9855
9856         [Chromium] Move cookieJar to Platform.h
9857         https://bugs.webkit.org/show_bug.cgi?id=86755
9858
9859         Reviewed by Adam Barth.
9860
9861         Part of a refactoring series. See tracking bug 82948.
9862
9863         * WebKit.gyp:
9864         * public/platform/WebCookie.h:
9865         * public/platform/WebCookieJar.h:
9866         * public/platform/WebKitPlatformSupport.h:
9867         (WebKit):
9868         (WebKit::WebKitPlatformSupport::themeEngine):
9869         * src/PlatformSupport.cpp:
9870         (WebCore::getCookieJar):
9871
9872 2012-05-22  Jochen Eisinger  <jochen@chromium.org>
9873
9874         Unreviewed.  Rolled DEPS.
9875
9876         * DEPS:
9877
9878 2012-05-22  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
9879
9880         [Chromium] Use overloaded printBegin() webkit API to support auto fit to page functionality.
9881         https://bugs.webkit.org/show_bug.cgi?id=86684
9882
9883         Reviewed by Darin Fisher.
9884
9885         * public/WebFrame.h:
9886         (WebFrame):
9887         * public/WebPlugin.h:
9888         (WebPlugin):
9889         * public/WebPrintParams.h:
9890         (WebKit::WebPrintParams::WebPrintParams):
9891         (WebPrintParams):
9892         * src/WebFrameImpl.cpp:
9893         (WebKit):
9894         * src/WebFrameImpl.h:
9895         (WebFrameImpl):
9896         * src/WebPluginContainerImpl.cpp:
9897         (WebKit::WebPluginContainerImpl::printBegin):
9898
9899 2012-05-22  Adam Barth  <abarth@webkit.org>
9900
9901         [Chromium] Expose setMediaPlaybackRequiresUserGesture via WebSettings
9902         https://bugs.webkit.org/show_bug.cgi?id=87164
9903
9904         Reviewed by Eric Seidel.
9905
9906         This is used by the Chromium Android port.
9907
9908         * public/WebSettings.h:
9909         * src/WebSettingsImpl.cpp:
9910         (WebKit::WebSettingsImpl::setMediaPlaybackRequiresUserGesture):
9911         (WebKit):
9912         * src/WebSettingsImpl.h:
9913         (WebSettingsImpl):
9914
9915 2012-05-21  Shawn Singh  <shawnsingh@chromium.org>
9916
9917         [chromium] Add unit testing for WebTransformationMatrix::blend()
9918         https://bugs.webkit.org/show_bug.cgi?id=87066
9919
9920         Reviewed by Adrienne Walker.
9921
9922         8 more unit tests added:
9923         WebTransformationMatrixTest.verifyBlendForTranslation
9924         WebTransformationMatrixTest.verifyBlendForScale
9925         WebTransformationMatrixTest.verifyBlendForSkewX
9926         WebTransformationMatrixTest.verifyBlendForSkewY
9927         WebTransformationMatrixTest.verifyBlendForRotationAboutX
9928         WebTransformationMatrixTest.verifyBlendForRotationAboutY
9929         WebTransformationMatrixTest.verifyBlendForRotationAboutZ
9930         WebTransformationMatrixTest.verifyBlendForCompositeTransform
9931
9932         * tests/WebTransformationMatrixTest.cpp:
9933         (WebKit::TEST):
9934         (WebKit):
9935         (WebKit::printTransform):
9936
9937 == Rolled over to ChangeLog-2012-05-22 ==