2 2012-07-29 Lu Guanqun <guanqun.lu@intel.com>
4 2013-02-21 John Mellor <johnme@chromium.org>
6 [chromium] Simplify computation of screenRect/windowRect.
7 https://bugs.webkit.org/show_bug.cgi?id=110456
9 Reviewed by Adam Barth.
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.
16 * src/ChromeClientImpl.cpp:
17 (WebKit::ChromeClientImpl::windowRect):
19 2013-02-21 Vsevolod Vlasov <vsevik@chromium.org>
20 >>>>>>> 91ba1f4... [chromium] Simplify computation of screenRect/windowRect.
22 [chromium] pass acceleratePainting info to settings
23 https://bugs.webkit.org/show_bug.cgi?id=92467
25 Reviewed by Eric Seidel.
27 The acceleratePainting info is not passed into settings correctly so
28 that GPU composition would not use the code path of accelerated painting.
30 * src/WebLayerTreeView.cpp:
31 (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
33 2012-07-29 Rik Cabanier <cabanier@adobe.com>
35 Add ENABLE_CSS_COMPOSITING flag
36 https://bugs.webkit.org/show_bug.cgi?id=92553
38 Reviewed by Dirk Schulze.
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
44 2012-07-28 Peter Kasting <pkasting@google.com>
46 Sigh. Just disable all the AutoResize tests after the first three.
47 https://bugs.webkit.org/show_bug.cgi?id=92318
49 Unreviewed, making bots happier.
51 * tests/WebViewTest.cpp:
53 2012-07-28 Peter Kasting <pkasting@google.com>
55 Try disabling different test in hopes of tracking down the real problem.
56 https://bugs.webkit.org/show_bug.cgi?id=92318
58 Unreviewed, making bots happier.
60 * tests/WebViewTest.cpp:
62 2012-07-27 Peter Kasting <pkasting@google.com>
65 https://bugs.webkit.org/show_bug.cgi?id=92318
67 Unreviewed, making bots happier.
69 * tests/WebViewTest.cpp:
71 2012-07-27 Scott Graham <scottmg@chromium.org>
73 Change navigator.webkitGamepads[] to navigator.webkitGetGamepads()
74 https://bugs.webkit.org/show_bug.cgi?id=92533
76 Reviewed by Adam Barth.
78 Renames for updated access point.
80 * src/WebRuntimeFeatures.cpp:
81 (WebKit::WebRuntimeFeatures::enableGamepad):
82 (WebKit::WebRuntimeFeatures::isGamepadEnabled):
84 2012-07-27 Kevin Ellis <kevers@chromium.org>
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
89 Reviewed by Kent Tamura.
91 Plumbs the deviceSupportsTouch setting through to the popup page so
92 that the Calendar popup can be enlarged on screens that support touch
95 * src/WebPagePopupImpl.cpp:
96 (WebKit::WebPagePopupImpl::initPage):
98 2012-07-27 Peter Beverloo <peter@chromium.org>
100 Unreviewed. Rolled DEPS.
104 2012-07-27 Oli Lan <olilan@chromium.org>
106 [chromium] Fix issues in visiblePositionForWindowPoint (offscreen points / iframes).
107 https://bugs.webkit.org/show_bug.cgi?id=79117
109 Fix two issues in WebFrameImpl::visiblePositionForWindowPoint.
111 1) If the point is off-screen, the visiblePosition is clipped to the screen.
112 - The fix is to add HitTestRequest::IgnoreClipping.
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.
119 Reviewed by Adam Barth.
121 * src/WebFrameImpl.cpp:
122 (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
124 2012-07-27 Peter Beverloo <peter@chromium.org>
126 Unreviewed. Rolled DEPS.
130 2012-07-27 Alec Flett <alecflett@chromium.org>
132 IndexedDB: inject index keys on cursor/objectstore/index get success handlers
133 https://bugs.webkit.org/show_bug.cgi?id=91123
135 Reviewed by Tony Chang.
137 Remove method no longer used.
139 * tests/IDBFakeBackingStore.h:
141 2012-07-26 Yoshifumi Inoue <yosin@chromium.org>
143 [Forms] Introduce runtime feature flags for input type datetime, datetimelocal, month, time, week
144 https://bugs.webkit.org/show_bug.cgi?id=92339
146 Reviewed by Kent Tamura.
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
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.
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.
173 2012-07-26 Sheriff Bot <webkit.review.bot@gmail.com>
175 Unreviewed, rolling out r123799.
176 http://trac.webkit.org/changeset/123799
177 https://bugs.webkit.org/show_bug.cgi?id=92431
179 broke the Apple Mac build (Requested by bweinstein on
182 * src/WebInputEventConversion.cpp:
184 * src/WebInputEventConversion.h:
186 * src/WebPluginContainerImpl.cpp:
187 (WebKit::WebPluginContainerImpl::handleEvent):
188 * src/WebPluginContainerImpl.h:
189 (WebPluginContainerImpl):
191 2012-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
193 Propagate gesture events to plugins.
194 https://bugs.webkit.org/show_bug.cgi?id=92281
196 Reviewed by Adam Barth.
198 Propagate gesture events to plugins.
200 * src/WebInputEventConversion.cpp:
202 (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
203 * src/WebInputEventConversion.h:
206 (WebGestureEventBuilder):
207 * src/WebPluginContainerImpl.cpp:
208 (WebKit::WebPluginContainerImpl::handleEvent):
209 * src/WebPluginContainerImpl.h:
211 (WebPluginContainerImpl):
213 2012-07-26 Adrienne Walker <enne@google.com>
215 [chromium] Remove redundant surface origin transforms
216 https://bugs.webkit.org/show_bug.cgi?id=91815
218 Reviewed by Stephen White.
220 Clean up use of origin transforms in tests. Where possible, test
221 against the equivalent draw transform.
223 * tests/CCLayerTreeHostCommonTest.cpp:
224 * tests/CCLayerTreeHostImplTest.cpp:
225 * tests/CCRenderSurfaceTest.cpp:
227 2012-07-25 David Grogan <dgrogan@chromium.org>
229 IndexedDB: WebKit API interfaces for "upgradeneeded" methods and events
230 https://bugs.webkit.org/show_bug.cgi?id=92203
232 Reviewed by Adam Barth.
234 This is the beginning of our typical three-sided-patch process.
236 * public/WebIDBCallbacks.h:
237 (WebKit::WebIDBCallbacks::onBlocked):
238 (WebKit::WebIDBCallbacks::onUpgradeNeeded):
239 * public/WebIDBDatabaseCallbacks.h:
240 (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
241 * public/WebIDBFactory.h:
243 (WebKit::WebIDBFactory::open):
244 * src/WebIDBFactoryImpl.cpp:
245 (WebKit::WebIDBFactoryImpl::open):
247 * src/WebIDBFactoryImpl.h:
250 2012-07-19 Adrienne Walker <enne@google.com>
252 [chromium] Make all compositor screen space transforms operate on content rects
253 https://bugs.webkit.org/show_bug.cgi?id=91807
255 Reviewed by Kenneth Russell.
257 Update tests that deal with screen space transforms to reflect this change.
259 * tests/CCLayerTreeHostCommonTest.cpp:
260 * tests/TiledLayerChromiumTest.cpp:
262 2012-07-25 Andrew Wilson <atwilson@chromium.org>
264 Unreviewed chromium change to disable failing WebViewTest.AutoResizeInBetweenSizes.
265 https://bugs.webkit.org/show_bug.cgi?id=92318
267 * tests/WebViewTest.cpp:
269 2012-07-25 Scott Graham <scottmg@chromium.org>
271 [Chromium] fix double->float warnings in CCLayerTreeHostCommonTest.cpp
272 https://bugs.webkit.org/show_bug.cgi?id=92271
274 Reviewed by Adrienne Walker.
276 Fix compile warnings on Windows.
278 * tests/CCLayerTreeHostCommonTest.cpp:
280 2012-07-25 Dana Jansens <danakj@chromium.org>
282 [chromium] Move WebFilterOperations from RenderPassDrawQuad to RenderPass
283 https://bugs.webkit.org/show_bug.cgi?id=91885
285 Reviewed by Adrienne Walker.
287 * tests/CCLayerTreeHostImplTest.cpp:
288 * tests/LayerRendererChromiumTest.cpp:
289 (FakeCCRendererClient::FakeCCRendererClient):
290 (FakeCCRendererClient::rootRenderPass):
291 (FakeCCRendererClient::renderPassesInDrawOrder):
292 (FakeCCRendererClient::renderPasses):
293 (FakeCCRendererClient):
297 2012-07-24 Shawn Singh <shawnsingh@chromium.org>
299 [chromium] Refactor CCLayerTreeHostCommon: move root layer special case initialization into internal code.
300 https://bugs.webkit.org/show_bug.cgi?id=88953
302 Reviewed by Adrienne Walker.
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.
309 * tests/CCDamageTrackerTest.cpp:
310 (WebKitTests::executeCalculateDrawTransformsAndVisibility):
311 * tests/CCLayerIteratorTest.cpp:
312 * tests/CCLayerTreeHostCommonTest.cpp:
313 * tests/CCOcclusionTrackerTest.cpp:
314 (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
316 2012-07-25 Taiju Tsuiki <tzik@chromium.org>
318 FileSystem should provide a way to delete filesystem.
319 https://bugs.webkit.org/show_bug.cgi?id=91861
321 Reviewed by Adam Barth.
323 * public/WebFrameClient.h:
325 (WebKit::WebFrameClient::deleteFileSystem):
326 * src/LocalFileSystemChromium.cpp: Add deleteFileSystem
327 (WebCore::deleteFileSystemNotAllowed):
329 (WebCore::LocalFileSystem::deleteFileSystem):
331 2012-07-25 Alok Priyadarshi <alokp@chromium.org>
333 [chromium] WebViewBenchmarkSupport::paint API does not work with recording canvas
334 https://bugs.webkit.org/show_bug.cgi?id=92008
336 Reviewed by Darin Fisher.
338 Moved the ownership of canvas to WebViewBenchmarkSupport::PaintClient.
340 * public/WebViewBenchmarkSupport.h:
342 (WebKit::WebViewBenchmarkSupport::PaintClient::willPaint):
343 (WebKit::WebViewBenchmarkSupport::PaintClient::didPaint):
344 * src/WebViewBenchmarkSupportImpl.cpp:
345 (WebKit::WebViewBenchmarkSupportImpl::paintLayer):
346 (WebKit::WebViewBenchmarkSupportImpl::softwarePaint):
348 2012-07-24 Dana Jansens <danakj@chromium.org>
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
353 Reviewed by Adrienne Walker.
355 * tests/LayerRendererChromiumTest.cpp:
358 2012-07-25 Adrienne Walker <enne@google.com>
360 [chromium] Unify compositor quadTransform/drawTransform/originTransform
361 https://bugs.webkit.org/show_bug.cgi?id=91417
363 Reviewed by Kenneth Russell.
365 Clean up tests to refer to the new draw transform semantics.
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:
379 2012-07-25 Kevin Ellis <kevers@chromium.org>
381 [chromium] Calendar picker popup displays at wrong scale when deviceScaleFactor != 1.
382 https://bugs.webkit.org/show_bug.cgi?id=92177
384 Manually tested at deviceScaleFactor = 1 and 2.
386 Reviewed by Kent Tamura.
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.
392 * src/WebPagePopupImpl.cpp:
393 (WebKit::WebPagePopupImpl::initPage):
395 2012-07-25 MORITA Hajime <morrita@google.com>
397 Another unreviewed win build fix against r123569.
399 * tests/IDBAbortOnCorruptTest.cpp:
401 2012-07-25 MORITA Hajime <morrita@google.com>
403 Unreviewed win build fix against r123569.
405 * tests/IDBAbortOnCorruptTest.cpp:
406 * tests/IDBDatabaseBackendTest.cpp:
408 2012-07-24 Sheriff Bot <webkit.review.bot@gmail.com>
410 Unreviewed. Rolled DEPS.
414 2012-07-24 Dave Tu <dtu@chromium.org>
416 [chromium] Move renderingStats from WebView to WebWidget.
417 https://bugs.webkit.org/show_bug.cgi?id=92184
419 Reviewed by Adam Barth.
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.
426 * public/WebWidget.h:
429 (WebKit::WebWidget::renderingStats):
433 2012-07-24 Alec Flett <alecflett@chromium.org>
435 IndexedDB: fix #include dependencies so IDBRequest isn't an include root
436 https://bugs.webkit.org/show_bug.cgi?id=92167
438 Reviewed by Tony Chang.
440 Remove implicit dependencies due to using IDBRequest.h, and fix all
441 places that break as a result.
443 * src/IDBCallbacksProxy.cpp:
444 * src/WebIDBDatabaseImpl.cpp:
445 * src/WebIDBTransactionImpl.cpp:
447 2012-07-24 Adam Barth <abarth@webkit.org>
449 [Chromium] Support scrolling and zooming to focused input elements
450 https://bugs.webkit.org/show_bug.cgi?id=91661
452 Reviewed by Darin Fisher.
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.
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.
467 * src/WebViewImpl.cpp:
468 (WebKit::WebViewImpl::WebViewImpl):
469 (WebKit::WebViewImpl::saveScrollAndScaleState):
471 (WebKit::WebViewImpl::restoreScrollAndScaleState):
472 (WebKit::WebViewImpl::resetSavedScrollAndScaleState):
473 (WebKit::WebViewImpl::didCommitLoad):
477 2012-07-24 Dave Tu <dtu@chromium.org>
479 [chromium] Add time spent painting to GPU benchmarking renderingStats() API.
480 https://bugs.webkit.org/show_bug.cgi?id=90019
482 Reviewed by Adrienne Walker.
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:
492 (FakeTiledLayerChromium):
493 * tests/Canvas2DLayerBridgeTest.cpp:
494 * tests/ContentLayerChromiumTest.cpp:
496 * tests/TiledLayerChromiumTest.cpp:
498 2012-07-24 Jian Li <jianli@chromium.org>
500 Add per-context setting for html notifications
501 https://bugs.webkit.org/show_bug.cgi?id=91295
503 Reviewed by Adam Barth.
505 Add new per-context feature for chromium port.
507 * public/WebPermissionClient.h:
508 (WebPermissionClient):
509 (WebKit::WebPermissionClient::allowHTMLNotifications):
510 * src/ContextFeaturesClientImpl.cpp:
511 (WebKit::ContextFeaturesClientImpl::askIfIsEnabled):
513 2012-07-24 Sheriff Bot <webkit.review.bot@gmail.com>
515 Unreviewed, rolling out r123499.
516 http://trac.webkit.org/changeset/123499
517 https://bugs.webkit.org/show_bug.cgi?id=92161
519 Android fails to compile (Requested by zhenyao on #webkit).
521 * src/AssertMatchingEnums.cpp:
523 2012-07-24 Terry Anderson <tdanderson@chromium.org>
525 [chromium] Add a bounding box member in WebGestureEvent
526 https://bugs.webkit.org/show_bug.cgi?id=92144
528 Reviewed by Adam Barth.
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.)
534 * public/WebInputEvent.h:
536 * src/WebInputEvent.cpp:
537 (SameSizeAsWebGestureEvent):
539 2012-07-24 Nico Weber <thakis@chromium.org>
541 [chromium/mac] Add cursor resource pngs to the pak file.
542 https://bugs.webkit.org/show_bug.cgi?id=92148
544 Reviewed by Tony Chang.
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
551 2012-07-24 Sheriff Bot <webkit.review.bot@gmail.com>
553 Unreviewed, rolling out r123472.
554 http://trac.webkit.org/changeset/123472
555 https://bugs.webkit.org/show_bug.cgi?id=92134
557 Revert roll to v8 version that crashes sporadically (Requested
558 by atwilson on #webkit).
562 2012-07-24 Keishi Hattori <keishi@webkit.org>
564 [Chromium] Page popup should close on mouse down
565 https://bugs.webkit.org/show_bug.cgi?id=92092
567 Reviewed by Kent Tamura.
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.
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.
578 2012-07-24 Jochen Eisinger <jochen@chromium.org>
580 Unreviewed. Rolled DEPS.
584 2012-07-24 Sheriff Bot <webkit.review.bot@gmail.com>
586 Unreviewed, rolling out r123463.
587 http://trac.webkit.org/changeset/123463
588 https://bugs.webkit.org/show_bug.cgi?id=92110
590 Broke Android build (Requested by keishi on #webkit).
592 * src/WebPagePopupImpl.h:
593 * src/WebViewImpl.cpp:
594 (WebKit::WebViewImpl::handleMouseDown):
596 2012-07-24 Keishi Hattori <keishi@webkit.org>
598 [Chromium] Page popup should close on mouse down
599 https://bugs.webkit.org/show_bug.cgi?id=92092
601 Reviewed by Kent Tamura.
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.
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.
612 2012-07-24 Anthony Scian <ascian@rim.com>
614 Web Inspector [JSC]: Enable initiator column in network panel.
615 https://bugs.webkit.org/show_bug.cgi?id=65533
617 Reviewed by Vsevolod Vlasov.
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.
622 Test: http/tests/inspector/network/network-initiator.html
624 * src/js/DevTools.js:
626 2012-07-24 Peter Beverloo <peter@chromium.org>
628 Unreviewed. Rolled DEPS.
632 2012-07-23 Mark Pilgrim <pilgrim@chromium.org>
634 [Chromium] Move layoutTestMode to WebCore
635 https://bugs.webkit.org/show_bug.cgi?id=92010
637 Reviewed by Adam Barth.
639 Part of a refactoring series. See tracking bug 82948.
641 * src/PlatformSupport.cpp:
644 (WebKit::setLayoutTestMode):
645 (WebKit::layoutTestMode):
647 2012-07-23 Dave Tu <dtu@chromium.org>
649 [chromium] Add droppedFrameCount to renderingStats.
650 https://bugs.webkit.org/show_bug.cgi?id=91694
652 Reviewed by Adrienne Walker.
654 * src/WebLayerTreeView.cpp:
655 (WebKit::WebLayerTreeView::renderingStats):
656 * tests/CCLayerTreeHostTest.cpp:
657 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
659 2012-07-23 Brian Anderson <brianderson@chromium.org>
661 [chromium] Use shallow flushes that don't glFlush
662 https://bugs.webkit.org/show_bug.cgi?id=90325
664 Reviewed by Kenneth Russell.
666 Changed CCTextureUpdaterTest to recognize shallowFlushCHROMIUM().
668 * tests/CCTextureUpdaterTest.cpp:
670 2012-07-23 Adrienne Walker <enne@google.com>
672 [chromium] Add more compositor unit tests for high DPI transforms
673 https://bugs.webkit.org/show_bug.cgi?id=91917
675 Reviewed by Kenneth Russell.
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.
682 * tests/CCLayerTreeHostCommonTest.cpp:
684 2012-07-23 Shawn Singh <shawnsingh@chromium.org>
686 [chromium] Fix unit tests in debug mode after r123375
687 https://bugs.webkit.org/show_bug.cgi?id=92030
689 Reviewed by Adrienne Walker.
691 Fixed two unit tests that were causing debug assertions because
692 they gave calcDrawTransforms an empty sized root layer.
694 * tests/CCLayerTreeHostCommonTest.cpp:
696 2012-07-23 Simon Fraser <simon.fraser@apple.com>
698 Part 2 of: Implement sticky positioning
699 https://bugs.webkit.org/show_bug.cgi?id=90046
701 Reviewed by Ojan Vafai.
703 Turn on ENABLE_CSS_STICKY_POSITION.
707 2012-07-23 Shawn Singh <shawnsingh@chromium.org>
709 [chromium] Refactor CCLayerTreeHostCommon: clean up clipRect and drawableContentRect design
710 https://bugs.webkit.org/show_bug.cgi?id=80622
712 Reviewed by Adrienne Walker.
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.
724 * tests/CCLayerImplTest.cpp:
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:
736 2012-07-23 Daniel Cheng <dcheng@chromium.org>
738 [chromium] Fix build on Ubuntu Precise.
739 https://bugs.webkit.org/show_bug.cgi?id=92021
741 Reviewed by Adrienne Walker.
743 Remove an array that's written but never read.
745 * tests/CCResourceProviderTest.cpp:
748 2012-07-23 Nate Chapin <japhet@chromium.org>
750 Add WebTextInputType enum values for text areas and
752 https://bugs.webkit.org/show_bug.cgi?id=91654
754 Reviewed by Adam Barth.
756 No new tests, no behavior change without corresponding chromium.org changes.
758 * public/WebTextInputType.h:
759 * src/WebViewImpl.cpp:
760 (WebKit::WebViewImpl::textInputType):
762 2012-07-23 Pierre Rossi <pierre.rossi@gmail.com>
764 Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
765 https://bugs.webkit.org/show_bug.cgi?id=91006
767 Reviewed by Ryosuke Niwa.
769 Rename the functions to follow a more boolean logic.
771 * public/WebViewClient.h:
772 (WebKit::WebViewClient::hasTouchEventHandlers):
773 * src/ChromeClientImpl.cpp:
775 (WebKit::ChromeClientImpl::needTouchEvents):
776 * src/ChromeClientImpl.h:
778 * src/WebViewImpl.cpp:
779 (WebKit::WebViewImpl::hasTouchEventHandlers):
783 2012-07-23 Simon Fraser <simon.fraser@apple.com>
785 Implement sticky positioning
786 https://bugs.webkit.org/show_bug.cgi?id=90046
788 Reviewed by Ojan Vafai.
790 Add ENABLE_CSS_STICKY_POSITION, defaulting to off initially.
794 2012-07-23 Peter Beverloo <peter@chromium.org>
796 [Chromium] Buildfix for fixing gclient on the Chromium Windows bot
797 https://bugs.webkit.org/show_bug.cgi?id=91977
799 Unreviewed build fix.
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
808 2012-07-22 Kent Tamura <tkent@chromium.org>
810 [Chromium-Mac] Fix a build error.
812 * DEPS: Add third_party/GTM.
814 2012-07-23 Kent Tamura <tkent@chromium.org>
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
819 Reviewed by Kentaro Hara.
821 A flag name for an elmement should be ENABLE_*_ELEMENT.
825 2012-07-22 Kent Tamura <tkent@chromium.org>
827 Rename ENABLE_DETAILS to ENABLE_DETAILS_ELEMENT
828 https://bugs.webkit.org/show_bug.cgi?id=91928
830 Reviewed by Kentaro Hara.
832 A flag name for an elmement should be ENABLE_*_ELEMENT.
836 2012-07-21 Sheriff Bot <webkit.review.bot@gmail.com>
838 Unreviewed. Rolled DEPS.
842 2012-07-20 Kent Tamura <tkent@chromium.org>
844 Rename ENABLE_DATALIST to ENABLE_DATALIST_ELEMENT
845 https://bugs.webkit.org/show_bug.cgi?id=91846
847 Reviewed by Kentaro Hara.
849 A flag name for an elmement should be ENABLE_*_ELEMENT.
852 * src/WebInputElement.cpp:
853 (WebKit::WebInputElement::dataListOptions):
855 2012-07-20 Joshua Bell <jsbell@chromium.org>
857 IndexedDB: Simplify backend interface classes
858 https://bugs.webkit.org/show_bug.cgi?id=91901
860 Reviewed by Tony Chang.
862 Remove unnecessary method stubs from proxy class.
864 * src/IDBTransactionBackendProxy.cpp:
865 * src/IDBTransactionBackendProxy.h:
866 (IDBTransactionBackendProxy):
868 2012-07-20 Scott Graham <scottmg@chromium.org>
870 Add windows native versions of bison, flex and gperf.
872 Reviewed by Tony Chang.
876 2012-07-20 David Grogan <dgrogan@chromium.org>
878 IndexedDB: Include intVersion when converting between WebCore and WebKit IDBMetadata types
879 https://bugs.webkit.org/show_bug.cgi?id=91414
881 Reviewed by Adam Barth.
883 * src/AssertMatchingEnums.cpp:
884 * src/WebIDBMetadata.cpp:
885 (WebKit::WebIDBMetadata::WebIDBMetadata):
886 (WebKit::WebIDBMetadata::operator IDBDatabaseMetadata):
888 2012-07-20 Robert Sesek <rsesek@chromium.org>
890 [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
891 https://bugs.webkit.org/show_bug.cgi?id=91752
893 Reviewed by Eric Seidel.
895 Use 10.6 NSScreen/NSColorSpace APIs to determine if the screen is
896 monochrome rather than comparing against deprecated colorspace names.
898 * src/mac/WebScreenInfoFactory.mm:
899 (WebKit::WebScreenInfoFactory::screenInfo):
901 2012-07-20 Daniel Murphy <dmurph@chromium.org>
903 Introduce WebViewBenchmarkSupport for performance experiments on a real WebView
904 https://bugs.webkit.org/show_bug.cgi?id=88271
906 Reviewed by Darin Fisher.
912 (WebKit::WebView::benchmarkSupport):
913 * public/WebViewBenchmarkSupport.h: Added.
915 (WebViewBenchmarkSupport):
917 (WebKit::WebViewBenchmarkSupport::PaintClient::willPaint):
918 (WebKit::WebViewBenchmarkSupport::PaintClient::didPaint):
919 (WebKit::WebViewBenchmarkSupport::PaintClient::~PaintClient):
920 (WebKit::WebViewBenchmarkSupport::~WebViewBenchmarkSupport):
921 * src/WebViewBenchmarkSupportImpl.cpp: Added.
923 (WebKit::WebViewBenchmarkSupportImpl::paintLayer):
924 (WebKit::WebViewBenchmarkSupportImpl::acceleratedPaintUnclipped):
925 (WebKit::WebViewBenchmarkSupportImpl::softwarePaint):
926 (WebKit::WebViewBenchmarkSupportImpl::paint):
927 * src/WebViewBenchmarkSupportImpl.h: Added.
930 (WebViewBenchmarkSupportImpl):
931 (WebKit::WebViewBenchmarkSupportImpl::WebViewBenchmarkSupportImpl):
932 (WebKit::WebViewBenchmarkSupportImpl::~WebViewBenchmarkSupportImpl):
933 * src/WebViewImpl.cpp:
934 (WebKit::WebViewImpl::WebViewImpl):
935 (WebKit::WebViewImpl::benchmarkSupport):
937 (WebKit::WebViewImpl::rootGraphicsLayer):
942 2012-07-20 Han Shen <shenhan@google.com>
944 [Chromium] Compilation fails under gcc 4.7
945 https://bugs.webkit.org/show_bug.cgi?id=90227
947 Reviewed by Tony Chang.
949 Disable warnings about c++0x compatibility in gcc newer than 4.6.
952 * WebKitUnitTests.gyp:
954 2012-07-20 Adam Barth <abarth@webkit.org>
956 [Chromium] Add WebView::zoomToFindInPageRect for Android
957 https://bugs.webkit.org/show_bug.cgi?id=91801
959 Reviewed by Tony Chang.
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.
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):
977 2012-07-19 Luke Macpherson <macpherson@chromium.org>
979 Enable CSS variables compile time flag in Chrome.
980 https://bugs.webkit.org/show_bug.cgi?id=91708
982 Reviewed by Dimitri Glazkov.
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/
989 2012-07-19 Wei James <james.wei@intel.com>
991 enable Web Audio for chromium android port
992 https://bugs.webkit.org/show_bug.cgi?id=89428
994 Reviewed by Kenneth Russell.
998 2012-07-19 Adam Barth <abarth@webkit.org>
1000 [Chromium] Support external autofill popups
1001 https://bugs.webkit.org/show_bug.cgi?id=91651
1003 Reviewed by Darin Fisher.
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
1012 * src/WebViewImpl.cpp:
1013 (WebKit::WebViewImpl::selectAutofillSuggestionAtIndex):
1015 * src/WebViewImpl.h:
1018 2012-07-19 Zeev Lieber <zlieber@chromium.org>
1020 [Chromium] Textures drawn during occlusion are incorrectly re-used when unoccluded.
1021 https://bugs.webkit.org/show_bug.cgi?id=91537
1023 Reviewed by Adrienne Walker.
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.
1029 MockCCQuadCuller can now implement CCQuadSink.
1031 * tests/CCLayerTreeHostImplTest.cpp:
1032 * tests/CCQuadCullerTest.cpp:
1033 * tests/MockCCQuadCuller.h:
1034 (WebCore::MockCCQuadCuller::MockCCQuadCuller):
1036 2012-07-19 Adam Barth <abarth@webkit.org>
1038 [Chromium] WebView is missing isSelectionEditable and backgroundColor which are used by chromium-android
1039 https://bugs.webkit.org/show_bug.cgi?id=91671
1041 Reviewed by Darin Fisher.
1043 I haven't studied what these APIs are used for downstream, but they
1044 seem harmless enough.
1048 * public/WebWidget.h:
1050 (WebKit::WebWidget::backgroundColor):
1051 * src/WebViewImpl.cpp:
1052 (WebKit::WebViewImpl::isSelectionEditable):
1054 (WebKit::WebViewImpl::backgroundColor):
1055 * src/WebViewImpl.h:
1058 2012-07-19 Andrew Scherkus <scherkus@chromium.org>
1060 [chromium] Move WebAudioSourceProvider destructor from public to protected
1061 https://bugs.webkit.org/show_bug.cgi?id=91669
1063 Reviewed by Darin Fisher.
1065 The lifetime of a WebAudioSourceProvider is managed by the implementor
1066 and should never be deallocted by WebKit.
1068 * public/WebAudioSourceProvider.h:
1069 (WebAudioSourceProvider):
1071 2012-07-19 Tony Chang <tony@chromium.org>
1073 Unreviewed, rolling out r123036.
1074 http://trac.webkit.org/changeset/123036
1075 https://bugs.webkit.org/show_bug.cgi?id=91555
1077 Triggers some DCHECKs in Chromium browser_tests
1079 * public/WebTextInputType.h:
1080 * src/WebViewImpl.cpp:
1081 (WebKit::WebViewImpl::textInputType):
1083 2012-07-19 Joshua Bell <jsbell@chromium.org>
1085 Roll out r121610 and r122487 which may have been causing flaky crashes
1086 https://bugs.webkit.org/show_bug.cgi?id=91637
1088 Reviewed by Kentaro Hara.
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.
1094 * src/WebBindings.cpp:
1095 (WebKit::getRangeImpl):
1096 (WebKit::getElementImpl):
1097 (WebKit::getArrayBufferImpl):
1098 (WebKit::getArrayBufferViewImpl):
1099 (WebKit::WebBindings::toV8Value):
1101 2012-07-19 Sami Kyostila <skyostil@chromium.org>
1103 [chromium] Remove duplicate mock CCLayerTreeHostClient
1104 https://bugs.webkit.org/show_bug.cgi?id=89457
1106 Reviewed by Adrienne Walker.
1108 This test can reuse the existing CCFakeLayerTreeHostClient.
1110 * tests/GraphicsLayerChromiumTest.cpp:
1111 (WebKitTests::MockLayerTreeHost::create):
1113 2012-07-19 Peter Beverloo <peter@chromium.org>
1115 Unreviewed. Rolled DEPS.
1119 2012-07-18 Ryosuke Niwa <rniwa@webkit.org>
1121 Chromium build fix attempt. Don't use anonymous namespace.
1123 * tests/TextureCopierTest.cpp:
1125 2012-07-18 Antoine Labour <piman@chromium.org>
1127 [chromium] Introduce CCResourceProvider, replacing TextureAllocator and hiding textures from clients to allow transport
1128 https://bugs.webkit.org/show_bug.cgi?id=91044
1130 Reviewed by Adrienne Walker.
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
1138 - Replace texture ids by resource ids in DrawQuads (allowing them to be
1140 - Replace TextureAllocator uses by the CCResourceProvider class.
1141 - Upload of data is done through the CCResourceProvider instead of
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
1148 - Merge all the LayerTextureSubImage instances (one per layer), into a
1149 single instance on the CCResourceProvider.
1151 Added CCResourceProviderTest, the refactoring is covered by existing tests.
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):
1162 * tests/CCQuadCullerTest.cpp:
1163 * tests/CCResourceProviderTest.cpp: Added.
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):
1179 (WebKit::ResourceProviderContext::allocateTexture):
1180 (WebKit::ResourceProviderContext::setPixels):
1181 (CCResourceProviderTest):
1182 (WebKit::CCResourceProviderTest::CCResourceProviderTest):
1183 (WebKit::CCResourceProviderTest::context):
1184 (WebKit::CCResourceProviderTest::getResourcePixels):
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:
1195 (WebKitTests::FakeTextureCopier::copyTexture):
1196 (WebKitTests::FakeTextureCopier::flush):
1197 (WebKitTests::FakeTextureUploader::uploadTexture):
1198 * tests/ContentLayerChromiumTest.cpp:
1200 * tests/FakeCCGraphicsContext.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCTexture.h.
1202 (WebKit::createFakeCCGraphicsContext):
1203 * tests/LayerRendererChromiumTest.cpp:
1204 (FakeLayerRendererChromium::FakeLayerRendererChromium):
1205 (LayerRendererChromiumTest::LayerRendererChromiumTest):
1206 (LayerRendererChromiumTest::context):
1207 (LayerRendererChromiumTest):
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:
1218 2012-07-18 David Grogan <dgrogan@chromium.org>
1220 IndexedDB: Add intVersion to chromium/public/WebIDBMetadata.h
1221 https://bugs.webkit.org/show_bug.cgi?id=91408
1223 Reviewed by Adam Barth.
1225 This is in support of the new upgradeneeded versioning api.
1226 intVersion will eventually replace the WebString version member.
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.
1234 2012-07-18 Adam Barth <abarth@webkit.org>
1236 Disable printing on chromium-android
1237 https://bugs.webkit.org/show_bug.cgi?id=91550
1239 Reviewed by Tony Chang.
1241 We don't implement printing on Android.
1244 * src/WebFrameImpl.cpp:
1245 (WebKit::WebFrameImpl::printPage):
1247 2012-07-18 Alexandre Elias <aelias@google.com>
1249 [chromium] Ubercomp: add id to SharedQuadState
1250 https://bugs.webkit.org/show_bug.cgi?id=91670
1252 Reviewed by Adrienne Walker.
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.
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.
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):
1274 2012-07-18 Nate Chapin <japhet@chromium.org>
1276 Add WebTextInputType enum values for text areas and
1278 https://bugs.webkit.org/show_bug.cgi?id=91654
1280 Reviewed by Adam Barth.
1282 No new tests, no behavior change without corresponding chromium.org changes.
1284 * public/WebTextInputType.h:
1285 * src/WebViewImpl.cpp:
1286 (WebKit::WebViewImpl::textInputType):
1288 2012-07-18 Alexandre Elias <aelias@google.com>
1290 [chromium] Ubercomp: clean up CCRenderer interface
1291 https://bugs.webkit.org/show_bug.cgi?id=91555
1293 Reviewed by Adrienne Walker.
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.
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
1305 * tests/LayerRendererChromiumTest.cpp:
1306 (FakeCCRendererClient::FakeCCRendererClient):
1307 (FakeCCRendererClient::renderPasses):
1308 (FakeCCRendererClient):
1312 2012-07-18 Joshua Bell <jsbell@chromium.org>
1314 IndexedDB: Fix some coding style violations
1315 https://bugs.webkit.org/show_bug.cgi?id=91565
1317 Reviewed by Tony Chang.
1319 * tests/IDBLevelDBCodingTest.cpp:
1320 (IDBLevelDBCoding::TEST):
1322 2012-07-18 Tony Chang <tony@chromium.org>
1324 [chromium] Unreviewed, fix some MSVC compile warnings.
1326 * tests/CCDamageTrackerTest.cpp:
1327 (WebKitTests::TEST_F):
1328 * tests/CCLayerTreeHostCommonTest.cpp:
1329 * tests/TiledLayerChromiumTest.cpp:
1331 2012-07-18 Mark Pilgrim <pilgrim@chromium.org>
1333 [Chromium] Call SQLiteFileSystem-related functions directly
1334 https://bugs.webkit.org/show_bug.cgi?id=91631
1336 Reviewed by Adam Barth.
1338 Part of a refactoring series. See tracking bug 82948.
1340 * public/platform/WebKitPlatformSupport.h:
1341 (WebKitPlatformSupport):
1342 * src/PlatformSupport.cpp:
1345 2012-07-18 Tony Chang <tony@chromium.org>
1347 [chromium] Unreviewed, more compile fixes on Chromium Win.
1349 * tests/WebTransformationMatrixTest.cpp:
1352 2012-07-18 Tony Chang <tony@chromium.org>
1354 [chromium] Fix compile on Windows.
1356 148>tests\LayerChromiumTest.cpp(510): warning C4305: 'argument' : truncation from 'double' to 'float'
1358 * tests/LayerChromiumTest.cpp:
1360 2012-07-18 Alec Flett <alecflett@chromium.org>
1362 Implement putIndexKeys in WebIDBObjectStoreImpl
1363 https://bugs.webkit.org/show_bug.cgi?id=91546
1365 Reviewed by Darin Fisher.
1367 Implement putIndexKeys in the chromium API, so it is callable
1370 * src/WebIDBObjectStoreImpl.cpp:
1371 (WebKit::WebIDBObjectStoreImpl::putWithIndexKeys):
1373 * src/WebIDBObjectStoreImpl.h:
1374 (WebIDBObjectStoreImpl):
1376 2012-07-18 Tony Chang <tony@chromium.org>
1378 [chromium] Unreviewed compile fix for Android.
1382 * tests/CCLayerTreeHostCommonTest.cpp:
1384 2012-07-18 Tony Chang <tony@chromium.org>
1386 [chromium] Unreviewed compile fix for Android.
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
1391 * tests/CCDamageTrackerTest.cpp:
1392 (WebKitTests::TEST_F):
1394 2012-07-18 Varun Jain <varunjain@chromium.org>
1396 [chromium] Drag image for image elements should be scaled with device scale factor.
1397 https://bugs.webkit.org/show_bug.cgi?id=89688
1399 Reviewed by Adam Barth.
1401 * src/DragClientImpl.cpp:
1402 (WebKit::DragClientImpl::startDrag):
1403 * tests/DragImageTest.cpp:
1406 2012-07-18 Shawn Singh <shawnsingh@chromium.org>
1408 [chromium] Fix style for numeric literals in chromium unit test code
1409 https://bugs.webkit.org/show_bug.cgi?id=91635
1411 Reviewed by Adrienne Walker.
1413 Where possible, removed ".0" and "f" suffixes on numeric literals,
1414 to be more consistent with WebKit style rules.
1416 * tests/CCDamageTrackerTest.cpp:
1417 (WebKitTests::TEST_F):
1418 * tests/CCLayerQuadTest.cpp:
1420 * tests/CCLayerTreeHostCommonTest.cpp:
1421 * tests/CCQuadCullerTest.cpp:
1422 * tests/LayerChromiumTest.cpp:
1423 * tests/WebTransformationMatrixTest.cpp:
1426 2012-07-17 Shawn Singh <shawnsingh@chromium.org>
1428 [chromium] Remove awkward anchorPoint usage that implicity affects layer position
1429 https://bugs.webkit.org/show_bug.cgi?id=91472
1431 Reviewed by Adrienne Walker.
1433 Unit tests were updated to account for the fact that anchorPoint
1434 and position are now separated.
1436 * tests/CCDamageTrackerTest.cpp:
1437 (WebKitTests::TEST_F):
1438 * tests/CCLayerTreeHostCommonTest.cpp:
1439 * tests/CCLayerTreeHostImplTest.cpp:
1440 * tests/TiledLayerChromiumTest.cpp:
1442 2012-07-18 Yoshifumi Inoue <yosin@chromium.org>
1444 Decimal::toString should not round integer value.
1445 https://bugs.webkit.org/show_bug.cgi?id=91481
1447 Reviewed by Kent Tamura.
1449 This patch adds a new test cases for Decimal::toString() for failed
1450 value and maximum coefficient value with various exponent.
1452 * tests/DecimalTest.cpp:
1453 (TEST_F): DecimalTest.toString: Add test cases for big coefficient values.
1455 2012-07-18 Hans Wennborg <hans@chromium.org>
1457 Add copy constructor to WebSpeechGrammar.h
1458 https://bugs.webkit.org/show_bug.cgi?id=91484
1460 Reviewed by Adam Barth.
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.
1468 Also add one for WebSpeechRecognitionResult; haven't seen any problems
1469 here, but I noticed it was missing.
1471 * public/WebSpeechGrammar.h:
1472 (WebKit::WebSpeechGrammar::WebSpeechGrammar):
1474 * public/WebSpeechRecognitionResult.h:
1475 (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
1476 (WebSpeechRecognitionResult):
1477 * src/WebSpeechGrammar.cpp:
1478 (WebKit::WebSpeechGrammar::assign):
1481 2012-07-17 Yoshifumi Inoue <yosin@chromium.org>
1483 Decimal constructor with 99999999999999999 loses last digit
1484 https://bugs.webkit.org/show_bug.cgi?id=91579
1486 Reviewed by Kent Tamura.
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.
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.
1497 2012-07-17 Yoshifumi Inoue <yosin@chromium.org>
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
1502 Reviewed by Kent Tamura.
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.
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.
1514 2012-07-17 Joshua Bell <jsbell@chromium.org>
1516 IndexedDB: Key generator state not maintained across connections
1517 https://bugs.webkit.org/show_bug.cgi?id=91456
1519 Reviewed by Tony Chang.
1521 Add stub method implementations to test class.
1523 * tests/IDBFakeBackingStore.h:
1525 2012-07-17 Tony Chang <tony@chromium.org>
1527 Unreviewed, rolling out r122884.
1528 http://trac.webkit.org/changeset/122884
1529 https://bugs.webkit.org/show_bug.cgi?id=91408
1531 Broke the chromium-win build.
1533 * public/WebIDBMetadata.h:
1535 (WebKit::WebIDBMetadata::WebIDBMetadata):
1537 2012-07-17 David Grogan <dgrogan@chromium.org>
1539 IndexedDB: Add intVersion to chromium/public/WebIDBMetadata.h
1540 https://bugs.webkit.org/show_bug.cgi?id=91408
1542 Reviewed by Adam Barth.
1544 This is in support of the new upgradeneeded versioning api.
1545 intVersion will eventually replace the WebString version member.
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.
1552 2012-07-17 Tony Chang <tony@chromium.org>
1554 Unreviewed. Rolled DEPS.
1558 2012-07-17 Vivek Galatage <vivekgalatage@gmail.com>
1560 Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
1561 https://bugs.webkit.org/show_bug.cgi?id=91196
1563 Reviewed by Pavel Feldman.
1565 Refactoring InspectorClients. InspectorClient::openInspectorFrontend
1566 now returning the InspectorFrontendChannel.
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):
1578 2012-07-16 Adam Barth <abarth@webkit.org>
1580 Unreviewed. Remove two empty directories.
1582 * public/linuxish: Removed.
1583 * src/linuxish: Removed.
1585 2012-07-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1587 Add RegisterProtocolHandlerClient to the Modules/protocolhandler
1588 https://bugs.webkit.org/show_bug.cgi?id=90940
1590 Reviewed by Hajime Morita.
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.
1596 In order to support this, RegisterProtocolHandlerClientImpl class is added to ChromeClientImpl files.
1598 In addition, existing functions related to protocol handler in ChromeClientImpl class are moved to
1599 RegisterProtocolHandlerClientImpl class.
1602 * src/ChromeClientImpl.cpp: Implement RegisterProtocolHandlerClientImpl class.
1604 (WebKit::RegisterProtocolHandlerClientImpl::create):
1605 (WebKit::RegisterProtocolHandlerClientImpl::RegisterProtocolHandlerClientImpl):
1606 (WebKit::RegisterProtocolHandlerClientImpl::registerProtocolHandler):
1607 * src/ChromeClientImpl.h:
1609 (RegisterProtocolHandlerClientImpl):
1610 (WebKit::RegisterProtocolHandlerClientImpl::~RegisterProtocolHandlerClientImpl):
1612 * src/WebViewImpl.cpp: Register RegisterProtocolHandlerClientImpl in order to support supplement.
1613 (WebKit::WebViewImpl::WebViewImpl):
1614 * src/WebViewImpl.h:
1616 2012-07-16 Yoshifumi Inoue <yosin@chromium.org>
1618 REGRESSION(r122552): DecimalTest tests (CeilingSmallExponent and FloorSmallExponent) started failing.
1619 https://bugs.webkit.org/show_bug.cgi?id=91244
1621 Reviewed by Kent Tamura.
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
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.
1635 2012-07-16 Koji Ishii <kojiishi@gmail.com>
1637 Vertical alternate glyph (GSUB) support for OpenTypeVerticalData
1638 https://bugs.webkit.org/show_bug.cgi?id=81389
1640 Reviewed by Tony Chang.
1642 Tests for pointer validations for OpenType tables.
1645 * tests/OpenTypeVerticalDataTest.cpp: Added.
1648 (WebCore::TestTable::validateOffset):
1651 2012-07-16 Alexandre Elias <aelias@google.com>
1653 [chromium] Fix WebFrameTest flakiness due to synthetic mouse events
1654 https://bugs.webkit.org/show_bug.cgi?id=91428
1656 Reviewed by Adam Barth.
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
1664 We can avoid the issue by disabling the deviceSupportsMouse
1665 setting, which shouldn't be needed by any WebFrameTest.
1667 * tests/FrameTestHelpers.cpp:
1668 (WebKit::FrameTestHelpers::createWebViewAndLoad):
1670 2012-07-16 Alec Flett <alecflett@chromium.org>
1672 IndexedDB: Introduce putWithIndexKeys and calculate them in the renderer
1673 https://bugs.webkit.org/show_bug.cgi?id=90923
1675 Reviewed by Darin Fisher.
1677 Stub out implementations of putWithIndexKeys(), already implemented
1678 on the chromium side.
1680 * public/WebIDBObjectStore.h:
1681 (WebKit::WebIDBObjectStore::putWithIndexKeys):
1682 * src/IDBObjectStoreBackendProxy.cpp:
1683 (WebKit::IDBObjectStoreBackendProxy::putWithIndexKeys):
1685 * src/IDBObjectStoreBackendProxy.h:
1686 (IDBObjectStoreBackendProxy):
1688 2012-07-16 Adrienne Walker <enne@google.com>
1690 [chromium] Unify compositor quad transforms into content space
1691 https://bugs.webkit.org/show_bug.cgi?id=91350
1693 Reviewed by Kenneth Russell.
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.
1700 * tests/CCQuadCullerTest.cpp:
1701 * tests/CCSolidColorLayerImplTest.cpp:
1702 (CCLayerTestCommon::TEST):
1703 * tests/CCTiledLayerImplTest.cpp:
1704 (CCLayerTestCommon::createLayer):
1706 2012-07-16 Adrienne Walker <enne@google.com>
1708 [chromium] Unify compositor quad transforms into content space
1709 https://bugs.webkit.org/show_bug.cgi?id=91350
1711 Reviewed by Kenneth Russell.
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.
1718 * tests/CCQuadCullerTest.cpp:
1719 * tests/CCSolidColorLayerImplTest.cpp:
1720 (CCLayerTestCommon::TEST):
1721 * tests/CCTiledLayerImplTest.cpp:
1722 (CCLayerTestCommon::createLayer):
1724 2012-07-16 Dana Jansens <danakj@chromium.org>
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
1729 Reviewed by Adrienne Walker.
1731 * tests/CCDamageTrackerTest.cpp:
1732 (WebKitTests::TEST_F):
1733 * tests/CCLayerImplTest.cpp:
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:
1753 2012-07-16 Sami Kyostila <skyostil@chromium.org>
1755 [chromium] Only apply page scale delta to root scroll layer
1756 https://bugs.webkit.org/show_bug.cgi?id=91374
1758 Reviewed by Adrienne Walker.
1761 CCLayerTreeHostImplTest.pageScaleDeltaAppliedToRootScrollLayerOnly to verify
1762 the transformation of child layer while pinch zooming.
1764 * tests/CCLayerTreeHostImplTest.cpp:
1766 2012-07-16 Kihong Kwon <kihong.kwon@samsung.com>
1768 Remove setController from BatteryClient
1769 https://bugs.webkit.org/show_bug.cgi?id=90944
1771 Reviewed by Adam Barth.
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.
1776 * src/BatteryClientImpl.h:
1777 (BatteryClientImpl):
1778 * src/WebViewImpl.cpp:
1779 (WebKit::WebViewImpl::WebViewImpl):
1781 2012-07-16 Dana Jansens <danakj@chromium.org>
1783 [chromium] Incorrect assertion: Replicas will cause a RenderPass to be removed twice
1784 https://bugs.webkit.org/show_bug.cgi?id=91328
1786 Reviewed by Adrienne Walker.
1788 Add replicas to the surfaces in the test.
1790 * tests/CCLayerTreeHostTest.cpp:
1791 (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
1792 (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::beginTest):
1793 (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::afterTest):
1794 (CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
1796 2012-07-13 Eric Penner <epenner@google.com>
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
1801 Reviewed by Adrienne Walker.
1803 * tests/CCPrioritizedTextureTest.cpp:
1805 * tests/TiledLayerChromiumTest.cpp:
1807 2012-07-13 Brian Anderson <brianderson@chromium.org>
1809 Add flushes to CCTextureUpdater::update
1810 https://bugs.webkit.org/show_bug.cgi?id=89035
1812 Reviewed by Adrienne Walker.
1814 CCTextureUpdaterTest added to verify texture upload/flushing patterns.
1817 * tests/CCTextureUpdaterTest.cpp: Added.
1819 2012-07-13 David Grogan <dgrogan@chromium.org>
1821 IndexedDB: Re-enable indexeddb in test_shell
1822 https://bugs.webkit.org/show_bug.cgi?id=91161
1824 Reviewed by Tony Chang.
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.
1830 We still don't have an automated test for this (http://crbug.com/113738)
1835 2) Verify IDB has permission to open a DB
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
1844 * src/IDBFactoryBackendProxy.cpp:
1845 (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
1847 2012-07-13 Wei James <james.wei@intel.com>
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
1852 Reviewed by Adam Barth.
1854 * WebKitUnitTests.gyp:
1856 2012-07-13 Dana Jansens <danakj@chromium.org>
1858 webkit_unit_test CCLayerTreeHostImplTest.testRemoveRenderPasses started failing.
1859 https://bugs.webkit.org/show_bug.cgi?id=91245
1861 Reviewed by Adrienne Walker.
1863 * tests/CCLayerTreeHostImplTest.cpp:
1865 2012-07-13 Vsevolod Vlasov <vsevik@chromium.org>
1867 Unreviewed gardening: skip failing webkit unit test.
1869 * tests/CCLayerTreeHostImplTest.cpp:
1871 2012-07-13 Vsevolod Vlasov <vsevik@chromium.org>
1873 Unreviewed gardening, skip failing webkit_unit_tests.
1875 * tests/DecimalTest.cpp:
1878 2012-07-13 Kent Tamura <tkent@chromium.org>
1880 Make calendar pickers testable
1881 https://bugs.webkit.org/show_bug.cgi?id=84827
1883 Reviewed by Hajime Morita.
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:
1897 WebViewImpl implements PagePopupDriver. openPagePopup() and
1898 closePagePopup() override members of PagePopupDriver.
1900 2012-07-13 Yoshifumi Inoue <yosin@chromium.org>
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
1905 Reviewed by Kent Tamura.
1907 This patch adds test cases for Decimal::ceiling() and floor() of
1908 positive/negative small fractional numbers.
1910 * tests/DecimalTest.cpp:
1913 2012-07-12 Adrienne Walker <enne@google.com>
1915 [chromium] Root invalidations for RTL pages need to be in the right space
1916 https://bugs.webkit.org/show_bug.cgi?id=91155
1918 Reviewed by Kenneth Russell.
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.
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.
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
1937 * src/NonCompositedContentHost.cpp:
1938 (WebKit::NonCompositedContentHost::invalidateRect):
1940 2012-07-12 Dana Jansens <danakj@chromium.org>
1942 [chromium] Remove the RenderPass pointer from RenderPassDrawQuad
1943 https://bugs.webkit.org/show_bug.cgi?id=91023
1945 Reviewed by Adrienne Walker.
1947 * tests/CCLayerTreeHostImplTest.cpp:
1949 2012-07-12 Adam Barth <abarth@webkit.org>
1951 [Chromium] WebSettings should be sorted
1952 https://bugs.webkit.org/show_bug.cgi?id=91157
1954 Reviewed by Eric Seidel.
1956 This might be my OCD, but IMHO this file would be cleaner if we listed
1957 the settings in alphabetic order.
1959 * public/WebSettings.h:
1960 * src/WebSettingsImpl.h:
1962 (WebKit::WebSettingsImpl::forceSoftwareCompositing):
1963 (WebKit::WebSettingsImpl::viewportEnabled):
1964 (WebKit::WebSettingsImpl::maxUntiledLayerSize):
1966 2012-07-12 Joshua Bell <jsbell@chromium.org>
1968 IndexedDB: Enable IDBFactory.deleteDatabase() and webkitGetDatabaseNames() in Workers
1969 https://bugs.webkit.org/show_bug.cgi?id=90310
1971 Reviewed by Tony Chang.
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):
1978 (WebKit::IDBFactoryBackendProxy::open):
1979 (WebKit::IDBFactoryBackendProxy::deleteDatabase):
1980 * src/IDBFactoryBackendProxy.h: Update method signatures to match interface.
1982 (IDBFactoryBackendProxy):
1984 2012-07-12 Dana Jansens <danakj@chromium.org>
1986 [chromium] The root layer should not try create a second RenderSurface for itself
1987 https://bugs.webkit.org/show_bug.cgi?id=91124
1989 Reviewed by Adrienne Walker.
1991 * tests/CCLayerTreeHostImplTest.cpp:
1993 2012-07-12 Eric Penner <epenner@google.com>
1995 [chromium] Use CCTexture/TextureAllocator and remove TextureManager
1996 https://bugs.webkit.org/show_bug.cgi?id=91001
1998 Reviewed by Adrienne Walker.
2000 Deleting old texture manager tests.
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.
2011 2012-07-12 Robert Sesek <rsesek@chromium.org>
2013 [chromium][Mac] r122400 broke 10.6 build
2014 https://bugs.webkit.org/show_bug.cgi?id=91103
2016 Reviewed by Tony Chang.
2018 Use the right availability macros for forward-declaring methods and
2021 * src/mac/WebInputEventFactory.mm:
2023 2012-07-12 Tony Chang <tony@chromium.org>
2025 [chromium] Remove drag and drop API methods that are no longer used
2026 https://bugs.webkit.org/show_bug.cgi?id=90996
2028 Reviewed by Adam Barth.
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.
2036 * src/WebViewImpl.cpp:
2037 (WebKit::WebViewImpl::dragTargetDragEnter):
2038 (WebKit::WebViewImpl::dragTargetDragOver):
2039 * src/WebViewImpl.h:
2042 2012-07-12 Tony Chang <tony@chromium.org>
2044 Unreviewed. Rolled DEPS.
2048 2012-07-12 Adam Barth <abarth@webkit.org>
2050 [Chromium] Delete last mention of Hixie76 in WebKit/chromium
2051 https://bugs.webkit.org/show_bug.cgi?id=91099
2053 Reviewed by Tony Chang.
2055 This deprecated API is no longer used anywhere.
2057 * public/WebSettings.h:
2058 (WebKit::WebSettings::setDefaultDeviceScaleFactor):
2060 2012-07-12 Tony Chang <tony@chromium.org>
2062 Unreviewed, rolling out r122477.
2063 http://trac.webkit.org/changeset/122477
2064 https://bugs.webkit.org/show_bug.cgi?id=91103
2066 Broke Chromium Mac build
2068 * src/mac/WebInputEventFactory.mm:
2070 2012-07-12 Robert Sesek <rsesek@chromium.org>
2072 [chromium][Mac] r122400 broke 10.6 build
2073 https://bugs.webkit.org/show_bug.cgi?id=91103
2075 Reviewed by Tony Chang.
2077 Use the right availability macros for forward-declaring methods and
2080 * src/mac/WebInputEventFactory.mm:
2082 2012-07-12 Peter Beverloo <peter@chromium.org>
2084 [Chromium] Enable building APKs for TestWebKitAPI and webkit_unit_tests
2085 https://bugs.webkit.org/show_bug.cgi?id=90989
2087 Reviewed by Adam Barth.
2089 Add dependencies on the webkit_unit_tests_apk and TestWebKitAPI_apk
2090 targets for Android, making sure that we're generating the packages.
2094 2012-07-12 Leandro Gracia Gil <leandrogracia@chromium.org>
2096 [Chromium] Remove unrequired API in WebSurroundingText.
2097 https://bugs.webkit.org/show_bug.cgi?id=91067
2099 Reviewed by Adam Barth.
2101 Remove the unused first initialize method from WebSurroundingText.
2102 Now both Chromium and LayoutTestController use the second method.
2104 * public/WebSurroundingText.h:
2105 (WebSurroundingText):
2106 * src/WebSurroundingText.cpp:
2108 2012-07-11 Mark Rowe <mrowe@apple.com>
2110 <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
2112 This removal was handled by a script that translates the relevant macros in to the equivalent checks
2113 using the system availability macros.
2115 Reviewed by Filip Pizlo.
2117 * src/mac/WebInputEventFactory.mm:
2119 2012-07-11 Sheriff Bot <webkit.review.bot@gmail.com>
2121 Unreviewed. Rolled DEPS.
2125 2012-07-11 Sheriff Bot <webkit.review.bot@gmail.com>
2127 Unreviewed, rolling out r122358.
2128 http://trac.webkit.org/changeset/122358
2129 https://bugs.webkit.org/show_bug.cgi?id=91037
2131 Build break on WebKit Win (Requested by hayato on #webkit).
2135 * src/WebViewImpl.cpp:
2136 (WebKit::WebViewImpl::dragTargetDragEnter):
2138 (WebKit::WebViewImpl::dragTargetDragOver):
2139 (WebKit::WebViewImpl::dragTargetDrop):
2140 * src/WebViewImpl.h:
2143 2012-07-11 Alexandre Elias <aelias@google.com>
2145 [chromium] Move compositor quads to Platform/chromium/public
2146 https://bugs.webkit.org/show_bug.cgi?id=90582
2148 Reviewed by Adrienne Walker.
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.
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
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
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
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.
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.
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
2185 * tests/CCLayerTestCommon.cpp:
2186 (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
2187 * tests/CCSolidColorLayerImplTest.cpp:
2188 (CCLayerTestCommon::TEST):
2190 2012-07-11 Dana Jansens <danakj@chromium.org>
2192 [chromium] Rename layerRect to contentRect for rects that live in content space
2193 https://bugs.webkit.org/show_bug.cgi?id=90843
2195 Reviewed by Adrienne Walker.
2197 * tests/CCLayerImplTest.cpp:
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:
2223 2012-07-11 Dana Jansens <danakj@chromium.org>
2225 [chromium] Minimum size used for occlusion tracking should be a setting on CCLayerTreeHost
2226 https://bugs.webkit.org/show_bug.cgi?id=90993
2228 Reviewed by Adrienne Walker.
2230 * tests/CCLayerTreeHostImplTest.cpp:
2232 2012-07-11 Adam Barth <abarth@webkit.org>
2234 [Chromium] Enable LEGACY_VIEWPORT_ADAPTION
2235 https://bugs.webkit.org/show_bug.cgi?id=90991
2237 Reviewed by Tony Chang.
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.
2244 2012-07-11 Tony Chang <tony@chromium.org>
2246 [chromium] Remove drag and drop API methods that are no longer used
2247 https://bugs.webkit.org/show_bug.cgi?id=90996
2249 Reviewed by Adam Barth.
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.
2257 * src/WebViewImpl.cpp:
2258 (WebKit::WebViewImpl::dragTargetDragEnter):
2259 (WebKit::WebViewImpl::dragTargetDragOver):
2260 * src/WebViewImpl.h:
2263 2012-07-11 Shawn Singh <shawnsingh@chromium.org>
2265 Unreviewed build fix, forgot to add URLTestHelpers.* when landing r122344
2267 * tests/URLTestHelpers.cpp: Added.
2269 (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
2270 (WebKit::URLTestHelpers::registerMockedURLLoad):
2271 * tests/URLTestHelpers.h: Added.
2274 (WebKit::URLTestHelpers::toKURL):
2276 2012-07-11 Shawn Singh <shawnsingh@chromium.org>
2278 [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
2279 https://bugs.webkit.org/show_bug.cgi?id=90094
2281 Reviewed by Adrienne Walker.
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.
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
2293 added URLTestHelpers.h and .cpp to the build process
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.
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.
2312 (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
2313 (WebKit::URLTestHelpers::registerMockedURLLoad):
2314 * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
2317 (WebKit::URLTestHelpers::toKURL):
2318 * tests/WebFrameTest.cpp:
2319 * tests/WebPageNewSerializerTest.cpp:
2320 * tests/WebPageSerializerTest.cpp:
2321 * tests/WebViewTest.cpp:
2323 2012-07-10 Pavel Feldman <pfeldman@chromium.org>
2325 Web Inspector: migrate from background images to CSS for statusbar rendering.
2326 https://bugs.webkit.org/show_bug.cgi?id=90902
2328 Reviewed by Vsevolod Vlasov.
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):
2339 2012-07-11 Kenichi Ishibashi <bashi@chromium.org>
2341 [Chromium] Adding HarfBuzz-ng for Linux
2342 https://bugs.webkit.org/show_bug.cgi?id=90362
2344 Reviewed by Tony Chang.
2346 * features.gypi: Added use_harfbuzz_ng variable. If the value is set, USE(HARFBUZZ_NG) is defined.
2348 2012-07-10 Hayato Ito <hayato@chromium.org>
2350 Unreviewed gardening.
2352 Android builder started to fail after r122292.
2353 My best guess is that '--ant-compile' does not take an argument.
2355 * WebKitUnitTests.gyp:
2357 2012-07-10 Yoshifumi Inoue <yosin@chromium.org>
2359 [Chromium-Windows] Implement functions for localized time format information
2360 https://bugs.webkit.org/show_bug.cgi?id=90236
2362 Reviewed by Kent Tamura.
2364 This patch introduces test cases for date and time format related
2365 functions in LocaleWin.
2367 * tests/LocaleWinTest.cpp:
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.
2382 2012-07-10 Adam Barth <abarth@webkit.org>
2384 [Chromium-Android] Add apk test targets for webkit_unit_tests and TestWebKitAPI
2385 https://bugs.webkit.org/show_bug.cgi?id=90918
2387 Reviewed by Tony Chang.
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.
2393 * WebKitUnitTests.gyp:
2395 2012-07-10 Kevin Ellis <kevers@chromium.org>
2397 Input elements with type=range do not have default touch handlers.
2398 https://bugs.webkit.org/show_bug.cgi?id=88807
2400 Reviewed by Antonio Gomes.
2402 Adds flag to enable native handling of touch events for input elements
2407 2012-07-10 Adam Klein <adamk@chromium.org>
2409 [Chromium] REGRESSION(r121909): m_currentInputEvent never set
2410 https://bugs.webkit.org/show_bug.cgi?id=90914
2412 Reviewed by Abhishek Arya.
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()).
2419 Fix usage of TemporaryChange to specify a local variable name so that
2420 m_currentInputEvent is actually set for the duration of handleInputEvent.
2422 * src/WebViewImpl.cpp:
2423 (WebKit::WebViewImpl::handleInputEvent): Name the TemporaryChange instance.
2425 2012-07-10 Adam Barth <abarth@webkit.org>
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
2430 Reviewed by Eric Seidel.
2432 * public/WebSettings.h:
2433 (WebKit::WebSettings::setHixie76WebSocketProtocolEnabled):
2434 * src/WebSettingsImpl.cpp:
2435 * src/WebSettingsImpl.h:
2437 * src/WebSharedWorkerImpl.cpp:
2438 (WebKit::WebSharedWorkerImpl::initializeLoader):
2440 2012-07-09 Dana Jansens <danakj@chromium.org>
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
2445 Reviewed by Adrienne Walker.
2447 * tests/CCLayerTreeHostImplTest.cpp:
2449 2012-07-10 Xianzhu Wang <wangxianzhu@chromium.org>
2451 [Chromium-Android] Use default font rendering styles in FontPlatformData::querySystemForRenderStyle()
2452 https://bugs.webkit.org/show_bug.cgi?id=90826
2454 Reviewed by Adam Barth.
2457 * src/PlatformSupport.cpp:
2458 (WebCore::PlatformSupport::getRenderStyleForStrike): Call style.setDefault() on Android or when the font is not specified.
2460 2012-07-10 Dana Jansens <danakj@chromium.org>
2462 [chromium] Avoid allocating render pass textures that have no content
2463 https://bugs.webkit.org/show_bug.cgi?id=90702
2465 Reviewed by Adrienne Walker.
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):
2478 2012-07-10 Leandro Gracia Gil <leandrogracia@chromium.org>
2480 Unreviewed Chromium build fix for mac-release.
2482 Fixing clang build after https://bugs.webkit.org/show_bug.cgi?id=90807
2484 * public/WebSurroundingText.h:
2487 2012-07-10 Leandro Gracia Gil <leandrogracia@chromium.org>
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
2492 Reviewed by Adam Barth.
2494 Replace the offset-based initialize method used only by LayoutTestController
2495 with a point-based version to follow the same code path.
2497 * public/WebSurroundingText.h:
2499 (WebSurroundingText):
2500 * src/WebSurroundingText.cpp:
2501 (WebKit::WebSurroundingText::initialize):
2503 2012-07-10 Sheriff Bot <webkit.review.bot@gmail.com>
2505 Unreviewed, rolling out r122207.
2506 http://trac.webkit.org/changeset/122207
2507 https://bugs.webkit.org/show_bug.cgi?id=90874
2509 Broke the cr-windows bot (Requested by beverloo on #webkit).
2513 2012-07-10 Jochen Eisinger <jochen@chromium.org>
2515 Unreviewed. Rolled DEPS.
2519 2012-07-09 Matt Falkenhagen <falken@chromium.org>
2521 Add ENABLE_DIALOG_ELEMENT and skeleton files
2522 https://bugs.webkit.org/show_bug.cgi?id=90521
2524 Reviewed by Kent Tamura.
2527 * public/WebRuntimeFeatures.h:
2528 (WebRuntimeFeatures):
2529 * src/WebRuntimeFeatures.cpp:
2530 (WebKit::WebRuntimeFeatures::enableDialogElement):
2532 (WebKit::WebRuntimeFeatures::isDialogElementEnabled):
2534 2012-07-09 Yoshifumi Inoue <yosin@chromium.org>
2536 [Chromium-Mac] Implement functions for localized time format information
2537 https://bugs.webkit.org/show_bug.cgi?id=90237
2539 Reviewed by Kent Tamura.
2541 * tests/LocaleMacTest.cpp:
2543 (LocaleMacTest::timeFormatText):
2544 (LocaleMacTest::shortTimeFormatText):
2545 (LocaleMacTest::timeAMPMLabel):
2548 2012-07-09 Eric Penner <epenner@google.com>
2550 [chromium] Merge updates and idle updates into one pass
2551 https://bugs.webkit.org/show_bug.cgi?id=90324
2553 Reviewed by Adrienne Walker.
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:
2564 2012-07-09 Yoshifumi Inoue <yosin@chromium.org>
2566 [Platform] Introduce LocaleMac class
2567 https://bugs.webkit.org/show_bug.cgi?id=90248
2569 Reviewed by Kent Tamura.
2571 This patch added tests for LocaleMac class.
2574 * tests/LocaleMacTest.cpp: Added.
2576 (LocaleMacTest::dateComponents):
2577 (LocaleMacTest::msForDate):
2578 (LocaleMacTest::formatDate):
2579 (LocaleMacTest::parseDate):
2580 (LocaleMacTest::dateFormatText):
2581 (LocaleMacTest::firstDayOfWeek):
2582 (LocaleMacTest::monthLabel):
2583 (LocaleMacTest::weekDayShortLabel):
2586 2012-07-09 Dana Jansens <danakj@chromium.org>
2588 [chromium] Create CCScopedTexture class for creating/freeing textures
2589 https://bugs.webkit.org/show_bug.cgi?id=89485
2591 Reviewed by Adrienne Walker.
2594 * tests/CCScopedTextureTest.cpp: Added.
2596 (WebKitTests::TEST):
2597 (TrackingTextureAllocator):
2598 (WebKitTests::TrackingTextureAllocator::TrackingTextureAllocator):
2599 (WebKitTests::TrackingTextureAllocator::numTextures):
2601 2012-07-09 Joshua Bell <jsbell@chromium.org>
2603 IndexedDB: Remove obsolete accessor plumbing
2604 https://bugs.webkit.org/show_bug.cgi?id=90812
2606 Reviewed by Tony Chang.
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.
2629 2012-07-09 Sheriff Bot <webkit.review.bot@gmail.com>
2631 Unreviewed, rolling out r122161.
2632 http://trac.webkit.org/changeset/122161
2633 https://bugs.webkit.org/show_bug.cgi?id=90837
2635 failed to compile on chromium webkit linux bot (Requested by
2636 shawnsingh on #webkit).
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):
2648 * tests/EventListenerTest.cpp:
2649 * tests/FrameTestHelpers.cpp:
2650 (WebKit::FrameTestHelpers::registerMockedURLLoad):
2652 (WebKit::FrameTestHelpers::loadFrame):
2653 * tests/FrameTestHelpers.h:
2655 * tests/ListenerLeakTest.cpp:
2656 (WebKit::ListenerLeakTest::RunTest):
2657 * tests/PopupMenuTest.cpp:
2658 (WebKit::SelectPopupMenuTest::registerMockedURLLoad):
2659 (WebKit::SelectPopupMenuTest::loadFrame):
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):
2668 * tests/WebPageNewSerializerTest.cpp:
2669 (WebKit::WebPageNewSerializeTest::registerMockedURLLoad):
2670 (WebPageNewSerializeTest):
2671 (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
2672 (WebKit::WebPageNewSerializeTest::loadURLInTopFrame):
2673 (WebKit::WebPageNewSerializeTest::resourceVectorContains):
2675 * tests/WebPageSerializerTest.cpp:
2676 (WebKit::WebPageSerializerTest::registerMockedURLLoad):
2677 (WebKit::WebPageSerializerTest::loadURLInTopFrame):
2678 (WebKit::WebPageSerializerTest::webVectorContains):
2680 * tests/WebViewTest.cpp:
2682 (WebKit::WebViewTest::testAutoResize):
2683 (WebKit::WebViewTest::testTextInputType):
2685 2012-07-09 Shawn Singh <shawnsingh@chromium.org>
2687 [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
2688 https://bugs.webkit.org/show_bug.cgi?id=90094
2690 Reviewed by Adam Barth.
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.
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.
2711 (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
2712 (WebKit::URLTestHelpers::registerMockedURLLoad):
2713 * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
2716 (WebKit::URLTestHelpers::toKURL):
2717 * tests/WebFrameTest.cpp:
2718 * tests/WebPageNewSerializerTest.cpp:
2719 * tests/WebPageSerializerTest.cpp:
2720 * tests/WebViewTest.cpp:
2722 2012-07-09 Dana Jansens <danakj@chromium.org>
2724 [chromium] Decouple RenderPass drawing from CCRenderSurface
2725 https://bugs.webkit.org/show_bug.cgi?id=90573
2727 Reviewed by Adrienne Walker.
2729 * tests/CCLayerTreeHostImplTest.cpp:
2730 * tests/LayerRendererChromiumTest.cpp:
2731 (FakeCCRendererClient::FakeCCRendererClient):
2733 2012-07-09 Adam Klein <adamk@chromium.org>
2735 Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver
2736 https://bugs.webkit.org/show_bug.cgi?id=90810
2738 Reviewed by Ojan Vafai.
2742 2012-07-09 Leandro Gracia Gil <leandrogracia@chromium.org>
2744 SurroundingText should not advance character iterators if they are at end.
2745 https://bugs.webkit.org/show_bug.cgi?id=90560
2747 Reviewed by Ryosuke Niwa.
2749 Moving the check for null visible positions to WebCore as it makes no
2750 sense to be in a platform-specific code.
2752 * src/WebSurroundingText.cpp:
2753 (WebKit::WebSurroundingText::initialize):
2755 2012-07-09 Dana Jansens <danakj@chromium.org>
2757 [chromium] Create render surfaces on main thread only for the current frame
2758 https://bugs.webkit.org/show_bug.cgi?id=89793
2760 Reviewed by Adrienne Walker.
2762 * tests/CCLayerTreeHostCommonTest.cpp:
2764 2012-07-02 Ryosuke Niwa <rniwa@webkit.org>
2766 Make HTMLCollection RefCounted
2767 https://bugs.webkit.org/show_bug.cgi?id=90414
2769 Reviewed by Sam Weinig.
2771 * src/WebPageSerializer.cpp:
2772 (WebCore::retrieveResourcesForFrame):
2773 * src/WebPageSerializerImpl.cpp:
2774 (WebKit::WebPageSerializerImpl::collectTargetFrames):
2776 2012-07-09 Sheriff Bot <webkit.review.bot@gmail.com>
2778 Unreviewed, rolling out r122107.
2779 http://trac.webkit.org/changeset/122107
2780 https://bugs.webkit.org/show_bug.cgi?id=90794
2782 Build failure on Mac debug bots (Requested by falken_ on
2786 * public/WebRuntimeFeatures.h:
2787 (WebRuntimeFeatures):
2788 * src/WebRuntimeFeatures.cpp:
2790 2012-07-09 Matt Falkenhagen <falken@chromium.org>
2792 Add ENABLE_DIALOG_ELEMENT and skeleton files
2793 https://bugs.webkit.org/show_bug.cgi?id=90521
2795 Reviewed by Kent Tamura.
2798 * public/WebRuntimeFeatures.h:
2799 (WebRuntimeFeatures):
2800 * src/WebRuntimeFeatures.cpp:
2801 (WebKit::WebRuntimeFeatures::enableDialogElement):
2803 (WebKit::WebRuntimeFeatures::isDialogElementEnabled):
2805 2012-07-09 MORITA Hajime <morrita@google.com>
2807 [Chromium] ContextFeaturesClient::isEnabled is slow
2808 https://bugs.webkit.org/show_bug.cgi?id=90367
2810 Reviewed by Kent Tamura.
2812 ContextFeaturesClientImpl::isEnabled touches a heavy part in chrome
2813 where locks are acquired for each invocation.
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.
2820 * src/ContextFeaturesClientImpl.cpp:
2821 (ContextFeaturesCache): 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):
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):
2838 2012-07-09 Vsevolod Vlasov <vsevik@chromium.org>
2840 Unreviewed chromium inspector test fix.
2843 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
2845 2012-07-05 Yoshifumi Inoue <yosin@chromium.org>
2847 Unreviewed Chromium gardening. Roll Chromium DEPS
2849 * DEPS: 145501 => 145569
2851 2012-07-05 Yoshifumi Inoue <yosin@chromium.org>
2853 Unreviewed Chromium gardening - Disable WebAnimationTest for Linux and Windows.
2854 https://bugs.webkit.org/show_bug.cgi?id=90651
2856 * tests/WebAnimationTest.cpp:
2860 2012-07-05 Ian Vollick <vollick@chromium.org>
2862 [chromium] Create a WebKit::Web* wrapper for the cc animation classes
2863 https://bugs.webkit.org/show_bug.cgi?id=90303
2865 Reviewed by James Robinson.
2869 * src/WebAnimation.cpp: Added.
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.
2884 (WebKit::createTimingFunction):
2885 * src/WebAnimationCurveCommon.h: Added.
2888 * src/WebFloatAnimationCurve.cpp: Added.
2890 (WebKit::WebFloatAnimationCurve::add):
2891 (WebKit::WebFloatAnimationCurve::toCCAnimationCurve):
2892 (WebKit::WebFloatAnimationCurve::initialize):
2893 (WebKit::WebFloatAnimationCurve::destroy):
2894 * src/WebTransformAnimationCurve.cpp: Added.
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.
2904 2012-07-05 Vincent Scheib <scheib@chromium.org>
2906 [Chromium] Clear m_currentInputEvent after handled by pointerLockMouseEvent().
2907 https://bugs.webkit.org/show_bug.cgi?id=90391
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
2914 Reviewed by Abhishek Arya.
2916 * src/WebViewImpl.cpp:
2917 (WebKit::WebViewImpl::handleInputEvent):
2919 2012-07-05 John Mellor <johnme@chromium.org>
2921 Text Autosizing: Add test framework and simple test.
2922 https://bugs.webkit.org/show_bug.cgi?id=90561
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).
2928 Reviewed by Adam Barth.
2932 2012-07-05 Oli Lan <olilan@chromium.org>
2934 [chromium] Add a method didChangeFormState to WebViewClient.
2935 https://bugs.webkit.org/show_bug.cgi?id=90563
2937 Reviewed by Adam Barth.
2939 This patch adds a new method didChangeFormState to WebViewClient,
2940 and calls it from ChromeClientImpl::formStateDidChange with the changed node.
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.
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.
2951 * public/WebViewClient.h:
2952 (WebKit::WebViewClient::didChangeFormState):
2953 * src/ChromeClientImpl.cpp:
2954 (WebKit::ChromeClientImpl::formStateDidChange):
2956 (WebKit::WebNode::focused):
2958 * tests/WebViewTest.cpp:
2959 (FormChangeWebViewClient):
2960 (WebKit::FormChangeWebViewClient::didChangeFormState):
2961 (WebKit::FormChangeWebViewClient::reset):
2962 (WebKit::FormChangeWebViewClient::called):
2963 (WebKit::FormChangeWebViewClient::focused):
2966 * tests/data/input_field_set_value_while_focused.html: Added.
2967 * tests/data/input_field_set_value_while_not_focused.html: Added.
2969 2012-07-04 Yoshifumi Inoue <yosin@chromium.org>
2971 Unreviewed, Chromium gardening. Roll Chromium DEPS.
2973 * DEPS: chromium_rev: 145322 => 145501
2975 2012-07-04 Dana Jansens <danakj@chromium.org>
2977 [chromium] Respect memory needed for RenderSurfaces when reserving contents textures
2978 https://bugs.webkit.org/show_bug.cgi?id=89901
2980 Reviewed by Adrienne Walker.
2982 * tests/CCPrioritizedTextureTest.cpp:
2983 (WTF::CCPrioritizedTextureTest::createManager):
2986 * tests/CCTiledLayerTestCommon.cpp:
2987 (WebKitTests::FakeTiledLayerChromium::setTexturePriorities):
2989 * tests/CCTiledLayerTestCommon.h:
2990 (FakeTiledLayerChromium):
2991 * tests/TiledLayerChromiumTest.cpp:
2993 2012-07-04 Dana Jansens <danakj@chromium.org>
2995 [chromium] Clear RenderSurfaces still when no idle paint will be done
2996 https://bugs.webkit.org/show_bug.cgi?id=90553
2998 Reviewed by Adrienne Walker.
3000 * tests/CCLayerTreeHostTest.cpp:
3001 (CCLayerTreeHostTestCompositeAndReadbackCleanup):
3002 (WTF::CCLayerTreeHostTestCompositeAndReadbackCleanup::CCLayerTreeHostTestCompositeAndReadbackCleanup):
3003 (WTF::CCLayerTreeHostTestCompositeAndReadbackCleanup::beginTest):
3004 (WTF::CCLayerTreeHostTestCompositeAndReadbackCleanup::afterTest):
3007 2012-07-04 Dana Jansens <danakj@chromium.org>
3009 [chromium] Remove CCLayerTreeHostTestThreadOnly class to cleanup CCLayerTreeHostTests
3010 https://bugs.webkit.org/show_bug.cgi?id=90556
3012 Reviewed by Adrienne Walker.
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.
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.
3024 * tests/CCLayerTreeHostTest.cpp:
3027 2012-07-04 John Mellor <johnme@chromium.org>
3029 Text Autosizing: Add compile flag and runtime setting
3030 https://bugs.webkit.org/show_bug.cgi?id=87394
3032 This patch renames Font Boosting to Text Autosizing and adds compile guards around the runtime setting.
3034 Reviewed by Adam Barth.
3037 * public/WebSettings.h:
3038 * src/WebSettingsImpl.cpp:
3039 (WebKit::WebSettingsImpl::setTextAutosizingEnabled):
3040 * src/WebSettingsImpl.h:
3043 2012-07-04 Ian Vollick <vollick@chromium.org>
3045 [chromium] Correctly reject accelerated animations with certain rotations.
3046 https://bugs.webkit.org/show_bug.cgi?id=89768
3048 Reviewed by James Robinson.
3050 * tests/GraphicsLayerChromiumTest.cpp:
3051 (WebKitTests::TEST_F):
3054 2012-07-03 Alex Sakhartchouk <alexst@chromium.org>
3056 [chromium] Avoid calling getUniformLocation??() in the compositor startup
3057 https://bugs.webkit.org/show_bug.cgi?id=90217
3059 Reviewed by Adrienne Walker.
3061 Fixing the build error.
3063 * tests/TextureCopierTest.cpp:
3065 2012-07-03 Erik Arvidsson <arv@chromium.org>
3067 [V8] Remove enableFasterDOMStoreAccess which is never used
3068 https://bugs.webkit.org/show_bug.cgi?id=90489
3070 Reviewed by Adam Barth.
3072 * src/WebScriptController.cpp:
3073 (WebKit::WebScriptController::enableV8SingleThreadMode):
3075 2012-07-03 Tony Chang <tony@chromium.org>
3077 [chromium] Unreviewed, update .gitignore to handle VS2010 files.
3081 2012-07-03 Tony Chang <tony@chromium.org>
3083 Unreviewed. Rolled DEPS.
3087 2012-07-03 Charles Wei <charles.wei@torchmobile.com.cn>
3089 IndexedDB: should make the LevelDB persistant to the directory indicated in PageGroupSettings::indexedDBDataBasePath
3090 https://bugs.webkit.org/show_bug.cgi?id=88338
3092 Reviewed by David Levin.
3094 * src/WebSharedWorkerImpl.cpp:
3095 (WebKit::WebSharedWorkerImpl::startWorkerContext):
3096 * src/WebWorkerClientImpl.cpp:
3097 (WebKit::WebWorkerClientImpl::startWorkerContext):
3099 2012-07-02 Sheriff Bot <webkit.review.bot@gmail.com>
3101 Unreviewed. Rolled DEPS.
3105 2012-07-02 Leandro Gracia Gil <leandrogracia@chromium.org>
3107 [Chromium] Implement a Layout Test for editing/SurroundingText
3108 https://bugs.webkit.org/show_bug.cgi?id=82461
3110 Reviewed by Ryosuke Niwa.
3112 Allow passing nodes as arguments for layout test methods.
3114 * public/WebBindings.h:
3116 * src/WebBindings.cpp:
3117 (WebKit::getNodeImpl):
3119 (WebKit::WebBindings::getNode):
3121 2012-07-02 Benjamin Poulain <bpoulain@apple.com>
3123 Do not do any logging initialization when logging is disabled
3124 https://bugs.webkit.org/show_bug.cgi?id=90228
3126 Reviewed by Simon Fraser.
3129 (WebKit::enableLogChannel):
3131 2012-07-01 Keishi Hattori <keishi@webkit.org>
3133 Unreviewed, rolling out r121650.
3134 http://trac.webkit.org/changeset/121650
3135 https://bugs.webkit.org/show_bug.cgi?id=90303
3137 runhooks is failing for chromium win bots and
3138 WebAnimationTest.DefaultSettings is crashing
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.
3151 2012-07-01 Ian Vollick <vollick@chromium.org>
3153 [chromium] Create a WebKit::Web* wrapper for the cc animation classes
3154 https://bugs.webkit.org/show_bug.cgi?id=90303
3156 Reviewed by James Robinson.
3160 * src/WebAnimation.cpp: Added.
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.
3175 (WebKit::createTimingFunction):
3176 * src/WebAnimationCurveCommon.h: Added.
3179 * src/WebFloatAnimationCurve.cpp: Added.
3181 (WebKit::WebFloatAnimationCurve::add):
3182 (WebKit::WebFloatAnimationCurve::toCCAnimationCurve):
3183 (WebKit::WebFloatAnimationCurve::initialize):
3184 (WebKit::WebFloatAnimationCurve::destroy):
3185 * src/WebTransformAnimationCurve.cpp: Added.
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.
3195 2012-06-30 Ian Vollick <vollick@chromium.org>
3197 [chromium] CanvasLayerTextureUpdater needs to convert opaque rects back to content space.
3198 https://bugs.webkit.org/show_bug.cgi?id=90092
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.
3206 Reviewed by Adrienne Walker.
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.
3219 (OpaqueRectDrawingGraphicsContextPainter):
3220 (WebKit::OpaqueRectDrawingGraphicsContextPainter::OpaqueRectDrawingGraphicsContextPainter):
3221 (WebKit::OpaqueRectDrawingGraphicsContextPainter::~OpaqueRectDrawingGraphicsContextPainter):
3222 (MockContentLayerDelegate):
3223 (WebKit::MockContentLayerDelegate::MockContentLayerDelegate):
3225 * tests/LayerChromiumTest.cpp:
3226 * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
3228 * tests/TiledLayerChromiumTest.cpp:
3229 * tests/WebLayerTest.cpp:
3231 2012-06-29 Joshua Bell <jsbell@chromium.org>
3233 IndexedDB: Keep direction on IDBCursor to avoid calls to back end
3234 https://bugs.webkit.org/show_bug.cgi?id=90114
3236 Stop plumbing IDBCursorBackendInterface::direction() through API.
3238 Reviewed by Tony Chang.
3240 * src/IDBCursorBackendProxy.cpp:
3241 * src/IDBCursorBackendProxy.h:
3242 (IDBCursorBackendProxy):
3243 * src/WebIDBCursorImpl.cpp:
3244 * src/WebIDBCursorImpl.h:
3247 2012-06-29 Adam Barth <abarth@webkit.org>
3249 [Chromium] WebFontRendering.cpp requires some OS(ANDROID) ifdefs to build downstream
3250 https://bugs.webkit.org/show_bug.cgi?id=90292
3252 Reviewed by Nate Chapin.
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.
3260 * src/linux/WebFontRendering.cpp:
3261 (WebKit::WebFontRendering::setSubpixelPositioning):
3263 2012-06-29 Eric Penner <epenner@google.com>
3265 [chromium] Adding PrioritizedTexture and replacing ContentsTextureManager
3266 https://bugs.webkit.org/show_bug.cgi?id=84308
3268 Reviewed by Adrienne Walker.
3271 * tests/CCLayerTreeHostTest.cpp:
3272 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
3273 * tests/CCPrioritizedTextureTest.cpp: Added.
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):
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:
3291 (FakeLayerTextureUpdater):
3292 (FakeTiledLayerChromium):
3293 (FakeTiledLayerWithScaledBounds):
3294 * tests/TiledLayerChromiumTest.cpp:
3296 2012-06-29 Ian Vollick <vollick@chromium.org>
3298 [chromium] Roll chromium rev to 144906
3299 https://bugs.webkit.org/show_bug.cgi?id=90278
3301 Unreviewed. Deps roll.
3305 2012-06-29 Alexander Pavlov <apavlov@chromium.org>
3307 Web Inspector: [Device Metrics] "Fit window" option inhibits adjusting the page zoom factor
3308 https://bugs.webkit.org/show_bug.cgi?id=90187
3310 Reviewed by Vsevolod Vlasov.
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.
3317 * src/WebDevToolsAgentImpl.cpp:
3318 (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
3319 (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
3321 2012-06-29 Konrad Piascik <kpiascik@rim.com>
3323 Don't hardcode target dpi of 160 (it should be 96 on desktop)
3324 https://bugs.webkit.org/show_bug.cgi?id=88114
3326 Reviewed by Adam Barth.
3328 Updated the call to computeViewportAttributes.
3330 * src/ChromeClientImpl.cpp:
3331 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
3333 2012-06-29 Amy Ousterhout <aousterh@chromium.org>
3335 Deleting unused function in WebDeviceOrientation
3336 https://bugs.webkit.org/show_bug.cgi?id=90185
3338 Reviewed by Adam Barth.
3340 Deleting the unused copy assignment function in WebDeviceOrientation.
3342 * public/WebDeviceOrientation.h:
3343 (WebDeviceOrientation):
3344 * src/WebDeviceOrientation.cpp:
3346 2012-06-29 Yoshifumi Inoue <yosin@chromium.org>
3348 [Platform] Implement Date Time format parser
3349 https://bugs.webkit.org/show_bug.cgi?id=89963
3351 Reviewed by Kent Tamura.
3353 This patch adds an unit test for date time format parser if
3354 ENABLE(INPUT_TYPE_TIME_MULTIPLE_FIELDS) is true.
3356 * tests/DateTimeFormatTest.cpp: Added.
3357 (DateTimeFormatTest):
3359 (DateTimeFormatTest::Token::Token):
3360 (DateTimeFormatTest::Token::operator==):
3361 (DateTimeFormatTest::Token::toString):
3363 (DateTimeFormatTest::Tokens::Tokens):
3364 (DateTimeFormatTest::Tokens::operator==):
3365 (DateTimeFormatTest::Tokens::toString):
3366 (DateTimeFormatTest::parse):
3367 (DateTimeFormatTest::single):
3369 (DateTimeFormatTest::TokenHandler::~TokenHandler):
3370 (DateTimeFormatTest::TokenHandler::fieldType):
3371 (DateTimeFormatTest::TokenHandler::tokens):
3372 (DateTimeFormatTest::TokenHandler::visitField):
3373 (DateTimeFormatTest::TokenHandler::visitLiteral):
3377 2012-06-28 Joshua Bell <jsbell@chromium.org>
3379 IndexedDB: Implement IDBTransaction internal active flag
3380 https://bugs.webkit.org/show_bug.cgi?id=89379
3382 Reviewed by Tony Chang.
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.
3388 * src/IDBTransactionBackendProxy.cpp:
3389 (WebKit::IDBTransactionBackendProxy::commit):
3391 * src/IDBTransactionBackendProxy.h:
3392 (IDBTransactionBackendProxy):
3393 * src/WebIDBTransactionImpl.cpp:
3394 (WebKit::WebIDBTransactionImpl::commit):
3396 * src/WebIDBTransactionImpl.h:
3398 2012-06-28 Adrienne Walker <enne@google.com>
3400 [chromium] Split WebScrollbar into WebPluginScrollbar and WebScrollbar
3401 https://bugs.webkit.org/show_bug.cgi?id=90117
3403 Reviewed by James Robinson.
3405 Convert WebScrollbar/WebScrollbarClient/WebScrollbarImpl to be
3406 WebPluginScrollbar, WebPluginScrollbarClient, and
3407 WebPluginScrollbarImpl. Modify ScrollbarGroup
3408 to use this instead.
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.
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.
3420 As WebScrollbar is moved to Platform, WebKit.gyp now must depend on
3424 * public/WebPluginScrollbar.h:
3426 (WebPluginScrollbar):
3427 (WebKit::WebPluginScrollbar::~WebPluginScrollbar):
3428 * public/WebPluginScrollbarClient.h:
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:
3443 * src/WebPluginScrollbarImpl.cpp: Renamed from Source/WebKit/chromium/src/WebScrollbarImpl.cpp.
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.
3471 (WebPluginScrollbarImpl):
3472 (WebKit::WebPluginScrollbarImpl::scrollOffset):
3473 (WebKit::WebPluginScrollbarImpl::scrollbar):
3474 * src/WebScrollbarImpl.h: Removed.
3476 2012-06-28 Adam Barth <abarth@webkit.org>
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
3481 Reviewed by Dimitri Glazkov.
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.
3489 This function will be used in a subsequent patch to detect content
3493 * public/WebContentDetectionResult.h: Added.
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:
3503 (WebKit::WebViewClient::detechContentAround):
3505 2012-06-28 Alec Flett <alecflett@chromium.org>
3507 IndexedDB: Hook up render-side key ASSERTing for get()
3508 https://bugs.webkit.org/show_bug.cgi?id=90001
3510 Reviewed by Tony Chang.
3512 Hook up Chromium WebKit API to new onSuccess handler.
3514 * src/WebIDBCallbacksImpl.cpp:
3515 (WebKit::WebIDBCallbacksImpl::onSuccess):
3516 * tests/IDBAbortOnCorruptTest.cpp:
3517 (WebCore::MockIDBCallbacks::onSuccess):
3518 * tests/IDBDatabaseBackendTest.cpp:
3520 2012-06-28 Sheriff Bot <webkit.review.bot@gmail.com>
3522 Unreviewed. Rolled DEPS.
3526 2012-06-28 Alpha Lam <hclam@chromium.org>
3528 Unreviewed, rolling out r121463.
3529 http://trac.webkit.org/changeset/121463
3530 https://bugs.webkit.org/show_bug.cgi?id=90094
3532 Broke Windows build.
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):
3544 * tests/EventListenerTest.cpp:
3545 * tests/FrameTestHelpers.cpp:
3546 (WebKit::FrameTestHelpers::registerMockedURLLoad):
3548 (WebKit::FrameTestHelpers::loadFrame):
3549 * tests/FrameTestHelpers.h:
3551 * tests/ListenerLeakTest.cpp:
3552 (WebKit::ListenerLeakTest::RunTest):
3553 * tests/PopupMenuTest.cpp:
3554 (WebKit::SelectPopupMenuTest::registerMockedURLLoad):
3555 (WebKit::SelectPopupMenuTest::loadFrame):
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):
3564 * tests/WebPageNewSerializerTest.cpp:
3565 (WebKit::WebPageNewSerializeTest::registerMockedURLLoad):
3566 (WebPageNewSerializeTest):
3567 (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
3568 (WebKit::WebPageNewSerializeTest::loadURLInTopFrame):
3569 (WebKit::WebPageNewSerializeTest::resourceVectorContains):
3571 * tests/WebPageSerializerTest.cpp:
3572 (WebKit::WebPageSerializerTest::registerMockedURLLoad):
3573 (WebKit::WebPageSerializerTest::loadURLInTopFrame):
3574 (WebKit::WebPageSerializerTest::webVectorContains):
3576 * tests/WebViewTest.cpp:
3578 (WebKit::WebViewTest::testAutoResize):
3579 (WebKit::WebViewTest::testTextInputType):
3581 2012-06-28 Shawn Singh <shawnsingh@chromium.org>
3583 [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
3584 https://bugs.webkit.org/show_bug.cgi?id=90094
3586 Reviewed by Adam Barth.
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.
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.
3607 (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
3608 (WebKit::URLTestHelpers::registerMockedURLLoad):
3609 * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
3612 (WebKit::URLTestHelpers::toKURL):
3613 * tests/WebFrameTest.cpp:
3614 * tests/WebPageNewSerializerTest.cpp:
3615 * tests/WebPageSerializerTest.cpp:
3616 * tests/WebViewTest.cpp:
3618 2012-06-28 Oli Lan <olilan@chromium.org>
3620 [chromium] Change WebViewImpl::textInputInfo to use root editable element.
3621 https://bugs.webkit.org/show_bug.cgi?id=90179
3623 Reviewed by Adam Barth.
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.
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.
3631 This also ensures that the offsets returned will use the same basis as the recently added
3632 method Editor::setSelectionOffsets (and WebViewImpl::setEditableSelectionOffsets).
3634 Testing for textInputInfo has been added to WebViewTest.
3636 * src/WebViewImpl.cpp:
3637 (WebKit::WebViewImpl::textInputInfo):
3638 * tests/WebViewTest.cpp:
3641 2012-06-28 James Robinson <jamesr@chromium.org>
3643 [chromium] Should schedule a commit when dropping contents textures
3644 https://bugs.webkit.org/show_bug.cgi?id=90031
3646 Reviewed by Adrienne Walker.
3648 Adds a somewhat vacuous test unit test for committing when releasing textures.
3650 * tests/CCLayerTreeHostImplTest.cpp:
3652 2012-06-27 Dana Jansens <danakj@chromium.org>
3654 [chromium] Do not multiply bounds by contentsScale in TiledLayerChromium and CanvasLayerTextureUpdater
3655 https://bugs.webkit.org/show_bug.cgi?id=90103
3657 Reviewed by Adrienne Walker.
3659 * tests/CCTiledLayerTestCommon.cpp:
3660 (WebKitTests::FakeLayerTextureUpdater::prepareToUpdate):
3661 * tests/CCTiledLayerTestCommon.h:
3662 (FakeTiledLayerChromium):
3663 * tests/TiledLayerChromiumTest.cpp:
3665 2012-06-28 Dan Alcantara <dfalcantara@chromium.org>
3667 [chromium] Introduce way to reload a page using the original request URL
3668 https://bugs.webkit.org/show_bug.cgi?id=89788
3670 Reviewed by Adam Barth.
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.
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.
3681 Also adds a unit test to confirm that scroll position and page scale are
3682 saved when the reload occurs.
3684 * public/WebFrame.h:
3686 * src/WebFrameImpl.cpp:
3687 (WebKit::WebFrameImpl::reloadWithGivenURL):
3689 * src/WebFrameImpl.h:
3691 * src/WebViewImpl.cpp:
3692 (WebKit::WebViewImpl::WebViewImpl):
3693 (WebKit::WebViewImpl::setClearPageScaleFactorOnLoad):
3695 (WebKit::WebViewImpl::didCommitLoad):
3696 * src/WebViewImpl.h:
3699 2012-06-28 Sheriff Bot <webkit.review.bot@gmail.com>
3701 Unreviewed, rolling out r121395.
3702 http://trac.webkit.org/changeset/121395
3703 https://bugs.webkit.org/show_bug.cgi?id=90143
3705 Patch causes crashes in fast/workers/worker-context-gc.html
3706 (Requested by zdobersek on #webkit).
3708 * src/WebSharedWorkerImpl.cpp:
3709 (WebKit::WebSharedWorkerImpl::startWorkerContext):
3710 * src/WebWorkerClientImpl.cpp:
3711 (WebKit::WebWorkerClientImpl::startWorkerContext):
3713 2012-06-28 Yoshifumi Inoue <yosin@chromium.org>
3715 [Platform] Implement functions for localized time format information
3716 https://bugs.webkit.org/show_bug.cgi?id=89965
3718 Reviewed by Kent Tamura.
3720 This patch adds new test LocalizedDateICUTest if ENABLE(INPUT_TYPE_TIME_MULTIPLE_FIELDS)
3724 * tests/LocalizedDateICUTest.cpp: Added.
3725 (LocalizedDateICUTest):
3727 (LocalizedDateICUTest::Labels::Labels):
3728 (LocalizedDateICUTest::Labels::operator==):
3729 (LocalizedDateICUTest::Labels::toString):
3730 (LocalizedDateICUTest::labels):
3731 (LocalizedDateICUTest::localizedDateFormatText):
3732 (LocalizedDateICUTest::localizedShortDateFormatText):
3733 (LocalizedDateICUTest::timeAMPMLabels):
3737 2012-06-27 Sheriff Bot <webkit.review.bot@gmail.com>
3739 Unreviewed, rolling out r121405.
3740 http://trac.webkit.org/changeset/121405
3741 https://bugs.webkit.org/show_bug.cgi?id=90135
3743 broke windows build (Requested by shawnsingh_ on #webkit).
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):
3755 * tests/EventListenerTest.cpp:
3756 * tests/FrameTestHelpers.cpp:
3757 (WebKit::FrameTestHelpers::registerMockedURLLoad):
3759 (WebKit::FrameTestHelpers::loadFrame):
3760 * tests/FrameTestHelpers.h:
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):
3774 * tests/WebPageNewSerializerTest.cpp:
3775 (WebKit::WebPageNewSerializeTest::registerMockedURLLoad):
3776 (WebPageNewSerializeTest):
3777 (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
3778 (WebKit::WebPageNewSerializeTest::loadURLInTopFrame):
3779 (WebKit::WebPageNewSerializeTest::resourceVectorContains):
3781 * tests/WebPageSerializerTest.cpp:
3782 (WebKit::WebPageSerializerTest::registerMockedURLLoad):
3783 (WebKit::WebPageSerializerTest::loadURLInTopFrame):
3784 (WebKit::WebPageSerializerTest::webVectorContains):
3786 * tests/WebViewTest.cpp:
3788 (WebKit::WebViewTest::testAutoResize):
3789 (WebKit::WebViewTest::testTextInputType):
3791 2012-06-27 Shawn Singh <shawnsingh@chromium.org>
3793 [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
3794 https://bugs.webkit.org/show_bug.cgi?id=90094
3796 Reviewed by James Robinson.
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.
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.
3817 (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
3818 (WebKit::URLTestHelpers::registerMockedURLLoad):
3819 * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
3822 (WebKit::URLTestHelpers::toKURL):
3823 * tests/WebFrameTest.cpp:
3824 * tests/WebPageNewSerializerTest.cpp:
3825 * tests/WebPageSerializerTest.cpp:
3826 * tests/WebViewTest.cpp:
3828 2012-06-27 Yoshifumi Inoue <yosin@chromium.org>
3830 [Platform] Implement localizedDecimalSeparator function
3831 https://bugs.webkit.org/show_bug.cgi?id=90036
3833 Reviewed by Kent Tamura.
3835 This patch adds test case for localizedDecimalSeparator().
3837 * tests/LocalizedNumberICUTest.cpp:
3838 (testDecimalSeparator):
3841 2012-06-27 Yusuke Sato <yusukes@chromium.org>
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
3846 Reviewed by Tony Chang.
3848 This is a Gtk port of http://crrev.com/142209.
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.
3854 * src/gtk/WebInputEventFactory.cpp:
3856 (WebKit::normalizeEventState):
3857 (WebKit::WebInputEventFactory::keyboardEvent):
3859 2012-06-27 James Robinson <jamesr@chromium.org>
3861 [chromium] Use SkColor in compositor internals
3862 https://bugs.webkit.org/show_bug.cgi?id=90108
3864 Reviewed by Adrienne Walker.
3866 * src/NonCompositedContentHost.cpp:
3867 (WebKit::NonCompositedContentHost::setBackgroundColor):
3868 * tests/CCLayerImplTest.cpp:
3870 * tests/CCLayerTreeHostImplTest.cpp:
3871 * tests/CCSolidColorLayerImplTest.cpp:
3872 (CCLayerTestCommon::TEST):
3873 * tests/LayerChromiumTest.cpp:
3875 2012-06-27 Charles Wei <charles.wei@torchmobile.com.cn>
3877 IndexedDB: should make the LevelDB persistant to the directory indicated in PageGroupSettings::indexedDBDataBasePath
3878 https://bugs.webkit.org/show_bug.cgi?id=88338
3880 Reviewed by David Levin.
3882 * src/WebSharedWorkerImpl.cpp:
3883 (WebKit::WebSharedWorkerImpl::startWorkerContext):
3884 * src/WebWorkerClientImpl.cpp:
3885 (WebKit::WebWorkerClientImpl::startWorkerContext):
3887 2012-06-27 Joshua Bell <jsbell@chromium.org>
3889 [Chromium] IndexedDB: Expose WebIDBTransaction::commit() method in public API
3890 https://bugs.webkit.org/show_bug.cgi?id=90089
3892 Reviewed by James Robinson.
3894 Prep work for http://webkit.org/b/89379 which requires empty transactions to
3895 trigger a commit from the front-end.
3897 * public/WebIDBTransaction.h:
3898 (WebKit::WebIDBTransaction::commit):
3900 2012-06-27 Josh Horwich <jhorwich@chromium.org>
3902 [chromium] Expose device scale factor in WebPluginContainer
3903 https://bugs.webkit.org/show_bug.cgi?id=87874
3905 Reviewed by Adam Barth.
3907 * public/WebPluginContainer.h:
3908 (WebPluginContainer):
3909 * src/WebPluginContainerImpl.cpp:
3910 (WebKit::WebPluginContainerImpl::deviceScaleFactor):
3912 (WebKit::WebPluginContainerImpl::pageScaleFactor):
3913 (WebKit::WebPluginContainerImpl::pageZoomFactor):
3914 * src/WebPluginContainerImpl.h:
3915 (WebPluginContainerImpl):
3917 2012-06-27 Robert Kroeger <rjkroege@chromium.org>
3919 [chromium] out-of-order assert in WebViewImpl setDeviceScaleFactor
3920 https://bugs.webkit.org/show_bug.cgi?id=90006
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.
3926 Reviewed by James Robinson.
3928 * src/WebViewImpl.cpp:
3929 (WebKit::WebViewImpl::setDeviceScaleFactor):
3931 2012-06-26 Sheriff Bot <webkit.review.bot@gmail.com>
3933 Unreviewed. Rolled DEPS.
3937 2012-06-26 James Robinson <jamesr@chromium.org>
3939 [chromium] Remove WebView::graphicsContext3D getter
3940 https://bugs.webkit.org/show_bug.cgi?id=89916
3942 Reviewed by Adrienne Walker.
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
3952 * src/WebLayerTreeView.cpp:
3953 * src/WebViewImpl.cpp:
3954 * src/WebViewImpl.h:
3957 2012-06-26 Peter Beverloo <peter@chromium.org>
3959 [Chromium] Decrease the number of conditional blocks in features.gypi
3960 https://bugs.webkit.org/show_bug.cgi?id=90013
3962 Reviewed by Adam Barth.
3964 Consolidate two Android-specific and accelerated-compositing-specific
3965 conditional blocks into other blocks which serve an identical purpose.
3969 2012-06-26 Dave Tu <dtu@chromium.org>
3971 [chromium] Expose rendering statistics to WebWidget.
3972 https://bugs.webkit.org/show_bug.cgi?id=88268
3974 Reviewed by James Robinson.
3976 The WebKit side of a basic framework for exposing rendering statistics
3977 to Chromium's --enable-benchmarking extension.
3979 * src/WebLayerTreeView.cpp:
3980 (WebKit::WebLayerTreeView::renderingStatistics):
3983 2012-06-25 James Robinson <jamesr@chromium.org>
3985 [chromium] Add WebLayer API for scrolling
3986 https://bugs.webkit.org/show_bug.cgi?id=89913
3988 Reviewed by Adrienne Walker.
3990 Use WebScrollableLayer type in NonCompositedContentHost.
3993 * src/NonCompositedContentHost.cpp:
3994 (WebKit::NonCompositedContentHost::setScrollLayer):
3995 (WebKit::reserveScrollbarLayers):
3996 (WebKit::NonCompositedContentHost::setViewport):
3997 (WebKit::NonCompositedContentHost::haveScrollLayer):
3999 (WebKit::NonCompositedContentHost::scrollLayer):
4000 * src/NonCompositedContentHost.h:
4002 * src/WebContentLayer.cpp:
4003 (WebKit::WebContentLayer::WebContentLayer):
4005 (WebKit::WebLayer::numberOfChildren):
4007 (WebKit::WebLayer::childAt):
4008 (WebKit::WebLayer::setAlwaysReserveTextures):
4009 * src/WebScrollableLayer.cpp:
4011 (WebKit::WebScrollableLayer::setScrollPosition):
4012 (WebKit::WebScrollableLayer::setScrollable):
4013 (WebKit::WebScrollableLayer::setHaveWheelEventHandlers):
4014 (WebKit::WebScrollableLayer::setShouldScrollOnMainThread):
4016 2012-06-26 Ian Vollick <vollick@chromium.org>
4018 [chromium] The single thread proxy should not automatically tick new animations.
4019 https://bugs.webkit.org/show_bug.cgi?id=89996
4021 Reviewed by James Robinson.
4024 * tests/CCSingleThreadProxyTest.cpp: Removed.
4026 2012-06-26 Ian Vollick <vollick@chromium.org>
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
4031 Reviewed by James Robinson.
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.
4037 * tests/LayerChromiumTest.cpp:
4039 2012-06-26 James Robinson <jamesr@chromium.org>
4041 [chromium] Remove dead compositor-related API from GraphicsContext3DPrivate / Extensions3DChromium
4042 https://bugs.webkit.org/show_bug.cgi?id=89933
4044 Reviewed by Kenneth Russell.
4046 * tests/Canvas2DLayerBridgeTest.cpp:
4047 (Canvas2DLayerBridgeTest::fullLifecycleTest):
4049 2012-06-26 Shawn Singh <shawnsingh@chromium.org>
4051 [chromium] Fix incorrect #ifdef WEBKIT_IMPLEMENTATION statements
4052 https://bugs.webkit.org/show_bug.cgi?id=89931
4054 Reviewed by James Robinson.
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
4062 * public/WebTextRun.h:
4064 * public/linux/WebFontRenderStyle.h:
4066 2012-06-26 Jun Mukai <mukai@chromium.org>
4068 Allow using <input type="color"> UI in ChromeOS.
4069 https://bugs.webkit.org/show_bug.cgi?id=89944
4071 Reviewed by Kent Tamura.
4073 http://crrev.com/144111 adds the UI of <input type="color"> for
4074 ChromeOS, so now we can set its flag too.
4078 2012-06-25 Ryosuke Niwa <rniwa@webkit.org>
4080 Get rid of firstItem and nextItem from HTMLCollection
4081 https://bugs.webkit.org/show_bug.cgi?id=89923
4083 Reviewed by Andreas Kling.
4085 Re-implement WebNodeCollection::firstItem() and WebNodeCollection::nextItem() in WebKit code
4086 because we got rid of it from WebCore implementation.
4088 This is an extremely poor API and we shouldn't be exposing it in the future.
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):
4099 2012-06-25 Luke Macpherson <macpherson@chromium.org>
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
4104 Reviewed by Dimitri Glazkov.
4107 * public/WebSettings.h:
4108 * src/WebSettingsImpl.cpp:
4109 (WebKit::WebSettingsImpl::setExperimentalCSSVariablesEnabled):
4111 * src/WebSettingsImpl.h:
4114 2012-06-25 Adrienne Walker <enne@google.com>
4116 [chromium] Add WebPluginScrollbar and WebPluginScrollbarClient stub implementations
4117 https://bugs.webkit.org/show_bug.cgi?id=89928
4119 Reviewed by Darin Fisher.
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.
4127 * public/WebPluginScrollbar.h: Added.
4129 * public/WebPluginScrollbarClient.h: Added.
4132 2012-06-25 Sheriff Bot <webkit.review.bot@gmail.com>
4134 Unreviewed. Rolled DEPS.
4138 2012-06-25 Sheriff Bot <webkit.review.bot@gmail.com>
4140 Unreviewed, rolling out r121206.
4141 http://trac.webkit.org/changeset/121206
4142 https://bugs.webkit.org/show_bug.cgi?id=89935
4144 [chromium] webkit_unit_tests
4145 WebViewTest.MHTMLWithMissingResourceFinishesLoading crash
4146 (Requested by ukai on #webkit).
4148 * tests/EventListenerTest.cpp:
4149 * tests/FrameTestHelpers.cpp:
4150 (WebKit::FrameTestHelpers::registerMockedURLLoad):
4151 (WebKit::FrameTestHelpers::createWebViewAndLoad):
4152 * tests/FrameTestHelpers.h:
4154 * tests/ListenerLeakTest.cpp:
4155 (WebKit::ListenerLeakTest::RunTest):
4156 * tests/WebFrameTest.cpp:
4157 (WebKit::WebFrameTest::registerMockedHttpURLLoad):
4158 (WebKit::WebFrameTest::registerMockedChromeURLLoad):
4159 * tests/WebViewTest.cpp:
4161 (WebKit::WebViewTest::testAutoResize):
4162 (WebKit::WebViewTest::testTextInputType):
4164 2012-06-25 Adam Barth <abarth@webkit.org>
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
4169 Reviewed by James Robinson.
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
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
4183 * src/ChromeClientImpl.cpp:
4184 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
4185 * src/WebViewImpl.cpp:
4186 (WebKit::WebViewImpl::WebViewImpl):
4187 (WebKit::WebViewImpl::setIgnoreViewportTagMaximumScale):
4189 * src/WebViewImpl.h:
4191 (WebKit::WebViewImpl::ignoreViewportTagMaximumScale):
4192 * tests/WebFrameTest.cpp:
4196 2012-06-25 Sheriff Bot <webkit.review.bot@gmail.com>
4198 Unreviewed, rolling out r121176.
4199 http://trac.webkit.org/changeset/121176
4200 https://bugs.webkit.org/show_bug.cgi?id=89934
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).
4206 * src/PlatformSupport.cpp:
4208 2012-06-25 Jay Civelli <jcivelli@chromium.org>
4210 Fix progress load reporting for MHTML documents.
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
4216 Reviewed by Nate Chapin.
4218 * tests/EventListenerTest.cpp:
4219 * tests/FrameTestHelpers.cpp:
4221 (WebKit::FrameTestHelpers::registerMockedURLLoad):
4222 (WebKit::FrameTestHelpers::registerMockedURLLoadAsHTML):
4223 (WebKit::FrameTestHelpers::createWebViewAndLoad):
4224 * tests/FrameTestHelpers.h:
4226 * tests/ListenerLeakTest.cpp:
4227 (WebKit::ListenerLeakTest::RunTest):
4228 * tests/WebFrameTest.cpp:
4229 (WebKit::WebFrameTest::registerMockedHttpURLLoad):
4230 (WebKit::WebFrameTest::registerMockedChromeURLLoad):
4231 * tests/WebViewTest.cpp:
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):
4245 2012-06-25 James Robinson <jamesr@chromium.org>
4247 [chromium] Use WebGraphicsContext3D in compositor implementation
4248 https://bugs.webkit.org/show_bug.cgi?id=89700
4250 Reviewed by Adrienne Walker.
4252 Updates tests for refactor, mostly by removing unnecessary GraphicsContext3D wrapper around mock contexts.
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:
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:
4276 * tests/GraphicsLayerChromiumTest.cpp:
4277 * tests/LayerRendererChromiumTest.cpp:
4278 (FakeLayerRendererChromium::FakeLayerRendererChromium):
4279 (LayerRendererChromiumTest::LayerRendererChromiumTest):
4280 (LayerRendererChromiumTest):
4283 * tests/TextureCopierTest.cpp:
4284 * tests/ThrottledTextureUploaderTest.cpp:
4286 * tests/TiledLayerChromiumTest.cpp:
4288 2012-06-25 Kausalya Madhusudhanan <kmadhusu@chromium.org>
4290 [Chromium] Add a chromium-webkit API to create a serializable file system.
4291 https://bugs.webkit.org/show_bug.cgi?id=89776
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.
4297 Reviewed by Adam Barth.
4299 * public/WebFrame.h:
4301 * src/WebFrameImpl.cpp:
4302 (WebKit::WebFrameImpl::createSerializableFileSystem):
4304 * src/WebFrameImpl.h:
4307 2012-06-25 Alpha Lam <hclam@chromium.org>
4309 Unreviewed, rolling out r121178.
4310 http://trac.webkit.org/changeset/121178
4311 https://bugs.webkit.org/show_bug.cgi?id=89784
4313 New unit test added is failing on WebKit Linux (dbg)
4315 * tests/LayerChromiumTest.cpp:
4317 2012-06-25 Alpha Lam <hclam@chromium.org>
4319 Unreviewed, rolling out r121129.
4320 http://trac.webkit.org/changeset/121129
4321 https://bugs.webkit.org/show_bug.cgi?id=89542
4323 Chromium ASan failure: crbug.com/134402
4326 * public/WebSettings.h:
4327 * src/WebSettingsImpl.cpp:
4328 * src/WebSettingsImpl.h:
4331 2012-06-25 Alpha Lam <hclam@chromium.org>
4333 Roll Chromium DEPS to r144020
4334 https://bugs.webkit.org/show_bug.cgi?id=89912
4336 Build fixed now! Unreviewed.
4338 Rolled DEPS to fix chromium build.
4339 Patch by Scott Graham <scottmg@chromium.org>.
4343 2012-06-25 Alec Flett <alecflett@chromium.org>
4345 IndexedDB: Stub out new onSuccess() handler for chromium
4346 https://bugs.webkit.org/show_bug.cgi?id=89895
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.
4354 Reviewed by Darin Fisher.
4356 * public/WebIDBCallbacks.h:
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):
4366 * src/WebIDBCallbacksImpl.h:
4367 (WebIDBCallbacksImpl):
4369 2012-06-25 Joshua Bell <jsbell@chromium.org>
4371 IndexedDB: Remove unused backend property accessors
4372 https://bugs.webkit.org/show_bug.cgi?id=89893
4374 Reviewed by Darin Fisher.
4376 Following the "metadata" API addition in trac.webkit.org/changeset/121059
4377 per-property accessors can be removed from the Chromium WebKit API.
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:
4385 * src/WebIDBObjectStoreImpl.cpp: Removed name, keyPath, autoIncrement, indexNames.
4386 * src/WebIDBObjectStoreImpl.h:
4387 (WebIDBObjectStoreImpl):
4389 2012-06-25 Ian Vollick <vollick@chromium.org>
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
4394 Reviewed by James Robinson.
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.
4400 * tests/LayerChromiumTest.cpp:
4402 2012-06-25 Scott Graham <scottmg@chromium.org>
4404 Plumb Scrollbar button dimensions down to WebThemeEngine
4405 https://bugs.webkit.org/show_bug.cgi?id=89264
4407 Reviewed by James Robinson.
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.
4413 * src/PlatformSupport.cpp:
4414 (WebCore::PlatformSupport::getThemePartSize):
4417 2012-06-25 Zeev Lieber <zlieber@chromium.org>
4419 [Chromium] RenderPass textures are evicted at the end of every frame
4420 https://bugs.webkit.org/show_bug.cgi?id=89786
4422 Reviewed by Adrienne Walker.
4424 Added unit tests to verify large textures are staying in memory
4425 and available for render pass optimization.
4427 * tests/CCLayerTreeHostImplTest.cpp:
4429 2012-06-25 Kinuko Yasuda <kinuko@chromium.org>
4431 Heap-use-after-free in WebKit::MainThreadFileSystemCallbacks
4432 https://bugs.webkit.org/show_bug.cgi?id=87019
4434 Reviewed by David Levin.
4436 Should not access the CallbacksBridge's member field after it's freed.
4438 * src/WorkerFileSystemCallbacksBridge.cpp:
4439 (WebKit::WorkerFileSystemCallbacksBridge::cleanUpAfterCallback):
4441 2012-06-24 Luke Macpherson <macpherson@chromium.org>
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
4446 Reviewed by Dimitri Glazkov.
4449 * public/WebSettings.h:
4450 * src/WebSettingsImpl.cpp:
4451 (WebKit::WebSettingsImpl::setExperimentalCSSVariablesEnabled):
4453 * src/WebSettingsImpl.h:
4456 2012-06-23 Kwang Yul Seo <skyul@company100.net>
4458 [chromium] Return has value, in function returning void
4459 https://bugs.webkit.org/show_bug.cgi?id=89822
4461 Reviewed by Adam Barth.
4463 A followup for r121091.
4465 * src/WebHistoryItem.cpp:
4466 (WebKit::WebHistoryItem::setPageScaleFactor):
4467 * src/WebImageLayer.cpp:
4468 (WebKit::WebImageLayer::setBitmap):
4470 (WebKit::WebLayer::setMaskLayer):
4471 * src/WebOptionElement.cpp:
4472 (WebKit::WebOptionElement::setValue):
4473 (WebKit::WebOptionElement::setDefaultSelected):
4475 2012-06-23 Kwang Yul Seo <skyul@company100.net>
4477 [chromium] Return has value, in function returning void
4478 https://bugs.webkit.org/show_bug.cgi?id=89805
4480 Reviewed by Adam Barth.
4482 Make WebFrameImpl::replaceSelection not return a value because it is a function returning void.
4484 * src/WebFrameImpl.cpp:
4485 (WebKit::WebFrameImpl::replaceSelection):
4487 2012-06-22 Sheriff Bot <webkit.review.bot@gmail.com>
4489 Unreviewed. Rolled DEPS.
4493 2012-06-22 David Grogan <dgrogan@chromium.org>
4495 IndexedDB: Avoid infinite loop if we try to encode -1 for leveldb
4496 https://bugs.webkit.org/show_bug.cgi?id=89625
4498 Reviewed by Tony Chang.
4500 * tests/IDBLevelDBCodingTest.cpp:
4501 (IDBLevelDBCoding::TEST):
4503 2012-06-22 Michael Nordman <michaeln@google.com>
4505 [chromium] WebKit API plumbing for applicationCache.abort()
4506 https://bugs.webkit.org/show_bug.cgi?id=89792
4508 Reviewed by Darin Fisher.
4510 * public/WebApplicationCacheHost.h:
4511 (WebKit::WebApplicationCacheHost::abort):
4512 * src/ApplicationCacheHost.cpp:
4513 (WebCore::ApplicationCacheHost::abort):
4515 2012-06-22 James Robinson <jamesr@chromium.org>
4517 [chromium] LayerRendererChromium is not getting visibility messages in single threaded compositing mode.
4518 https://bugs.webkit.org/show_bug.cgi?id=89045
4520 Reviewed by Adrienne Walker.
4522 Based on patch by Michal Mocny <mmocny@google.com>.
4524 Update various test fixtures and tests to cover scheduling, visibility, and resource allocation changes.
4526 * tests/CCLayerTreeHostImplTest.cpp:
4527 * tests/CCLayerTreeHostTest.cpp:
4528 (CCLayerTreeHostTestAbortFrameWhenInvisible):
4529 (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::CCLayerTreeHostTestAbortFrameWhenInvisible):
4530 (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::beginTest):
4531 (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::afterTest):
4534 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
4535 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
4536 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
4537 * tests/CCSchedulerStateMachineTest.cpp:
4539 * tests/CCTiledLayerTestCommon.h:
4540 * tests/FakeWebGraphicsContext3D.h:
4541 (WebKit::FakeWebGraphicsContext3D::FakeWebGraphicsContext3D):
4542 (FakeWebGraphicsContext3D):
4543 (WebKit::FakeWebGraphicsContext3D::createTexture):
4544 * tests/LayerRendererChromiumTest.cpp:
4546 * tests/TiledLayerChromiumTest.cpp:
4549 2012-06-22 Sadrul Habib Chowdhury <sadrul@chromium.org>
4551 [chromium] Notify the document if a plugin accepts touch input events
4552 https://bugs.webkit.org/show_bug.cgi?id=89769
4554 Reviewed by Adam Barth.
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.
4560 * public/WebPluginContainer.h:
4561 (WebPluginContainer):
4562 * src/WebPluginContainerImpl.cpp:
4563 (WebKit::WebPluginContainerImpl::setIsAcceptingTouchEvents):
4565 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
4566 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
4567 * src/WebPluginContainerImpl.h:
4568 (WebPluginContainerImpl):
4570 2012-06-22 Kenneth Russell <kbr@google.com>
4572 Unreviewed, rolling out r121064.
4573 http://trac.webkit.org/changeset/121064
4574 https://bugs.webkit.org/show_bug.cgi?id=88268
4576 Broke Chromium Mac build.
4581 * src/WebLayerTreeView.cpp:
4582 * src/WebViewImpl.cpp:
4583 * src/WebViewImpl.h:
4585 * tests/CCLayerTreeHostTest.cpp:
4586 (WTF::CCLayerTreeHostTestScrollSimple::layout):
4587 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
4588 (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommitAndDrawFrame):
4589 (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommit):
4591 2012-06-22 Dave Tu <dtu@chromium.org>
4593 [chromium] Expose rendering statistics to WebWidget.
4594 https://bugs.webkit.org/show_bug.cgi?id=88268
4596 Reviewed by James Robinson.
4598 The WebKit side of a basic framework for exposing rendering statistics
4599 to Chromium's --enable-benchmarking extension.
4601 * src/WebLayerTreeView.cpp:
4602 (WebKit::WebLayerTreeView::renderingStatistics):
4605 2012-06-22 Shawn Singh <shawnsingh@chromium.org>
4607 [chromium] Do not accumulate occlusion from 3d layers on the main thread
4608 https://bugs.webkit.org/show_bug.cgi?id=89704
4610 Reviewed by James Robinson.
4612 * tests/CCOcclusionTrackerTest.cpp:
4613 (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
4615 (CCOcclusionTrackerTestUnsorted3dLayers):
4616 (WebKitTests::CCOcclusionTrackerTestUnsorted3dLayers::runMyTest):
4617 (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
4619 2012-06-22 Joshua Bell <jsbell@chromium.org>
4621 IndexedDB: Snapshot metadata in front end to avoid IPC round-trips
4622 https://bugs.webkit.org/show_bug.cgi?id=88467
4624 Reviewed by Tony Chang.
4626 Add conversions to/from WebCore IDB metadata type and plumbing for routing the
4627 IDBDatabaseBackendInterface::metadata() call through the public API..
4629 * WebKit.gyp: New file added.
4630 * public/WebIDBMetadata.h: Conversion functions.
4633 * src/IDBDatabaseBackendProxy.cpp: Plumbing.
4634 (WebKit::IDBDatabaseBackendProxy::metadata):
4636 * src/IDBDatabaseBackendProxy.h: Plumbing.
4637 (IDBDatabaseBackendProxy):
4638 * src/WebIDBDatabaseImpl.cpp: Plumbing.
4639 (WebKit::WebIDBDatabaseImpl::metadata):
4641 * src/WebIDBDatabaseImpl.h: Plumbing.
4643 (WebIDBDatabaseImpl):
4644 * src/WebIDBMetadata.cpp: Added - conversion functions.
4646 (WebKit::WebIDBMetadata::WebIDBMetadata):
4647 (WebKit::WebIDBMetadata::operator IDBDatabaseMetadata):
4649 2012-06-22 Fady Samuel <fsamuel@chromium.org>
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
4654 Reviewed by Darin Fisher.
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
4662 (WebKit::WebView::advanceFocus):
4663 * src/WebViewImpl.cpp:
4664 (WebKit::WebViewImpl::advanceFocus):
4666 * src/WebViewImpl.h:
4669 2012-06-22 Jeff Timanus <twiz@chromium.org>
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
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
4679 Reviewed by Kenneth Russell.
4681 * DEPS: Rolled chromium to 143630 to fix chromium-linux ews failures.
4683 2012-06-22 Kenneth Russell <kbr@google.com>
4685 Unreviewed, rolling out r121025.
4686 http://trac.webkit.org/changeset/121025
4687 https://bugs.webkit.org/show_bug.cgi?id=89580
4690 EventHandler.shouldTurnVerticalTicksIntoHorizontal webkit unit
4694 * tests/EventHandlerTest.cpp: Removed.
4696 2012-06-22 Peter Beverloo <peter@chromium.org>
4698 [Chromium] Disable c++0x compatibility warnings in JavaScriptCore.gyp when building for Android
4699 https://bugs.webkit.org/show_bug.cgi?id=88853
4701 Reviewed by Steve Block.
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.
4708 * WebKitUnitTests.gyp:
4710 2012-06-22 Robert Kroeger <rjkroege@chromium.org>
4712 Suppress horizontal conversion of PlatformWheelEvents when hasPreciseScrollingDeltas is true
4713 https://bugs.webkit.org/show_bug.cgi?id=89580
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.
4719 Added unit tests to show that
4720 EventHandler::shouldTurnVerticalTicksIntoHorizontal() is true
4721 only for PlatformWheelEvents when !hasPreciseScrollingDeltas().
4723 Reviewed by Adam Barth.
4726 * tests/EventHandlerTest.cpp: Added.
4728 (MockScrollbar::MockScrollbar):
4729 (MockScrollbar::~MockScrollbar):
4730 (MockHitTestResult):
4731 (MockHitTestResult::MockHitTestResult):
4732 (MockHitTestResult::scrollbar):
4733 (MockPlatformWheelEvent):
4734 (MockPlatformWheelEvent::MockPlatformWheelEvent):
4736 (EventHandlerTest::EventHandlerTest):
4737 (EventHandlerTest::externalShouldTurnVerticalTicksIntoHorizontal):
4740 2012-06-22 Amy Ousterhout <aousterh@chromium.org>
4742 Renamed DeviceOrientation to DeviceOrientationData
4743 https://bugs.webkit.org/show_bug.cgi?id=88663
4745 Reviewed by Steve Block.
4747 Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
4748 This change makes DeviceOrientationData consistent with DeviceMotionData.
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):
4763 2012-06-22 Joseph Pecoraro <pecoraro@apple.com>
4765 Web Inspector: InspectorState::updateCookie should not do JSON serialization if unsupported
4766 https://bugs.webkit.org/show_bug.cgi?id=89743
4768 The Chromium port does want InspectorState updates.
4770 Reviewed by Yury Semikhatsky.
4772 * src/InspectorClientImpl.h:
4773 (WebKit::InspectorClientImpl::supportsInspectorStateUpdates):
4774 * src/WebDevToolsAgentImpl.h:
4775 (WebKit::WebDevToolsAgentImpl::supportsInspectorStateUpdates):
4777 2012-06-21 Sheriff Bot <webkit.review.bot@gmail.com>
4779 Unreviewed, rolling out r120982.
4780 http://trac.webkit.org/changeset/120982
4781 https://bugs.webkit.org/show_bug.cgi?id=89740
4783 [chromium] ASSERTION FAILED:
4784 m_allocatedTextureIds.contains(textureId) (Requested by ukai
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):
4797 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
4798 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
4799 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
4800 * tests/CCSchedulerStateMachineTest.cpp:
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:
4810 * tests/TiledLayerChromiumTest.cpp:
4812 2012-06-21 James Robinson <jamesr@chromium.org>
4814 [chromium] Initialize compositor's visibility state upon initialization
4815 https://bugs.webkit.org/show_bug.cgi?id=89712
4817 Reviewed by Adrienne Walker.
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.
4823 Tested manually, there's no way to create a new WebViewImpl in a non-visible state in a WebKit test that I know
4826 * src/WebViewImpl.cpp:
4827 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4829 2012-06-21 Sadrul Habib Chowdhury <sadrul@chromium.org>
4831 [chromium] Add touch-event support for WebPluginContainerImpl
4832 https://bugs.webkit.org/show_bug.cgi?id=89089
4834 Reviewed by Adam Barth.
4836 * src/WebPluginContainerImpl.cpp:
4837 (WebKit::WebPluginContainerImpl::handleEvent):
4838 * src/WebPluginContainerImpl.h:
4840 (WebPluginContainerImpl):
4842 2012-06-21 Oli Lan <olilan@chromium.org>
4844 Add methods to select between offsets in an editable field.
4845 https://bugs.webkit.org/show_bug.cgi?id=89098
4847 Reviewed by Ryosuke Niwa.
4849 Reviewed by Ryosuke Niwa.
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.
4855 The offsets are assumed to be relative to the rootEditableElement.
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
4861 This method calls a new method Editor::setSelectionOffsets.
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.
4868 * src/WebViewImpl.cpp:
4869 (WebKit::WebViewImpl::setEditableSelectionOffsets):
4871 * src/WebViewImpl.h:
4873 * tests/WebViewTest.cpp:
4876 * tests/data/content_editable_populated.html: Added.
4877 * tests/data/input_field_populated.html: Added.
4879 2012-06-19 James Robinson <jamesr@chromium.org>
4881 [chromium] LayerRendererChromium is not getting visibility messages in single threaded compositing mode.
4882 https://bugs.webkit.org/show_bug.cgi?id=89045
4884 Reviewed by Adrienne Walker.
4886 Based on patch by Michal Mocny <mmocny@google.com>.
4888 Update various test fixtures and tests to cover scheduling, visibility, and resource allocation changes.
4890 * tests/CCLayerTreeHostImplTest.cpp:
4891 * tests/CCLayerTreeHostTest.cpp:
4892 (CCLayerTreeHostTestAbortFrameWhenInvisible):
4893 (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::CCLayerTreeHostTestAbortFrameWhenInvisible):
4894 (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::beginTest):
4895 (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::afterTest):
4898 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
4899 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
4900 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
4901 * tests/CCSchedulerStateMachineTest.cpp:
4903 * tests/CCTiledLayerTestCommon.h:
4904 * tests/FakeWebGraphicsContext3D.h:
4905 (WebKit::FakeWebGraphicsContext3D::FakeWebGraphicsContext3D):
4906 (FakeWebGraphicsContext3D):
4907 (WebKit::FakeWebGraphicsContext3D::createTexture):
4908 * tests/LayerRendererChromiumTest.cpp:
4910 * tests/TiledLayerChromiumTest.cpp:
4913 2012-06-21 Mike West <mkwst@chromium.org>
4915 [Chromium] Enable CSP_NEXT on the Chromium port.
4916 https://bugs.webkit.org/show_bug.cgi?id=89683
4918 Reviewed by Adam Barth.
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.
4923 * features.gypi: ENABLE_CSP_NEXT=1
4925 2012-06-21 Alec Flett <alecflett@chromium.org>
4927 IndexedDB: Implement spec behavior for multiEntry indexes with invalid/duplicate subkeys
4928 https://bugs.webkit.org/show_bug.cgi?id=86123
4930 Reviewed by Darin Fisher.
4932 Add matching isValid() to WebIDBKey to match the one in IDBKey.
4934 * public/WebIDBKey.h:
4935 * src/WebIDBKey.cpp:
4936 (WebKit::WebIDBKey::isValid):
4938 * src/WebIDBKeyRange.cpp:
4939 (WebKit::WebIDBKeyRange::assign):
4941 2012-06-21 Ian Vollick <vollick@chromium.org>
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
4946 Reviewed by James Robinson.
4948 Whenever we construct a GraphicsLayerChromium, make initialize the
4949 device and page scale factors, if possible.
4951 * tests/GraphicsLayerChromiumTest.cpp:
4952 (WebKitTests::TEST_F):
4955 2012-06-21 Min Qin <qinmin@chromium.org>
4957 remove ENABLE_FULLSCREEN_MEDIA_CONTROL flag
4958 https://bugs.webkit.org/show_bug.cgi?id=89614
4960 Reviewed by Eric Carlson.
4962 Since desktop chrome now has fullscreen button, we don't need this flag anymore
4966 2012-06-20 Zeev Lieber <zlieber@chromium.org>
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
4971 Reviewed by Adrienne Walker.
4973 Added unit tests to check surface texture caching when partial
4976 * tests/CCLayerTreeHostImplTest.cpp:
4978 2012-06-20 Sheriff Bot <webkit.review.bot@gmail.com>
4980 Unreviewed, rolling out r120889.
4981 http://trac.webkit.org/changeset/120889
4982 https://bugs.webkit.org/show_bug.cgi?id=89630
4984 [Chromium] webkit_unit_tests didDrawNotCalledOnHiddenLayer
4985 start failing (Requested by ukai on #webkit).
4987 * tests/CCLayerTreeHostImplTest.cpp:
4989 2012-06-20 Zeev Lieber <zlieber@chromium.org>
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
4994 Reviewed by Adrienne Walker.
4996 Added unit tests to check surface texture caching when partial
4999 * tests/CCLayerTreeHostImplTest.cpp:
5001 2012-06-20 Joshua Bell <jsbell@chromium.org>
5003 IndexedDB: Remove redundant IDBObjectStore.delete() overloads
5004 https://bugs.webkit.org/show_bug.cgi?id=89587
5006 Reviewed by Darin Fisher.
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):
5017 2012-06-20 Garret Kelly <gdk@chromium.org>
5019 Moving cookieEnabled/setCookieEnabled from Page to Settings, and
5020 exposing through WebSettings.
5021 https://bugs.webkit.org/show_bug.cgi?id=89545
5023 Reviewed by Adam Barth.
5025 * public/WebSettings.h:
5026 * src/WebSettingsImpl.cpp:
5027 (WebKit::WebSettingsImpl::setCookieEnabled):
5028 * src/WebSettingsImpl.h:
5031 2012-06-20 Raymes Khoury <raymes@chromium.org>
5033 Perform hit-test from correct frame in isRectTopmost()
5034 https://bugs.webkit.org/show_bug.cgi?id=89492
5036 Reviewed by Levi Weintraub.
5038 Hit-testing was being performed from the main frame, which gave the
5039 incorrect result if the plugin was in a different frame.
5041 * src/WebPluginContainerImpl.cpp:
5042 (WebKit::WebPluginContainerImpl::isRectTopmost):
5044 2012-06-20 Alexandre Elias <aelias@google.com>
5046 [chromium] Support mobile device rotation resizing
5047 https://bugs.webkit.org/show_bug.cgi?id=86819
5049 Reviewed by Adam Barth.
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.
5055 * src/WebViewImpl.cpp:
5056 (WebKit::WebViewImpl::resize):
5058 2012-06-19 James Robinson <jamesr@chromium.org>
5060 [chromium] Separate LayerRenderer initialization from updateLayers
5061 https://bugs.webkit.org/show_bug.cgi?id=89525
5063 Reviewed by Adrienne Walker.
5065 Update tests to call initializeLayerRendererIfNeeded() before calling updateLayers() to reflect what the proxies
5068 * tests/CCLayerTreeHostTest.cpp:
5069 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
5070 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
5071 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
5072 * tests/TiledLayerChromiumTest.cpp:
5074 2012-06-20 Christopher Cameron <ccameron@chromium.org>
5076 [chromium] webkit-backface-visibility doesn't work with video
5077 https://bugs.webkit.org/show_bug.cgi?id=88908
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.
5085 Reviewed by Adrienne Walker.
5088 (WebKit::WebLayer::setUseParentBackfaceVisibility):
5089 Add an accessor to specify that a layer should use its parent's
5090 backface culling behavior.
5092 2012-06-20 Ian Vollick <vollick@chromium.org>
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
5097 Reviewed by Adrienne Walker.
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.
5107 * tests/CCLayerTreeHostCommonTest.cpp:
5109 2012-06-20 Joshua Bell <jsbell@chromium.org>
5111 Unreviewed build fix.
5113 * tests/IDBDatabaseBackendTest.cpp:
5114 (WebCore::MockIDBCallbacks::~MockIDBCallbacks):
5115 (WebCore::FakeIDBDatabaseCallbacks::~FakeIDBDatabaseCallbacks):
5117 2012-06-20 Joshua Bell <jsbell@chromium.org>
5119 [Chromium] IndexedDB: Don't close database if pending connections are in flight
5120 https://bugs.webkit.org/show_bug.cgi?id=89512
5122 Reviewed by Tony Chang.
5124 * tests/IDBDatabaseBackendTest.cpp:
5126 (WebCore::MockIDBCallbacks::create):
5127 (WebCore::MockIDBCallbacks::MockIDBCallbacks):
5129 (FakeIDBDatabaseCallbacks):
5130 (WebCore::FakeIDBDatabaseCallbacks::create):
5131 (WebCore::FakeIDBDatabaseCallbacks::FakeIDBDatabaseCallbacks):
5134 2012-06-20 Zeev Lieber <zlieber@chromium.org>
5136 [Chromium] Remove redundant #includes in compositor
5137 https://bugs.webkit.org/show_bug.cgi?id=89503
5139 Reviewed by Adrienne Walker.
5141 Minor adjustments to #include statements to remove
5142 dependencies. No new tests.
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:
5156 2012-06-20 Hans Wennborg <hans@chromium.org>
5158 Speech JavaScript API: add SpeechRecognition.maxAlternatives attribute
5159 https://bugs.webkit.org/show_bug.cgi?id=89459
5161 Reviewed by Eric Seidel.
5163 Plumbing for the maxAlternatives attribute.
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):
5174 2012-06-20 Hironori Bono <hbono@chromium.org>
5176 [chromium] Select the marker range when right-clicking on a marker.
5177 https://bugs.webkit.org/show_bug.cgi?id=89331
5179 Reviewed by Hajime Morita.
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.
5187 * src/ContextMenuClientImpl.cpp:
5188 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5190 2012-06-19 Kenneth Russell <kbr@google.com>
5192 Unreviewed, rolling out r120772.
5193 http://trac.webkit.org/changeset/120772
5194 https://bugs.webkit.org/show_bug.cgi?id=89503
5196 Broke build on Chromium Mac
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:
5210 2012-06-19 Zeev Lieber <zlieber@chromium.org>
5212 [Chromium] Remove redundant #includes in compositor
5213 https://bugs.webkit.org/show_bug.cgi?id=89503
5215 Reviewed by Adrienne Walker.
5217 Minor adjustments to #include statements to remove
5218 dependencies. No new tests.
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:
5232 2012-06-19 Joshua Bell <jsbell@chromium.org>
5234 IndexedDB: Add new type (and chromium webkit API) for metadata snapshot
5235 https://bugs.webkit.org/show_bug.cgi?id=88678
5237 Reviewed by Darin Fisher.
5240 * public/WebIDBDatabase.h:
5241 (WebKit::WebIDBDatabase::metadata):
5242 * public/WebIDBKeyPath.h:
5244 (WebKit::WebIDBKeyPath::WebIDBKeyPath):
5245 (WebKit::WebIDBKeyPath::~WebIDBKeyPath):
5246 (WebKit::WebIDBKeyPath::operator=): Used by Chromium backend.
5247 * public/WebIDBMetadata.h: Added new type.
5250 (WebKit::WebIDBMetadata::WebIDBMetadata):
5252 (WebKit::WebIDBMetadata::ObjectStore::ObjectStore):
5254 (WebKit::WebIDBMetadata::Index::Index):
5255 * src/WebIDBKeyPath.cpp: Conform to normal WebXXX patern.
5256 (WebKit::WebIDBKeyPath::assign):
5258 (WebKit::WebIDBKeyPath::reset):
5260 2012-06-19 Amy Ousterhout <aousterh@chromium.org>
5262 [Chromium] Style Fix in WebDeviceOrientationController
5263 https://bugs.webkit.org/show_bug.cgi?id=89337
5265 Reviewed by Steve Block.
5267 Changing a local variable from a PassRefPtr to a RefPtr in order to be consistent with the style guide.
5269 * src/WebDeviceOrientationController.cpp:
5270 (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
5272 2012-06-19 Peter Wang <peter.wang@torchmobile.com.cn>
5274 Remove the function ScriptDebugServer::supportsNativeBreakpoints()
5275 https://bugs.webkit.org/show_bug.cgi?id=88759
5277 Reviewed by Pavel Feldman.
5279 * src/js/DevTools.js:
5281 2012-06-19 Yury Semikhatsky <yurys@chromium.org>
5283 [Chromium] Web Inspector: remove unnecessary indirection from message loop instrumentation
5284 https://bugs.webkit.org/show_bug.cgi?id=89443
5286 Removed start/stopMainThreadMonitoring methods from WebDevToolsAgentClient
5287 and WebDevToolsAgentImpl. The functionality is now implemented inside
5288 InspectorClientImpl.
5290 Reviewed by Vsevolod Vlasov.
5292 * public/WebDevToolsAgentClient.h:
5293 * src/InspectorClientImpl.cpp:
5294 (WebKit::InspectorClientImpl::clearBrowserCookies):
5295 (WebKit::InspectorClientImpl::startMainThreadMonitoring):
5296 (WebKit::InspectorClientImpl::stopMainThreadMonitoring):
5297 (WebKit::InspectorClientImpl::willProcessTask):
5299 (WebKit::InspectorClientImpl::didProcessTask):
5300 * src/InspectorClientImpl.h:
5301 (InspectorClientImpl):
5302 * src/WebDevToolsAgentImpl.cpp:
5303 * src/WebDevToolsAgentImpl.h:
5304 (WebDevToolsAgentImpl):
5306 2012-06-19 Mike West <mkwst@chromium.org>
5308 Introduce ENABLE_CSP_NEXT configuration flag.
5309 https://bugs.webkit.org/show_bug.cgi?id=89300
5311 Reviewed by Adam Barth.
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.
5317 Spec: https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html
5321 2012-06-19 Sheriff Bot <webkit.review.bot@gmail.com>
5323 Unreviewed, rolling out r120586.
5324 http://trac.webkit.org/changeset/120586
5325 https://bugs.webkit.org/show_bug.cgi?id=89444
5327 doesn't fix mac issue (Requested by morrita on #webkit).
5329 * src/ContextMenuClientImpl.cpp:
5330 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5331 * src/WebFrameImpl.cpp:
5332 (WebKit::WebFrameImpl::replaceMisspelledRange):
5334 2012-06-19 Mike West <mkwst@chromium.org>
5336 Add a scheme registry for bypassing Content Security Policy.
5337 https://bugs.webkit.org/show_bug.cgi?id=89373
5339 Reviewed by Adam Barth.
5341 * public/WebSecurityPolicy.h:
5342 (WebSecurityPolicy):
5343 * src/WebSecurityPolicy.cpp:
5344 (WebKit::WebSecurityPolicy::registerURLSchemeAsBypassingContentSecurityPolicy):
5347 2012-06-18 Adam Barth <abarth@webkit.org>
5349 [Chromium] GesturePinchBegin and friends are gesture events
5350 https://bugs.webkit.org/show_bug.cgi?id=89398
5352 Reviewed by James Robinson.
5354 * public/WebInputEvent.h:
5355 (WebKit::WebInputEvent::isGestureEventType):
5357 2012-06-18 Amy Ousterhout <aousterh@chromium.org>
5359 [Chromium] DeviceOrientation Cleanup
5360 https://bugs.webkit.org/show_bug.cgi?id=89354
5362 Reviewed by Kent Tamura.
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=):
5388 2012-06-18 Ami Fischman <fischman@chromium.org>
5390 Unreviewed. Rolled DEPS.
5394 2012-06-14 James Robinson <jamesr@chromium.org>
5396 [chromium] Use WebImageLayer in GraphicsLayerChromium for image layers
5397 https://bugs.webkit.org/show_bug.cgi?id=89150
5399 Reviewed by Adrienne Walker.
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.
5405 * src/WebImageLayer.cpp: Added.
5407 (WebKit::WebImageLayer::create):
5408 (WebKit::WebImageLayer::WebImageLayer):
5409 (WebKit::WebImageLayer::setBitmap):
5411 2012-06-14 James Robinson <jamesr@chromium.org>
5413 [chromium] GraphicsLayerChromium should use WebContentLayer directly
5414 https://bugs.webkit.org/show_bug.cgi?id=89145
5416 Reviewed by Adrienne Walker.
5418 * src/WebContentLayerImpl.cpp:
5419 (WebKit::WebContentLayerImpl::paintContents):
5420 * tests/CCOcclusionTrackerTest.cpp:
5421 (WebKitTests::CCOcclusionTrackerTestMainThreadTypes::createLayer):
5422 * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
5424 (WebCore::OpaqueRectTrackingContentLayerDelegateTest::OpaqueRectTrackingContentLayerDelegateTest):
5425 (WebCore::OpaqueRectTrackingContentLayerDelegateTest::canvasRect):
5427 * tests/WebLayerTest.cpp:
5429 2012-06-18 Ilya Sherman <isherman@chromium.org>
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
5435 Reviewed by James Robinson.
5438 (WebKit::WebNode::isFocusable): Use updateLayoutIgnorePendingStylesheets()
5439 (WebKit::WebNode::hasNonEmptyBoundingBox): Force layout before checking the bounding box
5441 2012-06-18 Ian Vollick <vollick@chromium.org>
5443 [chromium] Ensure that skipping frames during an accelerated animation doesn't cause starvation
5444 https://bugs.webkit.org/show_bug.cgi?id=87766
5446 Reviewed by James Robinson.
5448 * tests/CCLayerTreeHostTest.cpp:
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):
5458 * tests/CCSchedulerStateMachineTest.cpp:
5461 * tests/CCThreadedTest.cpp:
5462 (WebKitTests::MockLayerTreeHostImpl::prepareToDraw):
5463 * tests/CCThreadedTest.h:
5464 (WebKitTests::TestHooks::prepareToDrawOnCCThread):
5466 2012-06-18 Xianzhu Wang <wangxianzhu@chromium.org>
5468 [Chromium] Change back "linuxish" to "linux" and include WebFontRendering.cpp on Android
5469 https://bugs.webkit.org/show_bug.cgi?id=89228
5471 Reviewed by Tony Chang.
5474 * public/linux/WebFontRendering.h:
5477 * public/linuxish/WebFontRendering.h: Removed.
5478 * src/linux/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp.
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):
5489 2012-06-18 Hironori Bono <hbono@chromium.org>
5491 [chromium] Spellchecker should show suggestions only when right-clicking a misspelled word.
5492 https://bugs.webkit.org/show_bug.cgi?id=89331
5494 Reviewed by Hajime Morita.
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
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().
5507 2012-06-14 Kinuko Yasuda <kinuko@chromium.org>
5509 [chromium] Cleanup: remove PlatformSupport::createAsyncFileSystem as it's no longer used
5510 https://bugs.webkit.org/show_bug.cgi?id=89083
5512 Reviewed by Kentaro Hara.
5514 * src/PlatformSupport.cpp:
5516 2012-06-15 Kinuko Yasuda <kinuko@chromium.org>
5518 XHR_RESPONSE_BLOB is not enabled on some platforms
5519 https://bugs.webkit.org/show_bug.cgi?id=88859
5521 Reviewed by Adam Barth.
5523 Removing XHR_RESPONSE_BLOB since the current implementation has
5524 no platform-specific part.
5526 * src/PlatformSupport.cpp:
5527 * src/WebRuntimeFeatures.cpp:
5528 (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
5529 (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
5531 2012-06-17 MORITA Hajime <morrita@google.com>
5533 Unreviewed build fix.
5535 * tests/CCLayerTreeHostImplTest.cpp:
5537 2012-06-17 Zeev Lieber <zlieber@chromium.org>
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
5542 Reviewed by Adrienne Walker.
5544 Added tests to verify quad removal algorithm. Added infrastructure
5545 code to generate custom render passes out of a script encoded as C
5548 * tests/CCDamageTrackerTest.cpp:
5549 (WebKitTests::TEST_F):
5550 * tests/CCLayerImplTest.cpp:
5553 * tests/CCLayerTreeHostImplTest.cpp:
5555 2012-06-16 Robert Kroeger <rjkroege@chromium.org>
5557 [chromium] Make the deviceScaleFactor dynamically adjustable.
5558 https://bugs.webkit.org/show_bug.cgi?id=88916
5560 Reviewed by James Robinson.
5562 * src/WebLayerTreeView.cpp:
5563 (WebKit::WebLayerTreeView::Settings::operator CCSettings): Removed unused
5564 static deviceScaleFactor.
5565 (WebKit::WebLayerTreeView::setDeviceScaleFactor):
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):
5577 2012-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
5579 Unreviewed, rolling out r120536.
5580 http://trac.webkit.org/changeset/120536
5581 https://bugs.webkit.org/show_bug.cgi?id=89296
5583 Does not compile on chromium-linux (Requested by abarth on
5587 * public/linux/WebFontRendering.h:
5588 * public/linuxish/WebFontRendering.h: Renamed from Source/WebKit/chromium/public/WebFontRendering.h.
5591 * src/linuxish/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/WebFontRendering.cpp.
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):
5602 2012-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
5604 Unreviewed, rolling out r120539.
5605 http://trac.webkit.org/changeset/120539
5606 https://bugs.webkit.org/show_bug.cgi?id=89295
5608 Does not compile on chromium-mac (Requested by abarth on
5611 * tests/CCDamageTrackerTest.cpp:
5612 (WebKitTests::TEST_F):
5613 * tests/CCLayerImplTest.cpp:
5616 * tests/CCLayerTreeHostImplTest.cpp:
5618 2012-06-16 Zeev Lieber <zlieber@chromium.org>
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
5623 Reviewed by Adrienne Walker.
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.
5629 * tests/CCDamageTrackerTest.cpp:
5630 (WebKitTests::TEST_F):
5631 * tests/CCLayerImplTest.cpp:
5634 * tests/CCLayerTreeHostImplTest.cpp:
5636 2012-06-16 Xianzhu Wang <wangxianzhu@chromium.org>
5638 [Chromium] Move chromium/public/linuxish/WebFontRendering.h out of linuxish directory
5639 https://bugs.webkit.org/show_bug.cgi?id=89228
5641 Reverse dependency originally from WebCore::FontPlatformDataHarfBuzz to WebKit::WebFontRendering
5642 so that WebKit::WebFontRendering can be platform-independent.
5644 This also avoids the ambiguous name 'linuxish'.
5646 Reviewed by Tony Chang.
5649 * public/WebFontRendering.h: Copied from Source/WebKit/chromium/public/linuxish/WebFontRendering.h. Added getters under WEBKIT_IMPLEMENTATION.
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.
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.
5671 2012-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
5673 Unreviewed. Rolled DEPS.
5677 2012-06-16 Dan Alcantara <dfalcantara@chromium.org>
5679 [chromium] WebFrameClient::userAgentOverride() should take in a WebFrame* as its first argument
5680 https://bugs.webkit.org/show_bug.cgi?id=89233
5682 Reviewed by Darin Fisher.
5684 Adds a WebFrame* to the WebFrameClient::userAgentOverride() function.
5686 * public/WebFrameClient.h:
5687 (WebKit::WebFrameClient::userAgentOverride):
5688 * src/FrameLoaderClientImpl.cpp:
5689 (WebKit::FrameLoaderClientImpl::userAgent):
5690 * tests/FrameLoaderClientImplTest.cpp:
5692 2012-06-15 Sheriff Bot <webkit.review.bot@gmail.com>
5694 Unreviewed, rolling out r120511.
5695 http://trac.webkit.org/changeset/120511
5696 https://bugs.webkit.org/show_bug.cgi?id=89255
5698 Breaks at least Android builder (Requested by wangxianzhu on
5702 * public/linux/WebFontRendering.h:
5703 * public/linuxish/WebFontRendering.h: Renamed from Source/WebKit/chromium/public/WebFontRendering.h.
5706 * src/linuxish/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/WebFontRendering.cpp.
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):
5717 2012-06-15 Xianzhu Wang <wangxianzhu@chromium.org>
5719 [Chromium] Move chromium/public/linuxish/WebFontRendering.h out of linuxish directory
5720 https://bugs.webkit.org/show_bug.cgi?id=89228
5722 Reverse dependency originally from WebCore::FontPlatformDataHarfBuzz to WebKit::WebFontRendering
5723 so that WebKit::WebFontRendering can be platform-independent.
5725 This also avoids the ambiguous name 'linuxish'.
5727 Reviewed by Tony Chang.
5730 * public/WebFontRendering.h: Copied from Source/WebKit/chromium/public/linuxish/WebFontRendering.h. Added getters under WEBKIT_IMPLEMENTATION.
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.
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.
5752 2012-06-15 Tony Chang <tony@chromium.org>
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
5757 Reviewed by Adam Barth.
5759 This was a forwarding header when we moved the file to public/linux.
5761 * public/gtk/WebFontInfo.h: Removed.
5763 2012-06-15 Bill Budge <bbudge@chromium.org>
5765 AssociatedURLLoader should allow trusted clients to read all headers, not just exposed ones.
5766 https://bugs.webkit.org/show_bug.cgi?id=89185
5768 Reviewed by Adam Barth.
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.
5773 * public/WebURLLoaderOptions.h:
5774 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
5775 (WebURLLoaderOptions):
5776 * src/AssociatedURLLoader.cpp:
5777 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
5778 * tests/AssociatedURLLoaderTest.cpp:
5782 2012-06-15 Sami Kyostila <skyostil@chromium.org>
5784 [chromium] Allow scrolling non-root layers in the compositor thread
5785 https://bugs.webkit.org/show_bug.cgi?id=73350
5787 Reviewed by James Robinson.
5789 New unit tests to verify layer scrolling behavior and the associated
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):
5808 * tests/WebCompositorInputHandlerImplTest.cpp:
5811 2012-06-15 Hironori Bono <hbono@chromium.org>
5813 Allow platforms to choose whether to remove markers on editing
5814 https://bugs.webkit.org/show_bug.cgi?id=88838
5816 Reviewed by Hajime Morita.
5818 This change implements EditorClientImpl::checkGrammarOfString so
5819 DumpRenderTree can run grammar tests.
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.
5826 2012-06-14 Kent Tamura <tkent@chromium.org>
5828 Support file extensions in HTMLInputElement::accept
5829 https://bugs.webkit.org/show_bug.cgi?id=88298
5831 Reviewed by Hajime Morita.
5833 * src/ChromeClientImpl.cpp:
5834 (WebKit::ChromeClientImpl::runOpenPanel):
5835 Use FileChooserSettings::acceptTypes() to get both of MIME types and file extensions.
5837 2012-06-14 Kaustubh Atrawalkar <kaustubh@motorola.com>
5839 Remove support for counterValueForElementById from chromium port
5840 https://bugs.webkit.org/show_bug.cgi?id=88851
5842 Reviewed by Adam Barth.
5844 Moved the counterValueForElementById from LayoutTestCotroller to Internals so
5845 remove the old platform specific implementations as it exclusively tests WebCore functionality.
5847 * public/WebFrame.h:
5849 * src/WebFrameImpl.cpp:
5851 * src/WebFrameImpl.h:
5854 2012-06-14 Xianzhu Wang <wangxianzhu@chromium.org>
5856 [Chromium-Android] Initialize font rendering in DumpRenderTree
5857 https://bugs.webkit.org/show_bug.cgi?id=89133
5859 Reviewed by Adam Barth.
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.
5864 2012-06-14 Tony Chang <tony@chromium.org>
5866 [chromium] Port IFrameRedirectTest.Test from test_shell_tests to webkit_unit_tests
5867 https://bugs.webkit.org/show_bug.cgi?id=89132
5869 Reviewed by Adam Barth.
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.
5875 * tests/WebFrameTest.cpp:
5878 * tests/data/iframe_redirect.html: Added.
5880 2012-06-14 David Reveman <reveman@chromium.org>
5882 [Chromium] Sub-pixel text rendering is incorrectly used for WebView with transparent background.
5883 https://bugs.webkit.org/show_bug.cgi?id=89033
5885 Reviewed by James Robinson.
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.
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):
5899 2012-06-14 Shawn Singh <shawnsingh@chromium.org>
5901 [chromium] CCLayerTreeHostCommonTest.verifyHitTestingForSingleLayer failing in debug
5902 https://bugs.webkit.org/show_bug.cgi?id=89065
5904 Reviewed by James Robinson.
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.
5910 This patch also re-enables the disabled broken test.
5912 * tests/CCLayerTreeHostCommonTest.cpp:
5914 2012-06-14 Xianzhu Wang <wangxianzhu@chromium.org>
5916 [Chromium] Add setAutoHint() and setUseBitmaps() in WebFontRendering
5917 https://bugs.webkit.org/show_bug.cgi?id=89014
5919 Reviewed by James Robinson.
5921 * public/linuxish/WebFontRendering.h:
5923 * src/linuxish/WebFontRendering.cpp:
5925 (WebKit::WebFontRendering::setAutoHint):
5926 (WebKit::WebFontRendering::setUseBitmaps):
5927 (WebKit::WebFontRendering::setAntiAlias):
5929 2012-06-14 Daniel Erat <derat@chromium.org>
5931 [chromium/linux] Drop deprecated WebFontRenderStyle::useSubpixel
5932 https://bugs.webkit.org/show_bug.cgi?id=88263
5934 Reviewed by Adam Barth.
5936 This removes the useSubpixel member, which was replaced by
5937 useSubpixelRendering. Chrome has been updated to set only the
5938 useSubpixelRendering field.
5940 No test updates since the existing behavior shouldn't change.
5942 * public/linux/WebFontInfo.h:
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):
5951 2012-06-14 Shawn Singh <shawnsingh@chromium.org>
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
5956 Reviewed by Adrienne Walker.
5958 * tests/CCLayerTreeHostCommonTest.cpp:
5960 2012-06-14 Ian Vollick <vollick@chromium.org>
5962 [chromium] Certain settings in CCSettings could be global
5963 https://bugs.webkit.org/show_bug.cgi?id=88384
5965 Reviewed by James Robinson.
5968 * public/WebCompositor.h:
5970 * public/WebSettings.h:
5971 * src/WebCompositorImpl.cpp:
5972 (WebKit::WebCompositor::shutdown):
5974 (WebKit::WebCompositor::setPerTilePaintingEnabled):
5975 (WebKit::WebCompositor::setPartialSwapEnabled):
5976 (WebKit::WebCompositor::setAcceleratedAnimationEnabled):
5977 * src/WebLayerTreeView.cpp:
5979 (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
5980 * src/WebSettingsImpl.cpp:
5981 * src/WebSettingsImpl.h:
5983 * src/WebViewImpl.cpp:
5984 (WebKit::WebViewImpl::WebViewImpl):
5985 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
5986 * tests/CCLayerTreeHostImplTest.cpp:
5987 * tests/CCLayerTreeHostTest.cpp:
5989 (CCLayerTreeHostTestShortlived1):
5990 (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
5991 (WTF::CCLayerTreeHostTestShortlived1::beginTest):
5992 (WTF::CCLayerTreeHostTestShortlived1::afterTest):
5993 * tests/CCTestCommon.h: Added.
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:
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):
6018 * tests/TextureLayerChromiumTest.cpp:
6019 * tests/TiledLayerChromiumTest.cpp:
6020 * tests/TreeSynchronizerTest.cpp:
6021 (WebKitTests::TEST):
6023 2012-06-14 James Robinson <jamesr@chromium.org>
6025 [chromium] Move opaque rectangle tracking logic out of compositor core
6026 https://bugs.webkit.org/show_bug.cgi?id=89031
6028 Reviewed by Adrienne Walker.
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.
6033 Ports the opaque rect tracking tests that were in LayerTextureUpdaterTest to
6034 OpaquerectTrackingContentLayerDelegateTest to reflect the move in responsibilities.
6037 * src/NonCompositedContentHost.cpp:
6038 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
6039 (WebKit::NonCompositedContentHost::setOpaque):
6040 (WebKit::NonCompositedContentHost::paintContents):
6041 * src/NonCompositedContentHost.h:
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:
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.
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):
6075 2012-06-14 Justin Novosad <junov@chromium.org>
6077 [Chromium] webkitImageSmoothingEnabled canvas property does not work on redraw
6078 https://bugs.webkit.org/show_bug.cgi?id=89018
6080 Reviewed by Stephen White.
6082 Rolling chromium DEPS to 141884
6086 2012-06-14 Alexander Pavlov <apavlov@chromium.org>
6088 [Chromium] Unreviewed, build fix for Mac 10.5
6090 * src/WebDevToolsAgentImpl.cpp:
6091 (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
6093 2012-06-14 Eugene Klyuchnikov <eustas.bug@gmail.com>
6095 Web Inspector: Refactor message loop instrumentation.
6096 https://bugs.webkit.org/show_bug.cgi?id=88978
6098 Reviewed by Pavel Feldman.
6100 1) Remove "messageLoop" term
6101 2) Reuse WebThread::TaskObserver interface
6102 3) Move implementation (from embedder) to platform code.
6104 * public/WebDevToolsAgent.h:
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):
6124 2012-06-14 Alexander Pavlov <apavlov@chromium.org>
6126 Web Inspector: [Device Metrics] "Fit window" results in duplicate rescaling in WebDevToolsAgentImpl::autoZoomPageToFitWidth()
6127 https://bugs.webkit.org/show_bug.cgi?id=89092
6129 Reviewed by Pavel Feldman.
6131 Do not apply the sizeRatio after it has been applied in scaledEmulatedFrameSize().
6133 * src/WebDevToolsAgentImpl.cpp:
6134 (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
6135 (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
6137 2012-06-14 Yoshifumi Inoue <yosin@chromium.org>
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
6142 Reviewed by Kent Tamura.
6144 This patch removes ENABLE_INPUT_TYPE_*=0 from default entry of feature_defines to
6145 allows us overriding by ~/.gyp/include.gypi
6147 * features.gypi: Remove ENABLE_INPUT_TYPE_DATETIME=0, ENABLE_INPUT_TYPE_DATETIMELOCAL=0,
6150 2012-06-14 Min Qin <qinmin@google.com>
6152 Remove the const keyword from MediaPlayerPrivate::enterFullscreen()
6153 https://bugs.webkit.org/show_bug.cgi?id=89044
6155 Reviewed by Adam Barth.
6157 enterFullscreen() should be treated similarly as exitFullscreen() as it could alter the player state.
6158 This reverts the change from r120213.
6160 * src/WebMediaPlayerClientImpl.cpp:
6161 (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
6162 * src/WebMediaPlayerClientImpl.h:
6163 (WebMediaPlayerClientImpl):
6165 2012-06-14 Dan Alcantara <dfalcantara@chromium.org>
6167 [chromium] Rename WebFrameClient::userAgent() to better reflect what it does
6168 https://bugs.webkit.org/show_bug.cgi?id=89028
6170 Reviewed by Adam Barth.
6172 Renames WebFrameClient::userAgent() to userAgentOverride() and makes it return
6173 the user agent override string directly.
6175 * public/WebFrameClient.h:
6177 (WebKit::WebFrameClient::userAgentOverride):
6178 * src/FrameLoaderClientImpl.cpp:
6179 (WebKit::FrameLoaderClientImpl::userAgent):
6180 * tests/FrameLoaderClientImplTest.cpp:
6182 2012-06-13 Jesse Greenwald <jgreenwald@google.com>
6184 [Chromium] Add WebDocument.images
6185 https://bugs.webkit.org/show_bug.cgi?id=88837
6187 Reviewed by Adam Barth.
6189 This method is needed on Android to support the existing
6190 WebView.documentHasImages Java API.
6192 * public/WebDocument.h:
6194 * src/WebDocument.cpp:
6195 (WebKit::WebDocument::images):
6198 2012-06-13 Dominic Cooney <dominicc@chromium.org>
6200 Unreviewed: Disable verifyHitTestingForSingleLayer.
6201 https://bugs.webkit.org/show_bug.cgi?id=89065
6203 It is failing on canary debug bots.
6205 * tests/CCLayerTreeHostCommonTest.cpp:
6207 2012-06-13 Sheriff Bot <webkit.review.bot@gmail.com>
6209 Unreviewed, rolling out r120268.
6210 http://trac.webkit.org/changeset/120268
6211 https://bugs.webkit.org/show_bug.cgi?id=89060
6213 WebCompositor::setPerTilePaintingEnabled hits an assertion in
6214 DEBUG (Requested by dominicc|work on #webkit).
6217 * public/WebCompositor.h:
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):
6227 (WebKit::WebSettingsImpl::setPartialSwapEnabled):
6228 (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
6229 * src/WebSettingsImpl.h:
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:
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):
6257 * tests/TextureLayerChromiumTest.cpp:
6258 * tests/TiledLayerChromiumTest.cpp:
6259 * tests/TreeSynchronizerTest.cpp:
6260 (WebKitTests::TEST):
6262 2012-06-13 Hironori Bono <hbono@chromium.org>
6264 [chromium] Add WebFrame::replaceMisspelledRange
6265 https://bugs.webkit.org/show_bug.cgi?id=88618
6267 Reviewed by Kent Tamura.
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.
6273 * public/WebFrame.h:
6275 * src/WebFrameImpl.cpp:
6276 (WebKit::WebFrameImpl::replaceMisspelledRange):
6278 * src/WebFrameImpl.h:
6281 2012-06-13 Xianzhu Wang <wangxianzhu@chromium.org>
6283 [Chromium] Let Android and Linux share WebFontRendering decl/impl.
6284 https://bugs.webkit.org/show_bug.cgi?id=88802
6286 Reviewed by Adam Barth.
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.
6296 2012-06-13 Ian Vollick <vollick@chromium.org>
6298 [chromium] Certain settings in CCSettings could be global
6299 https://bugs.webkit.org/show_bug.cgi?id=88384
6301 Reviewed by James Robinson.
6304 * public/WebCompositor.h:
6306 * public/WebSettings.h:
6307 * src/WebCompositorImpl.cpp:
6308 (WebKit::WebCompositor::shutdown):
6310 (WebKit::WebCompositor::setPerTilePaintingEnabled):
6311 (WebKit::WebCompositor::setPartialSwapEnabled):
6312 (WebKit::WebCompositor::setAcceleratedAnimationEnabled):
6313 * src/WebLayerTreeView.cpp:
6315 (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
6316 * src/WebSettingsImpl.cpp:
6317 * src/WebSettingsImpl.h:
6319 * src/WebViewImpl.cpp:
6320 (WebKit::WebViewImpl::WebViewImpl):
6321 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6322 * tests/CCLayerTreeHostImplTest.cpp:
6323 * tests/CCLayerTreeHostTest.cpp:
6325 (CCLayerTreeHostTestShortlived1):
6326 (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
6327 (WTF::CCLayerTreeHostTestShortlived1::beginTest):
6328 (WTF::CCLayerTreeHostTestShortlived1::afterTest):
6329 * tests/CCTestCommon.h: Added.
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:
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):
6354 * tests/TextureLayerChromiumTest.cpp:
6355 * tests/TiledLayerChromiumTest.cpp:
6356 * tests/TreeSynchronizerTest.cpp:
6357 (WebKitTests::TEST):
6359 2012-06-13 Dana Jansens <danakj@chromium.org>
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
6364 Reviewed by Adrienne Walker.
6366 * tests/CCLayerIteratorTest.cpp:
6368 2012-06-13 Shawn Singh <shawnsingh@chromium.org>
6370 [chromium] Implement hit-testing for impl-side input handling in accelerated compositor
6371 https://bugs.webkit.org/show_bug.cgi?id=88972
6373 Reviewed by Adrienne Walker.
6375 * tests/CCLayerTreeHostCommonTest.cpp:
6377 2012-06-13 David Reveman <reveman@chromium.org>
6379 [Chromium] Crash when WebViewImpl::setIsTransparent is called before the WebLayerTreeView has been initialized.
6380 https://bugs.webkit.org/show_bug.cgi?id=89013
6382 Reviewed by James Robinson.
6384 Add !m_layerTreeView.isNull() check to WebViewImpl::setIsTransparent.
6386 * src/WebViewImpl.cpp:
6387 (WebKit::WebViewImpl::setIsTransparent):
6389 2012-06-13 Sheriff Bot <webkit.review.bot@gmail.com>
6391 Unreviewed, rolling out r120220.
6392 http://trac.webkit.org/changeset/120220
6393 https://bugs.webkit.org/show_bug.cgi?id=89021
6395 The patch broke build Chromium Win Release (Requested by
6396 wangxianzhu on #webkit).
6399 * public/linux/WebFontRendering.h:
6402 * public/linuxish/WebFontRendering.h: Removed.
6403 * src/linux/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp.
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):
6413 2012-06-13 Xianzhu Wang <wangxianzhu@chromium.org>
6415 [Chromium] Let Android and Linux share WebFontRendering decl/impl.
6416 https://bugs.webkit.org/show_bug.cgi?id=88802
6418 Reviewed by Adam Barth.
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.
6428 2012-06-13 Martin Kosiba <mkosiba@google.com>
6430 [Chromium] WebFrameImpl::find doesn't work for searching from a selection.
6431 https://bugs.webkit.org/show_bug.cgi?id=88885
6433 Reviewed by Adam Barth.
6435 Remember the active match not just until the seatchText changes but for the entire find session.
6437 * src/WebFrameImpl.cpp:
6438 (WebKit::WebFrameImpl::find):
6439 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
6441 2012-06-13 Peter Beverloo <peter@chromium.org>
6443 [Chromium] Fix Clang build with USE(NATIVE_FULLSCREEN_VIDEO)=1
6444 https://bugs.webkit.org/show_bug.cgi?id=88987
6446 Reviewed by Simon Hausmann.
6448 The enterFullscreen method is declared as const by MediaPlayerPrivateInterface,
6449 so this one should be declared as such as well.
6451 Patch by Evgeniy Stepanov <eugenis@google.com>
6453 * src/WebMediaPlayerClientImpl.cpp:
6454 (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
6455 * src/WebMediaPlayerClientImpl.h:
6456 (WebMediaPlayerClientImpl):
6458 2012-06-13 MORITA Hajime <morrita@google.com>
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
6463 Reviewed by Dimitri Glazkov.
6465 - Added ContextFeaturesClientImpl which implements WebCore::ContextFeaturesClient.
6466 - Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
6469 * public/WebPermissionClient.h:
6471 (WebKit::WebPermissionClient::allowWebComponents):
6472 * src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp.
6474 (WebKit::ContextFeaturesClientImpl::isEnabled):
6475 * src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.h.
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):
6487 (WebKit::WebPagePopupImpl::initPage):
6488 * src/WebViewImpl.cpp:
6489 (WebKit::WebViewImpl::setPermissionClient):
6490 (WebKit::WebViewImpl::WebViewImpl):
6491 * src/WebViewImpl.h:
6494 2012-06-12 Ian Vollick <vollick@chromium.org>
6496 [chromium] Roll chromium rev in DEPS
6497 https://bugs.webkit.org/show_bug.cgi?id=88934
6499 Reviewed by James Robinson.
6505 2012-06-12 James Robinson <jamesr@chromium.org>
6507 [chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
6508 https://bugs.webkit.org/show_bug.cgi?id=88597
6510 Reviewed by Adrienne Walker.
6512 Implementations for new WebExternalTextureLayer APIs, updates test.
6514 * src/WebExternalTextureLayer.cpp:
6515 (WebKit::WebExternalTextureLayer::willModifyTexture):
6517 (WebKit::WebExternalTextureLayer::setRateLimitContext):
6518 * tests/Canvas2DLayerBridgeTest.cpp:
6519 (Canvas2DLayerBridgeTest::fullLifecycleTest):
6521 2012-06-12 Adrienne Walker <enne@google.com>
6523 [chromium] Paint scrollbars on WebKit thread and composite those textures
6524 https://bugs.webkit.org/show_bug.cgi?id=88145
6526 Reviewed by James Robinson.
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
6532 * tests/CCLayerTreeHostImplTest.cpp:
6534 2012-06-12 Joshua Bell <jsbell@chromium.org>
6536 IndexedDB: ObjectStore/Index shouldn't hold reference to backing store
6537 https://bugs.webkit.org/show_bug.cgi?id=83074
6539 Reviewed by Tony Chang.
6542 * tests/IDBDatabaseBackendTest.cpp: Added.
6546 2012-06-12 Dana Jansens <danakj@chromium.org>
6548 [chromium] Set contentBounds() on impl layers in CCLayerTreeHostCommonTests
6549 https://bugs.webkit.org/show_bug.cgi?id=88903
6551 Reviewed by Adrienne Walker.
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.
6558 * tests/CCLayerTreeHostCommonTest.cpp:
6560 2012-06-12 Dana Jansens <danakj@chromium.org>
6562 [chromium] Return empty visibleLayerRect for layers with empty content bounds
6563 https://bugs.webkit.org/show_bug.cgi?id=88901
6565 Reviewed by Adrienne Walker.
6567 * tests/CCLayerTreeHostImplTest.cpp:
6569 2012-06-12 Mark Mentovai <mark@chromium.org>
6571 [chromium mac] Don't #include things in subframeworks of
6572 ApplicationServices.framework.
6574 #including the umbrella <ApplicatonServices/ApplicationServices.h>
6575 exposed an ambiguous name, FontMetrics, that needs to be fully
6576 qualified as WebCore::FontMetrics.
6578 https://bugs.webkit.org/show_bug.cgi?id=88569
6580 Reviewed by Stephen White.
6582 * src/WebFontImpl.cpp:
6583 (WebKit::WebFontImpl::estimateTextBounds):
6585 2012-06-12 James Robinson <jamesr@chromium.org>
6587 [chromium] REGRESSION(119769): Canvas2DLayerBridge may go away before its TextureLayerChromium
6588 https://bugs.webkit.org/show_bug.cgi?id=88910
6590 Reviewed by Adrienne Walker.
6592 New unit test to verify that we can still update a TextureLayerChromium after the bridge owning it has gone
6595 * tests/Canvas2DLayerBridgeTest.cpp:
6597 2012-06-12 Adrienne Walker <enne@google.com>
6599 [chromium] Fix incorrect LayerChromium scroll position for RTL overflow pages
6600 https://bugs.webkit.org/show_bug.cgi?id=88887
6602 Reviewed by James Robinson.
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.
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.
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):
6623 2012-06-12 Shawn Singh <shawnsingh@chromium.org>
6625 [chromium] Make damage tracking more robust to early exits
6626 https://bugs.webkit.org/show_bug.cgi?id=84803
6628 Reviewed by James Robinson.
6630 * tests/CCDamageTrackerTest.cpp:
6631 (WebKitTests::clearDamageForAllSurfaces):
6632 (WebKitTests::TEST_F):
6634 2012-06-12 Sheriff Bot <webkit.review.bot@gmail.com>
6636 Unreviewed, rolling out r120051.
6637 http://trac.webkit.org/changeset/120051
6638 https://bugs.webkit.org/show_bug.cgi?id=88852
6640 some tests are crashing (Requested by morrita on #webkit).
6643 * public/WebPermissionClient.h:
6644 (WebKit::WebPermissionClient::allowWebComponents):
6645 * src/FrameLoaderClientImpl.cpp:
6646 (WebKit::FrameLoaderClientImpl::allowShadowDOM):
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:
6659 2012-06-12 MORITA Hajime <morrita@google.com>
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
6664 Reviewed by Dimitri Glazkov.
6666 - Added ContextFeaturesClientImpl which implements WebCore::ContextFeaturesClient.
6667 - Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
6670 * public/WebPermissionClient.h:
6672 (WebKit::WebPermissionClient::allowWebComponents):
6673 * src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp.
6675 (WebKit::ContextFeaturesClientImpl::isEnabled):
6676 * src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.h.
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):
6688 (WebKit::WebPagePopupImpl::initPage):
6689 * src/WebViewImpl.cpp:
6690 (WebKit::WebViewImpl::setPermissionClient):
6691 (WebKit::WebViewImpl::WebViewImpl):
6692 * src/WebViewImpl.h:
6695 2012-06-11 Nico Weber <thakis@chromium.org>
6697 Remove unused member variables found by clang's -Wunused-private-field
6698 https://bugs.webkit.org/show_bug.cgi?id=88812
6700 Reviewed by Anders Carlsson.
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):
6723 2012-06-11 Vincent Scheib <scheib@chromium.org>
6725 Consolidate Pointer Lock runtime enabled flags to just one.
6726 https://bugs.webkit.org/show_bug.cgi?id=88810
6728 Reviewed by Dimitri Glazkov.
6730 * src/WebRuntimeFeatures.cpp:
6731 (WebKit::WebRuntimeFeatures::enablePointerLock):
6732 (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
6734 2012-06-11 Alexis Menard <alexis.menard@openbossa.org>
6736 [CSS3 Backgrounds and Borders] Protect box-decoration-break behind a feature flag.
6737 https://bugs.webkit.org/show_bug.cgi?id=88804
6739 Reviewed by Tony Chang.
6741 Protect box-decoration-break behind a feature flag enabled by default.
6745 2012-05-11 James Robinson <jamesr@chromium.org>
6747 [chromium] Port DrawingBufferChromium from TextureLayerChromium over to WebExternalTextureLayer
6748 https://bugs.webkit.org/show_bug.cgi?id=86273
6750 Reviewed by Adrienne Walker.
6752 * src/WebExternalTextureLayer.cpp:
6753 (WebTextureUpdaterImpl):
6754 (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
6756 (WebExternalTextureLayerImpl):
6757 (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
6758 (WebKit::WebExternalTextureLayer::create):
6759 (WebKit::WebExternalTextureLayer::clearClient):
6760 (WebKit::WebExternalTextureLayer::setOpaque):
6761 (WebKit::WebExternalTextureLayer::setPremultipliedAlpha):
6763 2012-06-11 Dana Jansens <danakj@chromium.org>
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
6768 Reviewed by Adrienne Walker.
6770 * tests/CCLayerTreeHostImplTest.cpp:
6771 * tests/CCTiledLayerTestCommon.h:
6772 (WebKitTests::FakeTextureCopier::copyToTexture):
6773 * tests/Canvas2DLayerChromiumTest.cpp:
6775 2012-06-11 Joshua Bell <jsbell@chromium.org>
6777 IndexedDB: Object stores are not successfully deleted
6778 https://bugs.webkit.org/show_bug.cgi?id=88788
6780 Reviewed by Tony Chang.
6782 * tests/IDBLevelDBCodingTest.cpp:
6783 (IDBLevelDBCoding::TEST):
6785 2012-06-11 Shawn Singh <shawnsingh@chromium.org>
6787 [chromium] Implement position:fixed in compositor thread
6788 https://bugs.webkit.org/show_bug.cgi?id=70103
6790 Reviewed by Adrienne Walker.
6792 * tests/CCLayerTreeHostCommonTest.cpp:
6794 2012-06-11 Sam Weinig <sam@webkit.org>
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
6799 Reviewed by Dan Bernstein.
6801 * src/WebFrameImpl.cpp:
6802 (WebKit::WebFrameImpl::scopeStringMatches):
6804 2012-06-11 Varun Jain <varunjain@chromium.org>
6806 [chromium] WebInputEvent::isGestureEventType should return true for GestureTwoFingerTap
6807 https://bugs.webkit.org/show_bug.cgi?id=88789
6809 Reviewed by Adam Barth.
6811 * public/WebInputEvent.h:
6812 (WebKit::WebInputEvent::isGestureEventType):
6814 2012-06-11 Mark Pilgrim <pilgrim@chromium.org>
6816 [Chromium] Call shared timer functions directly
6817 https://bugs.webkit.org/show_bug.cgi?id=88781
6819 Reviewed by Adam Barth.
6821 Part of a refactoring series. See tracking bug 82948.
6823 * src/PlatformSupport.cpp:
6826 2012-06-11 Amy Ousterhout <aousterh@chromium.org>
6828 [Chromium] Removing long WebDeviceOrientation constructor
6829 https://bugs.webkit.org/show_bug.cgi?id=88779
6831 Reviewed by Adam Barth.
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/).
6837 * public/WebDeviceOrientation.h:
6839 2012-06-11 David Dorwin <ddorwin@chromium.org>
6841 [chromium] Provide access to the WebPlugin created by the helper plugin widget
6842 https://bugs.webkit.org/show_bug.cgi?id=88028
6844 Reviewed by Adam Barth.
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.
6849 * public/WebHelperPlugin.h:
6852 * public/WebMediaPlayerClient.h:
6854 * public/WebPlugin.h:
6855 (WebKit::WebPlugin::isPlaceholder):
6857 * src/WebHelperPluginImpl.cpp:
6858 (WebKit::WebHelperPluginImpl::WebHelperPluginImpl):
6860 (WebKit::WebHelperPluginImpl::getPlugin):
6861 (WebKit::WebHelperPluginImpl::initPage):
6862 (WebKit::WebHelperPluginImpl::close):
6863 * src/WebHelperPluginImpl.h:
6865 (WebHelperPluginImpl):
6866 * src/WebMediaPlayerClientImpl.cpp:
6867 (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
6868 * src/WebMediaPlayerClientImpl.h:
6869 (WebMediaPlayerClientImpl):
6870 * src/WebPagePopupImpl.cpp:
6872 2012-06-05 Dana Jansens <danakj@chromium.org>
6874 [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
6875 https://bugs.webkit.org/show_bug.cgi?id=88371
6877 Reviewed by James Robinson.
6879 * tests/CCLayerTreeHostImplTest.cpp:
6881 2012-06-11 Kent Tamura <tkent@chromium.org>
6883 [Chromium] Should call frameDetached() in WebPagePopupImpl::close()
6884 https://bugs.webkit.org/show_bug.cgi?id=88754
6886 Reviewed by Adam Barth.
6888 * src/WebPagePopupImpl.cpp:
6889 (WebKit::WebPagePopupImpl::close): Calls FrameLoader::frameDetached().
6891 2012-06-11 Min Qin <qinmin@google.com>
6893 Adding a flag to show fullscreen media controls in chromium
6894 https://bugs.webkit.org/show_bug.cgi?id=88266
6896 Reviewed by Adam Barth.
6898 Adding a flag to the gyp file so that we can enable fullscreen media control
6902 2012-06-09 Eugene Klyuchnikov <eustas.bug@gmail.com>
6904 Web Inspector: Add message loop instrumentation to public API and timeline agent
6905 https://bugs.webkit.org/show_bug.cgi?id=88639
6907 Reviewed by Vsevolod Vlasov.
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.
6912 * public/WebDevToolsAgent.h:
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.
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.
6932 (WebKit::WebDevToolsAgentImpl::stopMessageLoopMonitoring):
6933 Cancel message loop notifications.
6934 (WebKit::WebDevToolsAgentImpl::instrumentWillProcessTask):
6935 Message loop notification.
6936 (WebKit::WebDevToolsAgentImpl::instrumentDidProcessTask):
6938 * src/WebDevToolsAgentImpl.h:
6939 (WebDevToolsAgentImpl):
6941 2012-06-08 David Reveman <reveman@chromium.org>
6943 [Chromium] Compositor doesn't support translucent root layers.
6944 https://bugs.webkit.org/show_bug.cgi?id=87821
6946 Reviewed by James Robinson.
6948 * src/NonCompositedContentHost.cpp:
6949 (WebKit::NonCompositedContentHost::setOpaque):
6951 * src/NonCompositedContentHost.h:
6952 (NonCompositedContentHost):
6953 * src/WebLayerTreeView.cpp:
6954 (WebKit::WebLayerTreeView::setHasTransparentBackground):
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):
6967 2012-06-08 Ian Vollick <vollick@chromium.org>
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
6972 Reviewed by James Robinson.
6975 * tests/CCLayerTreeHostTest.cpp:
6976 (WTF::CCLayerTreeHostTestWriteLayersRedraw::beginTest):
6977 (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::commitCompleteOnCCThread):
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):
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.
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):
7030 (WebKitTests::TimeoutTask::TimeoutTask):
7031 (WebKitTests::TimeoutTask::clearTest):
7032 (WebKitTests::TimeoutTask::~TimeoutTask):
7033 (WebKitTests::TimeoutTask::run):
7035 (WebKitTests::BeginTask::BeginTask):
7036 (WebKitTests::BeginTask::~BeginTask):
7037 (WebKitTests::BeginTask::run):
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.
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):
7093 (WebKitTests::CCThreadedTest::clearTimeout):
7094 (WebKitTests::CCThreadedTest::clearEndTestTask):
7095 (WebKitTests::CCThreadedTest::layerTreeHost):
7096 (CCThreadedTestThreadOnly):
7097 (WebKitTests::CCThreadedTestThreadOnly::runTestThreaded):
7098 (MockLayerTreeHostImpl):
7099 (CompositorFakeWebGraphicsContext3DWithTextureTracking):
7101 2012-06-08 David Grogan <dgrogan@chromium.org>
7103 IndexedDB: rename some instances of open to registerFrontendCallbacks
7104 https://bugs.webkit.org/show_bug.cgi?id=88611
7106 Reviewed by Tony Chang.
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):
7117 2012-06-08 Dana Jansens <danakj@chromium.org>
7119 [chromium] Skip willDraw() and didDraw() on fully occluded layers
7120 https://bugs.webkit.org/show_bug.cgi?id=88435
7122 Reviewed by Adrienne Walker.
7124 * tests/CCLayerTreeHostImplTest.cpp:
7126 2012-06-08 James Robinson <jamesr@chromium.org>
7128 [chromium] Clean up some unnecessary LayerChromium.h includes
7129 https://bugs.webkit.org/show_bug.cgi?id=88599
7131 Reviewed by Adam Barth.
7133 Removes unused include, update comment.
7135 * src/WebMediaPlayerClientImpl.cpp:
7136 (WebKit::WebMediaPlayerClientImpl::platformLayer):
7137 (WebKit::WebMediaPlayerClientImpl::paint):
7139 2012-06-08 Jochen Eisinger <jochen@chromium.org>
7141 Unreviewed. Rolled DEPS.
7145 2012-06-08 Ian Vollick <vollick@chromium.org>
7147 [chromium] Accelerated animations should use WebTransformOperations
7148 https://bugs.webkit.org/show_bug.cgi?id=87686
7150 Reviewed by James Robinson.
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.
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):
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:
7183 2012-06-08 Robert Kroeger <rjkroege@chromium.org>
7185 More than 8 fingers get ignored by touch
7186 https://bugs.webkit.org/show_bug.cgi?id=88359
7188 Reviewed by James Robinson.
7190 * public/WebInputEvent.h: Increase of TouchPoints per TouchEvent from 8 to 12.
7192 2012-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
7194 Unreviewed. Rolled DEPS.
7198 2012-06-08 Taiju Tsuiki <tzik@chromium.org>
7200 Add FileSystem item to storage tree.
7201 https://bugs.webkit.org/show_bug.cgi?id=72691
7203 Reviewed by Vsevolod Vlasov.
7205 * src/js/DevTools.js:
7207 2012-06-08 Peter Beverloo <peter@chromium.org>
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
7212 Unreviewed build fix.
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.
7220 2012-06-07 Nico Weber <thakis@chromium.org>
7222 [chromium/mac] Improve deviceDPI, rect, and availableRect computation
7223 https://bugs.webkit.org/show_bug.cgi?id=88596
7225 Reviewed by Adam Barth.
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
7233 Also fix rect and availableRect computations: They get returned in
7236 Needed for http://crbug.com/31960.
7238 * src/mac/WebScreenInfoFactory.mm:
7239 (WebKit::toUserSpace):
7240 (WebKit::deviceScaleFactor):
7242 (WebKit::WebScreenInfoFactory::screenInfo):
7244 2012-06-07 Mark Pilgrim <pilgrim@chromium.org>
7246 [Chromium] Move didStartWorkerRunLoop to Platform.h
7247 https://bugs.webkit.org/show_bug.cgi?id=88562
7249 Reviewed by Adam Barth.
7251 Part of a refactoring series. See tracking bug 82948.
7253 * src/PlatformSupport.cpp:
7256 2012-06-05 James Robinson <jamesr@chromium.org>
7258 [chromium] Move deferral-related logic out of Canvas2DLayerChromium
7259 https://bugs.webkit.org/show_bug.cgi?id=86050
7261 Reviewed by Stephen White.
7264 * tests/Canvas2DLayerBridgeTest.cpp: Renamed from tests/Canvas2DLayerChromiumTest
7265 (Canvas2DLayerBridgeTest):
7266 (Canvas2DLayerBridgeTest::fullLifecycleTest):
7268 2012-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
7270 Unreviewed, rolling out r119744.
7271 http://trac.webkit.org/changeset/119744
7272 https://bugs.webkit.org/show_bug.cgi?id=88584
7274 Fails assertions in debug builds (Requested by jamesr_ on
7277 * tests/CCLayerTreeHostImplTest.cpp:
7279 2012-06-07 Adam Barth <abarth@webkit.org>
7281 Settings::defaultDeviceScaleFactor is redundant with Page::deviceScaleFactor
7282 https://bugs.webkit.org/show_bug.cgi?id=88375
7284 Reviewed by James Robinson.
7286 * public/WebSettings.h:
7287 (WebKit::WebSettings::setDefaultDeviceScaleFactor):
7289 * src/ChromeClientImpl.cpp:
7290 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
7291 * src/WebSettingsImpl.cpp:
7293 * src/WebSettingsImpl.h:
7295 * src/WebViewImpl.cpp:
7296 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
7297 * tests/WebFrameTest.cpp:
7300 2012-06-07 Peter Beverloo <peter@chromium.org>
7302 [Chromium] features.gypi should have the correct definitions for Android
7303 https://bugs.webkit.org/show_bug.cgi?id=88533
7305 Reviewed by Adam Barth.
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.
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.
7317 2012-06-07 Dana Jansens <danakj@chromium.org>
7319 [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
7320 https://bugs.webkit.org/show_bug.cgi?id=88371
7322 Reviewed by James Robinson.
7324 * tests/CCLayerTreeHostImplTest.cpp:
7326 2012-06-07 Ami Fischman <fischman@chromium.org>
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
7331 Reviewed by Adam Barth.
7333 * public/WebMediaPlayer.h:
7335 * src/AssertMatchingEnums.cpp:
7336 * src/WebMediaPlayerClientImpl.cpp:
7337 (WebKit::WebMediaPlayerClientImpl::loadInternal):
7338 (WebKit::WebMediaPlayerClientImpl::didPassCORSAccessCheck):
7340 * src/WebMediaPlayerClientImpl.h:
7341 (WebMediaPlayerClientImpl):
7343 2012-06-07 Daniel Erat <derat@chromium.org>
7345 Add setting to enable subpixel-positioned text on Linux.
7346 https://bugs.webkit.org/show_bug.cgi?id=88263
7348 Reviewed by Tony Chang.
7350 Add subpixel positioning field to WebFontRenderStyle and rename
7351 subpixel rendering field. Make similar changes in
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).
7358 * public/linux/WebFontInfo.h:
7360 * public/linux/WebFontRenderStyle.h:
7361 * public/linux/WebFontRendering.h:
7363 * src/linux/WebFontInfo.cpp:
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):
7373 (WebKit::WebFontRendering::setSubpixelRendering):
7374 (WebKit::WebFontRendering::setSubpixelPositioning):
7376 2012-06-06 Dana Jansens <danakj@chromium.org>
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
7381 Reviewed by James Robinson.
7383 * tests/CCLayerTreeHostImplTest.cpp:
7385 2012-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
7387 Unreviewed, rolling out r119694.
7388 http://trac.webkit.org/changeset/119694
7389 https://bugs.webkit.org/show_bug.cgi?id=88529
7391 it broke PrerenderBrowserTest.PrerenderHTML5VideoNetwork
7392 (Requested by loislo on #webkit).
7394 * public/WebMediaPlayer.h:
7396 * src/AssertMatchingEnums.cpp:
7397 * src/WebMediaPlayerClientImpl.cpp:
7398 (WebKit::WebMediaPlayerClientImpl::loadInternal):
7399 * src/WebMediaPlayerClientImpl.h:
7400 (WebMediaPlayerClientImpl):
7402 2012-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
7404 Unreviewed, rolling out r119689.
7405 http://trac.webkit.org/changeset/119689
7406 https://bugs.webkit.org/show_bug.cgi?id=88516
7408 it broke didDrawNotCalledOnScissoredLayer webkit_unit_test
7409 (Requested by loislo on #webkit).
7411 * tests/CCLayerTreeHostImplTest.cpp:
7413 2012-06-07 Ami Fischman <fischman@chromium.org>
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
7418 Reviewed by Adam Barth.
7420 * public/WebMediaPlayer.h:
7422 * src/WebMediaPlayerClientImpl.cpp:
7423 (WebKit::WebMediaPlayerClientImpl::loadInternal):
7425 2012-06-07 Yoshifumi Inoue <yosin@chromium.org>
7427 [Platform] Introduce conversion from/to Deciaml to/from double and helper functions
7428 https://bugs.webkit.org/show_bug.cgi?id=88480
7430 Reviewed by Kent Tamura.
7432 This patch added tests for Decimal::fromDouble, isInfinity, toDouble.
7434 * tests/DecimalTest.cpp:
7437 2012-06-07 Ami Fischman <fischman@chromium.org>
7439 Unreviewed. Rolled DEPS.
7443 2012-06-06 Dana Jansens <danakj@chromium.org>
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
7448 Reviewed by James Robinson.
7450 * tests/CCLayerTreeHostImplTest.cpp:
7452 2012-06-06 Kent Tamura <tkent@chromium.org>
7454 Unreviewed, rolling out r60044.
7455 http://trac.webkit.org/changeset/60044
7457 It made a regression, crbug.com/114922.
7459 * src/ChromeClientImpl.cpp:
7460 (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll): Do not hide popups by scrolling.
7461 (WebKit::ChromeClientImpl::scroll): ditto.
7463 2012-06-06 Noel Gordon <noel.gordon@gmail.com>
7465 Unreviewed. Rolled DEPS.
7467 * DEPS: Roll to chromium 140955.
7469 2012-06-06 Sheriff Bot <webkit.review.bot@gmail.com>
7471 Unreviewed, rolling out r119683.
7472 http://trac.webkit.org/changeset/119683
7473 https://bugs.webkit.org/show_bug.cgi?id=88505
7475 it broke webkit-unit-test
7476 WebLayerTreeViewThreadedTest.InstrumentationCallbacks on mac
7477 (Requested by loislo on #webkit).
7479 * tests/CCLayerTreeHostTest.cpp:
7480 (WTF::MockLayerTreeHost::create):
7481 * tests/Canvas2DLayerChromiumTest.cpp:
7482 (Canvas2DLayerChromiumTest::fullLifecycleTest):
7484 2012-06-06 Robert Kroeger <rjkroege@chromium.org>
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.
7490 Reviewed by James Robinson.
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.
7498 2012-06-06 Michal Mocny <mmocny@google.com>
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
7503 Reviewed by Adrienne Walker.
7505 * tests/CCLayerTreeHostTest.cpp:
7506 (WTF::MockLayerTreeHost::create):
7507 * tests/Canvas2DLayerChromiumTest.cpp:
7508 (Canvas2DLayerChromiumTest::fullLifecycleTest):
7510 2012-06-06 Mark Pilgrim <pilgrim@chromium.org>
7512 [Chromium] Move createMessagePortChannel to Platform.h
7513 https://bugs.webkit.org/show_bug.cgi?id=85764
7515 Reviewed by Adam Barth.
7517 Part of a refactoring series. See tracking bug 82948.
7520 * public/WebFrame.h:
7522 * public/WebMessagePortChannel.h:
7523 * public/WebMessagePortChannelClient.h:
7524 * public/WebSharedWorkerClient.h:
7525 (WebSharedWorkerClient):
7526 * public/platform/WebKitPlatformSupport.h:
7528 (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
7529 * src/PlatformMessagePortChannel.cpp:
7530 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
7531 * src/PlatformMessagePortChannel.h:
7532 * src/SharedWorkerRepository.cpp:
7533 * src/WebSharedWorkerImpl.cpp:
7535 2012-06-06 Amy Ousterhout <aousterh@chromium.org>
7537 [Chromium] DeviceOrientation cleanup
7538 https://bugs.webkit.org/show_bug.cgi?id=88406
7540 Reviewed by Kent Tamura.
7542 Made default constructor public and added a set function for each property.
7543 This will allow us to remove the 8-parameter constructor.
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):
7554 2012-06-06 James Robinson <jamesr@chromium.org>
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
7559 Reviewed by Kenneth Russell.
7563 2012-06-06 James Robinson <jamesr@chromium.org>
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
7568 * src/GraphicsContext3DPrivate.h:
7570 2012-06-06 James Robinson <jamesr@chromium.org>
7572 [chromium] Clean up GraphicsContext3D implementation
7573 https://bugs.webkit.org/show_bug.cgi?id=88460
7575 Reviewed by Kenneth Russell.
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.
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.
7590 Refactor only, no change in functionality. Existing tests apply.
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):
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.
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):
7698 2012-06-06 Sadrul Habib Chowdhury <sadrul@chromium.org>
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
7703 Reviewed by James Robinson.
7705 * src/WebViewImpl.cpp:
7706 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
7708 2012-06-06 Ami Fischman <fischman@chromium.org>
7710 Unreviewed. Rolled DEPS.
7714 2012-06-06 Nico Weber <thakis@chromium.org>
7716 [chromium] Expose setPictographFontFamily through the chromium webkit api.
7717 https://bugs.webkit.org/show_bug.cgi?id=88393
7719 Reviewed by Adam Barth.
7721 This was added to WebCore in
7722 https://bugs.webkit.org/show_bug.cgi?id=65197
7724 * public/WebSettings.h:
7725 * src/WebSettingsImpl.cpp:
7726 (WebKit::WebSettingsImpl::setPictographFontFamily):
7728 * src/WebSettingsImpl.h:
7731 2012-06-06 Ryosuke Niwa <rniwa@webkit.org>
7733 Unreviewed. Rolled DEPS.
7737 2012-06-06 Kinuko Yasuda <kinuko@chromium.org>
7739 Roll Chromium DEPS from r140700 to r140711.
7743 2012-06-06 Ami Fischman <fischman@chromium.org>
7745 [chromium] Add a WebKit::WebMediaPlayer::CORSMode enum in preparation for 88349
7746 https://bugs.webkit.org/show_bug.cgi?id=88388
7748 Reviewed by Darin Fisher.
7750 * public/WebMediaPlayer.h:
7752 2012-06-05 Ryosuke Niwa <rniwa@webkit.org>
7754 Roll Chromium DEPS from r140653 to r140700.
7758 2012-06-05 Kentaro Hara <haraken@chromium.org>
7760 Unreviewed, rolling out r119494.
7761 http://trac.webkit.org/changeset/119494
7762 https://bugs.webkit.org/show_bug.cgi?id=87911
7764 We found similar APIs are already implemented
7766 * public/WebWidget.h:
7767 * src/WebViewImpl.cpp:
7768 * src/WebViewImpl.h:
7770 * tests/WebViewTest.cpp:
7771 * tests/data/textarea.html: Removed.
7773 2012-06-05 Ryosuke Niwa <rniwa@webkit.org>
7775 Roll Chromium DEPS from r140528 to r140653.
7779 2012-06-05 Mark Pilgrim <pilgrim@chromium.org>
7781 [Chromium] Move createLocalStorageNamespace to Platform.h
7782 https://bugs.webkit.org/show_bug.cgi?id=85766
7784 Reviewed by James Robinson.
7786 Part of a refactoring series. See tracking bug 82948.
7789 * public/WebStorageArea.h:
7790 * public/WebStorageNamespace.h:
7791 * public/platform/WebKitPlatformSupport.h:
7793 (WebKitPlatformSupport):
7795 2012-06-05 Greg Billock <gbillock@google.com>
7797 New constructor for WebIntent to be used for delivery
7798 https://bugs.webkit.org/show_bug.cgi?id=87143
7800 Reviewed by Darin Fisher.
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.
7805 * public/WebIntent.h:
7807 * src/WebFrameImpl.cpp:
7808 (WebKit::WebFrameImpl::deliverIntent):
7809 * src/WebIntent.cpp:
7810 (WebKit::WebIntent::WebIntent):
7812 (WebKit::WebIntent::reset):
7813 (WebKit::WebIntent::messagePortChannelsRelease):
7815 2012-06-05 Ryosuke Niwa <rniwa@webkit.org>
7817 Roll Chromium DEPS from r140492 to r140528.
7821 2012-06-05 Seigo Nonaka <nona@chromium.org>
7823 [chromium] There is no way to retrieve composition character rectangle in WebKit/chromium
7824 https://bugs.webkit.org/show_bug.cgi?id=87911
7826 Reviewed by Ryosuke Niwa.
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.
7832 * public/WebWidget.h:
7834 (WebKit::WebWidget::compositionCharacterBounds):
7835 * src/WebViewImpl.cpp:
7836 (WebKit::WebViewImpl::compositionCharacterBounds):
7838 * src/WebViewImpl.h:
7841 2012-06-05 Dongwoo Im <dw.im@samsung.com>
7843 Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
7844 https://bugs.webkit.org/show_bug.cgi?id=73176
7846 Reviewed by Adam Barth.
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.
7854 * features.gypi: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
7856 2012-06-05 Kent Tamura <tkent@chromium.org>
7858 Move some function definitions in EmptyClients.h to EmptyClients.cpp
7859 https://bugs.webkit.org/show_bug.cgi?id=88285
7861 Reviewed by Ryosuke Niwa.
7863 * src/WebHelperPluginImpl.cpp: Remove unnecessary #includes, and add necessary #includes.
7864 * src/WebPagePopupImpl.cpp: ditto.
7866 2012-06-05 Noel Gordon <noel.gordon@gmail.com>
7868 Unreviewed. Rolled DEPS.
7872 2012-06-05 Adam Barth <abarth@webkit.org>
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
7877 Reviewed by James Robinson.
7879 * public/WebSettings.h:
7880 * src/WebSettingsImpl.cpp:
7881 (WebKit::WebSettingsImpl::setDeviceSupportsMouse):
7883 * src/WebSettingsImpl.h:
7886 2012-06-04 Dana Jansens <danakj@chromium.org>
7888 [chromium] Remove redundant setNeedsCommit when prepareToDraw fails
7889 https://bugs.webkit.org/show_bug.cgi?id=88246
7891 Reviewed by James Robinson.
7893 * tests/CCLayerTreeHostImplTest.cpp:
7895 2012-06-04 Dana Jansens <danakj@chromium.org>
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
7900 Reviewed by James Robinson.
7902 * tests/ScrollbarLayerChromiumTest.cpp:
7904 * tests/TreeSynchronizerTest.cpp:
7905 (WebKitTests::expectTreesAreIdentical):
7906 (WebKitTests::TEST):
7908 2012-06-04 Ryosuke Niwa <rniwa@webkit.org>
7910 yet another build fix attempt.
7912 * src/WebHelperPluginImpl.cpp:
7914 2012-06-04 Ryosuke Niwa <rniwa@webkit.org>
7916 Another Chromium Windows build fix attempt after r119411.
7918 * src/WebHelperPluginImpl.cpp:
7920 2012-06-04 Shawn Singh <shawnsingh@chromium.org>
7922 [chromium] CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer needs to be cleaner
7923 https://bugs.webkit.org/show_bug.cgi?id=85245
7925 Reviewed by James Robinson.
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.
7933 * tests/CCDamageTrackerTest.cpp:
7934 (WebKitTests::TEST_F):
7936 2012-06-04 Ryosuke Niwa <rniwa@webkit.org>
7938 Fix attempt after r119411.
7940 * src/WebHelperPluginImpl.cpp:
7942 2012-06-04 Sadrul Habib Chowdhury <sadrul@chromium.org>
7944 [chromium] Fix software rendering for larger device-scale-factor
7945 https://bugs.webkit.org/show_bug.cgi?id=88136
7947 Reviewed by Darin Fisher.
7949 The fix is to apply the device-scale factor on the GraphicsContext.
7950 (and add a WebWidgetClient::deviceScaleFactor method to facilitate that).
7952 * public/WebWidgetClient.h:
7954 (WebKit::WebWidgetClient::deviceScaleFactor):
7955 * src/PageWidgetDelegate.cpp:
7956 (WebKit::PageWidgetDelegate::paint):
7957 * src/WebPopupMenuImpl.cpp:
7958 (WebKit::WebPopupMenuImpl::paint):
7960 2012-06-04 Sadrul Habib Chowdhury <sadrul@chromium.org>
7962 Combobox options and autofill options should not be scaled for device-scale factor.
7963 https://bugs.webkit.org/show_bug.cgi?id=87921
7965 Reviewed by Darin Fisher.
7967 * src/WebViewImpl.cpp:
7968 (WebKit::WebViewImpl::applyAutofillSuggestions):
7970 2012-06-04 Dana Jansens <danakj@chromium.org>
7972 [chromium] Make LayerRendererChromium use RenderPasses instead of RenderSurfaces
7973 https://bugs.webkit.org/show_bug.cgi?id=88132
7975 Reviewed by Adrienne Walker.
7977 * tests/CCLayerTreeHostImplTest.cpp:
7978 * tests/LayerRendererChromiumTest.cpp:
7979 (FakeCCRendererClient::FakeCCRendererClient):
7980 (FakeCCRendererClient::rootRenderPass):
7981 (FakeCCRendererClient):
7984 2012-06-04 David Dorwin <ddorwin@chromium.org>
7986 Enable Chromium media player to instantiate a plugin
7987 https://bugs.webkit.org/show_bug.cgi?id=87399
7989 Reviewed by Kent Tamura.
7991 Adds WebHelperPlugin, an off-screen widget that contains an <object> tag.
7994 * public/WebHelperPlugin.h: Copied from Source/WebKit/chromium/public/WebPopupType.h.
7997 (WebKit::WebHelperPlugin::~WebHelperPlugin):
7998 * public/WebMediaPlayerClient.h:
8000 * public/WebPopupType.h:
8002 * public/WebViewClient.h:
8005 (WebKit::WebViewClient::initializeHelperPluginWebFrame):
8006 * src/WebFrameImpl.cpp:
8007 (WebKit::WebFrameImpl::WebFrameImpl):
8008 (WebKit::WebFrameImpl::initializeAsMainFrame):
8009 * src/WebFrameImpl.h:
8011 * src/WebHelperPluginImpl.cpp: Added.
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.
8032 (WebHelperPluginImpl):
8033 * src/WebMediaPlayerClientImpl.cpp:
8034 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
8035 (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
8037 (WebKit::WebMediaPlayerClientImpl::closeHelperPlugin):
8038 * src/WebMediaPlayerClientImpl.h:
8040 (WebMediaPlayerClientImpl):
8041 * src/WebViewImpl.cpp:
8042 (WebKit::WebViewImpl::initializeMainFrame):
8043 (WebKit::WebViewImpl::initializeHelperPluginFrame):
8045 (WebKit::WebViewImpl::createHelperPlugin):
8046 * src/WebViewImpl.h:
8050 2012-06-04 Raymes Khoury <raymes@chromium.org>
8052 Remove obsolete acceptMIMETypes member.
8053 https://bugs.webkit.org/show_bug.cgi?id=88241
8055 Reviewed by Darin Fisher.
8057 Obsoleted by https://bugs.webkit.org/show_bug.cgi?id=87271 and http://codereview.chromium.org/10414085/.
8059 * public/WebFileChooserParams.h:
8060 (WebFileChooserParams):
8061 * src/ChromeClientImpl.cpp:
8062 (WebKit::ChromeClientImpl::runOpenPanel):
8064 2012-06-04 Zeev Lieber <zlieber@chromium.org>
8066 [chromium] Cleanup scissor rect computation/use with damage
8067 https://bugs.webkit.org/show_bug.cgi?id=87167
8069 Reviewed by Adrienne Walker.
8071 Added unit tests to CCLayerTreeHostImpl using mock graphic context
8072 to verify end-to-end quad drawing.
8074 Added more test cases to CCLayerTreeHostCommon to verify clip and
8075 scissor rect computations.
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:
8086 2012-06-03 Ryosuke Niwa <rniwa@webkit.org>
8088 Roll Chromium DEPS from r140222 to r140260.
8092 2012-06-03 Ryosuke Niwa <rniwa@webkit.org>
8094 Roll Chromium DEPS from r140000 to r140222.
8098 2012-06-03 Varun Jain <varunjain@google.com>
8100 [chromium] Add new gesture type (two finger tap) that triggers context menu.
8101 https://bugs.webkit.org/show_bug.cgi?id=88173
8103 Reviewed by Adam Barth.
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):
8115 2012-06-03 Robert Kroeger <rjkroege@chromium.org>
8117 [chromium] replace isScrollGestureEventType with isGestureEventType
8118 https://bugs.webkit.org/show_bug.cgi?id=88097
8120 This change replaces the unused and incorrect isScrollGestureEventType
8121 method with a correct and useful isGestureEventType method.
8123 Reviewed by Adam Barth.
8125 * public/WebInputEvent.h:
8127 (WebKit::WebInputEvent::isGestureEventType):
8129 2012-06-01 Alexandre Elias <aelias@google.com>
8131 [chromium] Software compositor initialization and base classes
8132 https://bugs.webkit.org/show_bug.cgi?id=87920
8134 Reviewed by James Robinson.
8136 Add a new setting to force software compositing. In this mode,
8137 no GraphicsContext3D should ever be created.
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):
8148 * src/WebSettingsImpl.h:
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:
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):
8177 * tests/TextureCopierTest.cpp:
8178 * tests/TiledLayerChromiumTest.cpp:
8181 2012-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
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
8189 Not only broke compilation in the initial commit but also
8190 broke LayerChromiumTest.basicCreateAndDestroy (Requested by
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):
8210 2012-06-01 Ryosuke Niwa <rniwa@webkit.org>
8212 Use fully qualified name for Fixed to avoid the collision with "typedef SInt32 Fixed" in MacTypes.h
8214 * tests/GraphicsLayerChromiumTest.cpp:
8215 (WebKitTests::TEST_F):
8217 2012-06-01 James Robinson <jamesr@chromium.org>
8219 [chromium] Unreviewed compile fix for r119283
8221 For the record, Dana Jensens <danakj@chromium.org> wrote this slightly faster than I did.
8223 * tests/CCAnimationTestCommon.h:
8225 2012-06-01 Ian Vollick <vollick@chromium.org>
8227 [chromium] Accelerated animations should use WebTransformOperations
8228 https://bugs.webkit.org/show_bug.cgi?id=87686
8230 Reviewed by James Robinson.
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.
8240 * tests/CCAnimationTestCommon.cpp:
8241 (WebCore::addOpacityTransition):
8242 (WebCore::addAnimatedTransform):
8243 (WebKitTests::FakeTransformTransition::getValue):
8244 * tests/CCAnimationTestCommon.h:
8245 * tests/CCKeyframedAnimationCurveTest.cpp:
8247 * tests/CCLayerAnimationControllerTest.cpp:
8248 (WebKitTests::TEST):
8249 * tests/CCLayerTreeHostTest.cpp:
8250 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
8251 * tests/GraphicsLayerChromiumTest.cpp:
8252 (MockLayerTreeHostClient):
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):
8264 2012-06-01 Mark Pilgrim <pilgrim@chromium.org>
8266 [Chromium] Call clipboard methods directly
8267 https://bugs.webkit.org/show_bug.cgi?id=88038
8269 Reviewed by Adam Barth.
8271 Part of a refactoring series. See tracking bug 82948.
8273 * src/AssertMatchingEnums.cpp:
8274 * src/PlatformSupport.cpp:
8275 (WebCore::getCookieJar):
8277 2012-06-01 Peter Beverloo <peter@chromium.org>
8279 Unreviewed. Rolled DEPS.
8283 2012-06-01 Yoshifumi Inoue <yosin@chromium.org>
8285 [Platform][Decimal] UInt128::operator/= calls makeUInt128 with wrong argument order
8286 https://bugs.webkit.org/show_bug.cgi?id=88044
8288 Reviewed by Kent Tamura.
8290 * tests/DecimalTest.cpp:
8291 (TEST_F): Add a new test for multiplication.
8293 2012-05-31 Hajime Morrita <morrita@chromium.org>
8295 REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
8296 https://bugs.webkit.org/show_bug.cgi?id=86859
8298 Removed a port specific fix which was introduced at r117572.
8300 Reviewed by Ryosuke Niwa.
8302 * src/EditorClientImpl.cpp:
8303 (WebKit::EditorClientImpl::frameWillDetachPage):
8304 (WebKit::EditorClientImpl::requestCheckingOfString):
8305 * src/EditorClientImpl.h:
8308 * src/WebTextCheckingCompletionImpl.cpp:
8309 (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
8310 (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
8311 * src/WebTextCheckingCompletionImpl.h:
8312 (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
8313 (WebTextCheckingCompletionImpl):
8315 2012-05-31 Sheriff Bot <webkit.review.bot@gmail.com>
8317 Unreviewed, rolling out r119146.
8318 http://trac.webkit.org/changeset/119146
8319 https://bugs.webkit.org/show_bug.cgi?id=88035
8321 android breakage fixed in http://crrev.com/139945 (Requested
8322 by fischman on #webkit).
8324 * public/WebMediaPlayer.h:
8326 * src/WebMediaPlayerClientImpl.cpp:
8327 (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
8328 * src/WebMediaPlayerClientImpl.h:
8329 (WebMediaPlayerClientImpl):
8331 2012-05-31 Shawn Singh <shawnsingh@chromium.org>
8333 [chromium] Migrate to WebTransformationMatrix
8334 https://bugs.webkit.org/show_bug.cgi?id=87788
8336 Reviewed by James Robinson.
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:
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:
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:
8405 2012-05-31 Ian Vollick <vollick@chromium.org>
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
8410 Reviewed by James Robinson.
8412 When the layer renderer fails to initialize, be sure to stop the animation timer.
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):
8428 (WTF::TestHooks::didRecreateContext):
8430 (WTF::TestHooks::createContext):
8431 (CCLayerTreeHostTest):
8432 (WTF::CCLayerTreeHostTest::clearEndTestTask):
8433 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
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):
8451 2012-05-15 Brett Wilson <brettw@chromium.org>
8453 Hook up GTK IsKeyPad flag for keyboard events, and preserve this flag
8454 on all platforms when converting back to a WebKeyboardEvent.
8456 https://bugs.webkit.org/show_bug.cgi?id=86514
8458 Reviewed by Dimitri Glazkov.
8460 * src/WebInputEventConversion.cpp:
8461 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
8462 * src/gtk/WebInputEventFactory.cpp:
8463 (WebKit::WebInputEventFactory::keyboardEvent):
8464 * tests/WebInputEventFactoryTestGtk.cpp:
8466 2012-05-31 Alec Flett <alecflett@chromium.org>
8468 IndexedDB: Implement IDBTransaction.error and IDBRequest.error
8469 https://bugs.webkit.org/show_bug.cgi?id=87865
8471 Reviewed by Tony Chang.
8473 IDBDatabaseError now honors IDB-specific DOMException codes,
8474 so make sure that's how they are passed to/from chromium.
8476 * src/WebIDBDatabaseError.cpp:
8477 (WebKit::WebIDBDatabaseError::assign):
8479 2012-05-31 James Robinson <jamesr@chromium.org>
8481 [chromium] Assertion failures during compositor startup in lost context situations
8482 https://bugs.webkit.org/show_bug.cgi?id=87912
8484 Reviewed by Adrienne Walker.
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.
8489 * tests/LayerRendererChromiumTest.cpp:
8490 (LoseContextOnFirstGetContext):
8491 (LoseContextOnFirstGetContext::LoseContextOnFirstGetContext):
8494 2012-05-31 Sheriff Bot <webkit.review.bot@gmail.com>
8496 Unreviewed, rolling out r119125.
8497 http://trac.webkit.org/changeset/119125
8498 https://bugs.webkit.org/show_bug.cgi?id=88007
8500 Will break android build if rolled (Requested by rafaelw_ on
8503 * public/WebMediaPlayer.h:
8505 * src/WebMediaPlayerClientImpl.cpp:
8506 (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
8507 * src/WebMediaPlayerClientImpl.h:
8508 (WebMediaPlayerClientImpl):
8510 2012-05-31 Dana Jansens <danakj@chromium.org>
8512 [chromium] Move drawing code for RenderSurfaces into LayerRendererChromium
8513 https://bugs.webkit.org/show_bug.cgi?id=87877
8515 Reviewed by James Robinson.
8517 * tests/CCRenderSurfaceTest.cpp:
8520 2012-05-31 Ami Fischman <fischman@chromium.org>
8522 Replace WebMediaPlayer::bytesLoaded() with an explicit didLoadingProgress()
8523 https://bugs.webkit.org/show_bug.cgi?id=86113
8525 Reviewed by Eric Carlson.
8527 * public/WebMediaPlayer.h:
8529 * src/WebMediaPlayerClientImpl.cpp:
8530 (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
8531 * src/WebMediaPlayerClientImpl.h:
8532 (WebMediaPlayerClientImpl):
8534 2012-05-31 Ian Vollick <vollick@chromium.org>
8536 [chromium] create WebTransformOperation interface for chromium platform
8537 https://bugs.webkit.org/show_bug.cgi?id=87510
8539 Reviewed by James Robinson.
8542 * tests/WebTransformOperationsTest.cpp: Added.
8546 2012-05-31 Alexander Pavlov <apavlov@chromium.org>
8548 Web Inspector: [Chromium] Cannot bring Inspector to front when paused on breakpoint
8549 https://bugs.webkit.org/show_bug.cgi?id=87871
8551 Reviewed by Yury Semikhatsky.
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+`).
8558 * src/WebViewImpl.cpp:
8559 (WebKit::WebViewImpl::handleInputEvent):
8561 2012-05-31 Peter Beverloo <peter@chromium.org>
8563 Unreviewed. Rolled DEPS.
8567 2012-05-30 Peter Beverloo <peter@chromium.org>
8569 [Chromium] Automatically install 64-bit linker for Android
8570 https://bugs.webkit.org/show_bug.cgi?id=79780
8572 Reviewed by Adam Barth.
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.
8581 2012-05-31 Yoshifumi Inoue <yosin@chromium.org>
8583 Build fix for Chromium Linux (Tests) after r119073.
8585 * tests/DecimalTest.cpp:
8588 2012-05-31 Yoshifumi Inoue <yosin@chromium.org>
8590 [Platform] Introduce Decimal class for Number/Range input type.
8591 https://bugs.webkit.org/show_bug.cgi?id=87360
8593 Reviewed by Kent Tamura.
8595 This patch added unit test for Decimal class.
8598 * tests/DecimalTest.cpp: Added.
8600 (WebCore::operator<<): Output Decimal for unit test debugging
8602 (DecimalStepRange::DecimalStepRange):
8603 (DecimalStepRange::clampValue):
8605 (DecimalTest::encode):
8606 (DecimalTest::fromString):
8607 (DecimalTest::stepDown):
8608 (DecimalTest::stepUp):
8611 2012-05-30 Yury Semikhatsky <yurys@chromium.org>
8613 Web Inspector: add MemoryUsageSupport::processMemorySizesInBytes
8614 https://bugs.webkit.org/show_bug.cgi?id=87830
8616 Reviewed by James Robinson.
8618 * public/platform/WebKitPlatformSupport.h: pulled getProcessMemorySize up
8619 to the Source/Platform/chromium/public/Platform.h
8620 * src/PlatformSupport.cpp:
8622 2012-05-31 Kent Tamura <tkent@chromium.org>
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
8629 Broke build on Lion, SnowLoepard, Chromium Windows, and
8633 * tests/DecimalTest.cpp: Removed.
8635 2012-05-30 Yoshifumi Inoue <yosin@chromium.org>
8637 [Platform] Introduce Decimal class for Number/Range input type.
8638 https://bugs.webkit.org/show_bug.cgi?id=87360
8640 Reviewed by Kent Tamura.
8642 This patch added unit test for Decimal class.
8645 * tests/DecimalTest.cpp: Added.
8647 (WebCore::operator<<): Output Decimal for unit test debugging
8649 (DecimalStepRange::DecimalStepRange):
8650 (DecimalStepRange::clampValue):
8652 (DecimalTest::encode):
8653 (DecimalTest::fromString):
8654 (DecimalTest::stepDown):
8655 (DecimalTest::stepUp):
8658 2012-05-30 Shawn Singh <shawnsingh@chromium.org>
8660 [chromium] Fix min/max bounds error in CCMathUtil.cpp
8661 https://bugs.webkit.org/show_bug.cgi?id=87915
8663 Reviewed by James Robinson.
8665 * tests/CCMathUtilTest.cpp:
8669 2012-05-30 Ami Fischman <fischman@chromium.org>
8671 Roll chromium DEPS from r139300 to r139542. Unreviewed.
8672 https://bugs.webkit.org/show_bug.cgi?id=87868
8676 2012-05-30 Mark Pilgrim <pilgrim@chromium.org>
8678 [Chromium] Call fileUtilities methods directly
8679 https://bugs.webkit.org/show_bug.cgi?id=87852
8681 Reviewed by Adam Barth.
8683 Part of a refactoring series. See tracking bug 82948.
8685 * src/PlatformSupport.cpp:
8688 2012-05-30 Sheriff Bot <webkit.review.bot@gmail.com>
8690 Unreviewed, rolling out r118986.
8691 http://trac.webkit.org/changeset/118986
8692 https://bugs.webkit.org/show_bug.cgi?id=87914
8694 Caused several IndexedDB browser_test failures on Chromium
8695 canary builders (Requested by rafaelw_ on #webkit).
8697 * src/WebIDBDatabaseError.cpp:
8698 (WebKit::WebIDBDatabaseError::assign):
8700 2012-05-30 Dominic Mazzoni <dmazzoni@google.com>
8702 AX: Chromium WebAccessibilityObject should check if an AccessibilityObject is detached
8703 https://bugs.webkit.org/show_bug.cgi?id=87778
8705 Reviewed by Adam Barth.
8707 Pretty simple - all places that previously just checked for null
8708 now also check if the wrapped AccessibilityObject is detached.
8710 * public/WebAccessibilityObject.h:
8711 (WebAccessibilityObject):
8712 * src/WebAccessibilityObject.cpp:
8713 (WebKit::WebAccessibilityObject::isDetached):
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):
8788 2012-05-30 Shawn Singh <shawnsingh@chromium.org>
8790 Simplify TransformationMatrix rotation code to improve precision
8791 https://bugs.webkit.org/show_bug.cgi?id=86666
8793 Reviewed by Adrienne Walker.
8795 * tests/CCLayerTreeHostCommonTest.cpp:
8796 (WebKitTests::TEST):
8797 * tests/WebTransformationMatrixTest.cpp:
8801 2012-05-30 Alec Flett <alecflett@chromium.org>
8803 IndexedDB: Implement IDBTransaction.error and IDBRequest.error
8804 https://bugs.webkit.org/show_bug.cgi?id=87865
8806 Reviewed by Tony Chang.
8808 IDBDatabaseError now honors IDB-specific DOMException codes,
8809 so make sure that's how they are passed to/from chromium.
8811 * src/WebIDBDatabaseError.cpp:
8812 (WebKit::WebIDBDatabaseError::assign):
8814 2012-05-30 Shawn Singh <shawnsingh@chromium.org>
8816 [chromium] Merge shared code in CCOcclusionTrackerTest
8817 https://bugs.webkit.org/show_bug.cgi?id=87798
8819 Reviewed by Adrienne Walker.
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.
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):
8864 2012-05-30 Tony Chang <tony@chromium.org>
8866 [chromium] port webframe_unittest.cc to webkit_unit_tests
8867 https://bugs.webkit.org/show_bug.cgi?id=87796
8869 Reviewed by James Robinson.
8871 Move WebFrameTest.GetContentAsPlainText and WebFrameTest.GetFullHtmlOfPage to webkit_unit_tests.
8873 * tests/WebFrameTest.cpp:
8875 (WebKit): Add tests.
8877 2012-05-30 Jochen Eisinger <jochen@chromium.org>
8879 Match Firefox restrictions to window.blur and window.focus
8880 https://bugs.webkit.org/show_bug.cgi?id=86969
8882 Reviewed by Adam Barth.
8884 Allow window.focus() during the dispatch of the click event on
8887 * src/WebNotification.cpp:
8888 (WebKit::WebNotification::dispatchClickEvent):
8890 2012-05-29 Mark Pilgrim <pilgrim@chromium.org>
8892 [Chromium] Move fileExists to Platform.h
8893 https://bugs.webkit.org/show_bug.cgi?id=87531
8895 Reviewed by Adam Barth.
8897 Part of a refactoring series. See tracking bug 82948.
8899 * src/PlatformSupport.cpp:
8902 2012-05-29 Alec Flett <alecflett@chromium.org>
8904 IndexedDB: Align codes and names for IDB-specific and DOM-specific errors/exceptions
8905 https://bugs.webkit.org/show_bug.cgi?id=87276
8907 Reviewed by Tony Chang.
8909 * public/WebIDBDatabaseException.h:
8910 * src/AssertMatchingEnums.cpp:
8912 2012-05-29 Rafael Weinstein <rafaelw@chromium.org>
8914 Unreviewed. Rolled DEPS.
8918 2012-05-29 Dana Jansens <danakj@chromium.org>
8920 [chromium] Unoccluded area in surfaces should always be clipped to the rootScissorRect
8921 https://bugs.webkit.org/show_bug.cgi?id=87677
8923 Reviewed by Adrienne Walker.
8925 * tests/CCOcclusionTrackerTest.cpp:
8926 (CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor):
8927 (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
8930 2012-05-29 David Barr <davidbarr@chromium.org>
8932 Introduce ENABLE_CSS_IMAGE_RESOLUTION compile flag
8933 https://bugs.webkit.org/show_bug.cgi?id=87685
8935 Reviewed by Eric Seidel.
8937 Add a configuration option for CSS image-resolution support, disabling it by default.
8941 2012-05-29 Peter Beverloo <peter@chromium.org>
8943 Unreviewed. Rolled DEPS.
8947 2012-05-29 Hironori Bono <hbono@chromium.org>
8949 Use WebSpellCheckClient::spellcheck to retrieve suggestions.
8950 https://bugs.webkit.org/show_bug.cgi?id=87690
8952 Reviewed by Hajime Morita.
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.)
8959 * src/ContextMenuClientImpl.cpp:
8960 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Retrieve suggestions if markers do not have any.
8962 2012-05-28 Takashi Toyoshima <toyoshim@chromium.org>
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
8967 Reviewed by Kent Tamura.
8969 Update close event codes corresponding to WebSocketChannel::CloseEventCode.
8971 * public/WebSocket.h: Update on newly defined close event codes
8973 2012-05-28 MORITA Hajime <morrita@google.com>
8975 Rename FrameLoaderClient::shadowDOMAllowed() to allowShadowDOM()
8976 https://bugs.webkit.org/show_bug.cgi?id=87101
8978 Reviewed by Kentaro Hara.
8980 * src/FrameLoaderClientImpl.cpp:
8981 (WebKit::FrameLoaderClientImpl::allowShadowDOM):
8982 * src/FrameLoaderClientImpl.h:
8983 (FrameLoaderClientImpl):
8985 2012-05-28 Rob Flack <flackr@chromium.org>
8987 [chromium] Only increase size of Combo Box Options when displayed on touch screen
8988 https://bugs.webkit.org/show_bug.cgi?id=85921
8990 Reviewed by Adam Barth.
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.
8994 * public/WebSettings.h:
8995 * src/WebSettingsImpl.cpp:
8996 (WebKit::WebSettingsImpl::defaultDeviceScaleFactor):
8998 (WebKit::WebSettingsImpl::setDeviceSupportsTouch):
8999 (WebKit::WebSettingsImpl::deviceSupportsTouch):
9000 * src/WebSettingsImpl.h:
9002 * src/WebViewImpl.cpp:
9003 (WebKit::WebViewImpl::applyAutofillSuggestions):
9004 * tests/PopupMenuTest.cpp:
9005 (WebKit::SelectPopupMenuTest::SetUp):
9006 (WebKit::SelectPopupMenuTest::TearDown):
9007 (SelectPopupMenuTest):
9010 2012-05-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
9012 WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
9013 https://bugs.webkit.org/show_bug.cgi?id=42328
9015 Reviewed by Eric Seidel.
9017 Removed private APIs that were only being used by DRT.
9019 * public/WebDevToolsAgent.h:
9021 * src/WebDevToolsAgentImpl.cpp:
9022 * src/WebDevToolsAgentImpl.h:
9023 (WebDevToolsAgentImpl):
9025 2012-05-28 Peter Beverloo <peter@chromium.org>
9027 Unreviewed. Rolled DEPS.
9031 2012-05-28 Peter Beverloo <peter@chromium.org>
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
9036 Unreviewed build fix.
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
9044 * gyp_webkit: Set the CXX_target environment variable. Annotate the fix
9045 with a FIXME comment too.
9047 2012-05-28 Keishi Hattori <keishi@webkit.org>
9049 Expose value localization function of HTMLInputElement
9050 https://bugs.webkit.org/show_bug.cgi?id=84356
9052 Reviewed by Kent Tamura.
9054 * public/WebInputElement.h:
9056 * src/WebInputElement.cpp:
9057 (WebKit::WebInputElement::localizeValue):
9060 2012-05-28 MORITA Hajime <morrita@google.com>
9062 Unreviewed Mac Chromium build fix.
9064 * src/FrameLoaderClientImpl.cpp:
9065 (WebKit::FrameLoaderClientImpl::allowStyleScoped):
9067 2012-05-28 MORITA Hajime <morrita@google.com>
9069 https://bugs.webkit.org/show_bug.cgi?id=87609
9070 [Chromium] FrameLoaderClient::allowStyleScoped() should be implemented interms of WebPermissionClient
9072 Reviewed by Kent Tamura.
9074 Added allowStyleScoped() implementation which is essentially same as shadowDOMAllowed().
9076 * src/FrameLoaderClientImpl.cpp:
9077 * src/FrameLoaderClientImpl.h:
9078 (FrameLoaderClientImpl):
9080 2012-05-25 Ryosuke Niwa <rniwa@webkit.org>
9082 Roll chromium DEPS from r139156 to r139184.
9086 2012-05-25 Garrett Casto <gcasto@chromium.org>
9088 Allow WebTextFieldDecoratorClient to see applied decorations.
9089 https://bugs.webkit.org/show_bug.cgi?id=86557
9091 Reviewed by Kent Tamura.
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:
9100 * src/TextFieldDecoratorImpl.h:
9101 (TextFieldDecoratorImpl::decoratorClient): Get the
9102 WebTextFieldDecoratorClient owned by this object.
9104 2012-05-25 Mihai Parparita <mihaip@chromium.org>
9106 Allow synchronous XHRs to be disabled in documents
9107 https://bugs.webkit.org/show_bug.cgi?id=87540
9109 Reviewed by Eric Seidel.
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).
9116 * public/WebSettings.h:
9117 * src/WebSettingsImpl.cpp:
9118 (WebKit::WebSettingsImpl::setSyncXHRInDocumentsEnabled):
9120 * src/WebSettingsImpl.h:
9123 2012-05-25 Kinuko Yasuda <kinuko@chromium.org>
9125 [chromium] Deprecate FileUtilities::getFileSize and getFileModifiedTime in favor of getFileMetadata
9126 https://bugs.webkit.org/show_bug.cgi?id=87492
9128 Reviewed by Adam Barth.
9130 * src/PlatformSupport.cpp:
9131 (WebCore::PlatformSupport::getFileMetadata):
9133 2012-05-25 Ryosuke Niwa <rniwa@webkit.org>
9135 Roll Chromium DEPS from r139024 to r139156 in an attempt to fix Chromium Win builds.
9139 2012-05-25 Mark Pilgrim <pilgrim@chromium.org>
9141 [Chomium] Move sandboxSupport to Platform.h
9142 https://bugs.webkit.org/show_bug.cgi?id=87518
9144 Reviewed by Adam Barth.
9146 Part of a refactoring series. See tracking bug 82948.
9149 * public/platform/WebKitPlatformSupport.h:
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):
9163 2012-05-25 Dana Jansens <danakj@chromium.org>
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
9168 Reviewed by James Robinson.
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.
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.
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.
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:
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:
9216 (WebKit::WebLayerTreeViewImpl::layerTreeHost):
9217 (WebLayerTreeViewImpl):
9219 2012-05-25 Kinuko Yasuda <kinuko@chromium.org>
9221 Unreviewed; rolling chromium deps.
9225 2012-05-25 W. James MacLean <wjmaclean@chromium.org>
9227 [chromium] LayerChromium should recognise existing layer active animations when the layer is added.
9228 https://bugs.webkit.org/show_bug.cgi?id=87166
9230 Reviewed by Adrienne Walker.
9232 * tests/CCLayerTreeHostTest.cpp:
9233 (WTF::MockLayerTreeHost::didAddAnimationWasCalled):
9234 (MockLayerTreeHost):
9235 (WTF::MockLayerTreeHost::MockLayerTreeHost):
9237 (CCLayerTreeHostTestLayerAddedWithAnimation):
9238 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::CCLayerTreeHostTestLayerAddedWithAnimation):
9239 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
9240 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::afterTest):
9242 2012-05-17 Andrey Kosyakov <caseq@chromium.org>
9244 [chromium] add instrumentation for compositing
9245 https://bugs.webkit.org/show_bug.cgi?id=83928
9247 Reviewed by James Robinson.
9249 - plumb willCommit() and didComposite() to inspector instrumentation via WebViewImpl.
9251 * WebKit.gypi: Added WebLayerTreeViewTest
9252 * src/WebLayerTreeViewImpl.cpp:
9253 (WebKit::WebLayerTreeViewImpl::didBeginFrame):
9255 (WebKit::WebLayerTreeViewImpl::willCommit):
9256 * src/WebLayerTreeViewImpl.h:
9257 (WebLayerTreeViewImpl):
9258 * src/WebViewImpl.cpp:
9259 (WebKit::WebViewImpl::didBeginFrame):
9261 (WebKit::WebViewImpl::willCommit):
9262 * src/WebViewImpl.h:
9264 * tests/CCLayerTreeHostTest.cpp:
9265 * tests/FakeCCLayerTreeHostClient.h:
9266 * tests/WebLayerTest.cpp:
9267 * tests/WebLayerTreeViewTest.cpp: Added.
9269 2012-05-25 Peter Beverloo <peter@chromium.org>
9271 [Chromium] Pull in Android tools from Chromium's repo through the DEPS file
9272 https://bugs.webkit.org/show_bug.cgi?id=87478
9274 Reviewed by Kent Tamura.
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.
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.
9284 * DEPS: Added Android-specific dependency on tools/android/
9286 2012-05-25 Sheriff Bot <webkit.review.bot@gmail.com>
9288 Unreviewed, rolling out r118461.
9289 http://trac.webkit.org/changeset/118461
9290 https://bugs.webkit.org/show_bug.cgi?id=87468
9292 Breaks two chromium browser_tests. (Requested by vsevik on
9295 * src/WebViewImpl.cpp:
9296 (WebKit::WebViewImpl::resize):
9298 2012-05-24 Tim Horton <timothy_horton@apple.com>
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>
9304 Reviewed by Dan Bernstein.
9308 2012-05-24 Kent Tamura <tkent@chromium.org>
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
9314 Reviewed by Adam Barth.
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.
9324 2012-05-21 Kinuko Yasuda <kinuko@chromium.org>
9326 Cleanup: add a file system call which captures the file metadata at once.
9327 https://bugs.webkit.org/show_bug.cgi?id=86995
9329 Reviewed by David Levin.
9331 * src/PlatformSupport.cpp:
9332 (WebCore::PlatformSupport::getFileMetadata):
9335 2012-05-24 Hironori Bono <hbono@chromium.org>
9337 Enable grammar checking on Chromium when we paste text (Take 2)
9338 https://bugs.webkit.org/show_bug.cgi?id=74393
9340 Reviewed by Ryosuke Niwa.
9342 This change enables grammar checking on Chromium and implements a mock grammar
9343 checker to fix a failing test.
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.
9353 2012-05-24 Alexandre Elias <aelias@google.com>
9355 [chromium] Support mobile device rotation resizing
9356 https://bugs.webkit.org/show_bug.cgi?id=86819
9358 Reviewed by Adam Barth.
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.
9364 * src/WebViewImpl.cpp:
9365 (WebKit::WebViewImpl::resize):
9367 2012-05-24 Antoine Labour <piman@chromium.org>
9369 [chromium] Add a setForceRenderSurface to WebLayer for test/bench purpose
9370 https://bugs.webkit.org/show_bug.cgi?id=87436
9372 Reviewed by James Robinson.
9375 (WebKit::WebLayer::setForceRenderSurface):
9377 (WebKit::WebLayer::forceRenderSurface):
9378 * tests/CCLayerTreeHostCommonTest.cpp:
9379 (WebKitTests::TEST):
9381 * tests/LayerChromiumTest.cpp:
9383 2012-05-24 Adam Barth <abarth@webkit.org>
9385 Fix the chromium-android build.
9389 2012-05-24 John Mellor <johnme@chromium.org>
9391 Font Boosting: Add compile flag and runtime setting
9392 https://bugs.webkit.org/show_bug.cgi?id=87394
9394 Reviewed by Adam Barth.
9396 Expose fontBoostingEnabled runtime setting via WebSettings.
9399 * public/WebSettings.h:
9400 * src/WebSettingsImpl.cpp:
9401 (WebKit::WebSettingsImpl::setFontBoostingEnabled):
9403 * src/WebSettingsImpl.h:
9406 2012-05-24 Kinuko Yasuda <kinuko@chromium.org>
9408 Cleanup: introduce toFile() to reduce static cast from Blob to File
9409 https://bugs.webkit.org/show_bug.cgi?id=87234
9411 Reviewed by Eric Seidel.
9413 * src/WebDragData.cpp:
9414 (WebKit::WebDragData::items):
9416 2012-05-24 Lu Guanqun <guanqun.lu@intel.com>
9418 use built-in data type DashArray
9419 https://bugs.webkit.org/show_bug.cgi?id=87344
9421 Reviewed by Eric Seidel.
9423 * tests/PlatformContextSkiaTest.cpp:
9426 2012-05-24 Mark Pilgrim <pilgrim@chromium.org>
9428 [Chromium] Move queryLocalizedString to Platform.h
9429 https://bugs.webkit.org/show_bug.cgi?id=85762
9431 Reviewed by Adam Barth.
9433 Part of a refactoring series. See tracking bug 82948.
9436 * public/platform/WebKitPlatformSupport.h:
9437 (WebKit::WebKitPlatformSupport::getPluginList):
9438 * public/platform/WebLocalizedString.h:
9439 * src/LocalizedStrings.cpp:
9442 2012-05-24 Dana Jansens <danakj@chromium.org>
9444 [chromium] Only display frames created with memory allocations meant to be displayed
9445 https://bugs.webkit.org/show_bug.cgi?id=85108
9447 Reviewed by Adrienne Walker.
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.
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):
9476 2012-05-24 Sheriff Bot <webkit.review.bot@gmail.com>
9478 Unreviewed, rolling out r118352.
9479 http://trac.webkit.org/changeset/118352
9480 https://bugs.webkit.org/show_bug.cgi?id=87390
9482 Caused 6 editing/spelling tests crash/fail on chromium in
9483 debug. (Requested by vsevik on #webkit).
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):
9492 2012-05-24 Ian Vollick <vollick@chromium.org>
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
9497 Reviewed by James Robinson.
9499 * tests/CCLayerAnimationControllerTest.cpp:
9500 (WebKitTests::TEST):
9503 2012-05-23 Yury Semikhatsky <yurys@chromium.org>
9505 Web Inspector: add a command to InspectorMemoryAgent for getting process memory break down
9506 https://bugs.webkit.org/show_bug.cgi?id=87263
9508 Reviewed by Pavel Feldman.
9510 Added an API for retrieving render process private and shared memory in bytes.
9512 * public/platform/WebKitPlatformSupport.h:
9513 (WebKitPlatformSupport):
9514 (WebKit::WebKitPlatformSupport::getProcessMemorySize):
9515 * src/PlatformSupport.cpp:
9516 (WebCore::PlatformSupport::getProcessMemorySize):
9519 2012-05-24 Hironori Bono <hbono@chromium.org>
9521 Enable grammar checking on Chromium when we paste text.
9522 https://bugs.webkit.org/show_bug.cgi?id=74393
9524 Reviewed by Hajime Morita.
9526 This change enables grammar checking on Chromium and implements a mock grammar
9527 checker to fix a failing test.
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.
9536 2012-05-24 Vivek Galatage <vivekgalatage@gmail.com>
9538 Web Inspector: localStorage items are not updated when the storage changes
9539 https://bugs.webkit.org/show_bug.cgi?id=83012
9541 Reviewed by Pavel Feldman.
9543 Instrumented the DOM Storage Events in order to update the frontend.
9545 * src/StorageAreaProxy.cpp:
9546 (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
9547 (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
9549 2012-05-23 Ojan Vafai <ojan@chromium.org>
9551 add back the ability to disable flexbox
9552 https://bugs.webkit.org/show_bug.cgi?id=87147
9554 Reviewed by Tony Chang.
9558 2012-05-23 Dana Jansens <danakj@chromium.org>
9560 [chromium] Enable the CCLayerTreeHostTestCanDrawBlocksDrawing test in single-threaded mode
9561 https://bugs.webkit.org/show_bug.cgi?id=87308
9563 Reviewed by James Robinson.
9565 Chromium bug: http://crbug.com/127481
9567 Unit test: CCLayerTreeHostTestCanDrawBlocksDrawing.runSingleThread
9569 * tests/CCLayerTreeHostTest.cpp:
9570 (WTF::TestHooks::didCommit):
9572 (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::didCommit):
9574 2012-05-23 James Robinson <jamesr@chromium.org>
9576 Add a Setting to make position:fixed form a new stacking context
9577 https://bugs.webkit.org/show_bug.cgi?id=87186
9579 Reviewed by Adam Barth.
9581 * public/WebSettings.h:
9582 * src/WebSettingsImpl.cpp:
9583 (WebKit::WebSettingsImpl::setFixedPositionCreatesStackingContext):
9585 * src/WebSettingsImpl.h:
9588 2012-05-23 James Robinson <jamesr@chromium.org>
9590 [chromium] Turn ENABLE(OVERFLOW_SCROLLING) off for Chromium port
9591 https://bugs.webkit.org/show_bug.cgi?id=87177
9593 Reviewed by Eric Seidel.
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.
9600 This turns the feature off until we can figure out how to deal with the compatibility issues.
9604 2012-05-23 Jay Civelli <jcivelli@chromium.org>
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
9609 Reviewed by Kent Tamura.
9611 * src/ExternalPopupMenu.cpp:
9612 (WebKit::ExternalPopupMenu::show):
9614 2012-05-23 Michael Nordman <michaeln@google.com>
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.
9623 Reviewed by Adam Barth.
9625 * src/StorageAreaProxy.cpp:
9626 (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
9627 (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
9628 (WebCore::StorageAreaProxy::isEventSource):
9630 2012-05-23 Sheriff Bot <webkit.review.bot@gmail.com>
9632 Unreviewed, rolling out r118218.
9633 http://trac.webkit.org/changeset/118218
9634 https://bugs.webkit.org/show_bug.cgi?id=87299
9636 breaks webkit win builder (Requested by pilgrim_google__ on
9640 * public/platform/WebKitPlatformSupport.h:
9641 (WebKitPlatformSupport):
9642 (WebKit::WebKitPlatformSupport::queryLocalizedString):
9643 * public/platform/WebLocalizedString.h:
9645 * src/LocalizedStrings.cpp:
9648 2012-05-23 Mark Pilgrim <pilgrim@chromium.org>
9650 [Chromium] Move themeEngine to Platform.h
9651 https://bugs.webkit.org/show_bug.cgi?id=87268
9653 Reviewed by Adam Barth.
9655 Part of a refactoring series. See tracking bug 82948.
9658 * public/platform/WebKitPlatformSupport.h:
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):
9679 2012-05-23 Raymes Khoury <raymes@chromium.org>
9681 Change acceptMIMETypes member to acceptTypes now that file extensions are legal accept types
9682 https://bugs.webkit.org/show_bug.cgi?id=87271
9684 Reviewed by Darin Fisher.
9686 * public/WebFileChooserParams.h:
9687 (WebFileChooserParams):
9688 * src/ChromeClientImpl.cpp:
9689 (WebKit::ChromeClientImpl::runOpenPanel):
9691 2012-05-23 Dana Jansens <danakj@chromium.org>
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
9696 Reviewed by James Robinson.
9698 * tests/CCLayerTreeHostCommonTest.cpp:
9699 (WebKitTests::TEST):
9701 2012-05-23 Mark Pilgrim <pilgrim@chromium.org>
9703 [Chromium] Move queryLocalizedString to Platform.h
9704 https://bugs.webkit.org/show_bug.cgi?id=85762
9706 Reviewed by Adam Barth.
9708 Part of a refactoring series. See tracking bug 82948.
9711 * public/platform/WebKitPlatformSupport.h:
9712 (WebKit::WebKitPlatformSupport::getPluginList):
9713 * public/platform/WebLocalizedString.h:
9714 * src/LocalizedStrings.cpp:
9717 2012-05-23 Antti Koivisto <antti@apple.com>
9723 * src/WebDocument.cpp:
9724 (WebKit::WebDocument::insertUserStyleSheet):
9726 2012-05-22 Alexandre Elias <aelias@google.com>
9728 [chromium] Apply viewport tag initial-scale only once
9729 https://bugs.webkit.org/show_bug.cgi?id=82949
9731 Reviewed by Adam Barth.
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
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.
9744 New test WebFrameTest::FixedLayoutInitializeAtMinimumPageScale.
9746 * src/ChromeClientImpl.cpp:
9747 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
9748 * src/WebViewImpl.cpp:
9749 (WebKit::WebViewImpl::didCommitLoad):
9751 2012-05-21 Shawn Singh <shawnsingh@chromium.org>
9753 Improve W3C conformance of backface-visibility
9754 https://bugs.webkit.org/show_bug.cgi?id=84195
9756 Reviewed by Adrienne Walker.
9758 * tests/CCLayerTreeHostCommonTest.cpp:
9759 (WebKitTests::TEST):
9762 2012-05-22 Sheriff Bot <webkit.review.bot@gmail.com>
9764 Unreviewed, rolling out r118095.
9765 http://trac.webkit.org/changeset/118095
9766 https://bugs.webkit.org/show_bug.cgi?id=87201
9768 "Causing crashes on Mac in
9769 WebCore::StyleResolver::adjustRenderStyle (Requested by
9770 sundiamonde on #webkit).
9772 * public/WebSettings.h:
9773 * src/WebSettingsImpl.cpp:
9774 * src/WebSettingsImpl.h:
9777 2012-05-22 Xianzhu Wang <wangxianzhu@chromium.org>
9779 [Chromium-Android] Run DumpRenderTree as an apk (C++ and gyp part)
9780 https://bugs.webkit.org/show_bug.cgi?id=86922
9782 Reviewed by Kent Tamura.
9784 * All.gyp: Added DumpRenderTree_apk into dependencies for Android.
9786 2012-05-22 Mark Pilgrim <pilgrim@chromium.org>
9788 [Chromium] Call canAccelerate2dCanvas directly
9789 https://bugs.webkit.org/show_bug.cgi?id=86893
9791 Reviewed by James Robinson.
9793 Part of a refactoring series. See tracking bug 82948.
9795 * public/platform/WebKitPlatformSupport.h:
9796 (WebKitPlatformSupport):
9797 * src/PlatformSupport.cpp:
9800 2012-05-22 Dana Jansens <danakj@chromium.org>
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
9805 Reviewed by Adrienne Walker.
9807 * tests/CCLayerTreeHostCommonTest.cpp:
9808 (WebKitTests::TEST):
9811 2012-05-22 MORITA Hajime <morrita@google.com>
9813 [Chromium][API] Introduce WebPermissionClient::allowWebComponents()
9814 https://bugs.webkit.org/show_bug.cgi?id=87097
9816 Reviewed by Kent Tamura.
9818 - Added WebPermissionClient::allowWebComponents(), and
9819 - Implemented FrameLoaderClientImpl::shadowDOMAllowed() using it.
9821 * public/WebPermissionClient.h:
9822 (WebPermissionClient):
9823 (WebKit::WebPermissionClient::allowWebComponents):
9824 * src/FrameLoaderClientImpl.cpp:
9825 (WebKit::FrameLoaderClientImpl::shadowDOMAllowed):
9827 * src/FrameLoaderClientImpl.h:
9828 (FrameLoaderClientImpl):
9830 2012-05-22 James Robinson <jamesr@chromium.org>
9832 Add a Setting to make position:fixed form a new stacking context
9833 https://bugs.webkit.org/show_bug.cgi?id=87186
9835 Reviewed by Adam Barth.
9837 * public/WebSettings.h:
9838 * src/WebSettingsImpl.cpp:
9839 (WebKit::WebSettingsImpl::setFixedPositionCreatesStackingContext):
9841 * src/WebSettingsImpl.h:
9844 2012-05-22 Dana Jansens <danakj@chromium.org>
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
9849 Reviewed by Adrienne Walker.
9851 * tests/CCLayerTreeHostCommonTest.cpp:
9852 (WebKitTests::TEST):
9854 2012-05-22 Mark Pilgrim <pilgrim@chromium.org>
9856 [Chromium] Move cookieJar to Platform.h
9857 https://bugs.webkit.org/show_bug.cgi?id=86755
9859 Reviewed by Adam Barth.
9861 Part of a refactoring series. See tracking bug 82948.
9864 * public/platform/WebCookie.h:
9865 * public/platform/WebCookieJar.h:
9866 * public/platform/WebKitPlatformSupport.h:
9868 (WebKit::WebKitPlatformSupport::themeEngine):
9869 * src/PlatformSupport.cpp:
9870 (WebCore::getCookieJar):
9872 2012-05-22 Jochen Eisinger <jochen@chromium.org>
9874 Unreviewed. Rolled DEPS.
9878 2012-05-22 Kausalya Madhusudhanan <kmadhusu@chromium.org>
9880 [Chromium] Use overloaded printBegin() webkit API to support auto fit to page functionality.
9881 https://bugs.webkit.org/show_bug.cgi?id=86684
9883 Reviewed by Darin Fisher.
9885 * public/WebFrame.h:
9887 * public/WebPlugin.h:
9889 * public/WebPrintParams.h:
9890 (WebKit::WebPrintParams::WebPrintParams):
9892 * src/WebFrameImpl.cpp:
9894 * src/WebFrameImpl.h:
9896 * src/WebPluginContainerImpl.cpp:
9897 (WebKit::WebPluginContainerImpl::printBegin):
9899 2012-05-22 Adam Barth <abarth@webkit.org>
9901 [Chromium] Expose setMediaPlaybackRequiresUserGesture via WebSettings
9902 https://bugs.webkit.org/show_bug.cgi?id=87164
9904 Reviewed by Eric Seidel.
9906 This is used by the Chromium Android port.
9908 * public/WebSettings.h:
9909 * src/WebSettingsImpl.cpp:
9910 (WebKit::WebSettingsImpl::setMediaPlaybackRequiresUserGesture):
9912 * src/WebSettingsImpl.h:
9915 2012-05-21 Shawn Singh <shawnsingh@chromium.org>
9917 [chromium] Add unit testing for WebTransformationMatrix::blend()
9918 https://bugs.webkit.org/show_bug.cgi?id=87066
9920 Reviewed by Adrienne Walker.
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
9932 * tests/WebTransformationMatrixTest.cpp:
9935 (WebKit::printTransform):
9937 == Rolled over to ChangeLog-2012-05-22 ==