Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Unified Diff: Source/WebCore/ChangeLog

Issue 7134051: Merge 88396 - 2011-06-08 Sailesh Agrawal <sail@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/JavaScriptCore/wtf/Platform.h ('k') | Source/WebCore/platform/chromium/ScrollAnimatorChromiumMac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/ChangeLog
===================================================================
--- Source/WebCore/ChangeLog (revision 88459)
+++ Source/WebCore/ChangeLog (working copy)
@@ -1,3 +1,1122 @@
+2011-06-08 Sailesh Agrawal <sail@chromium.org>
+
+ Reviewed by Mihai Parparita.
+
+ Chromium Mac: Enable overlay scrollbars
+ https://bugs.webkit.org/show_bug.cgi?id=59756
+
+ Sync ScrollbarThemeChromiumMac.mm/.h with ScrollbarThemeMac.mm to pick up support for overlay scrollbars. The only changes are renaming ScrollbarThemeMac to ScrollbarThemeChromiumMac and using runtime checks instead of #ifdef's.
+
+ No new tests, since this code is only enabled on future versions of Mac OS X.
+
+ * platform/chromium/ScrollAnimatorChromiumMac.mm: All changes to this file except in scroll() were to swap #if USE(WK_SCROLLBAR_PAINTER) with runtime checks.
+ (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
+ (WebCore::ScrollAnimatorChromiumMac::~ScrollAnimatorChromiumMac):
+ (WebCore::ScrollAnimatorChromiumMac::notityPositionChanged):
+ (WebCore::ScrollAnimatorChromiumMac::contentAreaWillPaint):
+ (WebCore::ScrollAnimatorChromiumMac::mouseEnteredContentArea):
+ (WebCore::ScrollAnimatorChromiumMac::mouseExitedContentArea):
+ (WebCore::ScrollAnimatorChromiumMac::mouseMovedInContentArea):
+ (WebCore::ScrollAnimatorChromiumMac::willStartLiveResize):
+ (WebCore::ScrollAnimatorChromiumMac::contentsResized):
+ (WebCore::ScrollAnimatorChromiumMac::willEndLiveResize):
+ (WebCore::ScrollAnimatorChromiumMac::contentAreaDidShow):
+ (WebCore::ScrollAnimatorChromiumMac::contentAreaDidHide):
+ (WebCore::ScrollAnimatorChromiumMac::didBeginScrollGesture):
+ (WebCore::ScrollAnimatorChromiumMac::didEndScrollGesture):
+ (WebCore::ScrollAnimatorChromiumMac::didAddVerticalScrollbar):
+ (WebCore::ScrollAnimatorChromiumMac::willRemoveVerticalScrollbar):
+ (WebCore::ScrollAnimatorChromiumMac::didAddHorizontalScrollbar):
+ (WebCore::ScrollAnimatorChromiumMac::willRemoveHorizontalScrollbar):
+ (WebCore::ScrollAnimatorChromiumMac::cancelAnimations):
+ * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
+ (preferredScrollerStyle): Disabled overlay scrollbar styles due to trailing artifacts.
+ (wkScrollbarPainterPaint): Fixed a problem where the scrollbar track wasn't being drawn.
+ (wkScrollbarPainterKnobRect): Implemented a previously unimplemented function.
+ (wkSetScrollbarPainterKnobStyle): Implemented a function that's now supported by the latest Mac OS X seeds.
+ (isScrollbarOverlayAPIAvailable): Enabled new scrollbar code.
+ * platform/chromium/ScrollbarThemeChromiumMac.h:
+ * platform/chromium/ScrollbarThemeChromiumMac.mm: Sync with ScrollbarThemeMac.mm.
+ (WebCore::scrollbarMap):
+ (+[ScrollbarPrefsObserver appearancePrefsChanged:]):
+ (WebCore::updateArrowPlacement):
+ (WebCore::ScrollbarThemeChromiumMac::registerScrollbar):
+ (WebCore::ScrollbarThemeChromiumMac::unregisterScrollbar):
+ (WebCore::ScrollbarThemeChromiumMac::setNewPainterForScrollbar):
+ (WebCore::ScrollbarThemeChromiumMac::painterForScrollbar):
+ (WebCore::ScrollbarThemeChromiumMac::scrollbarThickness):
+ (WebCore::ScrollbarThemeChromiumMac::usesOverlayScrollbars):
+ (WebCore::ScrollbarThemeChromiumMac::hasButtons):
+ (WebCore::ScrollbarThemeChromiumMac::hasThumb):
+ (WebCore::buttonRepaintRect):
+ (WebCore::ScrollbarThemeChromiumMac::minimumThumbLength):
+ (WebCore::ScrollbarThemeChromiumMac::shouldDragDocumentInsteadOfThumb):
+ (WebCore::toScrollbarPainterKnobStyle):
+ (WebCore::ScrollbarThemeChromiumMac::paint):
+
+2011-06-06 Nate Chapin <japhet@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Remove all knowledge of CachedResourceRequests from
+ CachedResourceLoader. This puts the full burden of
+ canceling these requests on DocumentLoader (via
+ SubresourceLoader), and makes a CachedResourceRequest
+ an OwnPtr in CachedResource.
+
+ https://bugs.webkit.org/show_bug.cgi?id=62308
+
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::stopLoading):
+ * loader/cache/CachedResource.cpp:
+ (WebCore::CachedResource::CachedResource):
+ (WebCore::CachedResource::load):
+ (WebCore::CachedResource::stopLoading):
+ * loader/cache/CachedResource.h:
+ * loader/cache/CachedResourceLoader.cpp:
+ (WebCore::CachedResourceLoader::~CachedResourceLoader):
+ (WebCore::CachedResourceLoader::loadDone):
+ * loader/cache/CachedResourceLoader.h:
+ * loader/cache/CachedResourceRequest.cpp:
+ (WebCore::CachedResourceRequest::CachedResourceRequest):
+ (WebCore::CachedResourceRequest::~CachedResourceRequest):
+ (WebCore::CachedResourceRequest::load):
+ (WebCore::CachedResourceRequest::didFinishLoading):
+ (WebCore::CachedResourceRequest::didFail):
+ (WebCore::CachedResourceRequest::didReceiveResponse):
+ (WebCore::CachedResourceRequest::end):
+ * loader/cache/CachedResourceRequest.h:
+
+2011-06-08 Mike Reed <reed@google.com>
+
+ Reviewed by James Robinson.
+
+ [Skia] check for null-shader from gradient factory
+ https://bugs.webkit.org/show_bug.cgi?id=62319
+
+ * platform/graphics/skia/GradientSkia.cpp:
+ (WebCore::Gradient::platformDestroy):
+ (WebCore::Gradient::platformGradient):
+
+2011-06-08 Kenneth Russell <kbr@google.com>
+
+ Reviewed by Adam Barth.
+
+ Disallow use of cross-domain media (images, video) in WebGL
+ https://bugs.webkit.org/show_bug.cgi?id=62257
+
+ Updated WebGL implementation to track recent spec updates in this area.
+
+ Tests: http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html
+ http/tests/security/webgl-remote-read-remote-image-allowed.html
+ http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html
+
+ * html/canvas/CanvasRenderingContext.cpp:
+ (WebCore::CanvasRenderingContext::wouldTaintOrigin):
+ (WebCore::CanvasRenderingContext::checkOrigin):
+ * html/canvas/CanvasRenderingContext.h:
+ (WebCore::CanvasRenderingContext::checkOrigin):
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::readPixels):
+ (WebCore::WebGLRenderingContext::texImage2D):
+ (WebCore::WebGLRenderingContext::videoFrameToImage):
+ (WebCore::WebGLRenderingContext::texSubImage2D):
+ * html/canvas/WebGLRenderingContext.h:
+
+2011-06-08 John Bauman <jbauman@chromium.org>
+
+ Reviewed by James Robinson.
+
+ Only draw portions of tiles in contentRect
+ https://bugs.webkit.org/show_bug.cgi?id=62243
+
+ Old garbage data can remain in tiles, so make sure to draw only those
+ portions that are supposed to be drawn.
+
+ Test: compositing/repaint/shrink-layer.html
+
+ * platform/graphics/chromium/LayerTilerChromium.cpp:
+ (WebCore::LayerTilerChromium::draw):
+
+2011-06-08 Emil A Eklund <eae@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Convert RenderBlock::isPointInOverflowControl to IntPoint
+ https://bugs.webkit.org/show_bug.cgi?id=62312
+
+ Covered by existing tests.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::isPointInOverflowControl):
+ (WebCore::RenderBlock::nodeAtPoint):
+ * rendering/RenderBlock.h:
+ * rendering/RenderListBox.cpp:
+ (WebCore::RenderListBox::isPointInOverflowControl):
+ * rendering/RenderListBox.h:
+
+2011-06-08 James Simonsen <simonjam@chromium.org>
+
+ Reviewed by Tony Gentilcore.
+
+ Fix clang issue, virtual function const mismatch
+ https://bugs.webkit.org/show_bug.cgi?id=62307
+
+ No new tests. Built with clang & ran layout tests.
+
+ * page/MediaStreamFrameController.h:
+ (WebCore::MediaStreamFrameController::GenericClient::isGenericClient):
+
+2011-06-08 Chris Rogers <crogers@google.com>
+
+ Reviewed by Kenneth Russell.
+
+ Implement BiquadFilterNode for filter types: LOWPASS, HIGHPASS, BANDPASS, LOWSHELF, HIGHSHELF, PEAKING, NOTCH, ALLPASS
+ https://bugs.webkit.org/show_bug.cgi?id=62078
+
+ No new tests since audio API is not yet implemented.
+
+ * DerivedSources.make:
+ * WebCore.gypi:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/audio/Biquad.cpp:
+ (WebCore::Biquad::Biquad):
+ (WebCore::Biquad::reset):
+ (WebCore::Biquad::setLowpassParams):
+ (WebCore::Biquad::setHighpassParams):
+ (WebCore::Biquad::setNormalizedCoefficients):
+ (WebCore::Biquad::setLowShelfParams):
+ (WebCore::Biquad::setHighShelfParams):
+ (WebCore::Biquad::setPeakingParams):
+ (WebCore::Biquad::setAllpassParams):
+ (WebCore::Biquad::setNotchParams):
+ (WebCore::Biquad::setBandpassParams):
+ (WebCore::Biquad::setZeroPolePairs):
+ (WebCore::Biquad::setAllpassPole):
+ * platform/audio/Biquad.h:
+ * webaudio/AudioContext.cpp:
+ (WebCore::AudioContext::createBiquadFilter):
+ (WebCore::AudioContext::createLowPass2Filter):
+ (WebCore::AudioContext::createHighPass2Filter):
+ * webaudio/AudioContext.h:
+ * webaudio/AudioContext.idl:
+ * webaudio/AudioNode.h:
+ * webaudio/BiquadDSPKernel.cpp:
+ (WebCore::BiquadDSPKernel::process):
+ * webaudio/BiquadFilterNode.cpp: Added.
+ (WebCore::BiquadFilterNode::BiquadFilterNode):
+ * webaudio/BiquadFilterNode.h: Added.
+ (WebCore::BiquadFilterNode::create):
+ (WebCore::BiquadFilterNode::type):
+ (WebCore::BiquadFilterNode::setType):
+ (WebCore::BiquadFilterNode::frequency):
+ (WebCore::BiquadFilterNode::q):
+ (WebCore::BiquadFilterNode::gain):
+ (WebCore::BiquadFilterNode::biquadProcessor):
+ * webaudio/BiquadFilterNode.idl: Added.
+ * webaudio/BiquadProcessor.cpp:
+ (WebCore::BiquadProcessor::BiquadProcessor):
+ * webaudio/BiquadProcessor.h:
+ (WebCore::BiquadProcessor::setType):
+ * webaudio/HighPass2FilterNode.cpp:
+ (WebCore::HighPass2FilterNode::HighPass2FilterNode):
+ * webaudio/LowPass2FilterNode.cpp:
+ (WebCore::LowPass2FilterNode::LowPass2FilterNode):
+
+2011-06-08 No'am Rosenthal <noam.rosenthal@nokia.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ WebKit2: Enable serializing of data types needed for cross-process accelerated compositing
+ https://bugs.webkit.org/show_bug.cgi?id=61694
+
+ No new tests, code path is not activated yet.
+
+ * WebCore.xcodeproj/project.pbxproj: Changed the TransformOperation subclassed from "project" to "private"
+
+2011-06-08 Tom Sepez <tsepez@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Cause checks for insecure content blocking policy to callback to client.
+ https://bugs.webkit.org/show_bug.cgi?id=61946
+ Tests: platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-allowed.html
+ platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-blocked.html
+ platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-allowed.html
+ platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-blocked.html
+
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::checkIfDisplayInsecureContent):
+ (WebCore::FrameLoader::checkIfRunInsecureContent):
+ * loader/FrameLoaderClient.h:
+ (WebCore::FrameLoaderClient::allowDisplayingInsecureContent):
+ (WebCore::FrameLoaderClient::allowRunningInsecureContent):
+
+2011-06-08 Kevin Ollivier <kevino@theolliviers.com>
+
+ [wx] Build fix after introduction of FontCache::ShouldRetain
+
+ * platform/graphics/wx/FontCacheWx.cpp:
+ (WebCore::FontCache::getFontDataForCharacters):
+
+2011-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r88365.
+ http://trac.webkit.org/changeset/88365
+ https://bugs.webkit.org/show_bug.cgi?id=62301
+
+ windows bots broken (Requested by loislo_ on #webkit).
+
+ * inspector/InspectorValues.cpp:
+ (WebCore::InspectorBasicValue::writeJSON):
+
+2011-06-08 Mikołaj Małecki <m.malecki@samsung.com>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: Crash by buffer overrun crash when serializing inspector object tree.
+ https://bugs.webkit.org/show_bug.cgi?id=52791
+
+ No new tests. The problem can be reproduced by trying to create InspectorValue
+ from 1.0e-100 and call ->toJSONString() on this.
+
+ * inspector/InspectorValues.cpp:
+ (WebCore::InspectorBasicValue::writeJSON):
+ Added checking the predicted buffer size and choosing exponential format, or
+ eventually "NaN" if the buffer is too small for decimal format.
+
+2011-06-08 Nico Weber <thakis@chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Fix a ?: precedence error in ScrollbarThemeMac and ScrollbarThemeChromium
+ https://bugs.webkit.org/show_bug.cgi?id=62295
+
+ This was found by a new warning recently added to clang's -Wparentheses
+
+ * platform/chromium/ScrollbarThemeChromiumMac.mm:
+ (WebCore::ScrollbarThemeChromiumMac::backButtonRect):
+ * platform/mac/ScrollbarThemeMac.mm:
+ (WebCore::ScrollbarThemeMac::backButtonRect):
+
+2011-06-08 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
+
+ Reviewed by Andreas Kling.
+
+ [Qt] Remove dead code from our JSC bridge
+ https://bugs.webkit.org/show_bug.cgi?id=62287
+
+ The m_defaultMethod member is not used since r36848 and QtMethod
+ was replaced by QtRuntimeMethod and subclasses in r29729.
+
+ * bridge/qt/qt_instance.cpp:
+ (JSC::Bindings::QtInstance::removeCachedMethod):
+ (JSC::Bindings::QtInstance::visitAggregate):
+ * bridge/qt/qt_instance.h:
+ * bridge/qt/qt_runtime.h:
+
+2011-06-08 Ryan Sleevi <rsleevi@chromium.org>
+
+ Reviewed by Tony Chang.
+
+ Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6
+
+ Compiling Chromium port under GCC 4.6 produces warnings about nullptr
+ https://bugs.webkit.org/show_bug.cgi?id=62242
+
+ * WebCore.gyp/WebCore.gyp:
+
+2011-05-25 Xiaomei Ji <xji@chromium.org>
+
+ Reviewed by Ryosuke Niwa.
+
+ --webkit-visual-word does not work well in words separated by multiple spaces
+ https://bugs.webkit.org/show_bug.cgi?id=61324
+
+ Remove positionBeforeNextWord and positionAfterPreviousWord short-cuts. They try to find the
+ right word boundary (before the space or after the space) by using previousWordPosition and
+ nextWordPosition. But they assume words are separated by single space and are not correct
+ for words separated by multiple spaces and words not separated by space.
+
+ Consider positionBeforeNextWord() for example,
+
+ First, it checks whether the current position is after the current word by checking current
+ position's previousWordPosition's nextWordPosition is the same as current position, which is
+ wrong for words separated by multiple spaces. For example, given words A and B separated by
+ 3 continuous spaces "A B", position "A|", "A |", and "A |" should all be considered as
+ position after current word. But for position "A |", its previousWordPosition's
+ nextWordPosition is position "A|", which is different from its current position, so the
+ current position is not considered as a position after current word, consequently,
+ instead of returning the right position as "A |B", positionBeforeNextWord returns the
+ position before next next word, as "A B |C". Similar happens for position "A |".
+
+ Second, given 3 Chinese words "ABC" that are not segmented by space, when cursor is at
+ "A|BC", positionBeforeNextWord() returns the same position after calling current position's
+ nextWordPosition's previousWordPosition. It should returns position "AB|C".
+
+ For those cases, we will have to collect all the word breaks inside the box and look for
+ the one at left or right of current position.
+
+ * editing/visible_units.cpp:
+ (WebCore::leftWordPosition):
+ (WebCore::rightWordPosition):
+
+2011-06-08 Greg Simon <gregsimon@chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ Control Indexeddb backends from LayoutTestController
+ https://bugs.webkit.org/show_bug.cgi?id=61000
+
+ Test: storage/indexeddb/migrate-basics.html
+
+ * storage/IDBBackingStore.h:
+ * storage/IDBFactoryBackendImpl.cpp:
+ (WebCore::IDBFactoryBackendImpl::open):
+ (WebCore::IDBFactoryBackendImpl::migrate):
+ * storage/IDBFactoryBackendImpl.h:
+ * storage/IDBFactoryBackendInterface.h:
+ * storage/IDBLevelDBBackingStore.cpp:
+ (WebCore::IDBLevelDBBackingStore::backingStoreExists):
+ * storage/IDBLevelDBBackingStore.h:
+ (WebCore::IDBLevelDBBackingStore::backingStoreType):
+ * storage/IDBSQLiteBackingStore.cpp:
+ (WebCore::IDBSQLiteBackingStore::backingStoreExists):
+ * storage/IDBSQLiteBackingStore.h:
+ (WebCore::IDBSQLiteBackingStore::backingStoreType):
+
+2011-06-08 Dmitry Lomov <dslomov@google.com>
+
+ Reviewed by Adam Barth.
+
+ https://bugs.webkit.org/show_bug.cgi?id=62164
+ Remove "multi-threaded" logic in V8 DOMData, DOMDataStore and friends
+ This functionality is untested and unused:
+ This is an old code from Lockers-based implementation of WebWorkers in
+ V8 bindings, to make sure that DOM objects are released on the right thread
+ even though GC could have happened on any thread. It is currently unused (since
+ current model is one worker per process) and is being removed because new implementation
+ of WebWorkers will be using V8 isolates.
+
+ * WebCore.gypi:
+ * WebCore.pro:
+ * bindings/v8/ChildThreadDOMData.cpp: Removed.
+ * bindings/v8/ChildThreadDOMData.h: Removed.
+ * bindings/v8/DOMData.cpp:
+ (WebCore::DOMData::DOMData):
+ (WebCore::DOMData::getCurrent):
+ (WebCore::DOMData::getMainThreadStore):
+ * bindings/v8/DOMData.h:
+ (WebCore::DOMData::getStore):
+ (WebCore::DOMData::getCurrentMainThreadStore):
+ (WebCore::DOMData::handleWeakObject):
+ * bindings/v8/DOMDataStore.cpp:
+ (WebCore::DOMDataStore::DOMDataStore):
+ (WebCore::DOMDataStore::~DOMDataStore):
+ (WebCore::DOMDataStore::weakNodeCallback):
+ * bindings/v8/DOMDataStore.h:
+ * bindings/v8/MainThreadDOMData.cpp: Removed.
+ * bindings/v8/MainThreadDOMData.h: Removed.
+ * bindings/v8/V8DOMMap.cpp:
+ (WebCore::getDOMDataStore):
+ (WebCore::removeAllDOMObjects):
+ (WebCore::visitDOMNodes):
+ (WebCore::visitDOMObjects):
+ (WebCore::visitActiveDOMObjects):
+ (WebCore::visitDOMSVGElementInstances):
+ * bindings/v8/V8DOMMap.h:
+ * bindings/v8/V8GCController.cpp:
+ (WebCore::V8GCController::gcPrologue):
+ (WebCore::V8GCController::gcEpilogue):
+ * bindings/v8/WorkerScriptController.cpp:
+ (WebCore::WorkerScriptController::~WorkerScriptController):
+
+2011-06-08 Yael Aharon <yael.aharon@nokia.com>
+
+ Reviewed by Andreas Kling.
+
+ [Qt] Build fix for building QtWebKit inside of Qt.
+ https://bugs.webkit.org/show_bug.cgi?id=62280
+
+ Remove CONFIG=staticlib, because it causes the configure script to add -lwebcore
+ into QtWebKit.prl.
+
+ No new tests, as this is just a build fix.
+
+ * WebCore.pri:
+
+2011-06-08 Vsevolod Vlasov <vsevik@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: Render non-document HTML resources as HTML
+ https://bugs.webkit.org/show_bug.cgi?id=58886
+
+ * English.lproj/localizedStrings.js:
+ * WebCore.gypi:
+ * WebCore.vcproj/WebCore.vcproj:
+ * inspector/front-end/NetworkItemView.js:
+ (WebInspector.NetworkItemView):
+ * inspector/front-end/Resource.js:
+ (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType):
+ (WebInspector.Resource.prototype.hasErrorStatusCode):
+ * inspector/front-end/ResourceHTMLView.js: Added.
+ (WebInspector.ResourceHTMLView):
+ (WebInspector.ResourceHTMLView.prototype.hasContent):
+ (WebInspector.ResourceHTMLView.prototype.show):
+ (WebInspector.ResourceHTMLView.prototype.hide):
+ (WebInspector.ResourceHTMLView.prototype._createIFrame):
+ * inspector/front-end/ResourcePreviewView.js: Added.
+ (WebInspector.ResourcePreviewView):
+ (WebInspector.ResourcePreviewView.prototype.hasContent):
+ (WebInspector.ResourcePreviewView.prototype.show):
+ (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown.callback):
+ (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown):
+ (WebInspector.ResourcePreviewView.prototype._createInnerView):
+ * inspector/front-end/Settings.js:
+ (WebInspector.Settings):
+ * inspector/front-end/WebKit.qrc:
+ * inspector/front-end/inspector.css:
+ (.resource-view.html iframe):
+ * inspector/front-end/inspector.html:
+
+2011-05-18 Pavel Podivilov <podivilov@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ Web Inspector: hide script location to ui location conversion details from ScriptsPanel.
+ https://bugs.webkit.org/show_bug.cgi?id=61035
+
+ * inspector/front-end/DebuggerPresentationModel.js:
+ (WebInspector.DebuggerPresentationModel.prototype.sourceFileForScriptURL):
+ (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILocation.didRequestSourceMapping):
+ (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILocation):
+ * inspector/front-end/ScriptsPanel.js:
+ (WebInspector.ScriptsPanel.prototype.showAnchorLocation.didGetUILocation):
+ (WebInspector.ScriptsPanel.prototype.showAnchorLocation):
+
+2011-06-08 Tommy Widenflycht <tommyw@google.com>
+
+ Reviewed by Tony Gentilcore.
+
+ StreamEvent
+
+ Media Stream PeerConnection API: adding StreamEvent class
+ https://bugs.webkit.org/show_bug.cgi?id=61537
+
+ Tests for the Media Stream API will be provided by the bug 56587.
+
+ * CMakeLists.txt:
+ * CodeGenerators.pri:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * GNUmakefile.list.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSEventCustom.cpp:
+ (WebCore::toJS):
+ * bindings/v8/custom/V8EventCustom.cpp:
+ (WebCore::toV8):
+ * dom/DOMAllInOne.cpp:
+ * dom/Event.cpp:
+ (WebCore::Event::isStreamEvent):
+ * dom/Event.h:
+ * dom/StreamEvent.cpp: Added.
+ (WebCore::StreamEvent::create):
+ (WebCore::StreamEvent::StreamEvent):
+ (WebCore::StreamEvent::~StreamEvent):
+ (WebCore::StreamEvent::initStreamEvent):
+ (WebCore::StreamEvent::stream):
+ * dom/StreamEvent.h: Added.
+ (WebCore::StreamEvent::isStreamEvent):
+ * dom/StreamEvent.idl: Added.
+
+2011-06-08 Tommy Widenflycht <tommyw@google.com>
+
+ Reviewed by Tony Gentilcore.
+
+ Media Stream API: integrate the Track List objects into the existing code.
+ https://bugs.webkit.org/show_bug.cgi?id=60205
+
+ Tests for the Media Stream API will be provided by the bug 56587.
+
+ * dom/ExclusiveTrackList.cpp:
+ (WebCore::ExclusiveTrackList::select):
+ (WebCore::ExclusiveTrackList::trackFailed):
+ * dom/ExclusiveTrackList.h:
+ * dom/GeneratedStream.cpp:
+ (WebCore::GeneratedStream::create):
+ (WebCore::GeneratedStream::GeneratedStream):
+ (WebCore::GeneratedStream::streamEnded):
+ (WebCore::GeneratedStream::audioTracks):
+ (WebCore::GeneratedStream::videoTracks):
+ (WebCore::GeneratedStream::stop):
+ * dom/GeneratedStream.h:
+ * dom/GeneratedStream.idl:
+ * dom/MultipleTrackList.cpp:
+ (WebCore::MultipleTrackList::trackFailed):
+ (WebCore::MultipleTrackList::enable):
+ (WebCore::MultipleTrackList::disable):
+ * dom/MultipleTrackList.h:
+ * dom/Stream.h:
+ * dom/TrackList.cpp:
+ (WebCore::TrackList::clear):
+ (WebCore::TrackList::associateStream):
+ (WebCore::TrackList::associatedStreamLabel):
+ (WebCore::TrackList::trackFailed):
+ (WebCore::TrackList::scriptExecutionContext):
+ * dom/TrackList.h:
+ * page/MediaStreamClient.h:
+ * page/MediaStreamController.cpp:
+ (WebCore::MediaStreamController::enableAudioTrack):
+ (WebCore::MediaStreamController::disableAudioTrack):
+ (WebCore::MediaStreamController::selectVideoTrack):
+ (WebCore::MediaStreamController::streamGenerated):
+ (WebCore::MediaStreamController::audioTrackFailed):
+ (WebCore::MediaStreamController::videoTrackFailed):
+ * page/MediaStreamController.h:
+ * page/MediaStreamFrameController.cpp:
+ (WebCore::MediaStreamFrameController::unregister):
+ (WebCore::MediaStreamFrameController::enterDetachedState):
+ (WebCore::MediaStreamFrameController::disconnectFrame):
+ (WebCore::MediaStreamFrameController::enableAudioTrack):
+ (WebCore::MediaStreamFrameController::disableAudioTrack):
+ (WebCore::MediaStreamFrameController::selectVideoTrack):
+ (WebCore::MediaStreamFrameController::streamGenerated):
+ (WebCore::MediaStreamFrameController::audioTrackFailed):
+ (WebCore::MediaStreamFrameController::videoTrackFailed):
+ * page/MediaStreamFrameController.h:
+ (WebCore::MediaStreamFrameController::ClientBase::isGenericClient):
+ (WebCore::MediaStreamFrameController::GenericClient::GenericClient):
+ (WebCore::MediaStreamFrameController::GenericClient::~GenericClient):
+ (WebCore::MediaStreamFrameController::GenericClient::isGenericClient):
+ (WebCore::MediaStreamFrameController::GenericClient::unregister):
+
+2011-06-08 Pavel Podivilov <podivilov@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ Web Inspector: [REGRESSION] breakpoints are not persisted.
+ https://bugs.webkit.org/show_bug.cgi?id=62273
+
+ * inspector/front-end/Settings.js:
+
+2011-06-08 Alexander Pavlov <apavlov@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ Web Inspector: node selection is slow in the Elements panel.
+ https://bugs.webkit.org/show_bug.cgi?id=60813
+
+ Schedule full style updates rather than request all node styles from the backend immediately.
+
+ * inspector/front-end/StylesSidebarPane.js:
+ (WebInspector.StylesSidebarPane.prototype.update.reloadAllStyles):
+ (WebInspector.StylesSidebarPane.prototype.update):
+
+2011-06-08 Andreas Kling <andreas.kling@nokia.com>
+
+ Reviewed by Laszlo Gombos.
+
+ [Symbian] Float{32,64}Array and Int16Array fail to build.
+ https://bugs.webkit.org/show_bug.cgi?id=62219
+
+ For some reason, RVCT 2.x is moaning about "class member designated by
+ a using-declaration must be visible in a direct base class".
+ Apply same fix as r69122 and r76592.
+
+ * html/canvas/Float32Array.h:
+ (WebCore::Float32Array::set):
+ * html/canvas/Float64Array.h:
+ (WebCore::Float64Array::set):
+ * html/canvas/Int16Array.h:
+ (WebCore::Int16Array::set):
+
+2011-06-08 Syed Idris Shah <syed.idris-shah@nokia.com>
+
+ Reviewed by Andreas Kling.
+
+ [Qt] GL_POINT_SPRITE and GL_VERTEX_PROGRAM_POINT_SIZE should be enabled for desktop WebGL
+ https://bugs.webkit.org/show_bug.cgi?id=61945
+
+ For OpenGL ES we do not need these features.
+ These features are available via shaders in OpenGL ES. But for desktop WebGL using QtWebKit they should be enabled.
+
+ LayoutTests/fast/canvas/webgl/point-size.html
+
+ * platform/graphics/qt/GraphicsContext3DQt.cpp:
+ (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
+
+2011-06-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Unreviewed. Fix style error.
+
+ * platform/efl/RenderThemeEfl.cpp:
+ * platform/efl/RenderThemeEfl.h:
+
+2011-06-08 Hironori Bono <hbono@chromium.org>
+
+ Reviewed by Brent Fulgham.
+
+ Add SpellCheck API
+ https://bugs.webkit.org/show_bug.cgi?id=59693
+
+ This change adds two SpellCheck API functions (addSpellcheckRange and
+ removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
+ the public-webapps ML. This change is currently available only on Chromium.
+
+ Tests: editing/spelling/spellcheck-api-pixel.html
+ editing/spelling/spellcheck-api.html
+
+ * WebCore.gypi:
+ * bindings/generic/RuntimeEnabledFeatures.cpp:
+ * bindings/generic/RuntimeEnabledFeatures.h:
+ (WebCore::RuntimeEnabledFeatures::spellCheckAPIEnabled):
+ (WebCore::RuntimeEnabledFeatures::setSpellCheckAPIEnabled):
+ * dom/DocumentMarker.h:
+ (WebCore::DocumentMarker::length):
+ * dom/DocumentMarkerController.cpp:
+ (WebCore::DocumentMarkerController::userSpellingMarkersForNode):
+ (WebCore::DocumentMarkerController::addUserSpellingMarker):
+ (WebCore::DocumentMarkerController::removeUserSpellingMarker):
+ (WebCore::DocumentMarkerController::userSpellingNode):
+ * dom/DocumentMarkerController.h:
+ * html/HTMLDivElement.cpp:
+ (WebCore::HTMLDivElement::spellcheckRanges):
+ (WebCore::HTMLDivElement::addSpellcheckRange):
+ (WebCore::HTMLDivElement::removeSpellcheckRange):
+ * html/HTMLDivElement.h:
+ * html/HTMLDivElement.idl:
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::spellcheckRanges):
+ (WebCore::HTMLInputElement::addSpellcheckRange):
+ (WebCore::HTMLInputElement::removeSpellcheckRange):
+ * html/HTMLInputElement.h:
+ * html/HTMLInputElement.idl:
+ * html/HTMLTextAreaElement.cpp:
+ (WebCore::HTMLTextAreaElement::spellcheckRanges):
+ (WebCore::HTMLTextAreaElement::addSpellcheckRange):
+ (WebCore::HTMLTextAreaElement::removeSpellcheckRange):
+ * html/HTMLTextAreaElement.h:
+ * html/HTMLTextAreaElement.idl:
+ * html/SpellcheckRange.cpp: Added.
+ (WebCore::SpellcheckRange::SpellcheckRange):
+ (WebCore::SpellcheckRange::~SpellcheckRange):
+ * html/SpellcheckRange.h: Added.
+ (WebCore::SpellcheckRange::create):
+ (WebCore::SpellcheckRange::start):
+ (WebCore::SpellcheckRange::length):
+ (WebCore::SpellcheckRange::suggestions):
+ (WebCore::SpellcheckRange::options):
+ * html/SpellcheckRange.idl: Added.
+ * html/SpellcheckRangeList.cpp: Added.
+ (WebCore::SpellcheckRangeList::SpellcheckRangeList):
+ (WebCore::SpellcheckRangeList::~SpellcheckRangeList):
+ (WebCore::SpellcheckRangeList::item):
+ * html/SpellcheckRangeList.h: Added.
+ (WebCore::SpellcheckRangeList::create):
+ (WebCore::SpellcheckRangeList::isEmpty):
+ (WebCore::SpellcheckRangeList::clear):
+ (WebCore::SpellcheckRangeList::append):
+ (WebCore::SpellcheckRangeList::remove):
+ (WebCore::SpellcheckRangeList::length):
+ * html/SpellcheckRangeList.idl: Added.
+ * rendering/InlineTextBox.cpp:
+ (WebCore::textCheckingLineStyleForMarkerType):
+ (WebCore::InlineTextBox::paintDocumentMarkers):
+
+2011-06-07 Andrey Kosyakov <caseq@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: remove shadow dom inspection from Elements panel by default.
+ https://bugs.webkit.org/show_bug.cgi?id=62188
+
+ This reverts r85751
+
+ * dom/Element.cpp:
+ (WebCore::Element::ensureShadowRoot):
+ (WebCore::Element::removeShadowRoot):
+ * inspector/Inspector.json:
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
+ (WebCore::InspectorDOMAgent::buildObjectForNode):
+ (WebCore::InspectorDOMAgent::didInsertDOMNode):
+ (WebCore::InspectorDOMAgent::didRemoveDOMNode):
+ * inspector/InspectorDOMAgent.h:
+ * inspector/front-end/DOMAgent.js:
+ (WebInspector.DOMNode):
+ (WebInspector.DOMNode.prototype._renumber):
+ (WebInspector.DOMAgent.prototype._bindNodes):
+ (WebInspector.DOMAgent.prototype.querySelectorAll):
+ (WebInspector.DOMDispatcher.prototype.searchResults):
+ * inspector/front-end/ElementsPanel.js:
+ (WebInspector.ElementsPanel):
+ (WebInspector.ElementsPanel.prototype._attributesUpdated):
+ (WebInspector.ElementsPanel.prototype._characterDataModified):
+ (WebInspector.ElementsPanel.prototype._nodeInserted):
+ (WebInspector.ElementsPanel.prototype._nodeRemoved):
+ (WebInspector.ElementsPanel.prototype.updateModifiedNodes):
+ (WebInspector.ElementsPanel.prototype.updateBreadcrumb):
+ * inspector/front-end/ElementsTreeOutline.js:
+ (WebInspector.ElementsTreeElement):
+ (WebInspector.ElementsTreeElement.prototype._updateChildren.updateChildrenOfNode):
+ (WebInspector.ElementsTreeElement.prototype._updateChildren):
+ ():
+ * inspector/front-end/inspector.css:
+ * inspector/front-end/utilities.js:
+ (Element.prototype.query):
+
+2011-06-08 Mark Rowe <mrowe@apple.com>
+
+ Fix the build.
+
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundation::timeChanged):
+ (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
+
+2011-06-07 Keishi Hattori <keishi@webkit.org>
+
+ Reviewed by Kent Tamura.
+
+ Rename HTMLInputElement::m_value to m_valueIfDirty
+ https://bugs.webkit.org/show_bug.cgi?id=61990
+
+ No new tests because no behavior change.
+
+ * html/HTMLInputElement.cpp: Replaced m_value with m_valueIfDirty.
+ (WebCore::HTMLInputElement::tooLong):
+ (WebCore::HTMLInputElement::updateType):
+ (WebCore::HTMLInputElement::parseMappedAttribute):
+ (WebCore::HTMLInputElement::copyNonAttributeProperties):
+ (WebCore::HTMLInputElement::value):
+ (WebCore::HTMLInputElement::setValue):
+ (WebCore::HTMLInputElement::setValueFromRenderer):
+ (WebCore::HTMLInputElement::updateValueIfNeeded):
+ * html/HTMLInputElement.h: Renamed m_value to m_valueIfDirty.
+ (WebCore::HTMLInputElement::hasDirtyValue): Added. Returns the dirty value flag.
+
+2011-06-07 Ian Henderson <ianh@apple.com>
+
+ Reviewed by Dan Bernstein.
+
+ (CG) Sub-image drawing clips unnecessarily
+ https://bugs.webkit.org/show_bug.cgi?id=62258
+
+ If destRect completely encompasses the adjustedDestRect into which we
+ draw, clipping to destRect will do nothing. Skip the call to
+ CGContextClipToRect in this case.
+
+ * platform/graphics/cg/ImageCG.cpp:
+ (WebCore::BitmapImage::draw):
+
+2011-06-07 Emil A Eklund <eae@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Convert nodeAtPoint to IntPoint
+ https://bugs.webkit.org/show_bug.cgi?id=62145
+
+ Convert nodeAtPoint to take an IntPoint instead of a pair of ints for the
+ accumulated offset.
+
+ Covered by existing tests.
+
+ * platform/graphics/FloatPoint.h:
+ (WebCore::FloatPoint::moveBy):
+ Add moveBy(IntPoint) method
+
+ * rendering/EllipsisBox.cpp:
+ (WebCore::EllipsisBox::nodeAtPoint):
+ * rendering/EllipsisBox.h:
+ * rendering/InlineBox.cpp:
+ (WebCore::InlineBox::nodeAtPoint):
+ * rendering/InlineBox.h:
+ * rendering/InlineFlowBox.cpp:
+ (WebCore::InlineFlowBox::nodeAtPoint):
+ * rendering/InlineFlowBox.h:
+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::nodeAtPoint):
+ * rendering/InlineTextBox.h:
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::nodeAtPoint):
+ (WebCore::RenderBlock::hitTestContents):
+ * rendering/RenderBlock.h:
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::nodeAtPoint):
+ * rendering/RenderBox.h:
+ * rendering/RenderFrameSet.cpp:
+ (WebCore::RenderFrameSet::nodeAtPoint):
+ * rendering/RenderFrameSet.h:
+ * rendering/RenderImage.cpp:
+ (WebCore::RenderImage::nodeAtPoint):
+ * rendering/RenderImage.h:
+ * rendering/RenderInline.cpp:
+ (WebCore::RenderInline::nodeAtPoint):
+ * rendering/RenderInline.h:
+ * rendering/RenderLineBoxList.cpp:
+ (WebCore::RenderLineBoxList::hitTest):
+ * rendering/RenderListBox.cpp:
+ (WebCore::RenderListBox::nodeAtPoint):
+ * rendering/RenderListBox.h:
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::hitTest):
+ * rendering/RenderObject.h:
+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::nodeAtPoint):
+ * rendering/RenderTable.h:
+ * rendering/RenderTableRow.cpp:
+ (WebCore::RenderTableRow::nodeAtPoint):
+ * rendering/RenderTableRow.h:
+ * rendering/RenderTableSection.cpp:
+ (WebCore::RenderTableSection::nodeAtPoint):
+ * rendering/RenderTableSection.h:
+ * rendering/RenderText.h:
+ (WebCore::RenderText::nodeAtPoint):
+ * rendering/RenderTextControlMultiLine.cpp:
+ (WebCore::RenderTextControlMultiLine::nodeAtPoint):
+ * rendering/RenderTextControlMultiLine.h:
+ * rendering/RenderTextControlSingleLine.cpp:
+ (WebCore::RenderTextControlSingleLine::nodeAtPoint):
+ * rendering/RenderTextControlSingleLine.h:
+ * rendering/RenderWidget.cpp:
+ (WebCore::RenderWidget::nodeAtPoint):
+ * rendering/RenderWidget.h:
+ * rendering/RootInlineBox.cpp:
+ (WebCore::RootInlineBox::nodeAtPoint):
+ * rendering/RootInlineBox.h:
+ * rendering/svg/RenderSVGForeignObject.cpp:
+ (WebCore::RenderSVGForeignObject::nodeAtFloatPoint):
+ (WebCore::RenderSVGForeignObject::nodeAtPoint):
+ * rendering/svg/RenderSVGForeignObject.h:
+ * rendering/svg/RenderSVGModelObject.cpp:
+ (WebCore::RenderSVGModelObject::nodeAtPoint):
+ * rendering/svg/RenderSVGModelObject.h:
+ * rendering/svg/RenderSVGRoot.cpp:
+ (WebCore::RenderSVGRoot::nodeAtPoint):
+ * rendering/svg/RenderSVGRoot.h:
+ * rendering/svg/RenderSVGText.cpp:
+ (WebCore::RenderSVGText::nodeAtFloatPoint):
+ (WebCore::RenderSVGText::nodeAtPoint):
+ * rendering/svg/RenderSVGText.h:
+
+2011-06-07 Yi Shen <yi.4.shen@nokia.com>
+
+ Reviewed by Simon Hausmann.
+
+ [Qt] Fix the error code for media resource failures when using QtMobility
+ https://bugs.webkit.org/show_bug.cgi?id=55901
+
+ To indicate the media resource failures, set the network state to
+ MediaPlayer::FormatError when receives QMediaPlayer::InvalidMedia or
+ QMediaPlayer::ResourceError.
+
+ * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
+ (WebCore::MediaPlayerPrivateQt::updateStates):
+
+2011-06-07 Emil A Eklund <eae@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Change RenderBlock::hitTestFloats to IntPoint
+ https://bugs.webkit.org/show_bug.cgi?id=62176
+
+ Covered by existing tests.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::nodeAtPoint):
+ (WebCore::RenderBlock::hitTestFloats):
+ (WebCore::RenderBlock::hitTestColumns):
+ * rendering/RenderBlock.h:
+
+2011-06-07 Tim Horton <timothy_horton@apple.com>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Use correct CFURLStorageSessionRef definition on Snow Leopard
+ https://bugs.webkit.org/show_bug.cgi?id=62223
+
+ * platform/mac/WebCoreSystemInterface.h:
+ * platform/network/ResourceHandle.h:
+ * platform/network/cf/ResourceRequest.h:
+
+2011-06-07 Emil A Eklund <eae@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Change RenderBlock::hitTestColumns to IntPoint
+ https://bugs.webkit.org/show_bug.cgi?id=62172
+
+ Covered by existing tests.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::nodeAtPoint):
+ (WebCore::RenderBlock::hitTestColumns):
+ * rendering/RenderBlock.h:
+
+2011-06-07 Simon Fraser <simon.fraser@apple.com>
+
+ Reviewed by Darin Adler.
+
+ Opacity transition doesn't work while content property is set.
+ https://bugs.webkit.org/show_bug.cgi?id=59301
+
+ StyleRareNonInheritedData's copy constructor omitted to copy
+ the m_content data, which caused us to detach and re-attach the renderer
+ at the start of the transition, thereby killing the transition.
+
+ Fix by making StyleRareNonInheritedData's copy ctor do the right thing.
+
+ Test: transitions/transition-on-element-with-content.html
+
+ * rendering/style/ContentData.h:
+ * rendering/style/ContentData.cpp:
+ (WebCore::ContentData::clone): New method to do a deep clone. (Can't use a copy
+ ctor because of the subclasses.)
+ * rendering/style/CounterDirectives.h: Pack the data members to save space.
+ Add a clone() function for the HashMap.
+ * rendering/style/CounterDirectives.cpp:
+ (WebCore::clone): Make a new HashMap and copy the contents over.
+ * rendering/style/StyleRareNonInheritedData.cpp:
+ (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): Copy
+ the content and counter directives over.
+ (WebCore::StyleRareNonInheritedData::operator==): Rather than just comparing
+ for pointer equality, do a correct check for m_counterDirectives equality.
+ (WebCore::StyleRareNonInheritedData::counterDataEquivalent):
+ * rendering/style/StyleRareNonInheritedData.h:
+
+2011-06-07 Robert Kroeger <rjkroege@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ [chromium] Add a basic gesture recognizer to the Chromium platform
+ https://bugs.webkit.org/show_bug.cgi?id=54417
+
+ Adds a basic gesture recognizer to the Chromium platform. Adds an entry
+ point to the GestureRecognizer to reset any internal state on a page reset.
+ Resetting the gesture recognizer on page load is necesary for reliable
+ layout test execution and improves gesture recognizer operational
+ robustness.
+
+ Added an additional constructor to permit building a synthetic
+ PlatformWheelEvent.
+
+ Small modifications to the PlatformGestureRecognizer as required to
+ implement the simple Chromium platform gesture recognizer.
+
+ Tests: fast/events/touch/touch-gesture-click.html
+
+ * WebCore.gypi:
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::resetGestureRecognizer):
+ * page/EventHandler.h:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::reset):
+ * platform/PlatformGestureRecognizer.h:
+ * platform/PlatformWheelEvent.h:
+ (WebCore::PlatformWheelEvent::PlatformWheelEvent):
+ * platform/chromium/GestureRecognizerChromium.cpp: Added.
+ (WebCore::InnerGestureRecognizer::InnerGestureRecognizer):
+ (WebCore::InnerGestureRecognizer::reset):
+ (WebCore::InnerGestureRecognizer::~InnerGestureRecognizer):
+ (WebCore::InnerGestureRecognizer::addEdgeFunction):
+ (WebCore::InnerGestureRecognizer::isInClickTimeWindow):
+ (WebCore::InnerGestureRecognizer::isInsideManhattanSquare):
+ (WebCore::InnerGestureRecognizer::dispatchSyntheticClick):
+ (WebCore::InnerGestureRecognizer::processTouchEventForGesture):
+ (WebCore::InnerGestureRecognizer::scrollViaTouchMotion):
+ (WebCore::InnerGestureRecognizer::updateValues):
+ (WebCore::InnerGestureRecognizer::signature):
+ (WebCore::touchDown):
+ (WebCore::noGesture):
+ (WebCore::click):
+ (WebCore::isClickOrScroll):
+ (WebCore::inScroll):
+ (WebCore::PlatformGestureRecognizer::create):
+ (WebCore::PlatformGestureRecognizer::PlatformGestureRecognizer):
+ (WebCore::PlatformGestureRecognizer::~PlatformGestureRecognizer):
+ (WebCore::GestureRecognizerChromium::GestureRecognizerChromium):
+ (WebCore::GestureRecognizerChromium::~GestureRecognizerChromium):
+ * platform/chromium/GestureRecognizerChromium.h: Added.
+ (WebCore::InnerGestureRecognizer::setState):
+ (WebCore::InnerGestureRecognizer::state):
+ (WebCore::GestureRecognizerChromium::reset):
+ (WebCore::GestureRecognizerChromium::processTouchEventForGesture):
+
+2011-06-07 No'am Rosenthal <noam.rosenthal@nokia.com>
+
+ Reviewed by Andreas Kling.
+
+ [Texmap][Qt] Enable TextureMapper by default
+ https://bugs.webkit.org/show_bug.cgi?id=61740
+
+ Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL path. This would mean that
+ for now QtWebKit on Windows/Symbian would use the Qt backend for TextureMapper.
+
+ No new functionality so no new tests.
+
+ * WebCore.pri:
+ * WebCore.pro:
+ * platform/graphics/qt/GraphicsContext3DQt.cpp:
+ * platform/graphics/qt/TextureMapperQt.cpp:
+ (WebCore::TextureMapper::create):
+
+2011-06-07 Emil A Eklund <eae@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Convert RenderBox::absoluteRects to IntPoint
+ https://bugs.webkit.org/show_bug.cgi?id=62130
+
+ Covered by existing tests.
+
+ * dom/Node.cpp:
+ (WebCore::Node::hasNonEmptyBoundingBox):
+ * rendering/InlineBox.h:
+ (WebCore::InlineBox::size):
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::absoluteRects):
+ * rendering/RenderBlock.h:
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::absoluteRects):
+ * rendering/RenderBox.h:
+ * rendering/RenderInline.cpp:
+ (WebCore::RenderInline::absoluteRects):
+ * rendering/RenderInline.h:
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::absoluteBoundingBoxRect):
+ * rendering/RenderObject.h:
+ (WebCore::RenderObject::absoluteRects):
+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::absoluteRects):
+ * rendering/RenderText.h:
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::absoluteRects):
+ * rendering/RenderView.h:
+ * rendering/svg/RenderSVGBlock.cpp:
+ (WebCore::RenderSVGBlock::absoluteRects):
+ * rendering/svg/RenderSVGBlock.h:
+ * rendering/svg/RenderSVGModelObject.cpp:
+ (WebCore::RenderSVGModelObject::absoluteRects):
+ * rendering/svg/RenderSVGModelObject.h:
+
+2011-06-07 Kent Tamura <tkent@chromium.org>
+
+ Reviewed by Andreas Kling.
+
+ [Qt] RenderThemeQt::adjustSliderThumbSize() should not refer to the parent style.
+ https://bugs.webkit.org/show_bug.cgi?id=62207
+
+ * css/mediaControlsQt.css: Add comments.
+ (audio::-webkit-media-controls-timeline):
+ (video::-webkit-media-controls-timeline):
+ (audio::-webkit-media-controls-volume-slider):
+ (video::-webkit-media-controls-volume-slider):
+ * platform/qt/RenderThemeQt.cpp: Use fixed values to avoid referring to o->parent().
+ (WebCore::RenderThemeQt::adjustSliderThumbSize):
+
2011-06-07 Sailesh Agrawal <sail@chromium.org>
Reviewed by Mihai Parparita.
« no previous file with comments | « Source/JavaScriptCore/wtf/Platform.h ('k') | Source/WebCore/platform/chromium/ScrollAnimatorChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698