Index: Source/WebKit/chromium/ChangeLog |
=================================================================== |
--- Source/WebKit/chromium/ChangeLog (revision 114975) |
+++ Source/WebKit/chromium/ChangeLog (working copy) |
@@ -1,3 +1,1330 @@ |
+2012-04-18 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Add canBeginFrame state to CCSchedulerStateMachine to suppress initialization before our surface is available |
+ https://bugs.webkit.org/show_bug.cgi?id=84301 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ Update unit tests for new canBeginFrame bit. |
+ |
+ * tests/CCSchedulerStateMachineTest.cpp: |
+ (WebCore::TEST): |
+ (WebCore): |
+ * tests/CCSchedulerTest.cpp: |
+ (WebKitTests::TEST): |
+ |
+2012-04-18 David Reveman <reveman@chromium.org> |
+ |
+ [Chromium] Solid color layers should respect opacity value. |
+ https://bugs.webkit.org/show_bug.cgi?id=84197 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCSolidColorLayerImplTest.cpp: |
+ (CCLayerTestCommon::TEST): |
+ (CCLayerTestCommon): |
+ |
+2012-04-18 Mark Pilgrim <pilgrim@chromium.org> |
+ |
+ [Chromium] Call prefetchDNS directly |
+ https://bugs.webkit.org/show_bug.cgi?id=84262 |
+ |
+ Reviewed by Kentaro Hara. |
+ |
+ Part of a series, see tracking bug 82948. |
+ |
+ * src/PlatformSupport.cpp: |
+ (WebCore): |
+ |
+2012-04-18 Myles Maxfield <mmaxfield@google.com> |
+ |
+ Chromium compile of WebDatabase.cpp fails without SQL_DATABASE |
+ https://bugs.webkit.org/show_bug.cgi?id=84212 |
+ |
+ Reviewed by Kentaro Hara. |
+ |
+ * src/WebDatabase.cpp: |
+ (WebCore::AbstractDatabase::isSyncDatabase): |
+ |
+2012-04-18 Keishi Hattori <keishi@webkit.org> |
+ |
+ [chromium] Turn on ENABLE_DATALIST for chromium |
+ https://bugs.webkit.org/show_bug.cgi?id=84118 |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ * features.gypi: Turn on ENABLE_DATALIST. |
+ * src/WebInputElement.cpp: Touched to avoid build issues. No code change. |
+ |
+2012-04-18 Alexander Pavlov <apavlov@chromium.org> |
+ |
+ [Chromium] REGRESSION: Popup shrinks because of autocomplete |
+ https://bugs.webkit.org/show_bug.cgi?id=84139 |
+ http://code.google.com/p/chromium/issues/detail?id=123432 |
+ |
+ Do not use the PopupContainer's frameRect() to update the popup client's window rect, |
+ since PopupContainer is always positioned at (0, 0) inside the client's window rect, |
+ and the latter one is positioned relative to the screen origin. |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::refreshAutofillPopup): |
+ |
+2012-04-17 Rafael Weinstein <rafaelw@chromium.org> |
+ |
+ [MutationObservers] enable V8RecursionScope debug ASSERT() |
+ https://bugs.webkit.org/show_bug.cgi?id=84094 |
+ |
+ Reviewed by Ojan Vafai. |
+ |
+ This patch enables the ASSERT() which enforces usage of |
+ V8RecursionScope. |
+ |
+ * src/WebKit.cpp: |
+ (WebKit::assertV8RecursionScope): |
+ |
+2012-04-17 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Fix gyp for WebFilterOperation.h and WebFilterOperations.h |
+ https://bugs.webkit.org/show_bug.cgi?id=84182 |
+ |
+ Reviewed by James Robinson. |
+ |
+ * WebKit.gyp: |
+ |
+2012-04-17 David Reveman <reveman@chromium.org> |
+ |
+ [Chromium] Add TextureUploader which allows us to use persistent GC3D state for texture uploads. |
+ https://bugs.webkit.org/show_bug.cgi?id=83972 |
+ |
+ Reviewed by James Robinson. |
+ |
+ * tests/CCTiledLayerTestCommon.h: |
+ (FakeTextureUploader): |
+ (WebKitTests::FakeTextureUploader::uploadTexture): |
+ (WebKitTests): |
+ * tests/Canvas2DLayerChromiumTest.cpp: |
+ * tests/TiledLayerChromiumTest.cpp: |
+ (WTF::TEST): |
+ |
+2012-04-17 Alec Flett <alecflett@chromium.org> |
+ |
+ IndexedDB: stub getKey/getObject interfaces for IDBKeyRange |
+ https://bugs.webkit.org/show_bug.cgi?id=84089 |
+ |
+ Reviewed by Dimitri Glazkov. |
+ |
+ Added stub methods on WebIDBIndex.h to cleanly land |
+ https://bugs.webkit.org/show_bug.cgi?id=83638 |
+ |
+ * public/WebIDBIndex.h: |
+ (WebKit::WebIDBIndex::getObject): |
+ (WebKit::WebIDBIndex::getKey): |
+ * src/WebIDBIndexImpl.cpp: |
+ (WebKit::WebIDBIndexImpl::getObject): |
+ (WebKit): |
+ (WebKit::WebIDBIndexImpl::getKey): |
+ * src/WebIDBIndexImpl.h: |
+ (WebIDBIndexImpl): |
+ |
+2012-04-17 Aaron Colwell <acolwell@chromium.org> |
+ |
+ Add sourceAddId() & sourceRemoveId() stubs for Chromium. |
+ These are needed to bring the Media Source implementation |
+ up to date with the new 0.4 version of the Media Source spec. |
+ http://html5-mediasource-api.googlecode.com/svn/tags/0.4/draft-spec/mediasource-draft-spec.html |
+ https://bugs.webkit.org/show_bug.cgi?id=83616 |
+ |
+ Reviewed by Eric Carlson, Darin Fisher. |
+ |
+ * public/WebMediaPlayer.h: |
+ (WebKit::WebMediaPlayer::sourceAddId): |
+ (WebKit::WebMediaPlayer::sourceRemoveId): |
+ * src/AssertMatchingEnums.cpp: |
+ * src/WebMediaPlayerClientImpl.cpp: |
+ (WebKit::WebMediaPlayerClientImpl::sourceAddId): |
+ (WebKit): |
+ (WebKit::WebMediaPlayerClientImpl::sourceRemoveId): |
+ * src/WebMediaPlayerClientImpl.h: |
+ (WebMediaPlayerClientImpl): |
+ |
+2012-04-17 Kent Tamura <tkent@chromium.org> |
+ |
+ [Chromium] Calendar Picker: Popup position is wrong when there are |
+ no enough space below the target date field |
+ https://bugs.webkit.org/show_bug.cgi?id=84007 |
+ |
+ Reviewed by Hajime Morita. |
+ |
+ The popup was detached from the origin element because |
+ calendarPicker.js resizes its window. To fix this bug, we move the |
+ window position vertically when it is resized. |
+ |
+ No new tests. This is not testable in WebKit. |
+ |
+ * src/WebPagePopupImpl.cpp: |
+ (WebKit::PagePopupChromeClient::setWindowRect): |
+ If this request is just a resize and m_isPutAboveOrigin is true, |
+ update the vertical position so that the popup attaches to the |
+ origin rectangle. |
+ (WebKit::WebPagePopupImpl::WebPagePopupImpl): |
+ Initialize m_isPutAboveOrigin with false. |
+ (WebKit::WebPagePopupImpl::init): Set m_isPutAboveOrigin true. |
+ * src/WebPagePopupImpl.h: |
+ (WebPagePopupImpl): Add m_isPutAboveOrigin. |
+ |
+2012-04-16 Kent Tamura <tkent@chromium.org> |
+ |
+ Rename LocalizedNumberICU.h to ICULocale.h |
+ https://bugs.webkit.org/show_bug.cgi?id=84119 |
+ |
+ Reviewed by Kentaro Hara. |
+ |
+ * tests/LocalizedNumberICUTest.cpp: Rename LocalizedNumberICU.h to ICULocale.h |
+ |
+2012-04-16 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Expose compositor filters to Aura through WebLayer |
+ https://bugs.webkit.org/show_bug.cgi?id=80054 |
+ |
+ Reviewed by James Robinson. |
+ |
+ * WebKit.gyp: |
+ * src/WebLayer.cpp: |
+ (WebKit::WebLayer::setFilters): |
+ (WebKit): |
+ (WebKit::WebLayer::setBackgroundFilters): |
+ |
+2012-04-16 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed. Rolled DEPS. |
+ |
+ * DEPS: |
+ |
+2012-04-16 Kent Tamura <tkent@chromium.org> |
+ |
+ [Chromium] Move popup location detection code from WebViewImpl to WebPagePopupImpl |
+ https://bugs.webkit.org/show_bug.cgi?id=84116 |
+ |
+ Reviewed by Kentaro Hara. |
+ |
+ This makes no behavior change. Just move some code. |
+ To fix Bug 84007, WebPagePopupImpl needs to know if the popup is |
+ above the target element or below the target element. |
+ |
+ * src/WebPagePopupImpl.cpp: |
+ (WebKit::WebPagePopupImpl::init): Move some code from WebViewImpl::openPagePopup(). |
+ * src/WebPagePopupImpl.h: |
+ (WebPagePopupImpl): Rename an argument name. |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::openPagePopup): Move some code to WebPagePopupImpl::init(). |
+ |
+2012-04-13 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it |
+ https://bugs.webkit.org/show_bug.cgi?id=83963 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ Adds implementation of WebVideoLayer and ports WebMediaPlayerClientImpl over to using it. |
+ WebMediaPlayerClientImpl still exposes a WebCore::VideoLayerChromium* to the compositor via the platformLayer() |
+ interface, but this is temporary until we can change the PlatformLayer typedef over to WebLayer. |
+ |
+ * WebKit.gyp: |
+ * src/WebContentLayer.cpp: |
+ * src/WebLayer.cpp: |
+ (WebKit::WebLayer::invalidate): |
+ (WebKit): |
+ * src/WebMediaPlayerClientImpl.cpp: |
+ (WebKit::WebMediaPlayerClientImpl::readyStateChanged): |
+ (WebKit::WebMediaPlayerClientImpl::repaint): |
+ (WebKit::WebMediaPlayerClientImpl::setOpaque): |
+ (WebKit::WebMediaPlayerClientImpl::platformLayer): |
+ (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse): |
+ (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient): |
+ (WebKit::WebMediaPlayerClientImpl::supportsType): |
+ * src/WebMediaPlayerClientImpl.h: |
+ (WebMediaPlayerClientImpl): |
+ * src/WebVideoLayer.cpp: Copied from Source/WebKit/chromium/src/WebContentLayer.cpp. |
+ (WebKit): |
+ (WebKit::WebVideoLayer::create): |
+ (WebKit::WebVideoLayer::WebVideoLayer): |
+ (WebKit::WebVideoLayer::active): |
+ |
+2012-04-16 Aaron Colwell <acolwell@chromium.org> |
+ |
+ Fix WebKit style violations in Chromium WebMediaPlayer.h & WebMediaPlayerClient.h |
+ https://bugs.webkit.org/show_bug.cgi?id=84046 |
+ |
+ Reviewed by Darin Fisher. |
+ |
+ * WebKit.gyp: |
+ * public/WebMediaPlayer.h: |
+ (WebKit): |
+ * public/WebMediaPlayerClient.h: |
+ * public/WebTimeRange.h: Copied from Source/WebKit/chromium/public/WebMediaPlayerClient.h. |
+ (WebKit): |
+ (WebKit::WebTimeRange::WebTimeRange): |
+ (WebTimeRange): |
+ * src/AssertMatchingEnums.cpp: |
+ |
+2012-04-16 Terry Anderson <tdanderson@chromium.org> |
+ |
+ [chromium] Allow WebGestureEvent to store four floating point values |
+ https://bugs.webkit.org/show_bug.cgi?id=84053 |
+ |
+ Reviewed by Darin Fisher. |
+ |
+ See bug description for an explanation of the changes made. |
+ |
+ * public/WebInputEvent.h: |
+ (WebGestureEvent): |
+ (WebKit::WebGestureEvent::WebGestureEvent): |
+ * src/WebInputEvent.cpp: |
+ (SameSizeAsWebGestureEvent): |
+ * src/WebInputEventConversion.cpp: |
+ (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder): |
+ |
+2012-04-16 Alexey Proskuryakov <ap@apple.com> |
+ |
+ [chromium] Remove BlobRegistryProxy::createResourceHandle |
+ https://bugs.webkit.org/show_bug.cgi?id=84047 |
+ |
+ Reviewed by Nate Chapin. |
+ |
+ * src/BlobRegistryProxy.h: (BlobRegistryProxy::createResourceHandle): This function |
+ is no longer used. |
+ |
+2012-04-16 Raymes Khoury <raymes@chromium.org> |
+ |
+ Fix bug in WebPluginContainer::isRectTopmost() which gave the incorrect result for a scrolled window. |
+ https://bugs.webkit.org/show_bug.cgi?id=80606 |
+ |
+ Reviewed by Darin Fisher. |
+ |
+ * src/WebPluginContainerImpl.cpp: |
+ (WebKit::WebPluginContainerImpl::isRectTopmost): |
+ |
+2012-04-15 Keishi Hattori <keishi@webkit.org> |
+ |
+ Introduce MenuItemID to autofill popup |
+ https://bugs.webkit.org/show_bug.cgi?id=83777 |
+ |
+ Introducing MenuItemIDs because we want to add multiple separators and |
+ need to identify non-autofill menu items without resorting to the separator position. |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ * public/WebAutofillClient.h: |
+ (WebKit::WebAutofillClient::didAcceptAutofillSuggestion): Changed uniqueID to itemID because they aren't unique. |
+ (WebKit::WebAutofillClient::didSelectAutofillSuggestion): |
+ * public/WebView.h: |
+ (WebView): |
+ * src/AutofillPopupMenuClient.cpp: |
+ (WebKit::AutofillPopupMenuClient::AutofillPopupMenuClient): |
+ (WebKit::AutofillPopupMenuClient::getSuggestionsCount): |
+ (WebKit::AutofillPopupMenuClient::getSuggestion): |
+ (WebKit::AutofillPopupMenuClient::getLabel): |
+ (WebKit::AutofillPopupMenuClient::getIcon): |
+ (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex): |
+ (WebKit::AutofillPopupMenuClient::canRemoveSuggestionAtIndex): |
+ (WebKit::AutofillPopupMenuClient::valueChanged): |
+ (WebKit::AutofillPopupMenuClient::selectionChanged): |
+ (WebKit::AutofillPopupMenuClient::itemIsSeparator): |
+ (WebKit::AutofillPopupMenuClient::itemIsWarning): |
+ (WebKit::AutofillPopupMenuClient::initialize): |
+ (WebKit::AutofillPopupMenuClient::setSuggestions): |
+ * src/AutofillPopupMenuClient.h: Removed m_separatorIndex because now we use itemID to identify separators. |
+ Added m_useLegacyBehavior which is true when it is initialized with a valid separator index. This is to keep |
+ the autofill working even when the chromium side hasn't been updated yet. |
+ (AutofillPopupMenuClient): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::applyAutofillSuggestions): |
+ * src/WebViewImpl.h: |
+ (WebViewImpl): |
+ |
+2012-04-15 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] LayerRendererChromium shouldn't know anything about CCLayerImpl |
+ https://bugs.webkit.org/show_bug.cgi?id=83415 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ Add an explicit rootLayer getter to the test implementation of LayerRendererChromium since there isn't one on |
+ the base class any more. |
+ |
+ * tests/LayerRendererChromiumTest.cpp: |
+ (FakeLayerRendererChromiumClient::rootLayer): |
+ (FakeLayerRendererChromiumClient): |
+ (TEST_F): |
+ |
+2012-04-15 Yuta Kitamura <yutak@chromium.org> |
+ |
+ Leak in WebSocketChannel with workers/worker-reload.html (part 2) |
+ https://bugs.webkit.org/show_bug.cgi?id=83749 |
+ |
+ Reviewed by David Levin. |
+ |
+ * src/WebWorkerClientImpl.cpp: |
+ (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext): |
+ Correctly propagate the return value of postTaskForModeToWorkerContext(). |
+ |
+2012-04-13 David Reveman <reveman@chromium.org> |
+ |
+ [Chromium] Avoid unnecessary full tile updates for checkerboard tiles. |
+ https://bugs.webkit.org/show_bug.cgi?id=83804 |
+ |
+ Reviewed by James Robinson. |
+ |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF::setLayerPropertiesForTesting): |
+ (WTF): |
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest): |
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread): |
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread): |
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout): |
+ (WTF::setTestLayerPropertiesForTesting): |
+ (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest): |
+ (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest): |
+ (WTF::CCLayerTreeHostTestManySurfaces::beginTest): |
+ * tests/TiledLayerChromiumTest.cpp: |
+ (WTF::TEST): |
+ |
+2012-04-13 Nico Weber <thakis@chromium.org> |
+ |
+ [chromium] There is no Color(float, float, float) constructor, fix an attempt to call it. |
+ https://bugs.webkit.org/show_bug.cgi?id=83920 |
+ |
+ Reviewed by James Robinson. |
+ |
+ Found by clang: |
+ third_party/WebKit/Source/WebKit/chromium/tests/LayerChromiumTest.cpp:508:89:error: implicit conversion turns literal floating-point number into integer: 'float' to 'int' [-Werror,-Wliteral-conversion] |
+ EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setBackgroundColor(Color(0.4f, 0.4f, 0.4f))); |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ |
+ |
+ * tests/LayerChromiumTest.cpp: |
+ |
+2012-04-13 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Replicas should be included in the computed occlusion |
+ https://bugs.webkit.org/show_bug.cgi?id=82262 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCOcclusionTrackerTest.cpp: |
+ (CCOcclusionTrackerTestReplicaDoesOcclude): |
+ (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest): |
+ (WebKitTests): |
+ (CCOcclusionTrackerTestReplicaWithClipping): |
+ (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest): |
+ (CCOcclusionTrackerTestSurfaceChildOfSurface): |
+ (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest): |
+ |
+2012-04-13 Bernhard Bauer <bauerb@google.com> |
+ |
+ [chromium] Remove fallback code for "Missing plug-in" string. |
+ https://bugs.webkit.org/show_bug.cgi?id=81907 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * src/LocalizedStrings.cpp: |
+ (WebCore::missingPluginText): |
+ |
+2012-04-11 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Remove unused compositeToTexture / compositeOffscreen setting |
+ https://bugs.webkit.org/show_bug.cgi?id=83733 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ Remove compositeOffscreen / compositeToTexture setting. This was an experiment that is no longer needed. |
+ |
+ * public/WebSettings.h: |
+ * src/WebLayerTreeView.cpp: |
+ (WebKit::WebLayerTreeView::Settings::operator CCSettings): |
+ * src/WebSettingsImpl.cpp: |
+ (WebKit::WebSettingsImpl::WebSettingsImpl): |
+ * src/WebSettingsImpl.h: |
+ (WebSettingsImpl): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): |
+ |
+2012-04-13 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API |
+ https://bugs.webkit.org/show_bug.cgi?id=83851 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ Moves the WebVideoFrame interface into Platform and removes the now unnecessary VideoFrameChromiumImpl adapter |
+ implementation. |
+ |
+ * WebKit.gyp: |
+ * public/WebVideoFrame.h: |
+ * src/AssertMatchingEnums.cpp: |
+ * src/VideoFrameChromiumImpl.cpp: Removed. |
+ * src/VideoFrameChromiumImpl.h: Removed. |
+ * src/WebMediaPlayerClientImpl.cpp: |
+ (WebKit::WebMediaPlayerClientImpl::getCurrentFrame): |
+ (WebKit::WebMediaPlayerClientImpl::putCurrentFrame): |
+ (WebKit::WebMediaPlayerClientImpl::supportsType): |
+ * src/WebMediaPlayerClientImpl.h: |
+ (WebMediaPlayerClientImpl): |
+ |
+2012-04-13 Rob Flack <flackr@chromium.org> |
+ |
+ Chromium: Should enable -webkit-image-set |
+ https://bugs.webkit.org/show_bug.cgi?id=81859 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * features.gypi: |
+ |
+2012-04-12 Michael Nordman <michaeln@google.com> |
+ |
+ [chromium] Now that the chromium port is using a different dom_storage backend |
+ library in its main browser process, there are a handful of files that should no |
+ longer be included in the build, and a few files than should be deleted |
+ outright, and the webkit api should be modified to reflect the new (and smaller) |
+ contract between the embedder and webkit/webcore. |
+ https://bugs.webkit.org/show_bug.cgi?id=83807 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * WebKit.gyp: Delete a few files. |
+ * public/WebStorageNamespace.h: Remove some unused data members and methods, and annotate close() as deprecated. |
+ * public/platform/WebKitPlatformSupport.h: Annotate a method as deprecated. |
+ * src/StorageAreaProxy.cpp: Remove the include of a deleted file. |
+ * src/StorageEventDispatcherChromium.cpp: Removed. |
+ * src/StorageEventDispatcherImpl.cpp: Added a FIXME comment for upcoming work. |
+ * src/StorageNamespaceProxy.cpp: Modified to no longer call out to the embedder thru the deprecated close() method. |
+ * src/StorageNamespaceProxy.h: Moved some blank lines around. |
+ * src/WebStorageAreaImpl.cpp: Removed. |
+ * src/WebStorageAreaImpl.h: Removed. |
+ * src/WebStorageEventDispatcherImpl.cpp: Cleaned up some cruft. |
+ * src/WebStorageNamespaceImpl.cpp: Removed. |
+ * src/WebStorageNamespaceImpl.h: Removed. |
+ |
+2012-04-13 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r114140. |
+ http://trac.webkit.org/changeset/114140 |
+ https://bugs.webkit.org/show_bug.cgi?id=83921 |
+ |
+ Fails fast/css/image-set-parsing.html test it attempts to |
+ introduce. (Requested by scheib on #webkit). |
+ |
+ * features.gypi: |
+ |
+2012-04-13 Rob Flack <flackr@chromium.org> |
+ |
+ Chromium: Should enable -webkit-image-set |
+ https://bugs.webkit.org/show_bug.cgi?id=81859 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * features.gypi: |
+ |
+2012-04-13 Yury Semikhatsky <yurys@chromium.org> |
+ |
+ Unreviewed. Build fix after r114126. |
+ |
+ * WebKit.gyp: |
+ |
+2012-04-13 Keishi Hattori <keishi@webkit.org> |
+ |
+ [chromium] Add WebKit API to access <datalist> options |
+ https://bugs.webkit.org/show_bug.cgi?id=83762 |
+ |
+ Introduce WebInputElement::dataListOptions so we can implement a UI for datalist. |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ * public/WebInputElement.h: |
+ (WebKit): |
+ (WebInputElement): |
+ * src/WebInputElement.cpp: |
+ (WebKit::WebInputElement::dataListOptions): Added. Returns a WebNodeCollection containing WebOptionElements. |
+ |
+2012-04-13 Kent Tamura <tkent@chromium.org> |
+ |
+ Add a runtime flag for <input type=date> |
+ https://bugs.webkit.org/show_bug.cgi?id=83853 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * public/WebRuntimeFeatures.h: |
+ (WebRuntimeFeatures): Add enableInputTypeDate() and isInputTypeDateEnabled(). |
+ * src/WebRuntimeFeatures.cpp: |
+ (WebKit::WebRuntimeFeatures::enableInputTypeDate): Added. |
+ (WebKit::WebRuntimeFeatures::isInputTypeDateEnabled): Added. |
+ |
+2012-04-13 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed. Rolled DEPS. |
+ |
+ * DEPS: |
+ |
+2012-04-12 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Background filters for composited layers |
+ https://bugs.webkit.org/show_bug.cgi?id=80046 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCLayerImplTest.cpp: |
+ (WebCore::TEST): |
+ |
+2012-04-12 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r114075. |
+ http://trac.webkit.org/changeset/114075 |
+ https://bugs.webkit.org/show_bug.cgi?id=83857 |
+ |
+ Breaks compile (Requested by jamesr on #webkit). |
+ |
+ * WebKit.gyp: |
+ * public/WebVideoFrame.h: |
+ (WebKit): |
+ (WebVideoFrame): |
+ (WebKit::WebVideoFrame::~WebVideoFrame): |
+ (WebKit::WebVideoFrame::format): |
+ (WebKit::WebVideoFrame::width): |
+ (WebKit::WebVideoFrame::height): |
+ (WebKit::WebVideoFrame::planes): |
+ (WebKit::WebVideoFrame::stride): |
+ (WebKit::WebVideoFrame::data): |
+ (WebKit::WebVideoFrame::textureId): |
+ (WebKit::WebVideoFrame::textureTarget): |
+ * src/AssertMatchingEnums.cpp: |
+ * src/VideoFrameChromiumImpl.cpp: Added. |
+ (WebKit): |
+ (WebKit::VideoFrameChromiumImpl::toWebVideoFrame): |
+ (WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl): |
+ (WebKit::VideoFrameChromiumImpl::format): |
+ (WebKit::VideoFrameChromiumImpl::width): |
+ (WebKit::VideoFrameChromiumImpl::height): |
+ (WebKit::VideoFrameChromiumImpl::planes): |
+ (WebKit::VideoFrameChromiumImpl::stride): |
+ (WebKit::VideoFrameChromiumImpl::data): |
+ (WebKit::VideoFrameChromiumImpl::requiredTextureSize): |
+ (WebKit::VideoFrameChromiumImpl::hasPaddingBytes): |
+ (WebKit::VideoFrameChromiumImpl::textureId): |
+ (WebKit::VideoFrameChromiumImpl::textureTarget): |
+ * src/VideoFrameChromiumImpl.h: Renamed from Source/Platform/chromium/public/WebVideoFrame.h. |
+ (WebKit): |
+ (VideoFrameChromiumImpl): |
+ * src/WebMediaPlayerClientImpl.cpp: |
+ (WebKit::WebMediaPlayerClientImpl::getCurrentFrame): |
+ (WebKit::WebMediaPlayerClientImpl::putCurrentFrame): |
+ (WebKit::WebMediaPlayerClientImpl::supportsType): |
+ * src/WebMediaPlayerClientImpl.h: |
+ (WebMediaPlayerClientImpl): |
+ |
+2012-04-12 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API |
+ https://bugs.webkit.org/show_bug.cgi?id=83851 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ Moves the WebVideoFrame interface into Platform and removes the now unnecessary VideoFrameChromiumImpl adapter |
+ implementation. |
+ |
+ * WebKit.gyp: |
+ * public/WebVideoFrame.h: |
+ * src/AssertMatchingEnums.cpp: |
+ * src/VideoFrameChromiumImpl.cpp: Removed. |
+ * src/VideoFrameChromiumImpl.h: Removed. |
+ * src/WebMediaPlayerClientImpl.cpp: |
+ (WebKit::WebMediaPlayerClientImpl::getCurrentFrame): |
+ (WebKit::WebMediaPlayerClientImpl::putCurrentFrame): |
+ (WebKit::WebMediaPlayerClientImpl::supportsType): |
+ * src/WebMediaPlayerClientImpl.h: |
+ (WebMediaPlayerClientImpl): |
+ |
+2012-04-12 David Dorwin <ddorwin@chromium.org> |
+ |
+ Add Encrypted Media Extensions events and errors to HTMLMediaElement |
+ https://bugs.webkit.org/show_bug.cgi?id=82974 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ The new events and errors are behind the ENABLE(ENCRYPTED_MEDIA) feature define. |
+ Implementation is based on v0.1 of the draft proposal at |
+ http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#events. |
+ |
+ * public/WebMediaPlayerClient.h: |
+ * src/AssertMatchingEnums.cpp: |
+ * src/WebMediaPlayerClientImpl.cpp: |
+ (WebKit::WebMediaPlayerClientImpl::keyAdded): |
+ (WebKit): |
+ (WebKit::WebMediaPlayerClientImpl::keyError): |
+ (WebKit::WebMediaPlayerClientImpl::keyMessage): |
+ (WebKit::WebMediaPlayerClientImpl::keyNeeded): |
+ * src/WebMediaPlayerClientImpl.h: |
+ (WebMediaPlayerClientImpl): |
+ |
+2012-04-12 Kent Tamura <tkent@chromium.org> |
+ |
+ [Chromium] Enable INPUT_TYPE_DATE |
+ https://bugs.webkit.org/show_bug.cgi?id=83761 |
+ |
+ Reviewed by Kentaro Hara. |
+ |
+ * features.gypi: Turn ENABLE_INPUT_TYPE_DATE on. |
+ |
+2012-04-12 Kent Tamura <tkent@chromium.org> |
+ |
+ [Chromium] Fix !ENABLE(PAGE_POPUP) build |
+ |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): Wrap m_pagePopup with ENABLE(PAGE_POPUP). |
+ |
+2012-04-12 Kent Tamura <tkent@chromium.org> |
+ |
+ [Chromium] Add PagePopup implementation |
+ https://bugs.webkit.org/show_bug.cgi?id=81081 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ Add WebPagePopupImpl class, which is an implementation of |
+ WebCore::PagePopup interface and WebKit::WebPagePopup interface. It's a |
+ WebWidget which has a Page object. |
+ |
+ No new tests because this makes no behavior change yet. |
+ |
+ * WebKit.gyp: Add WebPagePopupImpl.h. |
+ * src/ChromeClientImpl.cpp: |
+ (WebKit::ChromeClientImpl::hasOpenedPopup): Supports the PagePopup. |
+ (WebKit::ChromeClientImpl::openPagePopup): |
+ just delegate to WebViewImpl::openPagePopup(). |
+ (WebKit::ChromeClientImpl::closePagePopup): ditto. |
+ |
+ * src/WebPagePopupImpl.cpp: |
+ (PagePopupChromeClient): |
+ This is a light implementation of ChromeClient for the page in |
+ WebPagePopupImpl. This is a friend of WebPagePopupImpl becase of ease of |
+ access to its members. |
+ (WebKit::PagePopupChromeClient::PagePopupChromeClient): |
+ (WebKit::WebPagePopupImpl::WebPagePopupImpl): |
+ (WebKit::WebPagePopupImpl::~WebPagePopupImpl): |
+ (WebKit::WebPagePopupImpl::init): |
+ (WebKit::WebPagePopupImpl::initPage): |
+ (WebKit::WebPagePopupImpl::size): |
+ (WebKit::WebPagePopupImpl::animate): Calls PageWidgetDelegate::animate(). |
+ (WebKit::WebPagePopupImpl::composite): |
+ (WebKit::WebPagePopupImpl::layout): Calls PageWidgetDelegate::layout(). |
+ (WebKit::WebPagePopupImpl::paint): Calls PageWidgetDelegate::paint(). |
+ (WebKit::WebPagePopupImpl::resize): |
+ (WebKit::WebPagePopupImpl::handleKeyEvent): |
+ (WebKit::WebPagePopupImpl::handleCharEvent): |
+ (WebKit::WebPagePopupImpl::handleGestureEvent): |
+ (WebKit::WebPagePopupImpl::handleInputEvent): |
+ (WebKit::WebPagePopupImpl::setFocus): |
+ (WebKit::WebPagePopupImpl::close): Delete the page, and kill itself. |
+ (WebKit::WebPagePopupImpl::closePopup): |
+ (WebKit::WebPagePopup::create): |
+ * src/WebPagePopupImpl.h: Added. |
+ |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): Initialize m_pagePopup. |
+ (WebKit::WebViewImpl::handleKeyEvent): |
+ Renamed from keyEvent(). Forward key events to a PagePopup if it is open. |
+ (WebKit::WebViewImpl::handleCharEvent): |
+ Renamed from charEvent(). Forward char events to a PagePopup if it is open. |
+ (WebKit::WebViewImpl::openPagePopup): |
+ Added. Instantiate a WebPagePopupImpl, calculates a good bounding |
+ rectangle of the page popup from the specified element rectangle, |
+ initialize the WebPagePopupImpl, and stop caret blink. |
+ (WebKit::WebViewImpl::closePagePopup): |
+ Close the popup, clear m_pagePopup, and resume caret blink. |
+ (WebKit::WebViewImpl::setFocus): Hide all the popups. |
+ (WebKit::WebViewImpl::hidePopups): Hide the page popup too. |
+ * src/WebViewImpl.h: |
+ (WebKit::WebViewImpl::hasOpenedPopup): Checks the page popup too. |
+ |
+2012-04-12 Kent Tamura <tkent@chromium.org> |
+ |
+ [Chromium] Move some code of WebViewImpl and WebFrameImpl to PageWidgetDelegate |
+ https://bugs.webkit.org/show_bug.cgi?id=83750 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ In order to share code in WebViewImpl and the incoming WebPagePopupImpl, |
+ we move some code of WebViewImpl and WebFrameImpl to PageWidgetDelegate. |
+ PageWidgetDelegate is a set of static functions because we can't use |
+ virtual inheritance in this case and we don't want to move WebView's |
+ data members to another class. |
+ |
+ No new tests. Just refactoring. |
+ |
+ * WebKit.gyp: Add PageWidgetDelegate.{cpp,h} and WebPagePopupImpl.h. |
+ * src/PageWidgetDelegate.cpp: Added. |
+ (WebKit::mainFrameView): |
+ (WebKit::PageWidgetDelegate::animate): |
+ Moved from a part of WebViewImpl::animatie() |
+ (WebKit::PageWidgetDelegate::layout): |
+ Moved from WebViewImpl::layout() and WebFrameImpl::layout(). |
+ (WebKit::PageWidgetDelegate::paint): |
+ Moved from WebFrameImpl::paint() and paintWithContext(). |
+ (WebKit::PageWidgetDelegate::handleInputEvent): |
+ Moved from a part of WebViewImpl::handleInputEvent(). |
+ (WebKit::PageWidgetEventHandler::handleMouseMove): |
+ Common implementation of an event handling. |
+ (WebKit::PageWidgetEventHandler::handleMouseLeave): ditto. |
+ (WebKit::PageWidgetEventHandler::handleMouseDown): ditto. |
+ (WebKit::PageWidgetEventHandler::handleMouseUp): ditto. |
+ (WebKit::PageWidgetEventHandler::handleMouseWheel): ditto. |
+ (WebKit::PageWidgetEventHandler::handleTouchEvent): ditto. |
+ * src/PageWidgetDelegate.h: Added. |
+ * src/WebFrameImpl.cpp: |
+ Remove layout(), paintWithContext(), and paint(). They are moved to |
+ PageWidgetDelegate. |
+ * src/WebFrameImpl.h: |
+ (WebFrameImpl): Remove layout(), paintWithContext(), and paint(). |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::handleMouseLeave): |
+ Renamed from mouseLeave(), use PageWidgetDelegate::handleMouseLeave(). |
+ (WebKit::WebViewImpl::handleMouseDown): |
+ Renamed from mouseDown(), use PageWidgetDelegate::handleMouseDown(). |
+ (WebKit::WebViewImpl::handleMouseUp): |
+ Renamed from mouseUp(), use PageWidgetDelegate::handleMouseUp(). |
+ (WebKit::WebViewImpl::scrollBy): Calls renamed handleMouseWheel(). |
+ (WebKit::WebViewImpl::handleGestureEvent): Renamed from gestureEvent(). |
+ (WebKit::WebViewImpl::handleKeyEvent): Renamed from keyEvent(). |
+ (WebKit::WebViewImpl::handleCharEvent): Renamed from charEvent(). |
+ (WebKit::WebViewImpl::updateAnimations): Uses PageWidgetDelegate::animate(). |
+ (WebKit::WebViewImpl::layout): Uses PageWidgetDelegate::layout(). |
+ (WebKit::WebViewImpl::paint): Uses PageWidgetDelegate::paint(). |
+ (WebKit::WebViewImpl::handleInputEvent): Uses PageWidgetDelegate::handleInputEvent(). |
+ * src/WebViewImpl.h: |
+ |
+2012-04-12 Adrienne Walker <enne@google.com> |
+ |
+ [chromium] Fix Windows compiler warnings in webkit_unit_test target |
+ https://bugs.webkit.org/show_bug.cgi?id=83732 |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ * tests/CCDamageTrackerTest.cpp: |
+ (WebKitTests::TEST_F): |
+ * tests/CCLayerImplTest.cpp: |
+ (WebCore::TEST): |
+ * tests/CCLayerTreeHostCommonTest.cpp: |
+ (WebKitTests::TEST): |
+ * tests/CCLayerTreeHostImplTest.cpp: |
+ (WebKitTests::TEST_F): |
+ * tests/CCQuadCullerTest.cpp: |
+ (WebCore::TEST): |
+ * tests/FloatQuadTest.cpp: |
+ (WebCore::TEST): |
+ * tests/ScrollAnimatorNoneTest.cpp: |
+ (TEST_F): |
+ * tests/TreeSynchronizerTest.cpp: |
+ (WebKitTests::TEST): |
+ * tests/WebLayerTest.cpp: |
+ |
+2012-04-11 Alec Flett <alecflett@chromium.org> |
+ |
+ IndexedDB: Stub out WebKit interface for get(IndexedKeyRange) |
+ https://bugs.webkit.org/show_bug.cgi?id=83637 |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ This is just a stub-out of IDBObjectStore.get(IDBKeyRange) to coordinate |
+ a landing in chromium |
+ |
+ * public/WebIDBObjectStore.h: |
+ (WebKit::WebIDBObjectStore::get): |
+ (WebIDBObjectStore): |
+ * src/IDBObjectStoreBackendProxy.cpp: |
+ (WebKit::IDBObjectStoreBackendProxy::get): |
+ (WebKit): |
+ * src/IDBObjectStoreBackendProxy.h: |
+ (IDBObjectStoreBackendProxy): |
+ * src/WebIDBObjectStoreImpl.cpp: |
+ (WebKit::WebIDBObjectStoreImpl::get): |
+ (WebKit): |
+ * src/WebIDBObjectStoreImpl.h: |
+ (WebIDBObjectStoreImpl): |
+ |
+2012-04-11 Kenichi Ishibashi <bashi@chromium.org> |
+ |
+ [chromium] Fix Windows warnings in WebSocketDeflaterTest |
+ https://bugs.webkit.org/show_bug.cgi?id=83731 |
+ |
+ Reviewed by Kent Tamura. |
+ |
+ Use const char* instead of const char[] to suppress warnings on |
+ Windows. |
+ |
+ * tests/WebSocketDeflaterTest.cpp: |
+ (WebCore::TEST): |
+ |
+2012-04-11 David Dorwin <ddorwin@chromium.org> |
+ |
+ Add keySystem attribute to canPlayType() for Encrypted Media Extensions |
+ https://bugs.webkit.org/show_bug.cgi?id=82973 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ The new attribute is behind the ENABLE(ENCRYPTED_MEDIA) feature define. |
+ Implementation is based on v0.1 of the draft proposal at |
+ http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#extensions. |
+ |
+ * src/WebMediaPlayerClientImpl.cpp: |
+ (WebKit::WebMediaPlayerClientImpl::supportsType): |
+ * src/WebMediaPlayerClientImpl.h: |
+ (WebMediaPlayerClientImpl): |
+ |
+2012-04-10 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Add OVERRIDE annotations for cc layer types |
+ https://bugs.webkit.org/show_bug.cgi?id=83658 |
+ |
+ Reviewed by Daniel Bates. |
+ |
+ This adds OVERRIDE annotations to overrides of functions on these classes: |
+ - CCLayerImpl |
+ - LayerChromium |
+ - TiledLayerChromium |
+ |
+ * src/WebLayerImpl.cpp: |
+ * src/WebLayerImpl.h: |
+ (WebLayerImpl): Removed unused and empty paintContents() function. |
+ * tests/CCLayerIteratorTest.cpp: |
+ * tests/CCLayerTreeHostCommonTest.cpp: |
+ * tests/CCLayerTreeHostImplTest.cpp: |
+ * tests/CCLayerTreeHostTest.cpp: |
+ * tests/CCOcclusionTrackerTest.cpp: |
+ * tests/CCTiledLayerTestCommon.h: |
+ (FakeTiledLayerChromium): |
+ * tests/LayerChromiumTest.cpp: |
+ * tests/TreeSynchronizerTest.cpp: |
+ |
+2012-04-11 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Add OVERRIDE annotations for cc animation-related interfaces |
+ https://bugs.webkit.org/show_bug.cgi?id=83650 |
+ |
+ Reviewed by Daniel Bates. |
+ |
+ This adds OVERRIDE annotations to the implementations of the following interfaces: |
+ - CCAnimationCurve |
+ - CCFloatAnimationCurve |
+ - CCLayerAnimationControllerClient |
+ - CCTransformAnimationCurve |
+ |
+ * tests/CCAnimationTestCommon.h: |
+ |
+2012-04-11 Aaron Colwell <acolwell@chromium.org> |
+ |
+ Remove webkit prefix from Media Source runtime feature name. |
+ https://bugs.webkit.org/show_bug.cgi?id=83633 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * src/WebRuntimeFeatures.cpp: |
+ (WebKit::WebRuntimeFeatures::enableMediaSource): |
+ (WebKit::WebRuntimeFeatures::isMediaSourceEnabled): |
+ |
+2012-04-11 Adrienne Walker <enne@google.com> |
+ |
+ [chromium] Draw missing layer tile checkerboards as checkerboards |
+ https://bugs.webkit.org/show_bug.cgi?id=83241 |
+ |
+ Reviewed by James Robinson. |
+ |
+ Rename usedCheckerboard to hadMissingTile to avoid confusion. Update |
+ tests to not expect SolidColor quads for checkerboards. |
+ |
+ * src/NonCompositedContentHost.cpp: |
+ (WebKit::NonCompositedContentHost::NonCompositedContentHost): |
+ * tests/CCQuadCullerTest.cpp: |
+ (WebCore::appendQuads): |
+ * tests/CCSolidColorLayerImplTest.cpp: |
+ (CCLayerTestCommon::TEST): |
+ * tests/CCTiledLayerImplTest.cpp: |
+ (CCLayerTestCommon::TEST): |
+ (CCLayerTestCommon::getQuads): |
+ * tests/LayerChromiumTest.cpp: |
+ |
+2012-04-11 Ami Fischman <fischman@chromium.org> |
+ |
+ Remove unused WebVideoFrame::Format values |
+ https://bugs.webkit.org/show_bug.cgi?id=83625 |
+ |
+ Reviewed by Kenneth Russell. |
+ |
+ * public/WebVideoFrame.h: |
+ (WebKit): |
+ * src/AssertMatchingEnums.cpp: |
+ |
+2012-04-11 'Pavel Feldman' <pfeldman@chromium.org> |
+ |
+ Follow up to r113863: fix chromium inspector interactive test harness. |
+ |
+ * src/js/Tests.js: |
+ |
+2012-04-11 Sadrul Habib Chowdhury <sadrul@chromium.org> |
+ |
+ [chromium] Add Battery Status API support. |
+ |
+ The battery-client (BatteryClientChromium) will notify the client (WebBatteryStatusClient) when to start or stop |
+ sending battery status updates. The client, in response will send the notifications to WebViewImpl, which sends |
+ this update information to the WebCore::BatteryClient, and it triggers the appropriate javascript-callbacks. |
+ The spec is at http://www.w3.org/TR/2011/WD-battery-status-20111129/. |
+ https://bugs.webkit.org/show_bug.cgi?id=83284 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * WebKit.gyp: |
+ * features.gypi: |
+ * public/WebBatteryStatus.h: Added. |
+ (WebKit): |
+ (WebBatteryStatus): |
+ (WebKit::WebBatteryStatus::WebBatteryStatus): |
+ * public/WebBatteryStatusClient.h: Added. |
+ (WebKit): |
+ (WebBatteryStatusClient): |
+ (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient): |
+ * public/WebView.h: |
+ (WebKit): |
+ (WebView): |
+ (WebKit::WebView::updateBatteryStatus): |
+ * public/WebViewClient.h: |
+ (WebKit): |
+ (WebViewClient): |
+ (WebKit::WebViewClient::batteryStatusClient): |
+ * src/BatteryClientImpl.cpp: Added. |
+ (WebKit): |
+ (WebKit::BatteryClientImpl::BatteryClientImpl): |
+ (WebKit::BatteryClientImpl::updateBatteryStatus): |
+ (WebKit::BatteryClientImpl::setController): |
+ (WebKit::BatteryClientImpl::startUpdating): |
+ (WebKit::BatteryClientImpl::stopUpdating): |
+ (WebKit::BatteryClientImpl::batteryControllerDestroyed): |
+ * src/BatteryClientImpl.h: Added. |
+ (WebKit): |
+ (BatteryClientImpl): |
+ (WebKit::BatteryClientImpl::~BatteryClientImpl): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ (WebKit): |
+ (WebKit::WebViewImpl::updateBatteryStatus): |
+ * src/WebViewImpl.h: |
+ (WebKit): |
+ (WebViewImpl): |
+ |
+2012-04-10 Ami Fischman <fischman@chromium.org> |
+ |
+ Roll Chromium DEPS to last-known good revision |
+ https://bugs.webkit.org/show_bug.cgi?id=83652 |
+ |
+ Unreviewed, just a DEPS roll (131469:131684) |
+ |
+ * DEPS: |
+ |
+2012-04-10 Alexandre Elias <aelias@google.com> |
+ |
+ Add gesture event enums for long-press and pinch |
+ https://bugs.webkit.org/show_bug.cgi?id=83640 |
+ |
+ Reviewed by James Robinson. |
+ |
+ Add new enum values GestureLongPress and GesturePinchBegin/End/Update, |
+ along with no-op default handling. |
+ |
+ * public/WebInputEvent.h: |
+ * src/WebInputEventConversion.cpp: |
+ (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder): |
+ * src/WebPopupMenuImpl.cpp: |
+ (WebKit::WebPopupMenuImpl::handleInputEvent): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::gestureEvent): |
+ |
+2012-04-10 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Add OVERRIDE annotations for cc tree host and proxy interfaces |
+ https://bugs.webkit.org/show_bug.cgi?id=83653 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ This adds OVERRIDE annotations to the implementations of the following interfaces: |
+ - CCLayerTreeHostClient |
+ - CCLayerTreeHostImplClient |
+ - CCProxy |
+ - LayerRendererChromiumClient |
+ |
+ * src/WebLayerTreeViewImpl.h: |
+ (WebLayerTreeViewImpl): |
+ * src/WebViewImpl.h: |
+ (WebViewImpl): |
+ * tests/CCLayerTreeHostImplTest.cpp: |
+ * tests/CCLayerTreeHostTest.cpp: |
+ * tests/FakeCCLayerTreeHostClient.h: |
+ * tests/LayerRendererChromiumTest.cpp: |
+ |
+2012-04-10 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Add OVERRIDE annotations for cc scheduler-related client interfaces |
+ https://bugs.webkit.org/show_bug.cgi?id=83646 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ This adds OVERRIDE annotations to the implementations of the following interfaces: |
+ - CCFrameRateControllerClient |
+ - CCSchedulerClient |
+ - CCTimeSource |
+ - CCTimeSourceClient |
+ - CCTimerClient |
+ |
+ |
+ * tests/CCSchedulerTest.cpp: |
+ * tests/CCSchedulerTestCommon.h: |
+ |
+2012-04-10 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Fold LayerChromium::updateCompositorResources into main update |
+ https://bugs.webkit.org/show_bug.cgi?id=83530 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ Update tests for interface changes. |
+ |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF::CCLayerTreeHostTest::runTest): |
+ (WTF::ContentLayerChromiumWithUpdateTracking::update): |
+ (WTF::ContentLayerChromiumWithUpdateTracking::idleUpdate): |
+ (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking): |
+ (ContentLayerChromiumWithUpdateTracking): |
+ (WTF::CCLayerTreeHostTestOpacityChange::afterTest): |
+ (WTF::CCLayerTreeHostTestSetViewportSize::beginTest): |
+ (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread): |
+ (WTF::TestLayerChromium::update): |
+ (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest): |
+ (WTF::CCLayerTreeHostTestContentLayerOcclusion::beginTest): |
+ (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest): |
+ (WTF::CCLayerTreeHostTestManySurfaces::beginTest): |
+ * tests/CCTiledLayerTestCommon.cpp: |
+ (WebKitTests::FakeLayerTextureUpdater::updateLayerRect): |
+ (WebKitTests::FakeTiledLayerChromium::update): |
+ * tests/CCTiledLayerTestCommon.h: |
+ (FakeLayerTextureUpdater): |
+ (FakeTiledLayerChromium): |
+ * tests/Canvas2DLayerChromiumTest.cpp: |
+ * tests/TiledLayerChromiumTest.cpp: |
+ (WTF::TEST): |
+ (WTF::idlePaintRepeat): |
+ |
+2012-04-10 Adam Barth <abarth@webkit.org> |
+ |
+ Limit -apple- and -khtml- to ENABLE(DASHBOARD_SUPPORT) |
+ https://bugs.webkit.org/show_bug.cgi?id=83256 |
+ |
+ Reviewed by Eric Seidel. |
+ |
+ * features.gypi: |
+ |
+2012-04-10 Tim Dresser <tdresser@chromium.org> |
+ |
+ [Chromium] defaultDeviceScaleFactor != 0 should set deviceScaleFactor = defaultDeviceScaleFactor in the absence of a viewport tag for debugging purposes |
+ https://bugs.webkit.org/show_bug.cgi?id=82757 |
+ |
+ Reviewed by Darin Fisher. |
+ |
+ If there is no viewport tag, the deviceScaleFactor is set to the defaultDeviceScaleFactor. |
+ Tested by: WebFrameTest.DeviceScaleFactorUsesDefaultWithoutViewportTag. |
+ |
+ * src/ChromeClientImpl.cpp: |
+ (WebKit): |
+ (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange): |
+ * tests/WebFrameTest.cpp: |
+ (WebKit): |
+ (FixedLayoutTestWebViewClient): |
+ (WebKit::TEST_F): |
+ * tests/data/no_viewport_tag.html: Added. |
+ |
+2012-04-10 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r113734. |
+ http://trac.webkit.org/changeset/113734 |
+ https://bugs.webkit.org/show_bug.cgi?id=83606 |
+ |
+ causing a bunch of unrelated test failures (Requested by |
+ simonjam on #webkit). |
+ |
+ * WebKit.gyp: |
+ * features.gypi: |
+ * public/WebBatteryStatus.h: Removed. |
+ * public/WebBatteryStatusClient.h: Removed. |
+ * public/WebView.h: |
+ (WebKit): |
+ (WebView): |
+ * public/WebViewClient.h: |
+ (WebKit): |
+ * src/BatteryClientImpl.cpp: Removed. |
+ * src/BatteryClientImpl.h: Removed. |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ * src/WebViewImpl.h: |
+ (WebKit): |
+ (WebViewImpl): |
+ |
+2012-04-09 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Defer texture id allocation for copies until the actual copy executes |
+ https://bugs.webkit.org/show_bug.cgi?id=83514 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCTiledLayerTestCommon.cpp: |
+ * tests/CCTiledLayerTestCommon.h: |
+ * tests/Canvas2DLayerChromiumTest.cpp: |
+ * tests/TiledLayerChromiumTest.cpp: |
+ (WTF::TEST): |
+ |
+2012-04-10 David Dorwin <ddorwin@chromium.org> |
+ |
+ Add Encrypted Media Extensions methods to HTMLMediaElement |
+ https://bugs.webkit.org/show_bug.cgi?id=82971 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ The extensions are behind the ENABLE(ENCRYPTED_MEDIA) feature define. |
+ Implementation is based on v0.1 of the draft proposal at |
+ http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html. |
+ |
+ * features.gypi: |
+ * public/WebMediaPlayer.h: |
+ (WebKit): |
+ (WebMediaPlayer): |
+ (WebKit::WebMediaPlayer::generateKeyRequest): |
+ (WebKit::WebMediaPlayer::addKey): |
+ (WebKit::WebMediaPlayer::cancelKeyRequest): |
+ * public/WebRuntimeFeatures.h: |
+ (WebRuntimeFeatures): |
+ * src/AssertMatchingEnums.cpp: |
+ * src/WebMediaPlayerClientImpl.cpp: |
+ (WebKit): |
+ (WebKit::WebMediaPlayerClientImpl::generateKeyRequest): |
+ (WebKit::WebMediaPlayerClientImpl::addKey): |
+ (WebKit::WebMediaPlayerClientImpl::cancelKeyRequest): |
+ * src/WebMediaPlayerClientImpl.h: |
+ (WebMediaPlayerClientImpl): |
+ * src/WebRuntimeFeatures.cpp: |
+ (WebKit::WebRuntimeFeatures::isMediaStreamEnabled): |
+ (WebKit::WebRuntimeFeatures::enableEncryptedMedia): |
+ (WebKit): |
+ (WebKit::WebRuntimeFeatures::isEncryptedMediaEnabled): |
+ |
+2012-04-10 Sadrul Habib Chowdhury <sadrul@chromium.org> |
+ |
+ [chromium] Add Battery Status API support. |
+ |
+ The battery-client (BatteryClientChromium) will notify the client (WebBatteryStatusClient) when to start or stop |
+ sending battery status updates. The client, in response will send the notifications to WebViewImpl, which sends |
+ this update information to the WebCore::BatteryClient, and it triggers the appropriate javascript-callbacks. |
+ The spec is at http://www.w3.org/TR/2011/WD-battery-status-20111129/. |
+ https://bugs.webkit.org/show_bug.cgi?id=83284 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * WebKit.gyp: |
+ * features.gypi: |
+ * public/WebBatteryStatus.h: Added. |
+ (WebKit): |
+ (WebBatteryStatus): |
+ (WebKit::WebBatteryStatus::WebBatteryStatus): |
+ * public/WebBatteryStatusClient.h: Added. |
+ (WebKit): |
+ (WebBatteryStatusClient): |
+ (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient): |
+ * public/WebView.h: |
+ (WebKit): |
+ (WebView): |
+ (WebKit::WebView::updateBatteryStatus): |
+ * public/WebViewClient.h: |
+ (WebKit): |
+ (WebViewClient): |
+ (WebKit::WebViewClient::batteryStatusClient): |
+ * src/BatteryClientImpl.cpp: Added. |
+ (WebKit): |
+ (WebKit::BatteryClientImpl::BatteryClientImpl): |
+ (WebKit::BatteryClientImpl::updateBatteryStatus): |
+ (WebKit::BatteryClientImpl::setController): |
+ (WebKit::BatteryClientImpl::startUpdating): |
+ (WebKit::BatteryClientImpl::stopUpdating): |
+ (WebKit::BatteryClientImpl::batteryControllerDestroyed): |
+ * src/BatteryClientImpl.h: Added. |
+ (WebKit): |
+ (BatteryClientImpl): |
+ (WebKit::BatteryClientImpl::~BatteryClientImpl): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ (WebKit): |
+ (WebKit::WebViewImpl::updateBatteryStatus): |
+ * src/WebViewImpl.h: |
+ (WebKit): |
+ (WebViewImpl): |
+ |
+2012-04-10 Zhenyao Mo <zmo@google.com> |
+ |
+ Unreviewed, roll chromium to 131469 |
+ |
+ * DEPS: |
+ |
+2012-04-09 Alexander Pavlov <apavlov@chromium.org> |
+ |
+ Web Inspector: [Device Metrics] Introduce the "Fit window" option |
+ https://bugs.webkit.org/show_bug.cgi?id=83280 |
+ |
+ Implement the scaling of the FrameView to the WebViewImpl size, handle WebViewImpl resizes. |
+ |
+ Reviewed by Pavel Feldman. |
+ |
+ * src/InspectorClientImpl.cpp: |
+ (WebKit::InspectorClientImpl::overrideDeviceMetrics): |
+ * src/InspectorClientImpl.h: |
+ (InspectorClientImpl): |
+ * src/WebDevToolsAgentImpl.cpp: |
+ (WebKit::DeviceMetricsSupport::DeviceMetricsSupport): |
+ (WebKit::DeviceMetricsSupport::setDeviceMetrics): |
+ (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidthOnNavigation): |
+ (DeviceMetricsSupport): |
+ (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth): |
+ (WebKit::DeviceMetricsSupport::webViewResized): |
+ (WebKit::DeviceMetricsSupport::applySizeOverrideIfNecessary): |
+ (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor): |
+ (WebKit::DeviceMetricsSupport::restore): |
+ (WebKit::DeviceMetricsSupport::scaledEmulatedFrameSize): |
+ (WebKit::DeviceMetricsSupport::forcedScrollbarDimensions): |
+ (WebKit::DeviceMetricsSupport::applySizeOverrideInternal): |
+ (WebKit::WebDevToolsAgentImpl::webViewResized): |
+ (WebKit): |
+ (WebKit::WebDevToolsAgentImpl::overrideDeviceMetrics): |
+ (WebKit::WebDevToolsAgentImpl::autoZoomPageToFitWidth): |
+ * src/WebDevToolsAgentImpl.h: |
+ (WebDevToolsAgentImpl): |
+ * src/WebDevToolsAgentPrivate.h: |
+ (WebDevToolsAgentPrivate): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::resize): |
+ |
+2012-04-09 Kent Tamura <tkent@chromium.org> |
+ |
+ [Chromium] Remove unused variable, WebViewImpl::m_lastMousePosition. |
+ https://bugs.webkit.org/show_bug.cgi?id=83550 |
+ |
+ Reviewed by Kentaro Hara. |
+ |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ (WebKit::WebViewImpl::mouseMove): |
+ * src/WebViewImpl.h: |
+ |
2012-04-09 Dana Jansens <danakj@chromium.org> |
[chromium] Viewport is not filled when out of texture memory on mac |
@@ -46,6 +1373,989 @@ |
* tests/CCTiledLayerImplTest.cpp: |
* tests/LayerChromiumTest.cpp: |
+2012-04-09 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r113656. |
+ http://trac.webkit.org/changeset/113656 |
+ https://bugs.webkit.org/show_bug.cgi?id=83542 |
+ |
+ test is broken on chromium-win (Requested by simonjam on |
+ #webkit). |
+ |
+ * public/WebIntent.h: |
+ (WebIntent): |
+ * src/WebIntent.cpp: |
+ |
+2012-04-09 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] More unreviewed OwnPtr<>::operator= related clang build fixes in unit tests. |
+ |
+ * tests/Canvas2DLayerChromiumTest.cpp: |
+ * tests/LayerChromiumTest.cpp: |
+ |
+2012-04-09 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Cull occluded surface quads |
+ https://bugs.webkit.org/show_bug.cgi?id=81227 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCOcclusionTrackerTest.cpp: |
+ (WebKitTests::CCOcclusionTrackerTest::TearDown): |
+ (WebKitTests::CCOcclusionTrackerTest::createReplicaLayer): |
+ (CCOcclusionTrackerTest): |
+ (WebKitTests::CCOcclusionTrackerTest::setReplica): |
+ (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest): |
+ (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest): |
+ (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest): |
+ (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest): |
+ (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest): |
+ (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest): |
+ (WebKitTests): |
+ (CCOcclusionTrackerTestReplicaOccluded): |
+ (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest): |
+ (CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded): |
+ (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest): |
+ (CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently): |
+ (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest): |
+ (CCOcclusionTrackerTestSurfaceChildOfSurface): |
+ (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest): |
+ |
+2012-04-09 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Unreviewed build fix. OwnPtr<>::operator = breaks the build on clang, but not gcc :( |
+ |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF::MockLayerTreeHost::create): |
+ * tests/Canvas2DLayerChromiumTest.cpp: |
+ * tests/LayerChromiumTest.cpp: |
+ |
+2012-04-09 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Make culling work with clipped rects |
+ https://bugs.webkit.org/show_bug.cgi?id=83494 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCOcclusionTrackerTest.cpp: |
+ (CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude): |
+ (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest): |
+ (WebKitTests): |
+ (CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect): |
+ (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest): |
+ * tests/CCQuadCullerTest.cpp: |
+ (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl): |
+ (WebCore::makeLayer): |
+ (WebCore::TEST): |
+ |
+2012-04-09 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r113613. |
+ http://trac.webkit.org/changeset/113613 |
+ https://bugs.webkit.org/show_bug.cgi?id=83509 |
+ |
+ crashing most chromium bots (Requested by simonjam on |
+ #webkit). |
+ |
+ * WebKit.gyp: |
+ * features.gypi: |
+ * public/WebBatteryStatus.h: Removed. |
+ * public/WebBatteryStatusClient.h: Removed. |
+ * public/WebView.h: |
+ (WebKit): |
+ (WebView): |
+ * public/WebViewClient.h: |
+ (WebKit): |
+ * src/BatteryClientImpl.cpp: Removed. |
+ * src/BatteryClientImpl.h: Removed. |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ * src/WebViewImpl.h: |
+ (WebKit): |
+ (WebViewImpl): |
+ |
+2012-04-09 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] CCLayerTreeHost / WebLayerTreeView should be single ownership, not RefCounted |
+ https://bugs.webkit.org/show_bug.cgi?id=83413 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ Updates tests and implementation for RefPtr->OwnPtr switch. One nice benefit is that since WebLayerTreeView is |
+ explicitly owned by the user of the API we can safely rely on them managing the lifetime of the client and thus |
+ don't have to null check the client all the time. |
+ |
+ * src/WebLayerTreeView.cpp: |
+ (WebKit::WebLayerTreeView::reset): |
+ (WebKit::WebLayerTreeView::isNull): |
+ (WebKit::WebLayerTreeView::initialize): |
+ * src/WebLayerTreeViewImpl.cpp: |
+ (WebKit::WebLayerTreeViewImpl::create): |
+ (WebKit::WebLayerTreeViewImpl::willBeginFrame): |
+ (WebKit::WebLayerTreeViewImpl::updateAnimations): |
+ (WebKit::WebLayerTreeViewImpl::layout): |
+ (WebKit::WebLayerTreeViewImpl::applyScrollAndScale): |
+ (WebKit::WebLayerTreeViewImpl::createContext): |
+ (WebKit::WebLayerTreeViewImpl::didRecreateContext): |
+ (WebKit::WebLayerTreeViewImpl::didCommit): |
+ (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame): |
+ (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers): |
+ (WebKit::WebLayerTreeViewImpl::scheduleComposite): |
+ * src/WebLayerTreeViewImpl.h: |
+ (WebLayerTreeViewImpl): |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF::MockLayerTreeHost::create): |
+ (CCLayerTreeHostTest): |
+ * tests/Canvas2DLayerChromiumTest.cpp: |
+ * tests/LayerChromiumTest.cpp: |
+ * tests/TiledLayerChromiumTest.cpp: |
+ (WTF::TEST): |
+ |
+2012-04-09 Joshua Bell <jsbell@chromium.org> |
+ |
+ Unreviewed, rolling out r113473. |
+ http://trac.webkit.org/changeset/113473 |
+ https://bugs.webkit.org/show_bug.cgi?id=83074 |
+ |
+ Change does not handle cursor retention of LevelDB iterators |
+ |
+ * WebKit.gypi: |
+ * tests/IDBDatabaseBackendTest.cpp: Removed. |
+ |
+2012-04-06 James Robinson <jamesr@chromium.org> |
+ |
+ [chromium] Texture copies should happen after incremental updates to preserve commit atomicity |
+ https://bugs.webkit.org/show_bug.cgi?id=83392 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/Canvas2DLayerChromiumTest.cpp: |
+ |
+2012-04-09 Sadrul Habib Chowdhury <sadrul@chromium.org> |
+ |
+ [chromium] Add Battery Status API support. |
+ |
+ The battery-client (BatteryClientChromium) will notify the client (WebBatteryStatusClient) when to start or stop |
+ sending battery status updates. The client, in response will send the notifications to WebViewImpl, which sends |
+ this update information to the WebCore::BatteryClient, and it triggers the appropriate javascript-callbacks. |
+ The spec is at http://www.w3.org/TR/2011/WD-battery-status-20111129/. |
+ https://bugs.webkit.org/show_bug.cgi?id=83284 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * WebKit.gyp: |
+ * features.gypi: |
+ * public/WebBatteryStatus.h: Added. |
+ (WebKit): |
+ (WebBatteryStatus): |
+ (WebKit::WebBatteryStatus::WebBatteryStatus): |
+ * public/WebBatteryStatusClient.h: Added. |
+ (WebKit): |
+ (WebBatteryStatusClient): |
+ (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient): |
+ * public/WebView.h: |
+ (WebKit): |
+ (WebView): |
+ (WebKit::WebView::updateBatteryStatus): |
+ * public/WebViewClient.h: |
+ (WebKit): |
+ (WebViewClient): |
+ (WebKit::WebViewClient::batteryStatusClient): |
+ * src/BatteryClientImpl.cpp: Added. |
+ (WebKit): |
+ (WebKit::BatteryClientImpl::BatteryClientImpl): |
+ (WebKit::BatteryClientImpl::updateBatteryStatus): |
+ (WebKit::BatteryClientImpl::setController): |
+ (WebKit::BatteryClientImpl::startUpdating): |
+ (WebKit::BatteryClientImpl::stopUpdating): |
+ (WebKit::BatteryClientImpl::batteryControllerDestroyed): |
+ * src/BatteryClientImpl.h: Added. |
+ (WebKit): |
+ (BatteryClientImpl): |
+ (WebKit::BatteryClientImpl::~BatteryClientImpl): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ (WebKit): |
+ (WebKit::WebViewImpl::updateBatteryStatus): |
+ * src/WebViewImpl.h: |
+ (WebKit): |
+ (WebViewImpl): |
+ |
+2012-04-09 Shawn Singh <shawnsingh@chromium.org> |
+ |
+ [chromium] Fix layer sorting perspective w if w becomes negative |
+ https://bugs.webkit.org/show_bug.cgi?id=82997 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCLayerSorterTest.cpp: |
+ (WebCore::TEST): |
+ (WebCore): |
+ |
+2012-04-09 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Flip transition painting delayed with threaded animations |
+ https://bugs.webkit.org/show_bug.cgi?id=82571 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCLayerTreeHostCommonTest.cpp: |
+ (WebKitTests::TEST): |
+ (WebKitTests): |
+ |
+2012-04-09 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r113561. |
+ http://trac.webkit.org/changeset/113561 |
+ https://bugs.webkit.org/show_bug.cgi?id=83487 |
+ |
+ broke webkit_unit_tests (Requested by simonjam on #webkit). |
+ |
+ * tests/CCOcclusionTrackerTest.cpp: |
+ (WebKitTests): |
+ * tests/CCQuadCullerTest.cpp: |
+ (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl): |
+ |
+2012-04-09 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Make culling work with clipped rects |
+ https://bugs.webkit.org/show_bug.cgi?id=83217 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCOcclusionTrackerTest.cpp: |
+ (CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude): |
+ (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest): |
+ (WebKitTests): |
+ (CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect): |
+ (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest): |
+ * tests/CCQuadCullerTest.cpp: |
+ (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl): |
+ |
+2012-04-06 Ami Fischman <fischman@chromium.org> |
+ |
+ Roll Chromium DEPS |
+ https://bugs.webkit.org/show_bug.cgi?id=83389 |
+ |
+ Unreviewed, just a DEPS roll (130110:131183) |
+ |
+ * DEPS: |
+ |
+2012-04-06 James Robinson <jamesr@chromium.org> |
+ |
+ WebGL content swapped at wrong time in threaded compositing mode |
+ https://bugs.webkit.org/show_bug.cgi?id=82275 |
+ |
+ Reviewed by Kenneth Russell. |
+ |
+ * tests/WebGLLayerChromiumTest.cpp: |
+ (WebKit::TEST): |
+ |
+2012-04-06 Joshua Bell <jsbell@chromium.org> |
+ |
+ IndexedDB: ObjectStore/Index shouldn't hold reference to backing store |
+ https://bugs.webkit.org/show_bug.cgi?id=83074 |
+ |
+ Reviewed by Tony Chang. |
+ |
+ * WebKit.gypi: |
+ * tests/IDBDatabaseBackendTest.cpp: Added. |
+ (WebCore): |
+ (MockIDBBackingStore): |
+ (WebCore::TEST): |
+ |
+2012-04-06 Kent Tamura <tkent@chromium.org> |
+ |
+ Calendar Picker: Add code to open/close the calendar picker |
+ https://bugs.webkit.org/show_bug.cgi?id=83258 |
+ |
+ Reviewed by Hajime Morita. |
+ |
+ * features.gypi: Enable ENABLE_PAGE_POPUP for non-Android |
+ platforms. This is needed because ENABLE_CALENDAR_PICKER now depends on |
+ ENABLE_PAGE_POPUP. |
+ * src/ChroemClientImpl.cpp: Add stubs. |
+ (WebKit::ChromeClientImpl::openPagePopup): |
+ (WebKit::ChromeClientImpl::closePagePopup): |
+ * src/ChromeClientImpl.h: Add declarations of openPagePopup() and closePagePopup(). |
+ |
+2012-04-05 Hironori Bono <hbono@chromium.org> |
+ |
+ [Chromium] moving a cursor on a misspelled word should not remove a misspelled underline |
+ https://bugs.webkit.org/show_bug.cgi?id=83214 |
+ |
+ Reviewed by Ryosuke Niwa. |
+ |
+ When Chrome enables asynchronous spellchecking, it adds Spelling markers in the |
+ background. For this case, moving a cursor should not remove these markers |
+ because it requires Chrome to spellcheck text again. This change prevents |
+ removing Spelling markers added by spellcheckers asynchronously. |
+ |
+ * src/ContextMenuClientImpl.cpp: |
+ (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): use marker descriptions instead of spellchecking text when Chrome enables asynchronous spellchecking. |
+ |
+2012-04-05 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Record the number of tiles paint-culled instead of the incorrect number of pixels |
+ https://bugs.webkit.org/show_bug.cgi?id=82423 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCQuadCullerTest.cpp: |
+ (WebCore::TEST): |
+ * tests/TiledLayerChromiumTest.cpp: |
+ (WTF::TEST): |
+ |
+2012-04-05 Shawn Singh <shawnsingh@chromium.org> |
+ |
+ [chromium] Need to clip to homogeneous w=0 plane when applying transforms. |
+ https://bugs.webkit.org/show_bug.cgi?id=80806 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCLayerTreeHostCommonTest.cpp: |
+ (WebKitTests::TEST): |
+ (WebKitTests): |
+ |
+2012-04-05 Dana Jansens <danakj@chromium.org> |
+ |
+ [chromium] Cleanup test, redundant code in CCSchedulerTest.NoBeginFrameWhenDrawFails |
+ https://bugs.webkit.org/show_bug.cgi?id=83300 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCSchedulerTest.cpp: |
+ (WebKitTests::TEST): |
+ |
+2012-04-05 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r113241. |
+ http://trac.webkit.org/changeset/113241 |
+ https://bugs.webkit.org/show_bug.cgi?id=83293 |
+ |
+ Requested by sievers@chromium.org (Requested by zhenyao on |
+ #webkit). |
+ |
+ * tests/CCLayerTreeHostImplTest.cpp: |
+ (WebKitTests::TEST_F): |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF::CCLayerTreeHostTest::doBeginTest): |
+ |
+2012-04-05 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r113341. |
+ http://trac.webkit.org/changeset/113341 |
+ https://bugs.webkit.org/show_bug.cgi?id=83299 |
+ |
+ bots caught some build errors (Requested by shawnsingh on |
+ #webkit). |
+ |
+ * tests/CCLayerTreeHostCommonTest.cpp: |
+ |
+2012-04-05 Ian Vollick <vollick@chromium.org> |
+ |
+ [chromium] Race condition in CCLayerTreeHostTestSynchronizeAnimationStartTimes |
+ https://bugs.webkit.org/show_bug.cgi?id=83179 |
+ |
+ Reviewed by James Robinson. |
+ |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF::TestHooks::willAnimateLayers): |
+ (WTF::MockLayerTreeHostImpl::animateLayers): |
+ (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes): |
+ (CCLayerTreeHostTestSynchronizeAnimationStartTimes): |
+ (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::willAnimateLayers): |
+ (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::notifyAnimationStarted): |
+ |
+2012-04-05 Justin Novosad <junov@chromium.org> |
+ |
+ [Chromium] With the skia port, setting LCD text filtering is causing |
+ texture cache invalidations of gpu canvas backing store |
+ https://bugs.webkit.org/show_bug.cgi?id=74183 |
+ |
+ Reviewed by Stephen White. |
+ |
+ Replacing unnecessary usage of SkCanvas::LayerIter with call to |
+ SkCanvas::isDrawingToLayer(). Same results, lower overhead, and no |
+ GPU texture invalidation. |
+ |
+ * src/WebFontImpl.cpp: |
+ (WebKit::WebFontImpl::drawText): |
+ |
+2012-04-05 Lei Zhang <thestig@chromium.org> |
+ |
+ [Chromium] Properly align members in WebInputEvent and subclasses to make Valgrind happy. |
+ https://bugs.webkit.org/show_bug.cgi?id=81570 |
+ |
+ Reviewed by Darin Fisher. |
+ |
+ * public/WebInputEvent.h: |
+ (WebKit): |
+ (WebKit::WebInputEvent::WebInputEvent): |
+ (WebKeyboardEvent): |
+ (WebKit::WebTouchEvent::WebTouchEvent): |
+ |
+2012-04-05 Shawn Singh <shawnsingh@chromium.org> |
+ |
+ [chromium] Need to clip to homogeneous w=0 plane when applying transforms. |
+ https://bugs.webkit.org/show_bug.cgi?id=80806 |
+ |
+ Reviewed by Adrienne Walker. |
+ |
+ * tests/CCLayerTreeHostCommonTest.cpp: |
+ (WebKitTests::TEST): |
+ (WebKitTests): |
+ |
+2012-04-05 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r113307. |
+ http://trac.webkit.org/changeset/113307 |
+ https://bugs.webkit.org/show_bug.cgi?id=83288 |
+ |
+ Requested by sievers@chromium.org (Requested by zhenyao on |
+ #webkit). |
+ |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF::TEST_F): |
+ |
+2012-04-05 Pavel Feldman <pfeldman@chromium.org> |
+ |
+ Web Inspector: [chromium] clean up WDTFC::saveAs after migration to save() |
+ https://bugs.webkit.org/show_bug.cgi?id=83271 |
+ |
+ Reviewed by Yury Semikhatsky. |
+ |
+ * public/WebDevToolsFrontendClient.h: |
+ |
+2012-04-05 Hans Wennborg <hans@chromium.org> |
+ |
+ webkit_unit_tests build fix. |
+ https://bugs.webkit.org/show_bug.cgi?id=83261 |
+ |
+ Unreviewed, webkit_unit_tests buildfix. |
+ |
+ The CCLayerTreeHostTestEmptyContentsShouldNotDraw.runMultiThread test |
+ stopped working after r113254. |
+ |
+ Disable it for now. |
+ |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF): |
+ (WTF::TEST_F): |
+ |
+2012-04-05 Jochen Eisinger <jochen@chromium.org> |
+ |
+ [chromium] Only shut down V8 if we actually initialized it |
+ https://bugs.webkit.org/show_bug.cgi?id=83159 |
+ |
+ Reviewed by Pavel Feldman. |
+ |
+ * src/WebKit.cpp: |
+ (WebKit::initialize): |
+ (WebKit::shutdown): |
+ |
+2012-04-05 Kinuko Yasuda <kinuko@chromium.org> |
+ |
+ Expose DataTransferItem.getAsEntry() to allow users access dropped files as FileEntry |
+ https://bugs.webkit.org/show_bug.cgi?id=82592 |
+ |
+ Reviewed by David Levin. |
+ |
+ * src/WebDragData.cpp: |
+ (WebKit::WebDragData::filesystemId): Added implementation. |
+ (WebKit::WebDragData::setFilesystemId): Added implementation. |
+ |
+2012-04-04 Kent Tamura <tkent@chromium.org> |
+ |
+ [Chromium] Calendar Picker: Add localization functions |
+ https://bugs.webkit.org/show_bug.cgi?id=83235 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ Implement calendarTodayText() and calendarClearText(), which are |
+ introduced in http://trac.webkit.org/changeset/113166 |
+ |
+ * public/platform/WebLocalizedString.h: |
+ Add CalendarClear and CalendarToday. |
+ * src/LocalizedStrings.cpp: |
+ (WebCore::calendarTodayText): Added. |
+ (WebCore::calendarClearText): Added. |
+ |
+2012-04-04 Mark Pilgrim <pilgrim@chromium.org> |
+ |
+ Call histogramEnumeration directly |
+ https://bugs.webkit.org/show_bug.cgi?id=83106 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ Part of a refactoring project to remove the PlatformSupport |
+ abstraction from some functions. See bug 82948. |
+ |
+ * src/ChromeClientImpl.cpp: |
+ (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal): |
+ * src/PlatformSupport.cpp: |
+ (WebCore): |
+ |
+2012-04-04 Shawn Singh <shawnsingh@chromium.org> |
+ |
+ [chromium] Move recursive renderSurface clearing to CCLayerTreeHostImpl |
+ https://bugs.webkit.org/show_bug.cgi?id=82091 |
+ |
+ Reviewed by James Robinson. |
+ |
+ * tests/LayerRendererChromiumTest.cpp: |
+ (FakeLayerRendererChromiumClient::FakeLayerRendererChromiumClient): |
+ |
+2012-04-04 Daniel Sievers <sievers@chromium.org> |
+ |
+ [Chromium] Always skip draw and readback if there is nothing |
+ to draw. |
+ https://bugs.webkit.org/show_bug.cgi?id=82680 |
+ |
+ This avoids corruption from pushing frames that have no valid |
+ content drawn into them. |
+ Also in addition to checking for non-existing root layers, check |
+ for root layers with no content bounds. It's possible to see those |
+ with kForceCompositing mode for empty documents. |
+ |
+ Reviewed by James Robinson. |
+ |
+ Added CCLayerTreeHostTestEmptyContentsShouldNotDraw. |
+ |
+ * tests/CCLayerTreeHostImplTest.cpp: |
+ (WebKitTests::TEST_F): |
+ * tests/CCLayerTreeHostTest.cpp: |
+ (WTF::CCLayerTreeHostTest::doBeginTest): |
+ (WTF): |
+ (CCLayerTreeHostTestEmptyContentsShouldNotDraw): |
+ (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::CCLayerTreeHostTestEmptyContentsShouldNotDraw): |
+ (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::beginTest): |
+ (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::drawLayersOnCCThread): |
+ (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::didCommitAndDrawFrame): |
+ (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::afterTest): |
+ (WTF::TEST_F): |
+ |
+2012-04-04 Mark Pilgrim <pilgrim@chromium.org> |
+ |
+ Call histogramCustomCounts directly |
+ https://bugs.webkit.org/show_bug.cgi?id=83112 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * src/PlatformSupport.cpp: |
+ (WebCore): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::paint): |
+ (WebKit::WebViewImplContentPainter::paint): |
+ (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): |
+ * src/painting/PaintAggregator.cpp: |
+ |
+2012-04-04 Mark Pilgrim <pilgrim@chromium.org> |
+ |
+ Call suddenTerminationChanged directly |
+ https://bugs.webkit.org/show_bug.cgi?id=83114 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * src/PlatformSupport.cpp: |
+ (WebCore): |
+ |
+2012-04-04 Adam Barth <abarth@webkit.org> |
+ |
+ figure out how to export webcore symbols from webkit.dll properly |
+ https://bugs.webkit.org/show_bug.cgi?id=83105 |
+ |
+ Reviewed by Dimitri Glazkov. |
+ |
+ * WebKit.gyp: |
+ - We now compile the platform support files as part of webkit.dll |
+ to make sure the lib contains the obj files and therefore exports |
+ the necessary symbols. In principle, we could use a defs file to |
+ achieve the same thing, but those files are a pain to maintain. |
+ * src/WebKit.cpp: |
+ (WebKit::shutdown): |
+ - Unwind our ugly, ugly hack to make the Windows component build |
+ work. |
+ |
+2012-04-04 Mark Pilgrim <pilgrim@chromium.org> |
+ |
+ Call sandboxEnabled directly |
+ https://bugs.webkit.org/show_bug.cgi?id=83113 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * src/PlatformSupport.cpp: |
+ (WebCore): |
+ |
+2012-04-04 Kausalya Madhusudhanan <kmadhusu@chromium.org> |
+ |
+ [Coverity] Address some uninit constructor values. |
+ https://bugs.webkit.org/show_bug.cgi?id=82424 |
+ |
+ Reviewed by Stephen White. |
+ |
+ New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor. |
+ |
+ * src/DatabaseObserver.cpp: |
+ (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge): |
+ * src/LocalFileSystemChromium.cpp: |
+ (WebCore): |
+ |
+2012-04-04 Dimitri Glazkov <dglazkov@chromium.org> |
+ |
+ Unreviewed, temporary dirty hack to make Win Debug work again. |
+ |
+ * All.gyp: Temporarily removed TestWebKitAPI target. |
+ |
+2012-04-04 Pavel Feldman <pfeldman@chromium.org> |
+ |
+ Web Inspector: migrate from InspectorFrontendHost.saveAs to InspectorFrontendHost.save. |
+ https://bugs.webkit.org/show_bug.cgi?id=83162 |
+ |
+ Reviewed by Yury Semikhatsky. |
+ |
+ * public/WebDevToolsFrontendClient.h: |
+ * src/InspectorFrontendClientImpl.cpp: |
+ (WebKit::InspectorFrontendClientImpl::canSave): |
+ (WebKit::InspectorFrontendClientImpl::save): |
+ * src/InspectorFrontendClientImpl.h: |
+ (InspectorFrontendClientImpl): |
+ |
+2012-04-04 Hans Wennborg <hans@chromium.org> |
+ |
+ WebSpeechRecognizer.h: add missing forward declaration |
+ https://bugs.webkit.org/show_bug.cgi?id=83150 |
+ |
+ Reviewed by Tony Gentilcore. |
+ |
+ Add missing forward declaration of WebSpeechRecognitionParams. |
+ |
+ * public/WebSpeechRecognizer.h: |
+ (WebKit): |
+ |
+2012-04-03 Hans Wennborg <hans@chromium.org> |
+ |
+ Speech JavaScript API: Plumbing for Chromium |
+ https://bugs.webkit.org/show_bug.cgi?id=81667 |
+ |
+ Reviewed by Darin Fisher. |
+ |
+ Add plumbing for speech recognition. |
+ |
+ The implementer is expected to implement the WebSpeechRecognizer interface. |
+ The start(), stop(), and abort() functions of that interface take a |
+ WebSpeechRecognitionHandle argument, which identifies the object which has |
+ requested the action, and a pointer to a WebSpeechRecognitionClient interface, |
+ through which it should send back notifications on progress, errors, etc. |
+ |
+ SpeechRecognitionClientProxy passes data between the WebCore and WebKit layers, |
+ implementing the WebCore::SpeechRecognitionClient and WebKit::WebSpeechRecognizerClient |
+ interfaces. |
+ |
+ * WebKit.gyp: |
+ * public/WebSpeechGrammar.h: |
+ (WebCore): |
+ (WebKit): |
+ (WebSpeechGrammar): |
+ (WebKit::WebSpeechGrammar::WebSpeechGrammar): |
+ (WebKit::WebSpeechGrammar::~WebSpeechGrammar): |
+ * public/WebSpeechRecognitionHandle.h: Added. |
+ (WebCore): |
+ (WebKit): |
+ (WebSpeechRecognitionHandle): |
+ (WebKit::WebSpeechRecognitionHandle::~WebSpeechRecognitionHandle): |
+ (WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle): |
+ (WebKit::WebSpeechRecognitionHandle::operator=): |
+ (WebKit::operator==): |
+ (WebKit::operator!=): |
+ (WebKit::operator<): |
+ * public/WebSpeechRecognitionParams.h: |
+ (WebKit): |
+ (WebSpeechRecognitionParams): |
+ (WebKit::WebSpeechRecognitionParams::grammars): |
+ (WebKit::WebSpeechRecognitionParams::language): |
+ (WebKit::WebSpeechRecognitionParams::continuous): |
+ * public/WebSpeechRecognitionResult.h: Added. |
+ (WebCore): |
+ (WebKit): |
+ (WebSpeechRecognitionResult): |
+ (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult): |
+ (WebKit::WebSpeechRecognitionResult::~WebSpeechRecognitionResult): |
+ * public/WebSpeechRecognizer.h: |
+ (WebKit): |
+ (WebSpeechRecognizer): |
+ (WebKit::WebSpeechRecognizer::start): |
+ (WebKit::WebSpeechRecognizer::stop): |
+ (WebKit::WebSpeechRecognizer::abort): |
+ (WebKit::WebSpeechRecognizer::~WebSpeechRecognizer): |
+ * public/WebSpeechRecognizerClient.h: Added. |
+ (WebKit): |
+ (WebSpeechRecognizerClient): |
+ * public/WebViewClient.h: |
+ (WebKit): |
+ (WebViewClient): |
+ (WebKit::WebViewClient::speechRecognizer): |
+ * src/SpeechRecognitionClientProxy.cpp: Added. |
+ (WebKit): |
+ (WebKit::SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy): |
+ (WebKit::SpeechRecognitionClientProxy::create): |
+ (WebKit::SpeechRecognitionClientProxy::start): |
+ (WebKit::SpeechRecognitionClientProxy::stop): |
+ (WebKit::SpeechRecognitionClientProxy::abort): |
+ (WebKit::SpeechRecognitionClientProxy::didStartAudio): |
+ (WebKit::SpeechRecognitionClientProxy::didStartSound): |
+ (WebKit::SpeechRecognitionClientProxy::didStartSpeech): |
+ (WebKit::SpeechRecognitionClientProxy::didEndSpeech): |
+ (WebKit::SpeechRecognitionClientProxy::didEndSound): |
+ (WebKit::SpeechRecognitionClientProxy::didEndAudio): |
+ (WebKit::SpeechRecognitionClientProxy::didReceiveResult): |
+ (WebKit::SpeechRecognitionClientProxy::didReceiveNoMatch): |
+ (WebKit::SpeechRecognitionClientProxy::didDeleteResult): |
+ (WebKit::SpeechRecognitionClientProxy::didReceiveError): |
+ (WebKit::SpeechRecognitionClientProxy::didStart): |
+ (WebKit::SpeechRecognitionClientProxy::didEnd): |
+ (WebKit::SpeechRecognitionClientProxy::SpeechRecognitionClientProxy): |
+ * src/SpeechRecognitionClientProxy.h: Added. |
+ (WebKit): |
+ (SpeechRecognitionClientProxy): |
+ * src/WebSpeechGrammar.cpp: Added. |
+ (WebKit): |
+ (WebKit::WebSpeechGrammar::reset): |
+ (WebKit::WebSpeechGrammar::WebSpeechGrammar): |
+ (WebKit::WebSpeechGrammar::operator=): |
+ (WebKit::WebSpeechGrammar::src): |
+ (WebKit::WebSpeechGrammar::weight): |
+ * src/WebSpeechRecognitionHandle.cpp: Added. |
+ (WebKit): |
+ (WebKit::WebSpeechRecognitionHandle::reset): |
+ (WebKit::WebSpeechRecognitionHandle::assign): |
+ (WebKit::WebSpeechRecognitionHandle::equals): |
+ (WebKit::WebSpeechRecognitionHandle::lessThan): |
+ (WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle): |
+ (WebKit::WebSpeechRecognitionHandle::operator=): |
+ (WebKit::WebSpeechRecognitionHandle::operator PassRefPtr<SpeechRecognition>): |
+ * src/WebSpeechRecognitionParams.cpp: Added. |
+ (WebKit): |
+ (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams): |
+ * src/WebSpeechRecognitionResult.cpp: Added. |
+ (WebKit): |
+ (WebKit::WebSpeechRecognitionResult::assign): |
+ (WebKit::WebSpeechRecognitionResult::reset): |
+ (WebKit::WebSpeechRecognitionResult::operator PassRefPtr<WebCore::SpeechRecognitionResult>): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ * src/WebViewImpl.h: |
+ (WebKit): |
+ |
+2012-04-04 Sheriff Bot <webkit.review.bot@gmail.com> |
+ |
+ Unreviewed, rolling out r113149. |
+ http://trac.webkit.org/changeset/113149 |
+ https://bugs.webkit.org/show_bug.cgi?id=83126 |
+ |
+ for breaking Chromium builders (Requested by pfeldman on |
+ #webkit). |
+ |
+ * WebKit.gyp: |
+ * public/WebSpeechGrammar.h: Removed. |
+ * public/WebSpeechRecognitionHandle.h: Removed. |
+ * public/WebSpeechRecognitionParams.h: Removed. |
+ * public/WebSpeechRecognitionResult.h: Removed. |
+ * public/WebSpeechRecognizer.h: Removed. |
+ * public/WebSpeechRecognizerClient.h: Removed. |
+ * public/WebViewClient.h: |
+ (WebKit): |
+ * src/SpeechRecognitionClientProxy.cpp: Removed. |
+ * src/SpeechRecognitionClientProxy.h: Removed. |
+ * src/WebSpeechGrammar.cpp: Removed. |
+ * src/WebSpeechRecognitionHandle.cpp: Removed. |
+ * src/WebSpeechRecognitionResult.cpp: Removed. |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ * src/WebViewImpl.h: |
+ (WebKit): |
+ |
+2012-04-03 Hans Wennborg <hans@chromium.org> |
+ |
+ Speech JavaScript API: Plumbing for Chromium |
+ https://bugs.webkit.org/show_bug.cgi?id=81667 |
+ |
+ Reviewed by Darin Fisher. |
+ |
+ Add plumbing for speech recognition. |
+ |
+ The implementer is expected to implement the WebSpeechRecognizer interface. |
+ The start(), stop(), and abort() functions of that interface take a |
+ WebSpeechRecognitionHandle argument, which identifies the object which has |
+ requested the action, and a pointer to a WebSpeechRecognitionClient interface, |
+ through which it should send back notifications on progress, errors, etc. |
+ |
+ SpeechRecognitionClientProxy passes data between the WebCore and WebKit layers, |
+ implementing the WebCore::SpeechRecognitionClient and WebKit::WebSpeechRecognizerClient |
+ interfaces. |
+ |
+ * WebKit.gyp: |
+ * public/WebSpeechGrammar.h: |
+ (WebCore): |
+ (WebKit): |
+ (WebSpeechGrammar): |
+ (WebKit::WebSpeechGrammar::WebSpeechGrammar): |
+ (WebKit::WebSpeechGrammar::~WebSpeechGrammar): |
+ * public/WebSpeechRecognitionHandle.h: Added. |
+ (WebCore): |
+ (WebKit): |
+ (WebSpeechRecognitionHandle): |
+ (WebKit::WebSpeechRecognitionHandle::~WebSpeechRecognitionHandle): |
+ (WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle): |
+ (WebKit::WebSpeechRecognitionHandle::operator=): |
+ (WebKit::operator==): |
+ (WebKit::operator!=): |
+ (WebKit::operator<): |
+ * public/WebSpeechRecognitionParams.h: |
+ (WebKit): |
+ (WebSpeechRecognitionParams): |
+ (WebKit::WebSpeechRecognitionParams::grammars): |
+ (WebKit::WebSpeechRecognitionParams::language): |
+ (WebKit::WebSpeechRecognitionParams::continuous): |
+ * public/WebSpeechRecognitionResult.h: Added. |
+ (WebCore): |
+ (WebKit): |
+ (WebSpeechRecognitionResult): |
+ (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult): |
+ (WebKit::WebSpeechRecognitionResult::~WebSpeechRecognitionResult): |
+ * public/WebSpeechRecognizer.h: |
+ (WebKit): |
+ (WebSpeechRecognizer): |
+ (WebKit::WebSpeechRecognizer::start): |
+ (WebKit::WebSpeechRecognizer::stop): |
+ (WebKit::WebSpeechRecognizer::abort): |
+ (WebKit::WebSpeechRecognizer::~WebSpeechRecognizer): |
+ * public/WebSpeechRecognizerClient.h: Added. |
+ (WebKit): |
+ (WebSpeechRecognizerClient): |
+ * public/WebViewClient.h: |
+ (WebKit): |
+ (WebViewClient): |
+ (WebKit::WebViewClient::speechRecognizer): |
+ * src/SpeechRecognitionClientProxy.cpp: Added. |
+ (WebKit): |
+ (WebKit::SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy): |
+ (WebKit::SpeechRecognitionClientProxy::create): |
+ (WebKit::SpeechRecognitionClientProxy::start): |
+ (WebKit::SpeechRecognitionClientProxy::stop): |
+ (WebKit::SpeechRecognitionClientProxy::abort): |
+ (WebKit::SpeechRecognitionClientProxy::didStartAudio): |
+ (WebKit::SpeechRecognitionClientProxy::didStartSound): |
+ (WebKit::SpeechRecognitionClientProxy::didStartSpeech): |
+ (WebKit::SpeechRecognitionClientProxy::didEndSpeech): |
+ (WebKit::SpeechRecognitionClientProxy::didEndSound): |
+ (WebKit::SpeechRecognitionClientProxy::didEndAudio): |
+ (WebKit::SpeechRecognitionClientProxy::didReceiveResult): |
+ (WebKit::SpeechRecognitionClientProxy::didReceiveNoMatch): |
+ (WebKit::SpeechRecognitionClientProxy::didDeleteResult): |
+ (WebKit::SpeechRecognitionClientProxy::didReceiveError): |
+ (WebKit::SpeechRecognitionClientProxy::didStart): |
+ (WebKit::SpeechRecognitionClientProxy::didEnd): |
+ (WebKit::SpeechRecognitionClientProxy::SpeechRecognitionClientProxy): |
+ * src/SpeechRecognitionClientProxy.h: Added. |
+ (WebKit): |
+ (SpeechRecognitionClientProxy): |
+ * src/WebSpeechGrammar.cpp: Added. |
+ (WebKit): |
+ (WebKit::WebSpeechGrammar::reset): |
+ (WebKit::WebSpeechGrammar::WebSpeechGrammar): |
+ (WebKit::WebSpeechGrammar::operator=): |
+ (WebKit::WebSpeechGrammar::src): |
+ (WebKit::WebSpeechGrammar::weight): |
+ * src/WebSpeechRecognitionHandle.cpp: Added. |
+ (WebKit): |
+ (WebKit::WebSpeechRecognitionHandle::reset): |
+ (WebKit::WebSpeechRecognitionHandle::assign): |
+ (WebKit::WebSpeechRecognitionHandle::equals): |
+ (WebKit::WebSpeechRecognitionHandle::lessThan): |
+ (WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle): |
+ (WebKit::WebSpeechRecognitionHandle::operator=): |
+ (WebKit::WebSpeechRecognitionHandle::operator PassRefPtr<SpeechRecognition>): |
+ * src/WebSpeechRecognitionParams.cpp: Added. |
+ (WebKit): |
+ (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams): |
+ * src/WebSpeechRecognitionResult.cpp: Added. |
+ (WebKit): |
+ (WebKit::WebSpeechRecognitionResult::assign): |
+ (WebKit::WebSpeechRecognitionResult::reset): |
+ (WebKit::WebSpeechRecognitionResult::operator PassRefPtr<WebCore::SpeechRecognitionResult>): |
+ * src/WebViewImpl.cpp: |
+ (WebKit::WebViewImpl::WebViewImpl): |
+ * src/WebViewImpl.h: |
+ (WebKit): |
+ |
+2012-04-03 Yuta Kitamura <yutak@chromium.org> |
+ |
+ Crash in WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel |
+ https://bugs.webkit.org/show_bug.cgi?id=82873 |
+ |
+ Reviewed by David Levin. |
+ |
+ Change the function signature of WorkerLoaderProxy::postTaskForModeToWorkerContext(). |
+ |
+ * src/WebSharedWorkerImpl.cpp: |
+ (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext): |
+ * src/WebSharedWorkerImpl.h: |
+ (WebSharedWorkerImpl): |
+ * src/WebWorkerClientImpl.cpp: |
+ (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext): |
+ * src/WebWorkerClientImpl.h: |
+ (WebWorkerClientImpl): |
+ |
+2012-04-03 Ian Vollick <vollick@chromium.org> |
+ |
+ [chromium] Include Image.h in TextFieldDecoratorImpl.cpp |
+ https://bugs.webkit.org/show_bug.cgi?id=83066 |
+ |
+ Reviewed by James Robinson. |
+ |
+ * src/TextFieldDecoratorImpl.cpp: |
+ |
+2012-04-03 Rafael Weinstein <rafaelw@chromium.org> |
+ |
+ Use V8 completion callback API to assert that V8RecursionScope is on the stack whenever invoking script |
+ https://bugs.webkit.org/show_bug.cgi?id=79131 |
+ |
+ Reviewed by Adam Barth. |
+ |
+ * WebKit.gyp: |
+ * public/WebFrame.h: |
+ (v8): |
+ (WebFrame): |
+ * src/WebFrameImpl.cpp: |
+ (WebKit): |
+ (WebKit::WebFrameImpl::callFunctionEvenIfScriptDisabled): |
+ * src/WebFrameImpl.h: |
+ (WebFrameImpl): |
+ * src/WebKit.cpp: |
+ (WebKit): |
+ (WebKit::assertV8RecursionScope): |
+ (WebKit::initialize): |
+ (WebKit::shutdown): |
+ |
+2012-04-03 Adam Barth <abarth@webkit.org> |
+ |
+ Unreviewed. This patch adds an ugly, ugly hack to bandaid over the |
+ Windows component build. See comments in the code for details. |
+ |
+ * src/WebKit.cpp: |
+ (WebKit::shutdown): |
+ |
+2012-04-03 Dimitri Glazkov <dglazkov@chromium.org> |
+ |
+ Unreviewed, rolling out r113087. |
+ http://trac.webkit.org/changeset/113087 |
+ https://bugs.webkit.org/show_bug.cgi?id=83068 |
+ |
+ Breaks Windows builds in other unpredictable ways. |
+ |
+ * WebKit.gyp: Removed the hack. |
+ |
2012-04-03 W. James MacLean <wjmaclean@chromium.org> |
[chromium] Switch touchpad fling curve physics to absolute (not scaled) curve. |