blob: e9f6354b8d98a5dbd57d92f6075e2ac60460f8f6 [file] [log] [blame]
2010-09-08 Darin Adler <darin@apple.com>
Reviewed by Adam Barth.
Move functions from Frame to Editor as planned
https://bugs.webkit.org/show_bug.cgi?id=45218
* src/ContextMenuClientImpl.cpp:
(WebKit::selectMisspelledWord):
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::find):
(WebKit::WebFrameImpl::stopFinding):
(WebKit::WebFrameImpl::scopeStringMatches):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::caretOrSelectionBounds):
Changed call sites to use editor().
2010-09-09 Kenneth Russell <kbr@google.com>
Reviewed by James Robinson.
Memory leak in red/black tree
https://bugs.webkit.org/show_bug.cgi?id=45472
Fixed memory leak in red/black tree where it was using operator
new directly to allocate its internal nodes rather than the arena
with which it was configured. Added allocateObject variant to
arena supporting single-argument constructors. Added test to
red/black tree unit tests to cover this functionality, and
refactored TrackedAllocator into helper file to share between
arena and red/black tree tests.
* WebKit.gyp:
* tests/ArenaTestHelpers.h: Added.
(WebCore::ArenaTestHelpers::TrackedAllocator::create):
(WebCore::ArenaTestHelpers::TrackedAllocator::allocate):
(WebCore::ArenaTestHelpers::TrackedAllocator::free):
(WebCore::ArenaTestHelpers::TrackedAllocator::isEmpty):
(WebCore::ArenaTestHelpers::TrackedAllocator::numRegions):
(WebCore::ArenaTestHelpers::TrackedAllocator::TrackedAllocator):
* tests/PODArenaTest.cpp:
* tests/PODRedBlackTreeTest.cpp:
(WebCore::TEST):
2010-09-09 Tony Chang <tony@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] make linux checksums computed from pngs to match windows
https://bugs.webkit.org/show_bug.cgi?id=45465
* src/WebKit.cpp:
(WebKit::areLayoutTestImagesOpaque): Make linux match windows.
2010-09-09 Chris Guillory <chris.guillory@google.com>
Reviewed by Chris Fleizach.
Add methods used to determine accessibility state.
https://bugs.webkit.org/show_bug.cgi?id=45434
* public/WebAccessibilityObject.h:
* src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::canSetSelectedAttribute):
(WebKit::WebAccessibilityObject::isCollapsed):
(WebKit::WebAccessibilityObject::isLinked):
(WebKit::WebAccessibilityObject::isReadOnly):
(WebKit::WebAccessibilityObject::isVisible):
2010-09-08 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: add a sanity test for DOM storage view in the storage panel
https://bugs.webkit.org/show_bug.cgi?id=45294
* src/js/Tests.js: removed testStoragePanel which was superseded by inspector layout tests.
2010-09-08 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: test that debugger won't pause on syntax errors
https://bugs.webkit.org/show_bug.cgi?id=45388
* src/js/Tests.js: removed testAutoContinueOnSyntaxError which is now covered by
inspector/debugger-autocontinue-on-syntax-error.html layout test
2010-09-08 Peter Kasting <pkasting@google.com>
Reviewed by David Hyatt.
Add smooth scrolling framework, and a Windows implementation.
https://bugs.webkit.org/show_bug.cgi?id=32356
* src/WebScrollbarImpl.cpp: Plumb new ScrollbarClient functions. Allow wheel scrolls to be animated.
(WebKit::WebScrollbarImpl::setLocation):
(WebKit::WebScrollbarImpl::setValue):
(WebKit::WebScrollbarImpl::scroll):
(WebKit::WebScrollbarImpl::onMouseWheel):
(WebKit::WebScrollbarImpl::onKeyDown):
(WebKit::WebScrollbarImpl::setScrollOffsetFromAnimation):
* src/WebScrollbarImpl.h: Plumb new ScrollbarClient functions.
* src/win/WebInputEventFactory.cpp: Update comments now that we have smooth scrolling.
(WebKit::WebInputEventFactory::mouseWheelEvent):
2010-09-08 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: remove some obsolete interactive tests
https://bugs.webkit.org/show_bug.cgi?id=45371
* src/js/Tests.js:
2010-09-08 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
Plug leak in WebDeviceOrientationClientMock
https://bugs.webkit.org/show_bug.cgi?id=45305
WebDeviceOrientationClientMock is responsible for destroying the
WebDeviceOrientationController object pointed to by the argument
passed to the setController() member function.
Also use the new WebPrivateOnwPtr for m_clientMock.
* public/WebDeviceOrientationClientMock.h:
* src/WebDeviceOrientationClientMock.cpp:
(WebKit::WebDeviceOrientationClientMock::setController):
(WebKit::WebDeviceOrientationClientMock::initialize):
(WebKit::WebDeviceOrientationClientMock::reset):
2010-09-07 Tony Chang <tony@chromium.org>
Reviewed by Darin Fisher.
[chromium] Make a public flag for how DRT generates bitmaps on Linux
https://bugs.webkit.org/show_bug.cgi?id=45133
This is so it's possible for me to fix
http://code.google.com/p/chromium/issues/detail?id=21386 .
* public/WebKit.h: Add areLayoutTestImagesOpaque()
* src/WebKit.cpp:
(WebKit::areLayoutTestImagesOpaque):
2010-09-07 Dimitri Glazkov <dglazkov@chromium.org>
Unreviewed, rolling out r66886.
http://trac.webkit.org/changeset/66886
https://bugs.webkit.org/show_bug.cgi?id=45112
Made
* public/WebGeolocationService.h:
* src/WebGeolocationServiceBridgeImpl.cpp:
(WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
(WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
(WebKit::WebGeolocationServiceBridgeImpl::suspend):
(WebKit::WebGeolocationServiceBridgeImpl::resume):
(WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
(WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
(WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
(WebKit::WebGeolocationServiceBridgeImpl::setLastError):
(WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
(WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed):
* src/WebGeolocationServiceMock.cpp:
2010-09-07 Jonathan Dixon <joth@chromium.org>
Reviewed by Jeremy Orlow.
Access to out-of-scope WebGeolocationServiceBridgeImpl
https://bugs.webkit.org/show_bug.cgi?id=45112
Keep the WebGeolocationService pointer for lifetime of the bridge, to
ensure it can be detached reliably
* public/WebGeolocationServiceBridge.h:
(WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge):
* src/WebGeolocationServiceBridgeImpl.cpp:
(WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
(WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
(WebKit::WebGeolocationServiceBridgeImpl::suspend):
(WebKit::WebGeolocationServiceBridgeImpl::resume):
(WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
2010-09-07 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: upstream two debugger tests
https://bugs.webkit.org/show_bug.cgi?id=45262
* src/js/Tests.js:
2010-09-06 Jonathan Dixon <joth@chromium.org>
Reviewed by Jeremy Orlow.
Add new interface and empty impl. as precursor to bug 45112
https://bugs.webkit.org/show_bug.cgi?id=45257
* public/WebGeolocationServiceBridge.h:
(WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge):
* src/WebGeolocationServiceBridgeImpl.cpp:
(WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed):
2010-09-06 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: fix chromium devtools tests
https://bugs.webkit.org/show_bug.cgi?id=45258
* src/js/Tests.js:
(.TestSuite.prototype._waitForScriptPause):
2010-08-26 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
Add index insertion support to IndexedDB.
https://bugs.webkit.org/show_bug.cgi?id=44695
Add asserts on the [] operator.
* public/WebVector.h:
(WebKit::WebVector::operator[]):
2010-09-06 Anton Muhin <antonm@chromium.org>
Reviewed by Adam Barth.
[v8] bypass caches when query memory usage from post GC and in crash handler.
https://bugs.webkit.org/show_bug.cgi?id=45036
Add Chromium-specific API to query actual memory usage which bypasses any caches.
* public/WebKitClient.h:
(WebKit::WebKitClient::actualMemoryUsageMB):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::actualMemoryUsageMB):
2010-09-05 Peter Kasting <pkasting@google.com>
Reviewed by Adam Barth.
Make Chromium/Mac generate continuous mousewheel events with the same wheelDelta values as Safari/Mac.
https://bugs.webkit.org/show_bug.cgi?id=45155
* src/mac/WebInputEventFactory.mm:
(WebKit::WebInputEventFactory::mouseWheelEvent):
2010-09-05 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: remove WebDevToolsAgentClient::forceRepaint which is not used
https://bugs.webkit.org/show_bug.cgi?id=45179
* public/WebDevToolsAgentClient.h:
* src/DebuggerAgentImpl.cpp:
(WebKit::DebuggerAgentImpl::debuggerOutput):
* src/WebDevToolsAgentImpl.cpp:
* src/WebDevToolsAgentImpl.h:
2010-09-05 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Add unit tests for interval tree
https://bugs.webkit.org/show_bug.cgi?id=45161
* WebKit.gyp:
* tests/PODIntervalTreeTest.cpp: Added.
(WebCore::valueToString):
(WebCore::TEST):
(WebCore::UserData1::valueToString):
(WebCore::EndpointType1::valueToString):
2010-09-05 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Add unit tests for red-black tree and (POD) arena
https://bugs.webkit.org/show_bug.cgi?id=45060
* WebKit.gyp:
* tests/PODArenaTest.cpp: Added.
(WebCore::TestClass1::TestClass2::TestClass2):
(WebCore::TEST_F):
* tests/PODRedBlackTreeTest.cpp: Added.
(WebCore::TEST):
* tests/TreeTestHelpers.cpp: Added.
(WebCore::TreeTestHelpers::generateSeed):
(WebCore::TreeTestHelpers::initRandom):
(WebCore::TreeTestHelpers::nextRandom):
* tests/TreeTestHelpers.h: Added.
2010-09-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed by Darin Adler.
Add NetworkingContext to avoid layer violations
https://bugs.webkit.org/show_bug.cgi?id=42292
Add Chromium's implementation of NetworkingContext.
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::createNetworkingContext):
* src/FrameLoaderClientImpl.h:
2010-09-02 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
[chromium] Revert to software compositing if the accelerated
compositor fails to initialize. If we tried to initialize the compositor
for this WebView and failed, next time the associated chrome client is
asked whether it can do accelerated compositing it will return false.
https://bugs.webkit.org/show_bug.cgi?id=45124
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::allowsAcceleratedCompositing):
* src/ChromeClientImpl.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImpl::allowsAcceleratedCompositing):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit::WebViewImpl::getOnscreenGLES2Context):
* src/WebViewImpl.h:
2010-09-03 James Robinson <jamesr@chromium.org>
[chromium] Add one more include to fix the mac compile.
* src/GraphicsContext3D.cpp:
2010-09-03 James Robinson <jamesr@chromium.org>
[chromium] Compile fixes for 66746.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2010-09-03 Tony Chang <tony@chromium.org>
Unreviewed, remove svn:executable flag from images and css files.
* src/js/Images/segmentChromium.png: Removed property svn:executable.
* src/js/Images/segmentHoverChromium.png: Removed property svn:executable.
* src/js/Images/segmentHoverEndChromium.png: Removed property svn:executable.
* src/js/Images/segmentSelectedChromium.png: Removed property svn:executable.
* src/js/Images/segmentSelectedEndChromium.png: Removed property svn:executable.
* src/js/Images/statusbarBackgroundChromium.png: Removed property svn:executable.
* src/js/Images/statusbarBottomBackgroundChromium.png: Removed property svn:executable.
* src/js/Images/statusbarButtonsChromium.png: Removed property svn:executable.
* src/js/Images/statusbarMenuButtonChromium.png: Removed property svn:executable.
* src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed property svn:executable.
* src/js/devTools.css: Removed property svn:executable.
2010-09-03 James Robinson <jamesr@chromium.org>
Reviewed by Chris Marrin.
Multiple accelerated 2D canvases should be able to use the same GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=44926
Adds a SharedContext3D to WebViewImpl. The SharedContext3D has to live on WebViewImpl to be
tied to the lifetime of the compositor context.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::getSharedGraphicsContext3D):
* src/ChromeClientImpl.h:
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::initialize):
(WebCore::GraphicsContext3DInternal::platformLayer):
(WebCore::GraphicsContext3D::platformLayer):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::getSharedGraphicsContext3D):
* src/WebViewImpl.h:
2010-08-31 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
IDBCursor.continue() should reuse the .openCursor's IDBRequest object
https://bugs.webkit.org/show_bug.cgi?id=44953
* src/WebIDBCallbacksImpl.cpp:
(WebCore::WebIDBCallbacksImpl::onError):
(WebCore::WebIDBCallbacksImpl::onSuccess):
2010-09-02 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
https://bugs.webkit.org/show_bug.cgi?id=44230
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
* src/InspectorFrontendClientImpl.h:
2010-09-02 Satish Sampath <satish@chromium.org>
Reviewed by Jeremy Orlow.
Remove obsolete public/API methods in chromium port
https://bugs.webkit.org/show_bug.cgi?id=45108
* public/WebSpeechInputController.h:
(WebKit::WebSpeechInputController::startRecognition):
2010-09-02 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Remove dependency to base/task.h and base/timer.h
https://bugs.webkit.org/show_bug.cgi?id=45091
* DEPS: Roll Chromium revision to 58277 in order to have
webkit_support::PostDelayedTask().
2010-09-02 Ilya Sherman <isherman@google.com>
Reviewed by Eric Seidel.
Exposing computing an element's inherited language, per the DOM, in the
Chromium API -- primarily for use with autofill i18n.
https://bugs.webkit.org/show_bug.cgi?id=44803
* public/WebElement.h:
* src/WebElement.cpp:
(WebKit::WebElement::computeInheritedLanguage):
2010-09-01 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Yury Semikhatsky.
Remove dependency on JS files for V8 logs processing.
https://bugs.webkit.org/show_bug.cgi?id=45045
* WebKit.gyp:
2010-09-01 Kent Tamura <tkent@chromium.org>
Unreviewed, rolling out r66576.
http://trac.webkit.org/changeset/66576
https://bugs.webkit.org/show_bug.cgi?id=45016
This change is not needed.
* public/WebKitClient.h:
2010-08-31 Dave Hyatt <hyatt@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::layout):
2010-08-31 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Add WebKitClient::callOnMainThreadWithDelay()
https://bugs.webkit.org/show_bug.cgi?id=45016
It is required to remove base/task.h and base/timer.h dependency
from DRT/Chromium.
* public/WebKitClient.h:
(WebKit::WebKitClient::callOnMainThreadWithDelay): Added.
2010-08-31 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Jian Li.
Add LocalFileSystem.requestFileSystem interface to DOMWindow
https://bugs.webkit.org/show_bug.cgi?id=44734
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableFileSystem):
(WebKit::WebRuntimeFeatures::isFileSystemEnabled):
2010-08-24 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
Implement the rest of IDBCursors + make them persistent
https://bugs.webkit.org/show_bug.cgi?id=44546
* src/IDBCursorBackendProxy.cpp:
(WebCore::IDBCursorBackendProxy::value):
* src/IDBCursorBackendProxy.h:
* src/WebIDBCursorImpl.cpp:
(WebKit::WebIDBCursorImpl::value):
2010-08-27 John Gregg <johnnyg@google.com>
Reviewed by David Levin.
Notifications should support a click event
https://bugs.webkit.org/show_bug.cgi?id=44800
* public/WebNotification.h:
* src/WebNotification.cpp:
(WebKit::WebNotification::dispatchClickEvent):
2010-08-31 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
Switch the Blob implementation to using the blob data registration model
https://bugs.webkit.org/show_bug.cgi?id=44389
* src/WebSearchableFormData.cpp:
(WebCore::HasSuitableTextElement):
2010-08-30 Nat Duca <nduca@chromium.org>
Reviewed by Adam Barth.
[chromium] Accelerated Compositing: Artifacts/blink when enabling compositor.
https://bugs.webkit.org/show_bug.cgi?id=44196
If accelerated compositing enables after a page loads, the dirtied
portion of the screen will be only a subset of the full screen,
leading to artefacts. Avoid these artefacts by invalidating the
visible content rect on compositor initialization.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2010-08-30 Kinuko Yasuda <kinuko@chromium.osrc>
Reviewed by Darin Fisher.
Add DOMFileSystem implementation to support Entry manipulation operations
https://bugs.webkit.org/show_bug.cgi?id=44732
Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.)
* src/AsyncFileSystemChromium.cpp:
(WebCore::AsyncFileSystemChromium::move):
(WebCore::AsyncFileSystemChromium::copy):
(WebCore::AsyncFileSystemChromium::remove):
(WebCore::AsyncFileSystemChromium::readMetadata):
(WebCore::AsyncFileSystemChromium::createFile):
(WebCore::AsyncFileSystemChromium::createDirectory):
(WebCore::AsyncFileSystemChromium::fileExists):
(WebCore::AsyncFileSystemChromium::directoryExists):
(WebCore::AsyncFileSystemChromium::readDirectory):
2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r66198.
http://trac.webkit.org/changeset/66198
https://bugs.webkit.org/show_bug.cgi?id=44856
It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
* src/InspectorFrontendClientImpl.cpp:
* src/InspectorFrontendClientImpl.h:
2010-08-29 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler.
Introduce isValidValue(const String&) of HTMLInputElement and HTMLTextAreaElement
https://bugs.webkit.org/show_bug.cgi?id=43537
* public/WebInputElement.h:
* src/WebInputElement.cpp:
(WebKit::WebInputElement::isValidValue):
2010-08-29 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Remove dependency to base/keyboard_codes.h
https://bugs.webkit.org/show_bug.cgi?id=44847
* DEPS: Roll Chromium revision to 57823 to have a webkit_support change.
2010-08-28 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add webkit_support.gyp:blob to WebKit.gyp
https://bugs.webkit.org/show_bug.cgi?id=44829
Also bump up chromium revision in DEPS in order to pick up
the revision that contains blob change.
* DEPS:
* WebKit.gyp:
2010-08-28 Chris Guillory <chris.guillory@google.com>
Reviewed by Chris Fleizach.
Add AX notification for childrenChanged
https://bugs.webkit.org/show_bug.cgi?id=44472
* public/WebViewClient.h:
(WebKit::WebViewClient::didChangeAccessibilityObjectChildren):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
* src/ChromeClientImpl.h:
2010-08-27 Daniel Cheng <dcheng@chromium.org>
Reviewed by Tony Chang.
[chromium] Add new WebClipboard method for setting generic data in copy/cut handlers.
https://bugs.webkit.org/show_bug.cgi?id=42121
* public/WebClipboard.h:
(WebKit::WebClipboard::writeData):
(WebKit::WebClipboard::readFilenames):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::clipboardWriteData):
2010-08-27 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Dumitru Daniliuc.
[chromium] Add chromium-side of AsyncFileSystem implementation
https://bugs.webkit.org/show_bug.cgi?id=44434
* WebKit.gyp:
* src/AssertMatchingEnums.cpp: Added assertions.
* src/AsyncFileSystemChromium.cpp: Added.
* src/AsyncFileSystemChromium.h: Added.
* src/LocalFileSystemChromium.cpp: Added.
* src/WebFileSystemCallbacksImpl.cpp:
(WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
* src/WebFileSystemCallbacksImpl.h:
2010-08-27 Michael Nordman <michaeln@google.com>
Reviewed by David Levin.
https://bugs.webkit.org/show_bug.cgi?id=44133
WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
* features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
(WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
2010-08-25 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
Add setVersion to IndexedDB
https://bugs.webkit.org/show_bug.cgi?id=44630
* public/WebIDBDatabase.h:
(WebKit::WebIDBDatabase::createObjectStore):
(WebKit::WebIDBDatabase::removeObjectStore):
(WebKit::WebIDBDatabase::setVersion):
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::setVersion):
* src/IDBDatabaseProxy.h:
* src/WebIDBDatabaseImpl.cpp:
(WebKit::WebIDBDatabaseImpl::setVersion):
* src/WebIDBDatabaseImpl.h:
2010-08-27 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
https://bugs.webkit.org/show_bug.cgi?id=44230
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
* src/InspectorFrontendClientImpl.h:
2010-08-27 Kent Tamura <tkent@chromium.org>
Reviewed by Pavel Feldman.
[DRT/Chromium] Fix inspector test failures
https://bugs.webkit.org/show_bug.cgi?id=44748
* DEPS: Update Chromium revision to 57605 to have a webkit_support change.
2010-08-26 Dumitru Daniliuc <dumi@chromium.org>
Unreviewed, Chromium build fix.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::markerTextForListItem):
2010-08-26 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Darin Fisher.
Add support for markerTextForListItem() to Chromium's LayoutTestController.
https://bugs.webkit.org/show_bug.cgi?id=44724
* public/WebBindings.h:
* public/WebFrame.h:
* src/WebBindings.cpp:
(WebKit::getElementImpl):
(WebKit::WebBindings::getElement):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::markerTextForListItem):
* src/WebFrameImpl.h:
2010-08-26 James Robinson <jamesr@chromium.org>
Reviewed by Darin Fisher.
[chromium] Remove the USE(GLES2_RENDERING) define and associated code
https://bugs.webkit.org/show_bug.cgi?id=43761
Removes API support to grab a GLES2Context from within WebCore. The compositor
has a special codepath to grab its GLES2Context and no other codepaths
need access to a raw context. Accelerated drawing elsewhere will go through
GraphicsContext3D.
* src/ChromeClientImpl.cpp:
* src/ChromeClientImpl.h:
2010-08-26 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Eric Seidel.
[chromium] WebEntities is broken
https://bugs.webkit.org/show_bug.cgi?id=44708
For serialization purposes, we don't need to convert all entity references.
This patch modifies WebEntities::WebEntities to use hard-coded entity lists for both HTML and XML,
and deletes populateMapFromXMLEntities and populateMapFromHTMLEntityTable.
No tests are added since the code is tested in DomSerializerTests
* src/WebEntities.cpp:
(WebKit::):
(WebKit::WebEntities::WebEntities):
2010-08-26 Peter Kasting <pkasting@google.com>
Reviewed by Dimitri Glazkov.
Misc. cleanup split off from bug 32356.
https://bugs.webkit.org/show_bug.cgi?id=44696
* src/WebScrollbarImpl.cpp:
(WebKit::WebScrollbarImpl::setLocation):
(WebKit::WebScrollbarImpl::onMouseWheel):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::propagateScroll):
* src/win/WebInputEventFactory.cpp:
(WebKit::WebInputEventFactory::mouseWheelEvent):
2010-08-26 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Store heap snapshots in InspectorProfilerAgent.
Change the way heap snapshots are transported to Inspector
to be aligned with CPU profiles. As a result, the Heap snapshots
view of Profiles panel was upstreamed into WebCore.
https://bugs.webkit.org/show_bug.cgi?id=44531
* DEPS:
* WebKit.gypi:
* src/js/DevTools.js:
():
* src/js/HeapProfilerPanel.js: Removed.
* src/js/ProfilerAgent.js: Removed.
* src/js/ProfilerProcessor.js: Removed.
* src/js/devTools.css:
2010-08-26 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Revert r66103 since Qt tests are failing.
* src/InspectorFrontendClientImpl.cpp:
* src/InspectorFrontendClientImpl.h:
2010-08-26 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
https://bugs.webkit.org/show_bug.cgi?id=44230
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
* src/InspectorFrontendClientImpl.h:
2010-08-26 Kent Tamura <tkent@chromium.org>
Reviewed by Tony Chang.
[DRT/Chromium] Enable DEVICE_ORIENTATION
https://bugs.webkit.org/show_bug.cgi?id=44587
* features.gypi:
2010-08-25 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
WebInspector: as far as we have 'seq' property in the each inspector message
it would be better to remove explicit callId argument from Inspector.idl functions
declarations.
https://bugs.webkit.org/show_bug.cgi?id=44617
* src/js/ProfilerAgent.js:
(devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
(devtools.ProfilerAgent.prototype._getNextLogLines):
2010-08-25 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r66074.
http://trac.webkit.org/changeset/66074
https://bugs.webkit.org/show_bug.cgi?id=44660
Chromium canary turned red (Requested by yuzo on #webkit).
* features.gypi:
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
2010-08-25 Michael Nordman <michaeln@google.com>
Reviewed by David Levin.
https://bugs.webkit.org/show_bug.cgi?id=44133
WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
* features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
(WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
2010-08-24 Victoria Kirst <vrk@google.com>
Reviewed by Darin Fisher.
Adding a way to communicate video frames between Chromium and WebKit.
The WebKit side acts as a middleman between Chromium and WebCore.
The VideoFrameChromiumImpl is not being used by WebCore yet, as there
still needs to be an implementation of WebVideoFrame in Chromium
-- coming soon in a subsequent patch.
API changes for Video Frame sharing between WebKit and Chromium
https://bugs.webkit.org/show_bug.cgi?id=44539
* WebKit.gyp:
* public/WebMediaPlayer.h:
(WebKit::WebMediaPlayer::getCurrentFrame):
(WebKit::WebMediaPlayer::putCurrentFrame):
* public/WebVideoFrame.h: Added.
* src/VideoFrameChromiumImpl.cpp: Added.
(WebKit::VideoFrameChromiumImpl::toWebVideoFrame):
(WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl):
(WebKit::VideoFrameChromiumImpl::type):
(WebKit::VideoFrameChromiumImpl::format):
(WebKit::VideoFrameChromiumImpl::width):
(WebKit::VideoFrameChromiumImpl::height):
(WebKit::VideoFrameChromiumImpl::planes):
(WebKit::VideoFrameChromiumImpl::stride):
(WebKit::VideoFrameChromiumImpl::data):
* src/VideoFrameChromiumImpl.h: Added.
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
(WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
(WebKit::WebMediaPlayerClientImpl::create):
* src/WebMediaPlayerClientImpl.h:
2010-08-25 Eric Seidel <eric@webkit.org>
Unreviewed. Build fix.
Make Chromiums Broken WebPageSerializerImpl compile again
https://bugs.webkit.org/show_bug.cgi?id=44652
Make it compile again. This code is still horribly wrong.
* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::endTagToString):
2010-08-20 Zhenyao Mo <zmo@google.com>
Reviewed by Kenneth Russell.
WebGL must enforce restrictions even if running on OpenGL ES 2.0
https://bugs.webkit.org/show_bug.cgi?id=42908
* public/WebGraphicsContext3D.h: Add two new flags.
* src/GraphicsContext3D.cpp: Ditto.
(WebCore::GraphicsContext3DInternal::isGLES2NPOTStrict):
(WebCore::GraphicsContext3DInternal::isErrorGeneratedOnOutOfBoundsAccesses):
(WebCore::GraphicsContext3D::isGLES2NPOTStrict):
(WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
* src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
(WebKit::WebGraphicsContext3DDefaultImpl::isGLES2NPOTStrict):
(WebKit::WebGraphicsContext3DDefaultImpl::isErrorGeneratedOnOutOfBoundsAccesses):
* src/WebGraphicsContext3DDefaultImpl.h: Ditto.
2010-08-24 Zhenyao Mo <zmo@google.com>
Reviewed by Kenneth Russell.
Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
https://bugs.webkit.org/show_bug.cgi?id=38282
* src/WebImageDecoder.cpp:
(WebKit::WebImageDecoder::init): Add premultiplyAlpha flag.
2010-08-25 Satish Sampath <satish@chromium.org>
Reviewed by Jeremy Orlow.
Pass the element's bounds to embedder during speech recognition.
https://bugs.webkit.org/show_bug.cgi?id=44427
* public/WebSpeechInputController.h:
(WebKit::WebSpeechInputController::startRecognition):
(WebKit::WebSpeechInputController::cancelRecognition):
(WebKit::WebSpeechInputController::stopRecording):
* src/SpeechInputClientImpl.cpp:
(WebKit::SpeechInputClientImpl::startRecognition):
* src/SpeechInputClientImpl.h:
* src/WebSpeechInputControllerMockImpl.cpp:
(WebKit::WebSpeechInputControllerMockImpl::startRecognition):
* src/WebSpeechInputControllerMockImpl.h:
2010-08-25 Pawel Hajdan <phajdan.jr@chromium.org>
Reviewed by Darin Fisher.
Add an assertion to prevent re-initializing WebKit.
https://bugs.webkit.org/show_bug.cgi?id=44545
This will help prevent crashes like:
- http://code.google.com/p/chromium/issues/detail?id=52731
- http://code.google.com/p/chromium/issues/detail?id=52643
* src/WebKit.cpp:
(WebKit::initialize):
2010-08-25 Jay Civelli <jcivelli@chromium.org>
Reviewed by Dimitri Glazkov.
Adding missing test files and reenabling the WebFrame unit-test.
https://bugs.webkit.org/show_bug.cgi?id=44492
* tests/WebFrameTest.cpp:
(WebKit::TEST_F):
* tests/data/iframes_test.html: Added.
* tests/data/invisible_iframe.html: Added.
* tests/data/visible_iframe.html: Added.
* tests/data/zero_sized_iframe.html: Added.
2010-08-25 Kent Tamura <tkent@chromium.org>
Unreviewed, build fix.
* DEPS: Roll Chromium revision to 57298 to fix upstream build.
2010-08-24 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Adam Barth.
Build fix: Remove setHTML5ParserEnabled(), it's no longer used.
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
* src/WebSettingsImpl.h:
2010-08-24 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
[chromium] WebBlobRegistry cleanup.
https://bugs.webkit.org/show_bug.cgi?id=44571
Remove unneeded method from WebBlobRegistry interface.
Also remove unneeded WebBlobRegistryImpl.* files. They're already
excluded from gyp files.
* public/WebBlobRegistry.h:
* src/WebBlobRegistryImpl.cpp: Removed.
* src/WebBlobRegistryImpl.h: Removed.
2010-08-24 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
[Chromium] Hulu popups are blocked
https://bugs.webkit.org/show_bug.cgi?id=44572
We were blocking popups created by Flash Player because we were never
setting the UserGestureIndicator for events. Most WebKit ports handle
events through EventHandler, but Chromium is special (for some unknown
reason) and dispatches events directly. That means Chromium misses out
on some of the work done by EventHandler, including setting the
UserGestureIndicator.
I suspect this is covered by an existing LayoutTest, but I don't have
the ability to run the Chromium LayoutTests on this machine. :(
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleInputEvent):
2010-08-24 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Update WebBlobData.
https://bugs.webkit.org/show_bug.cgi?id=44481
Some changes to WebBlobData to match with chromium implementation.
1) Change to use WebCString for data, instead of WebData.
2) Separate path from URL.
* public/WebBlobData.h:
* src/WebBlobData.cpp:
(WebKit::WebBlobData::itemAt):
(WebKit::WebBlobData::appendData):
(WebKit::WebBlobData::appendBlob):
* src/WebBlobStorageData.cpp:
(WebKit::WebBlobStorageData::itemAt):
2010-08-24 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
Hooks IDBKeyPath with IDBObjectStorage::put.
https://bugs.webkit.org/show_bug.cgi?id=44275
Adds a mechanism to extract an IDBKey from SerializedScriptValue using IDBKeyPath
during IDBObjectStorage::put.
* public/WebIDBKey.h:
(WebKit::WebIDBKey::WebIDBKey):
* public/WebKitClient.h:
(WebKit::WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
2010-08-24 Kent Tamura <tkent@chromium.org>
Reviewed by Jeremy Orlow.
[DRT/Chromium] Support for IndexedDB tests
https://bugs.webkit.org/show_bug.cgi?id=44490
* DEPS: Roll Chromium to r57145 to have a webkit_support change.
2010-08-24 Roland Steiner <rolandsteiner@chromium.org>
Unreviewed build fix.
put the "DISABLED_" in front of the right identifier.
* tests/WebFrameTest.cpp:
(WebKit::TEST_F):
2010-08-23 Roland Steiner <rolandsteiner@chromium.org>
Reviewed by Tamura Kent.
Disable failing test
https://bugs.webkit.org/show_bug.cgi?id=44492
* tests/WebFrameTest.cpp:
(WebKit::TEST_F):
2010-08-23 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
Made WebFrame not report the text from hidden frames.
(some pages contain hidden frames with garbage text that
should not be indexed or used to detect the page's language).
https://bugs.webkit.org/show_bug.cgi?id=39456
* WebKit.gyp:
* public/WebCString.h:
(WebKit::operator<):
* public/WebURL.h:
(WebKit::operator<):
* src/WebCString.cpp:
(WebKit::WebCString::compare):
* src/WebFrameImpl.cpp:
(WebKit::frameContentAsPlainText):
* tests/RunAllTests.cpp:
(main):
* tests/WebFrameTest.cpp: Added.
2010-08-23 Kent Tamura <tkent@chromium.org>
Unreviewed, build fix for r65852.
* src/WebNode.cpp:
(WebKit::WebNode::parentNode):
2010-08-23 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=44455
Updated Safari, Qt and Chromium WebGL ports to avoid referencing
ArrayBuffer and ArrayBufferView types from GraphicsContext3D.
Ran all WebGL layout tests; no new regressions. Built and tested
WebKit on Mac OS X; built Chromium on Mac OS X and Linux.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::bufferData):
(WebCore::GraphicsContext3DInternal::bufferSubData):
2010-08-23 Jian Li <jianli@chromium.org>
Reviewed by David Levin.
Remove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from
chromium project files.
https://bugs.webkit.org/show_bug.cgi?id=44442
* WebKit.gyp:
2010-08-23 Satish Sampath <satish@chromium.org>
Reviewed by Jeremy Orlow.
Remove obsolete public/API methods in chromium port
https://bugs.webkit.org/show_bug.cgi?id=44421
* public/WebSpeechInputController.h:
(WebKit::WebSpeechInputController::startRecognition):
(WebKit::WebSpeechInputController::cancelRecognition):
(WebKit::WebSpeechInputController::stopRecording):
* public/WebSpeechInputListener.h:
2010-08-22 Daniel Bates <dbates@rim.com>
Reviewed by Eric Seidel.
Encapsulate document marker management into DocumentMarkerController
https://bugs.webkit.org/show_bug.cgi?id=44383
Modify call sites in the Chromium port to use DocumentMarkerController.
No functionality was changed, so no new tests.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::stopFinding):
(WebKit::WebFrameImpl::addMarker):
(WebKit::WebFrameImpl::setMarkerActive):
2010-08-22 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
Add the blob URL member to FormData.
https://bugs.webkit.org/show_bug.cgi?id=44387
As the result of adding the blob URL member to the FormData, we need
to update the corresponding WebKit API for chromium.
* public/WebHTTPBody.h:
(WebKit::WebHTTPBody::Element::):
* src/WebHTTPBody.cpp:
(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendBlob):
2010-08-20 Kinuko Yasuda <kinuko@chromium.org>
Unreviewed; build fix for chromium (and remove duplicated ChangeLog entry).
2010-08-20 James Robinson <jamesr@chromium.org>
Synchronize default of use_accelerated_compositing gyp variable with downstream. Unreviewed.
* features.gypi:
2010-08-20 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add chromium-side callback implementation for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=44350
Add WebFileSystemCallbacks that calls back the WebCore's implementation.
* WebKit.gyp:
* src/WebFileSystemCallbacksImpl.cpp: Added.
* src/WebFileSystemCallbacksImpl.h: Added.
2010-08-20 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] fix a null pointer crash when dispatching JS keyboard events
https://bugs.webkit.org/show_bug.cgi?id=44313
* src/WebInputEventConversion.cpp:
(WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
2010-08-20 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
Removing the deprecated class WebEvent and friends.
https://bugs.webkit.org/show_bug.cgi?id=44296
* WebKit.gyp:
* public/WebEvent.h: Removed.
* public/WebEventListener.h: Removed.
* public/WebMutationEvent.h: Removed.
* public/WebNode.h:
* src/EventListenerWrapper.cpp:
(WebKit::EventListenerWrapper::webDOMEventListenerDeleted):
* src/EventListenerWrapper.h:
* src/WebEvent.cpp: Removed.
* src/WebEventListener.cpp: Removed.
* src/WebEventListenerPrivate.cpp: Removed.
* src/WebEventListenerPrivate.h: Removed.
* src/WebNode.cpp:
(WebKit::WebNode::removeEventListener):
2010-08-19 Zhenyao Mo <zmo@google.com>
Reviewed by Kenneth Russell.
Fix failing WebGL tests in Chromium in-process-webgl port
https://bugs.webkit.org/show_bug.cgi?id=44305
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset): Add implementation.
2010-08-19 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: enable DOM breakpoints for chromium
https://bugs.webkit.org/show_bug.cgi?id=42886
* src/js/DevTools.js:
(WebInspector.loaded):
2010-08-19 Vincent Scheib <scheib@chromium.org>
Reviewed by David Levin.
[chromium] TilingData::tilePositionY has typo of X where Y should be used
https://bugs.webkit.org/show_bug.cgi?id=44195
Unit tests added for tileSize and tilePosition.
* tests/TilingDataTest.cpp:
(WebCore::TEST):
2010-08-19 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Darin Fisher.
Add WebKit API for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=43151
Add asynchronous FileSystem interface to WebKit API for
FileSystem API.
http://dev.w3.org/2009/dap/file-system/file-dir-sys.html
* WebKit.gyp:
* public/WebFileError.h: Added.
* public/WebFileSystem.h: Added.
* public/WebFileSystemEntry.h: Added.
* public/WebFileSystemCallbacks.h: Added.
* public/WebKitClient.h:
(WebKit::WebKitClient::fileSystem):
* public/WebFrameClient.h:
(WebKit::WebFrameClient::openFileSystem):
2010-08-19 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Jian Li.
[Chromium] Rolls Chromium DEPS forward to 56564
https://bugs.webkit.org/show_bug.cgi?id=44281
Roll Chromium DEPS forward to 56564 to include WebFileSystem
implementation changes.
* DEPS:
2010-08-19 Vincent Scheib <scheib@chromium.org>
Reviewed by David Levin.
Fixing previous Mac only build breakage with TilingDataTest.cpp
https://bugs.webkit.org/show_bug.cgi?id=44223
TilingDataTest.cpp included the wrong header, which had a compile
option around the definition of the WebCore namespace. Without the
namespace defined, error. Fixed by correctly including TilingData.h,
which has no conditional compilation.
* WebKit.gyp:
* tests/TilingDataTest.cpp:
2010-08-19 Jochen Eisinger <jochen@chromium.org>
Reviewed by Pavel Feldman.
concatenated_devtools_js should depend on inspector_protocol_sources
https://bugs.webkit.org/show_bug.cgi?id=44255
* WebKit.gyp:
2010-08-19 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: activate/deactivate breakpoints using v8 debugger flag.
https://bugs.webkit.org/show_bug.cgi?id=44112
* src/js/DebuggerScript.js:
():
2010-08-19 Andrei Popescu <andreip@google.com>
Reviewed by Jeremy Orlow.
[IndexedDB] Abort idle IDBTransactions when the JS context they were created in finishes execution.
https://bugs.webkit.org/show_bug.cgi?id=44101
* WebKit.gyp:
* public/WebIDBDatabase.h:
(WebKit::WebIDBDatabase::transaction):
* public/WebIDBFactory.h:
(WebKit::WebIDBFactory::abortPendingTransactions):
* public/WebIDBTransaction.h: Added.
(WebKit::WebIDBTransaction::~WebIDBTransaction):
(WebKit::WebIDBTransaction::mode):
(WebKit::WebIDBTransaction::objectStore):
(WebKit::WebIDBTransaction::abort):
(WebKit::WebIDBTransaction::id):
(WebKit::WebIDBTransaction::setCallbacks):
* public/WebIDBTransactionCallbacks.h: Added.
(WebKit::WebIDBTransactionCallbacks::~WebIDBTransactionCallbacks):
(WebKit::WebIDBTransactionCallbacks::onAbort):
(WebKit::WebIDBTransactionCallbacks::id):
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::transaction):
* src/IDBFactoryBackendProxy.cpp:
(WebCore::IDBFactoryBackendProxy::abortPendingTransactions):
* src/IDBFactoryBackendProxy.h:
* src/IDBTransactionBackendProxy.cpp: Added.
(WebCore::IDBTransactionBackendProxy::create):
(WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
(WebCore::IDBTransactionBackendProxy::~IDBTransactionBackendProxy):
(WebCore::IDBTransactionBackendProxy::objectStore):
(WebCore::IDBTransactionBackendProxy::mode):
(WebCore::IDBTransactionBackendProxy::abort):
(WebCore::IDBTransactionBackendProxy::scheduleTask):
(WebCore::IDBTransactionBackendProxy::sqliteDatabase):
(WebCore::IDBTransactionBackendProxy::id):
(WebCore::IDBTransactionBackendProxy::setCallbacks):
* src/IDBTransactionBackendProxy.h: Added.
* src/IDBTransactionCallbacksProxy.cpp: Added.
(WebCore::IDBTransactionCallbacksProxy::create):
(WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
(WebCore::IDBTransactionCallbacksProxy::~IDBTransactionCallbacksProxy):
(WebCore::IDBTransactionCallbacksProxy::onAbort):
(WebCore::IDBTransactionCallbacksProxy::id):
* src/IDBTransactionCallbacksProxy.h: Added.
* src/WebDOMStringList.cpp:
(WebKit::WebDOMStringList::length):
* src/WebIDBDatabaseImpl.cpp:
(WebKit::WebIDBDatabaseImpl::transaction):
* src/WebIDBDatabaseImpl.h:
* src/WebIDBFactoryImpl.cpp:
(WebKit::WebIDBFactoryImpl::abortPendingTransactions):
* src/WebIDBFactoryImpl.h:
* src/WebIDBTransactionCallbacksImpl.cpp: Added.
(WebCore::WebIDBTransactionCallbacksImpl::WebIDBTransactionCallbacksImpl):
(WebCore::WebIDBTransactionCallbacksImpl::~WebIDBTransactionCallbacksImpl):
(WebCore::WebIDBTransactionCallbacksImpl::onAbort):
(WebCore::WebIDBTransactionCallbacksImpl::id):
* src/WebIDBTransactionCallbacksImpl.h: Added.
* src/WebIDBTransactionImpl.cpp: Added.
(WebKit::WebIDBTransactionImpl::WebIDBTransactionImpl):
(WebKit::WebIDBTransactionImpl::~WebIDBTransactionImpl):
(WebKit::WebIDBTransactionImpl::mode):
(WebKit::WebIDBTransactionImpl::objectStore):
(WebKit::WebIDBTransactionImpl::abort):
(WebKit::WebIDBTransactionImpl::id):
(WebKit::WebIDBTransactionImpl::setCallbacks):
* src/WebIDBTransactionImpl.h: Added.
(WebKit::):
2010-08-19 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium DevTools: There is no need in resource-based InjectedScript.js source.
Now that we populate front-end after its onload handler, I don't think we need
to install injected script early.
https://bugs.webkit.org/show_bug.cgi?id=44029
* public/WebDevToolsAgentClient.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::attach):
(WebKit::WebDevToolsAgentImpl::frontendLoaded):
2010-08-19 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium DevTools: remove setRuntimeFeatureEnabled API method that
is no longer used.
https://bugs.webkit.org/show_bug.cgi?id=44237
* public/WebDevToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
* src/WebDevToolsAgentImpl.h:
2010-08-18 Jian Li <jianli@chromium.org>
Fix layout test crashes in chromium.
* src/BlobRegistryProxy.cpp:
(WebCore::BlobRegistryProxy::registerBlobURL):
(WebCore::BlobRegistryProxy::unregisterBlobURL):
2010-08-18 Jian Li <jianli@chromium.org>
Fix chromium build break.
* src/WebBlobStorageData.cpp:
(WebKit::WebBlobStorageData::itemAt):
2010-08-18 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Chromium side implementation of blob data and blob registry.
https://bugs.webkit.org/show_bug.cgi?id=43871
* WebKit.gyp:
* public/WebBlobData.h: Added.
* public/WebBlobRegistry.h: Added.
* public/WebBlobStorageData.h: Added.
* public/WebKitClient.h:
(WebKit::WebKitClient::blobRegistry):
* src/BlobRegistryProxy.cpp: Added.
* src/BlobRegistryProxy.h: Added.
* src/WebBlobData.cpp: Added.
* src/WebBlobRegistryImpl.cpp: Added.
* src/WebBlobRegistryImpl.h: Added.
* src/WebBlobStorageData.cpp: Added.
2010-08-18 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Darin Fisher.
Propagate the m_downloadFilePath correctly.
https://bugs.webkit.org/show_bug.cgi?id=44198
* src/WebURLRequest.cpp:
(WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
* src/WebURLResponse.cpp:
(WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
2010-08-18 Victor Wang <victorw@chromium.org>
Unreviewed. Fix chromium multi dll build.
* public/WebIDBKeyPath.h:
2010-08-18 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
Renaming the WebEvent to WebDOMEvent and adding a new event class
for mouse events so that the event listener API can be used to listen
to them. The renaming is needed as there already is a WebMouseEvent class.
https://bugs.webkit.org/show_bug.cgi?id=43453
* WebKit.gyp:
* public/WebDOMEvent.h: Added.
* public/WebDOMEventListener.h: Added.
* public/WebDOMMouseEvent.h: Added.
* public/WebDOMMutationEvent.h: Added.
* public/WebNode.h:
* src/EventListenerWrapper.cpp:
* src/EventListenerWrapper.h:
* src/WebDOMEvent.cpp: Added.
* src/WebDOMEventListener.cpp: Added.
* src/WebDOMEventListenerPrivate.cpp: Added.
* src/WebDOMEventListenerPrivate.h: Added.
* src/WebDOMMouseEvent.cpp: Added.
* src/WebDOMMutationEvent.cpp: Added.
* src/WebNode.cpp:
(WebKit::WebNode::isElementNode):
(WebKit::WebNode::addDOMEventListener):
(WebKit::WebNode::removeDOMEventListener):
2010-08-17 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: replace hand written InspectorBackendStub.js with generated one.
https://bugs.webkit.org/show_bug.cgi?id=43791
* WebKit.gyp:
2010-08-18 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65238.
http://trac.webkit.org/changeset/65238
https://bugs.webkit.org/show_bug.cgi?id=44168
Check if clobbering chromium bot fixes the layout test
failures (Requested by hamaji on #webkit).
* public/WebFrameClient.h:
(WebKit::WebFrameClient::frameDetached):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
2010-08-18 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65595.
http://trac.webkit.org/changeset/65595
https://bugs.webkit.org/show_bug.cgi?id=44161
qt build failed (Requested by loislo on #webkit).
* WebKit.gyp:
2010-08-17 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: replace hand written InspectorBackendStub.js by generated one.
https://bugs.webkit.org/show_bug.cgi?id=43791
* WebKit.gyp:
2010-08-17 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium DevTools: Support runtime property name/value pairs
instead of feature names as navigation state.
https://bugs.webkit.org/show_bug.cgi?id=44054
* public/WebDevToolsAgent.h:
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsAgentClient::runtimePropertyChanged):
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
(WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
* src/WebDevToolsAgentImpl.h:
2010-08-17 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed by Darin Adler.
Add NetworkingContext to avoid layer violations
https://bugs.webkit.org/show_bug.cgi?id=42292
Preparation: Just add the files to the build system.
* WebKit.gyp: Added new files.
* src/FrameNetworkingContextImpl.h: Added.
Placeholder with tentative code that might be changed when landing
the rest of it.
2010-08-17 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65516.
http://trac.webkit.org/changeset/65516
https://bugs.webkit.org/show_bug.cgi?id=44126
broke chromium unit tests on mac and linux (Requested by
johnny_g on #webkit).
* WebKit.gyp:
* src/WebFrameImpl.cpp:
(WebKit::frameContentAsPlainText):
* tests/RunAllTests.cpp:
(main):
* tests/WebFrameTest.cpp: Removed.
2010-08-17 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
Made WebFrame not report the text from hidden frames.
(some pages contain hidden frames with garbage text that
should not be indexed or used to detect the page's language).
https://bugs.webkit.org/show_bug.cgi?id=39456
* WebKit.gyp:
* public/WebCString.h:
(WebKit::operator<):
* public/WebURL.h:
(WebKit::operator<):
* src/WebCString.cpp:
(WebKit::WebCString::compare):
* src/WebFrameImpl.cpp:
(WebKit::frameContentAsPlainText):
* tests/RunAllTests.cpp:
(main):
* tests/WebFrameTest.cpp: Added.
2010-08-17 Kelly Norton <knorton@google.com>
Reviewed by Pavel Feldman.
Web Inspector: Fixes a crash in addTimelineRecord when InspectorTimelineAgent
is enabled through WebDevToolsAgentImpl::setApuEnabled.
https://bugs.webkit.org/show_bug.cgi?id=44105
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
2010-08-17 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: upstream Chromium debugger step tests
https://bugs.webkit.org/show_bug.cgi?id=44106
* src/js/Tests.js:
2010-08-17 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65500.
http://trac.webkit.org/changeset/65500
https://bugs.webkit.org/show_bug.cgi?id=44108
Qt bots failed to compile. (Requested by loislo on #webkit).
* WebKit.gyp:
2010-08-17 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: replace hand written InspectorBackendStub.js by generated one.
https://bugs.webkit.org/show_bug.cgi?id=43791
* WebKit.gyp:
2010-08-17 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: upstream Chromium console tests and remove a couple
of tests that have already been covered with layout tests.
https://bugs.webkit.org/show_bug.cgi?id=44057
* src/js/Tests.js:
(.TestSuite.prototype.testConsoleEval):
(.TestSuite.prototype.testConsoleLog):
(.TestSuite.prototype.testEvalGlobal):
2010-08-16 Kinuko Yasuda <kinuko@chromium.org>
Unreviewed; attempt to fix Chromium Windows build.
* public/WebFileUtilities.h:
2010-08-16 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Jian Li.
[chromium] Prepare to rename WebFileSystem interface to WebFileUtilities
https://bugs.webkit.org/show_bug.cgi?id=44077
We are going to have an implementation for HTML5 FileSystem API and
it would probably be less confusing to use the name "WebFileSystem"
for an WebKit API for the HTML5 API.
This patch adds WebFileUtilities interface that is meant to replace
the existing WebFileSystem.
* WebKit.gyp:
* public/WebFileSystem.h:
* public/WebFileUtilities.h: Added.
* public/WebKitClient.h:
(WebKit::WebKitClient::fileUtilities): Added.
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::fileExists):
(WebCore::ChromiumBridge::deleteFile):
(WebCore::ChromiumBridge::deleteEmptyDirectory):
(WebCore::ChromiumBridge::getFileSize):
(WebCore::ChromiumBridge::getFileModificationTime):
(WebCore::ChromiumBridge::directoryName):
(WebCore::ChromiumBridge::pathByAppendingComponent):
(WebCore::ChromiumBridge::makeAllDirectories):
(WebCore::ChromiumBridge::getAbsolutePath):
(WebCore::ChromiumBridge::isDirectory):
(WebCore::ChromiumBridge::filePathToURL):
(WebCore::ChromiumBridge::openFile):
(WebCore::ChromiumBridge::closeFile):
(WebCore::ChromiumBridge::seekFile):
(WebCore::ChromiumBridge::truncateFile):
(WebCore::ChromiumBridge::readFromFile):
(WebCore::ChromiumBridge::writeToFile):
2010-08-16 Nate Chapin <japhet@chromium.org>
Unreviewed, build fix.
Don't include TilingDataTest.cpp, since it doesn't
compile on mac.
* WebKit.gyp:
2010-08-16 James Robinson <jamesr@chromium.org>
Compile fix. Fix up paintsIntoCanvasBuffer impl.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
2010-08-16 Vincent Scheib <scheib@chromium.org>
Reviewed by Dimitri Glazkov.
Canvas2D does not support images larger than system's GPU max texture size
https://bugs.webkit.org/show_bug.cgi?id=43864
Unit tests for TilingData class.
* WebKit.gyp:
* tests/TilingDataTest.cpp: Added.
(WebCore::TEST):
2010-08-16 Alex Milowski <alex@milowski.com>
Reviewed by David Levin.
Added the ENABLE_MATHML=1 to the feature_defines.
* features.gypi:
2010-08-16 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
Implements IDBKeyPath extractor.
https://bugs.webkit.org/show_bug.cgi?id=43276
Unit-test IDBKeyPathExtractorTest.cpp.
LayoutTests will arrive as IndexedDB infrastructure is fleshed out.
* WebKit.gyp:
* public/WebIDBKey.h:
* public/WebIDBKeyPath.h: Added.
(WebKit::WebIDBKeyPath::WebIDBKeyPath):
(WebKit::WebIDBKeyPath::~WebIDBKeyPath):
* public/WebPrivateOwnPtr.h: Added.
(WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr):
(WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr):
(WebKit::WebPrivateOwnPtr::reset):
(WebKit::WebPrivateOwnPtr::get):
(WebKit::WebPrivateOwnPtr::operator->):
* src/WebIDBKey.cpp:
(WebKit::WebIDBKey::createFromValueAndKeyPath):
* src/WebIDBKeyPath.cpp: Added.
(WebKit::WebIDBKeyPath::create):
(WebKit::WebIDBKeyPath::WebIDBKeyPath):
(WebKit::WebIDBKeyPath::parseError):
(WebKit::WebIDBKeyPath::assign):
(WebKit::WebIDBKeyPath::reset):
(WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
* tests/IDBBindingUtilitiesTest.cpp: Added.
(WebCore::LocalContext::LocalContext):
(WebCore::LocalContext::~LocalContext):
(WebCore::checkKeyFromValueAndKeyPathInternal):
(WebCore::checkKeyPathNullValue):
(WebCore::checkKeyPathStringValue):
(WebCore::checkKeyPathNumberValue):
(WebCore::TEST):
2010-07-28 Marcus Bulach <bulach@chromium.org>
Reviewed by Adam Barth.
Implement IDBKeyPath parser.
https://bugs.webkit.org/show_bug.cgi?id=42976
IDBKeyPath is an internal class, exposed only for unit tests for now.
It'll allow indexed database implementation to traverse a given key path and obtain the corresponding properties
from a SerializedScriptValue.
* WebKit.gyp:
* tests/IDBKeyPathTest.cpp: Added.
(WebCore::ExpectedToken::ExpectedToken):
(WebCore::checkKeyPath):
(WebCore::TEST):
2010-08-16 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: upstream frontend-side WebSocket transport.
https://bugs.webkit.org/show_bug.cgi?id=43970
Chromium already has an alternate WebSocket-based communication channel with
the backend. Upstreaming it in this change. We will agree on the URI
of the remote service as the protocol matures.
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
* src/js/DevTools.js:
(WebInspector.loaded):
(devtools.domContentLoaded):
2010-08-16 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: remove utility context related code from debugger agent
https://bugs.webkit.org/show_bug.cgi?id=44049
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::onV8DebugMessage):
(WebKit::DebuggerAgentManager::pauseScript):
* src/DebuggerAgentManager.h:
2010-08-16 Yuta Kitamura <yutak@chromium.org>
Reviewed by Shinichiro Hamaji.
Attempt to fix Chromium's test_shell_tests.
Port Chromium's WebEntities to HTMLEntityTable
https://bugs.webkit.org/show_bug.cgi?id=44036
* src/WebEntities.cpp:
(WebKit::):
2010-08-15 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Port Chromium's WebEntities to HTMLEntityTable
https://bugs.webkit.org/show_bug.cgi?id=44036
This code is wrong and needs to be removed. However, at least after
this patch, it will compile.
* src/WebEntities.cpp:
(WebKit::):
(WebKit::WebEntities::WebEntities):
* src/WebEntities.h:
2010-08-13 Satish Sampath <satish@chromium.org>
Reviewed by Jeremy Orlow.
Support for multiple speech enabled elements in same page.
https://bugs.webkit.org/show_bug.cgi?id=43922
* public/WebSpeechInputController.h: Bubbles up the requestId given by webcore to the embedder.
(WebKit::WebSpeechInputController::startRecognition):
(WebKit::WebSpeechInputController::cancelRecognition):
(WebKit::WebSpeechInputController::stopRecording):
* public/WebSpeechInputListener.h: Passes down the requestId given by embedder to webcore.
(WebKit::WebSpeechInputListener::didCompleteRecording):
(WebKit::WebSpeechInputListener::setRecognitionResult):
(WebKit::WebSpeechInputListener::didCompleteRecognition):
* src/SpeechInputClientImpl.cpp:
(WebKit::SpeechInputClientImpl::setListener):
(WebKit::SpeechInputClientImpl::startRecognition):
(WebKit::SpeechInputClientImpl::stopRecording):
(WebKit::SpeechInputClientImpl::cancelRecognition):
(WebKit::SpeechInputClientImpl::didCompleteRecording):
(WebKit::SpeechInputClientImpl::didCompleteRecognition):
(WebKit::SpeechInputClientImpl::setRecognitionResult):
* src/SpeechInputClientImpl.h:
* src/WebSpeechInputControllerMockImpl.cpp:
(WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
(WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl):
(WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
(WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
(WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
(WebKit::WebSpeechInputControllerMockImpl::startRecognition):
(WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
(WebKit::WebSpeechInputControllerMockImpl::stopRecording):
* src/WebSpeechInputControllerMockImpl.h:
2010-08-12 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: allow interrupting long running JS to execute inspector command
https://bugs.webkit.org/show_bug.cgi?id=43900
* public/WebDevToolsAgent.h:
(WebKit::WebDevToolsAgent::MessageDescriptor::~MessageDescriptor):
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgent::interruptAndDispatch):
(WebKit::WebDevToolsAgent::shouldInterruptForMessage):
(WebKit::WebDevToolsAgent::processPendingMessages):
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
* src/WebDevToolsFrontendImpl.h:
* src/js/DevTools.js:
2010-08-12 Aaron Boodman <aa@chromium.org>
Reviewed by David Hyatt.
Make the cascade level of "user" styles configurable
https://bugs.webkit.org/show_bug.cgi?id=43457
* src/WebViewImpl.cpp:
(WebKit::WebView::addUserStyleSheet):
2010-08-12 John Gregg <johnnyg@google.com>
Reviewed by Kent Tamura.
[chromium] Add Notification::detachPresenter to the WebKit API.
https://bugs.webkit.org/show_bug.cgi?id=43659
* public/WebNotification.h:
* src/WebNotification.cpp:
(WebKit::WebNotification::detachPresenter):
2010-08-11 Stephen White <senorblanco@chromium.org>
Reviewed by David Levin.
Add support for BGRA pixel format to GraphicsContext3D.
https://bugs.webkit.org/show_bug.cgi?id=43858
Although this has been standard in desktop GL since 1.2, it's an
extension in GL ES 2.0, so a query function is provided to check
for support. The DefaultImpl returns false, since it does not yet
implement the TexImage2D internalFormat quirks.
* public/WebGraphicsContext3D.h:
(WebKit::WebGraphicsContext3D::supportsBGRA):
* src/GraphicsContext3D.cpp:
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA):
* src/WebGraphicsContext3DDefaultImpl.h:
2010-08-12 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65181.
http://trac.webkit.org/changeset/65181
https://bugs.webkit.org/show_bug.cgi?id=43909
It broke 35 layout tests fail on chromium-win (Requested by
hamaji on #webkit).
* public/WebFrameClient.h:
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
2010-08-12 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65221.
http://trac.webkit.org/changeset/65221
https://bugs.webkit.org/show_bug.cgi?id=43896
Broke snow leopard build. (Requested by dave_levin on
#webkit).
* public/WebGraphicsContext3D.h:
* src/GraphicsContext3D.cpp:
* src/WebGraphicsContext3DDefaultImpl.cpp:
* src/WebGraphicsContext3DDefaultImpl.h:
2010-08-11 Stephen White <senorblanco@chromium.org>
Reviewed by David Levin.
Add support for BGRA pixel format to GraphicsContext3D.
https://bugs.webkit.org/show_bug.cgi?id=43858
Although this has been standard in desktop GL since 1.2, it's an
extension in GL ES 2.0, so a query function is provided to check
for support. The DefaultImpl returns false, since it does not yet
implement the TexImage2D internalFormat quirks.
* public/WebGraphicsContext3D.h:
(WebKit::WebGraphicsContext3D::supportsBGRA):
* src/GraphicsContext3D.cpp:
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA):
* src/WebGraphicsContext3DDefaultImpl.h:
2010-08-11 James Hawkins <jhawkins@chromium.org>
Reviewed by Dmitry Titov.
[Chromium] Notify the WebFrameClient when the frame is detached from
the view. This is used to clear the cached frame in the FormManager.
Eventually this will be removed once handling forms is moved into
WebCore.
https://bugs.webkit.org/show_bug.cgi?id=43648
* public/WebFrameClient.h:
(WebKit::WebFrameClient::frameDetached):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
2010-08-11 Dimitri Glazkov <dglazkov@chromium.org>
Build fix, turn off yet-unbaked DEVICE_ORIENTATION stuff.
* features.gypi: Turned it off.
2010-08-11 Evan Stade <estade@chromium.org>
Reviewed by David Levin.
[chromium] linux chromium sends double clicks too often
https://bugs.webkit.org/show_bug.cgi?id=43096
* WebKit.gyp: add the test
* src/gtk/WebInputEventFactory.cpp:
(WebKit::WebInputEventFactory::mouseEvent): check the x/y coordinates of the
potential double click event
* tests/WebInputEventFactoryTestGtk.cpp: Added.
2010-08-11 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Inform a plugin about the zoom level when it's created
https://bugs.webkit.org/show_bug.cgi?id=42268
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::createPlugin):
2010-08-11 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Fix Chromium compilation.
* DEPS:
2010-08-11 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Chromium build fix.
* DEPS: bump up Chromium revision.
2010-08-11 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: remove InjectDispatch.js
https://bugs.webkit.org/show_bug.cgi?id=43835
* WebKit.grd:
* src/js/InjectDispatch.js: Removed.
2010-08-10 Kent Tamura <tkent@chromium.org>
Unreviewed, build fix.
Chromium build fix for r65107.
* src/WebAnimationControllerImpl.cpp:
(WebKit::WebAnimationControllerImpl::suspendAnimations):
(WebKit::WebAnimationControllerImpl::resumeAnimations):
2010-08-10 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
Roll forward Chromium DEPS to r55584
https://bugs.webkit.org/show_bug.cgi?id=43811
* DEPS:
2010-08-10 Kavita Kanetkar <kkanetkar@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: Support appcache status change for Chrome
https://bugs.webkit.org/show_bug.cgi?id=43531
* src/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
2010-08-10 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
Use Chromium OpenGL bindings rather than GLEW in WebGraphicsContextDefaultImpl
https://bugs.webkit.org/show_bug.cgi?id=43754
Deleted per-platform OpenGL context management code, now
abstracted via GLContext. Built and tested in Chromium with
--in-process-webgl flag.
* WebKit.gyp:
* src/GraphicsContext3D.cpp:
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::initialize):
(WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
(WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
(WebKit::WebGraphicsContext3DDefaultImpl::reshape):
(WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
(WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
(WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
(WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
* src/WebGraphicsContext3DDefaultImpl.h:
2010-08-10 Jian Li <jianli@chromium.org>
Another chromium build fix.
* src/AssertMatchingEnums.cpp:
2010-08-10 Gavin Barraclough <barraclough@apple.com>
Rubber stamped by Sam Weinig.
Bug 43786 - Move AtomicStringHash from WebCore to WTF
Also remove deprecated string headers from WebCore/platform/text.
* src/WebKit.cpp:
* src/WebPageSerializerImpl.h:
* src/WebString.cpp:
2010-08-10 James Robinson <jamesr@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Feature defines are out of sync between features.gypi and downstream feature_overrides.gypi
https://bugs.webkit.org/show_bug.cgi?id=43756
This synchronizes the feature defines to what's currently downstream (at r55468).
The difference between the build.webkit.org bots and the chromium bots has
caused strange compilation failures lately.
* features.gypi:
2010-08-10 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: get rid of utility context
https://bugs.webkit.org/show_bug.cgi?id=43787
* public/WebDevToolsAgentClient.h:
* src/DebuggerAgentImpl.cpp:
* src/DebuggerAgentImpl.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
(WebKit::WebDevToolsAgentImpl::attach):
(WebKit::WebDevToolsAgentImpl::detach):
(WebKit::WebDevToolsAgentImpl::frontendLoaded):
(WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
(WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
* src/WebDevToolsAgentImpl.h:
2010-08-10 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector, Chromium: reloading of inspected page hits assert in InspectorController::enableDebuggerFromFrontend()
https://bugs.webkit.org/show_bug.cgi?id=43780
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
2010-08-10 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
Implement chromium WebDeviceOrientationClient wrapper and have WebViewImpl get it from WebViewClient.
https://bugs.webkit.org/show_bug.cgi?id=43258
Provide a DeviceOrientationClient to Page by means of a
DeviceOrientationClientProxy that proxies calls to
a WebDeviceOrientationClient, an interface that can be implemented
in the WebKit or Chromium layer. An implementation to be used for
layout tests, wrapping DeviceOrientationClientMock, is provided.
* WebKit.gyp:
* public/WebDeviceOrientation.h: Added.
(WebKit::WebDeviceOrientation::WebDeviceOrientation):
* public/WebDeviceOrientationClient.h: Added.
(WebKit::WebDeviceOrientationClient::~WebDeviceOrientationClient):
* public/WebDeviceOrientationClientMock.h: Added.
(WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
(WebKit::WebDeviceOrientationClientMock::~WebDeviceOrientationClientMock):
* public/WebDeviceOrientationController.h: Added.
(WebKit::WebDeviceOrientationController::WebDeviceOrientationController):
* public/WebViewClient.h:
(WebKit::WebViewClient::deviceOrientationClient):
* src/DeviceOrientationClientProxy.cpp: Added.
(WebKit::DeviceOrientationClientProxy::setController):
(WebKit::DeviceOrientationClientProxy::startUpdating):
(WebKit::DeviceOrientationClientProxy::stopUpdating):
(WebKit::DeviceOrientationClientProxy::lastOrientation):
* src/DeviceOrientationClientProxy.h: Added.
(WebKit::DeviceOrientationClientProxy::DeviceOrientationClientProxy):
* src/WebDeviceOrientation.cpp: Added.
(WebKit::WebDeviceOrientation::WebDeviceOrientation):
(WebKit::WebDeviceOrientation::operator=):
(WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientation>):
* src/WebDeviceOrientationClientMock.cpp: Added.
(WebKit::WebDeviceOrientationClientMock::setController):
(WebKit::WebDeviceOrientationClientMock::startUpdating):
(WebKit::WebDeviceOrientationClientMock::stopUpdating):
(WebKit::WebDeviceOrientationClientMock::lastOrientation):
(WebKit::WebDeviceOrientationClientMock::setOrientation):
(WebKit::WebDeviceOrientationClientMock::initialize):
(WebKit::WebDeviceOrientationClientMock::reset):
* src/WebDeviceOrientationController.cpp: Added.
(WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
(WebKit::WebDeviceOrientationController::controller):
* src/WebViewImpl.cpp:
(WebKit::WebView::create):
(WebKit::WebViewImpl::WebViewImpl):
* src/WebViewImpl.h:
2010-08-10 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r64988.
http://trac.webkit.org/changeset/64988
https://bugs.webkit.org/show_bug.cgi?id=43775
"It seems to break chromium's ui_tests" (Requested by hamaji
on #webkit).
* public/WebFrameClient.h:
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
2010-08-10 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Remove references to deleted header InspectorFrontend.h
* src/WebDevToolsAgentImpl.cpp:
2010-08-10 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Fix Chromium compilation.
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::frontendLoaded):
2010-08-09 Gavin Barraclough <barraclough@apple.com>
Speculative chromium build fix V.
* tests/KURLTest.cpp:
(ComponentCase::TEST):
2010-08-09 Gavin Barraclough <barraclough@apple.com>
Speculative chromium build fix IV.
* src/WebPageSerializerImpl.h:
2010-08-09 Gavin Barraclough <barraclough@apple.com>
Speculative chromium build fix II.
* src/AssertMatchingEnums.cpp:
2010-08-09 Gavin Barraclough <barraclough@apple.com>
Speculative chromium build fix.
* public/WebCString.h:
2010-08-06 Gavin Barraclough <barraclough@apple.com>
Rubber stamped by Sam Weinig
Bug 43594 - Add string forwards to Forward.h
This allows us to remove forward declarations for these classes from
WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
* public/WebCString.h:
* public/WebString.h:
* src/DOMUtilitiesPrivate.h:
* src/DebuggerAgentImpl.h:
* src/DebuggerAgentManager.h:
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsFrontendImpl.h:
* src/WebPageSerializerImpl.h:
2010-08-09 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Dimitri Glazkov.
Skip the slow software rendering path of GraphicsContext3D if accelerated
compositing is active. This fixes an issue with WebGL and the compositor
in which the software rendering of WebGL would cause the current GL context
to change while the compositor was processing layers. Tested by running
several WebGL samples both with the compositor enabled and disabled.
https://bugs.webkit.org/show_bug.cgi?id=43644
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::initialize):
(WebCore::GraphicsContext3DInternal::beginPaint):
2010-08-06 James Hawkins <jhawkins@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Notify the WebFrameClient when the frame is detached from
the view. This is used to clear the cached frame in the FormManager.
Eventually this will be removed once handling forms is moved into
WebCore.
https://bugs.webkit.org/show_bug.cgi?id=43648
* public/WebFrameClient.h:
(WebKit::WebFrameClient::frameDetached):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
2010-08-09 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: Chromium tests fix.
Chromium: provisional interactive ui tests fix.
* src/js/Tests.js:
(.TestSuite.prototype.testShowStoragePanel.this):
(.TestSuite.prototype.testShowStoragePanel):
2010-08-09 Pavel Feldman <pfeldman@chromium.org>
Not reviewed. Chromium tests fix.
Disable runtime switch for device motion in chromium.
https://bugs.webkit.org/show_bug.cgi?id=43717
* src/WebViewImpl.cpp:
(WebKit::WebView::create):
2010-08-09 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium: Remove temporary device motion fix.
https://bugs.webkit.org/show_bug.cgi?id=43713
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableDeviceOrientation):
2010-08-07 Jay Civelli <jcivelli@chromium.org>
Reviewed by Eric Seidel.
Removed unecessary focus code.
https://bugs.webkit.org/show_bug.cgi?id=43542
* src/ChromiumBridge.cpp:
2010-08-06 Victor Wang <victorw@chromium.org>
Reviewed by Kent Tamura.
[Chromium] Add dllimport/dllexport to WebSpeechInputControllerMock::create
so it works for windows dll build.
https://bugs.webkit.org/show_bug.cgi?id=43627
* public/WebSpeechInputControllerMock.h:
2010-08-06 James Robinson <jamesr@chromium.org>
Reviewed by Simon Fraser.
Composited canvas should be treated the same by the compositor and not be WebGL specific
https://bugs.webkit.org/show_bug.cgi?id=43589
Initializes the platformLayer as a CanvasLayerChromium, not a WebGLLayerChromium.
The layer itself isn't WebGL-specific.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::initialize):
(WebCore::GraphicsContext3DInternal::platformLayer):
(WebCore::GraphicsContext3D::platformLayer):
2010-08-06 Jessie Berlin <jberlin@apple.com>
Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
Unreviewed.
* public/WebCString.h:
* public/WebString.h:
* src/DOMUtilitiesPrivate.h:
* src/DebuggerAgentImpl.h:
* src/DebuggerAgentManager.h:
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsFrontendImpl.h:
* src/WebPageSerializerImpl.h:
2010-08-06 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium: disable device motion by default.
https://bugs.webkit.org/show_bug.cgi?id=43623
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableDeviceMotion):
(WebKit::WebRuntimeFeatures::isDeviceMotionEnabled):
(WebKit::WebRuntimeFeatures::enableDeviceOrientation):
2010-08-06 Kavita Kanetkar <kkanetkar@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: Remove "Online/Offline" icon for Chrome's appcache devtools UI.
https://bugs.webkit.org/show_bug.cgi?id=43450
* src/js/DevTools.js:
(WebInspector.loaded):
2010-08-05 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
Initial bindings and plumbing for IDBCursor.
https://bugs.webkit.org/show_bug.cgi?id=41888
Test: storage/indexeddb/idb-opencursor.html
* WebKit.gyp:
* public/WebIDBCallbacks.h:
(WebKit::WebIDBCallbacks::onSuccess):
* public/WebIDBCursor.h: Added.
(WebKit::WebIDBCursor::~WebIDBCursor):
(WebKit::WebIDBCursor::direction):
(WebKit::WebIDBCursor::key):
(WebKit::WebIDBCursor::value):
(WebKit::WebIDBCursor::update):
(WebKit::WebIDBCursor::continueFunction):
(WebKit::WebIDBCursor::remove):
* public/WebIDBKeyRange.h: Added.
(WebKit::WebIDBKeyRange::~WebIDBKeyRange):
(WebKit::WebIDBKeyRange::WebIDBKeyRange):
* public/WebIDBObjectStore.h:
(WebKit::WebIDBObjectStore::openCursor):
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IDBCursorBackendProxy.cpp: Added.
(WebCore::IDBCursorBackendProxy::create):
(WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
(WebCore::IDBCursorBackendProxy::~IDBCursorBackendProxy):
(WebCore::IDBCursorBackendProxy::direction):
(WebCore::IDBCursorBackendProxy::key):
(WebCore::IDBCursorBackendProxy::value):
(WebCore::IDBCursorBackendProxy::update):
(WebCore::IDBCursorBackendProxy::continueFunction):
(WebCore::IDBCursorBackendProxy::remove):
* src/IDBCursorBackendProxy.h: Added.
* src/IDBObjectStoreProxy.cpp:
(WebCore::IDBObjectStoreProxy::openCursor):
* src/IDBObjectStoreProxy.h:
* src/WebIDBCallbacksImpl.cpp:
(WebCore::WebIDBCallbacksImpl::onSuccess):
* src/WebIDBCallbacksImpl.h:
* src/WebIDBCursorImpl.cpp: Added.
(WebKit::WebIDBCursorImpl::WebIDBCursorImpl):
(WebKit::WebIDBCursorImpl::~WebIDBCursorImpl):
(WebKit::WebIDBCursorImpl::direction):
(WebKit::WebIDBCursorImpl::key):
(WebKit::WebIDBCursorImpl::value):
(WebKit::WebIDBCursorImpl::update):
(WebKit::WebIDBCursorImpl::continueFunction):
(WebKit::WebIDBCursorImpl::remove):
* src/WebIDBCursorImpl.h: Added.
* src/WebIDBKeyRange.cpp: Added.
(WebKit::WebIDBKeyRange::WebIDBKeyRange):
(WebKit::WebIDBKeyRange::assign):
(WebKit::WebIDBKeyRange::reset):
(WebKit::WebIDBKeyRange::left):
(WebKit::WebIDBKeyRange::right):
(WebKit::WebIDBKeyRange::flags):
* src/WebIDBObjectStoreImpl.cpp:
(WebKit::WebIDBObjectStoreImpl::openCursor):
* src/WebIDBObjectStoreImpl.h:
2010-08-05 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>
Reviewed by Jeremy Orlow.
[IndexedDB] IndexedDB is missing the Transaction interface.
https://bugs.webkit.org/show_bug.cgi?id=42970
Add IDBTransaction boilerplate.
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::transaction):
* src/IDBDatabaseProxy.h:
2010-08-05 Gavin Barraclough <barraclough@apple.com>
Rubber stamped by Sam Weinig
Bug 43594 - Add string forwards to Forward.h
This allows us to remove forward declarations for these classes from
WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
* public/WebCString.h:
* public/WebString.h:
* src/DOMUtilitiesPrivate.h:
* src/DebuggerAgentImpl.h:
* src/DebuggerAgentManager.h:
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsFrontendImpl.h:
* src/WebPageSerializerImpl.h:
2010-08-05 Brett Wilson <brettw@chromium.org>
Reviewed by Nate Chapin.
Make the webkit unit tests depend on test_support_base
https://bugs.webkit.org/show_bug.cgi?id=43584
* WebKit.gyp:
2010-08-04 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
Style cleanups in WebGL
https://bugs.webkit.org/show_bug.cgi?id=38761
Cleaned up all style violations in WebGL-related files reported by
check-webkit-style. No logic or other changes. Built WebKit and
Chromium and ran WebGL layout tests.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
* src/WebGraphicsContext3DDefaultImpl.cpp:
* src/WebGraphicsContext3DDefaultImpl.h:
2010-08-05 Jian Li <jianli@chromium.org>
Reviewed by David Levin.
Unify blob related feature defines to ENABLE(BLOB).
https://bugs.webkit.org/show_bug.cgi?id=43081
* features.gypi:
* src/WebHTTPBody.cpp:
(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendFileRange):
2010-08-05 Nico Weber <thakis@chromium.org>
Reviewed by Jeremy Orlow.
Remove useless const on return-by-value (fixes a clang warning)
https://bugs.webkit.org/show_bug.cgi?id=43491
* src/WebInputEventConversion.cpp:
(WebKit::toPlatformKeyboardEventType):
2010-08-05 Satish Sampath <satish@chromium.org>
Reviewed by Jeremy Orlow.
Add speech input controller mock in WebKit and a layout test.
https://bugs.webkit.org/show_bug.cgi?id=43477
* WebKit.gyp:
* public/WebSpeechInputControllerMock.h: Added WebKit speech input controller mock interface.
* src/WebSpeechInputControllerMockImpl.cpp: Added implementation of the above mock.
(WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
(WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
(WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
(WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
(WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
(WebKit::WebSpeechInputControllerMockImpl::startRecognition):
(WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
(WebKit::WebSpeechInputControllerMockImpl::stopRecording):
(WebKit::WebSpeechInputControllerMock::create):
2010-08-05 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium DevTools: [REGRESSION] Frame navigation is not handled in devtools.
https://bugs.webkit.org/show_bug.cgi?id=43556
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::detach):
(WebKit::WebDevToolsAgentImpl::frontendLoaded):
(WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
2010-08-05 John Gregg <johnnyg@google.com>
Reviewed by Darin Fisher.
[chromium] WebFileChooserParams should have default constructor
https://bugs.webkit.org/show_bug.cgi?id=43435
* public/WebFileChooserParams.h:
(WebKit::WebFileChooserParams::WebFileChooserParams):
2010-08-05 Victoria Kirst <vrk@google.com>
Reviewed by David Levin.
Added a repaint request so that VideoLayerChromium does not have
a flickering problem when playing video.
https://bugs.webkit.org/show_bug.cgi?id=43101
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::repaint):
2010-08-05 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
DevTools: get rid of delayed command dispatching on front-end side.
https://bugs.webkit.org/show_bug.cgi?id=43479
* public/WebDevToolsFrontendClient.h:
(WebKit::WebDevToolsFrontendClient::sendFrontendLoaded):
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::attach):
(WebKit::WebDevToolsAgentImpl::frontendLoaded):
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
(WebKit::WebDevToolsFrontendImpl::frontendLoaded):
* src/WebDevToolsFrontendImpl.h:
* src/js/DevTools.js:
(WebInspector.doLoadedDone):
* src/js/Tests.js:
(.uiTests.runTest):
(.):
2010-08-02 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
Port Chromium's accelerated compositing to Mac OS X
https://bugs.webkit.org/show_bug.cgi?id=43398
* public/WebGLES2Context.h:
- Added resizeOnscreenContent, needed on Mac OS X to report
window size changes.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::resize):
- Send resize notification to the WebGLES2Context.
(WebKit::WebViewImpl::updateRootLayerContents):
- Ported to Core Graphics.
(WebKit::WebViewImpl::gles2Context):
- Added initial size notification upon context creation.
2010-08-04 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
DevTools: get rid of delayed command dispatching on front-end side.
https://bugs.webkit.org/show_bug.cgi?id=43479
* public/WebDevToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::frontendLoaded):
* src/WebDevToolsAgentImpl.h:
2010-08-03 James Robinson <jamesr@chromium.org>
Reviewed by Darin Fisher.
Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API
https://bugs.webkit.org/show_bug.cgi?id=43221
Implements functions in term of Platform3DObjects instead of WebGL types.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3DInternal::beginPaint):
(WebCore::GraphicsContext3DInternal::bindAttribLocation):
(WebCore::GraphicsContext3DInternal::getActiveAttrib):
(WebCore::GraphicsContext3DInternal::getActiveUniform):
(WebCore::GraphicsContext3DInternal::getAttribLocation):
(WebCore::GraphicsContext3DInternal::getProgramInfoLog):
(WebCore::GraphicsContext3DInternal::getShaderInfoLog):
(WebCore::GraphicsContext3DInternal::getShaderSource):
(WebCore::GraphicsContext3DInternal::getUniformLocation):
(WebCore::GraphicsContext3DInternal::shaderSource):
2010-08-03 Dimitri Glazkov <dglazkov@chromium.org>
Unreviewed, build fix.
Roll chromium to 54723 to unbreak the builds.
* DEPS:
2010-08-03 Andrei Popescu <andreip@google.com>
Reviewed by Jeremy Orlow.
[IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore
https://bugs.webkit.org/show_bug.cgi?id=43420
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::objectStore):
* src/IDBDatabaseProxy.h:
* src/IDBObjectStoreProxy.cpp:
(WebCore::IDBObjectStoreProxy::create):
* src/IDBObjectStoreProxy.h:
* src/WebIDBObjectStoreImpl.cpp:
(WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
* src/WebIDBObjectStoreImpl.h:
2010-08-03 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Fix Chromium interactive UI tests.
* src/js/Tests.js:
(.TestSuite.prototype.testResourceHeaders):
2010-07-30 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>
Reviewed by Jeremy Orlow.
Rename IDBDatabaseRequest to IDBDatabase
https://bugs.webkit.org/show_bug.cgi?id=43250
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::create):
* src/IDBDatabaseProxy.h:
* src/WebIDBDatabaseImpl.cpp:
(WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
(WebKit::WebIDBDatabaseImpl::name):
(WebKit::WebIDBDatabaseImpl::description):
(WebKit::WebIDBDatabaseImpl::version):
(WebKit::WebIDBDatabaseImpl::objectStores):
(WebKit::WebIDBDatabaseImpl::createObjectStore):
(WebKit::WebIDBDatabaseImpl::objectStore):
(WebKit::WebIDBDatabaseImpl::removeObjectStore):
* src/WebIDBDatabaseImpl.h:
2010-08-02 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium DevTools: Get rid of DevTools RPC.
https://bugs.webkit.org/show_bug.cgi?id=43335
* WebKit.gyp:
* public/WebDevToolsAgent.h:
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsAgentClient::sendMessageToInspectorFrontend):
(WebKit::WebDevToolsAgentClient::sendDebuggerOutput):
(WebKit::WebDevToolsAgentClient::sendDispatchToAPU):
* public/WebDevToolsFrontend.h:
* public/WebDevToolsFrontendClient.h:
(WebKit::WebDevToolsFrontendClient::sendMessageToBackend):
* public/WebDevToolsMessageData.h: Removed.
* public/WebDevToolsMessageTransport.h: Removed.
* src/APUAgentDelegate.h: Removed.
* src/DebuggerAgent.h: Removed.
* src/DebuggerAgentImpl.cpp:
(WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
(WebKit::DebuggerAgentImpl::debuggerOutput):
* src/DebuggerAgentImpl.h:
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::debugDetach):
(WebKit::DebuggerAgentManager::onV8DebugMessage):
(WebKit::DebuggerAgentManager::executeDebuggerCommand):
(WebKit::DebuggerAgentManager::sendCommandToV8):
(WebKit::DebuggerAgentManager::sendContinueCommandToV8):
* src/DevToolsRPC.h: Removed.
* src/DevToolsRPCJS.h: Removed.
* src/InspectorClientImpl.cpp:
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
* src/ProfilerAgent.h: Removed.
* src/ProfilerAgentImpl.cpp: Removed.
* src/ProfilerAgentImpl.h: Removed.
* src/ToolsAgent.h: Removed.
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
(WebKit::WebDevToolsAgentImpl::attach):
(WebKit::WebDevToolsAgentImpl::didClearWindowObject):
(WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend):
(WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
(WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
(WebKit::WebDevToolsFrontendImpl::frontendLoaded):
(WebKit::WebDevToolsFrontendImpl::executeScript):
* src/WebDevToolsFrontendImpl.h:
* src/js/DevTools.js:
(devtools.dispatch):
(devtools.ToolsAgent):
* src/js/DevToolsHostStub.js:
* src/js/ProfilerAgent.js:
(devtools.ProfilerAgent):
(devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
(devtools.ProfilerAgent.prototype._getNextLogLines):
(devtools.ProfilerAgent.prototype._didGetProfilerLogLines):
* src/js/ProfilerProcessor.js:
(devtools.profiler.Processor.prototype.printError):
2010-08-02 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Remove dependencies to some Chromium headers
https://bugs.webkit.org/show_bug.cgi?id=43396
* DEPS: Update Chromium revision to 54649 in order to have a
webkit_support change (r54646)
2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Darin Fisher.
PopupMenu refactoring in preparation to WebKit2
https://bugs.webkit.org/show_bug.cgi?id=42592
As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
instances, concrete classes that inherit from ChromeClient needed to be changed to
implement the new methods.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
(WebKit::ChromeClientImpl::createPopupMenu):
(WebKit::ChromeClientImpl::createSearchPopupMenu):
* src/ChromeClientImpl.h:
2010-08-02 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Always initialize GTK
https://bugs.webkit.org/show_bug.cgi?id=43327
* WebKit.gyp: Add GTK dependency for DRT.
2010-08-02 Jeremy Orlow <jorlow@chromium.org>
Speculative revert of 64425 due to Chromium instability
https://bugs.webkit.org/show_bug.cgi?id=43347
* src/ChromeClientImpl.cpp:
* src/ChromeClientImpl.h:
* tests/PopupMenuTest.cpp:
(WebKit::SelectPopupMenuTest::SetUp):
2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Darin Fisher.
PopupMenu refactoring in preparation to WebKit2
https://bugs.webkit.org/show_bug.cgi?id=42592
As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
instances, concrete classes that inherit from ChromeClient needed to be changed to
implement the new methods.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
(WebKit::ChromeClientImpl::createPopupMenu):
(WebKit::ChromeClientImpl::createSearchPopupMenu):
* src/ChromeClientImpl.h:
2010-07-31 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r64422.
http://trac.webkit.org/changeset/64422
https://bugs.webkit.org/show_bug.cgi?id=43304
Build fixes are needed for Snow Leopard and Windows.
(Requested by lca on #webkit).
* src/ChromeClientImpl.cpp:
* src/ChromeClientImpl.h:
2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Darin Fisher.
PopupMenu refactoring in preparation to WebKit2
https://bugs.webkit.org/show_bug.cgi?id=42592
As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
instances, concrete classes that inherit from ChromeClient needed to be changed to
implement the new methods.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
(WebKit::ChromeClientImpl::createPopupMenu):
(WebKit::ChromeClientImpl::createSearchPopupMenu):
* src/ChromeClientImpl.h:
2010-07-30 Joseph Pecoraro <joepeck@webkit.org>
Reviewed by David Kilzer.
Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
https://bugs.webkit.org/show_bug.cgi?id=40627
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
* src/ChromeClientImpl.h:
2010-07-30 James Robinson <jamesr@chromium.org>
Compile fix. Put GLES2 functions behind USE(GLES2_RENDERING) instead of
USE(ACCELERATED_COMPOSITING) to match WebCore. Fixes the compile when
USE(GLES2_RENDERING) is true and USE(ACCELERATED_COMPOSITING) is false.
* src/ChromeClientImpl.cpp:
* src/ChromeClientImpl.h:
2010-07-27 Darin Fisher <darin@chromium.org>
Reviewed by Brady Eidson.
History.pushState() + navigation operates on top frame when called from
nested context
https://bugs.webkit.org/show_bug.cgi?id=43080
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::pluginLoadObserver): The WebDataSource
can be null if the Frame has already been detached from the Page. This
happens if a popstate event handler removes the frame.
2010-07-29 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
Rename all the IDBIndex classses to match the latest conventions
https://bugs.webkit.org/show_bug.cgi?id=43190
Fix up stuff in WebKit layer to handle the renamings in WebCore.
* WebKit.gyp:
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IDBIndexBackendProxy.cpp: Added.
(WebCore::IDBIndexBackendProxy::create):
(WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
(WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy):
(WebCore::IDBIndexBackendProxy::name):
(WebCore::IDBIndexBackendProxy::keyPath):
(WebCore::IDBIndexBackendProxy::unique):
* src/IDBIndexBackendProxy.h: Added.
* src/IDBIndexProxy.cpp: Removed.
* src/IDBIndexProxy.h: Removed.
* src/IDBObjectStoreProxy.cpp:
(WebCore::IDBObjectStoreProxy::index):
* src/IDBObjectStoreProxy.h:
* src/WebIDBCallbacksImpl.cpp:
(WebCore::WebIDBCallbacksImpl::onSuccess):
* src/WebIDBIndexImpl.cpp:
(WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
(WebKit::WebIDBIndexImpl::name):
(WebKit::WebIDBIndexImpl::keyPath):
(WebKit::WebIDBIndexImpl::unique):
* src/WebIDBIndexImpl.h:
* src/WebIDBObjectStoreImpl.cpp:
(WebKit::WebIDBObjectStoreImpl::index):
2010-07-30 Satish Sampath <satish@chromium.org>
Reviewed by Jeremy Orlow.
Add a check for WebViewClient being null.
https://bugs.webkit.org/show_bug.cgi?id=43240
* src/SpeechInputClientImpl.cpp:
(WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
2010-07-30 Hans Wennborg <hans@chromium.org>
Reviewed by Steve Block.
Disable runtime switch for device orientation in chromium
https://bugs.webkit.org/show_bug.cgi?id=43237
Explicitly set the runtime switch for device orientation
in WebView::create until we implement the feature.
If the flag is accidentally on while no DeviceOrientationClient
is provided, the program will crash.
* src/WebViewImpl.cpp:
(WebKit::WebView::create):
2010-07-26 Andrei Popescu <andreip@google.com>
Reviewed by Jeremy Orlow.
[IndexedDB] IndexedDatabase should be called IDBFactory.
https://bugs.webkit.org/show_bug.cgi?id=42967
* WebKit.gyp:
* public/WebIDBFactory.h: Added.
(WebKit::WebIDBFactory::~WebIDBFactory):
(WebKit::WebIDBFactory::databases):
(WebKit::WebIDBFactory::open):
* public/WebIndexedDatabase.h: Removed.
* public/WebKitClient.h:
(WebKit::WebKitClient::idbFactory):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::idbFactory):
* src/IDBFactoryBackendProxy.cpp: Added.
(WebCore::IDBFactoryBackendProxy::create):
(WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
(WebCore::IDBFactoryBackendProxy::~IDBFactoryBackendProxy):
(WebCore::IDBFactoryBackendProxy::open):
* src/IDBFactoryBackendProxy.h: Added.
* src/IndexedDatabaseProxy.cpp: Removed.
* src/IndexedDatabaseProxy.h: Removed.
* src/WebIDBFactoryImpl.cpp: Added.
(WebKit::WebIDBFactory::create):
(WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
(WebKit::WebIDBFactoryImpl::~WebIDBFactoryImpl):
(WebKit::WebIDBFactoryImpl::open):
* src/WebIDBFactoryImpl.h: Added.
* src/WebIndexedDatabaseImpl.cpp: Removed.
* src/WebIndexedDatabaseImpl.h: Removed.
2010-07-29 Andrei Popescu <andreip@google.com>
Reviewed by Jeremy Orlow.
[IndexedDB] WebDOMStringList ctor is not exported and causes link errors for the multi-dll chromium build
https://bugs.webkit.org/show_bug.cgi?id=43186
Add WEBKIT_API to WebDOMStringList default ctor.
* public/WebDOMStringList.h:
2010-07-29 Satish Sampath <satish@chromium.org>
Reviewed by Steve Block.
Runtime feature switch for speech input
https://bugs.webkit.org/show_bug.cgi?id=43146
Add a runtime feature switch that decides whether speech input attributes are available or not.
Defaults to true.
* public/WebRuntimeFeatures.h:
* src/SpeechInputClientImpl.cpp:
(WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableSpeechInput):
(WebKit::WebRuntimeFeatures::isSpeechInputEnabled):
2010-07-28 Kavita Kanetkar <kkanetkar@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Enable UI for chromium's appcache inspection.
https://bugs.webkit.org/show_bug.cgi?id=43098
* src/js/DevTools.js:
(WebInspector.loaded):
2010-07-28 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Dimitri Glazkov.
Add access to the computed style display to WebAccessibilityObject.
https://bugs.webkit.org/show_bug.cgi?id=43044
* public/WebAccessibilityObject.h:
* src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::hasComputedStyle):
(WebKit::WebAccessibilityObject::computedStyleDisplay):
2010-07-28 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
Set ENABLE_DEVICE_ORIENTATION=1 in features.gypi for chromium
https://bugs.webkit.org/show_bug.cgi?id=43122
Enable the compile-time switch for device orientation.
The switch was already enabled in features_override.gypi in the Chromium
repository (in revision 53317), and should be set here as well.
The feature is being implemented behind a run-time flag which
defaults to off in Chromium.
* features.gypi: Set ENABLE_DEVICE_ORIENTATION=1.
2010-07-28 Gene Gutnik <gene@google.com>
Reviewed by Darin Fisher.
Fix mouse coordinate conversion. WindowX,Y is an absolute
mouse coordinates within browser window, x,y - are coordinates
relative to the plugin.
https://bugs.webkit.org/show_bug.cgi?id=42987
* src/WebInputEventConversion.cpp:
(WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
(WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
* src/WebInputEventConversion.h:
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleMouseEvent):
(WebKit::WebPluginContainerImpl::handleWheelEvent):
2010-07-28 James Robinson <jamesr@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add a bool to Settings to control accelerated 2d canvas
https://bugs.webkit.org/show_bug.cgi?id=43094
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setAccelerated2dCanvasEnabled):
* src/WebSettingsImpl.h:
2010-07-28 Brett Wilson <brettw@chromium.org>
Reviewed by Darin Fisher.
Fix forward declares to be struct instead of class.
https://bugs.webkit.org/show_bug.cgi?id=43127
* public/WebFont.h:
2010-07-28 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Dimitri Glazkov.
Chromium DevTools: [REGRESSION] sourceURL is not respected.
https://bugs.webkit.org/show_bug.cgi?id=43124
* src/js/DebuggerScript.js:
2010-07-28 Andrei Popescu <andreip@google.com>
Reviewed by Jeremy Orlow.
[IndexedDB] WebDOMStringList default ctor does not initialize its m_private member
variable so any attempt to append strings to a WebDOMStringList instance results in a crash.
https://bugs.webkit.org/show_bug.cgi?id=43120
Makes the default WebKit::WebDOMStringList ctor actually create its wrapped
WebCore::DOMStringList instance.
* public/WebDOMStringList.h:
* src/WebDOMStringList.cpp:
(WebKit::WebDOMStringList::WebDOMStringList):
2010-07-26 Steve Block <steveblock@google.com>
Reviewed by Jeremy Orlow.
Page clients should be passed to Page constructor via structure of pointers
https://bugs.webkit.org/show_bug.cgi?id=42834
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
2010-07-28 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: chromium tests fix.
Chromium Dev Tools: [REGRESSION] Pause is not working.
https://bugs.webkit.org/show_bug.cgi?id=43118
* src/js/DevTools.js:
(InspectorBackend.pause):
2010-07-27 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Ojan Vafai.
Add FILE_SYSTEM build flag for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=42915
* features.gypi:
2010-07-27 James Hawkins <jhawkins@chromium.org>
Unreviewed Build Fix.
Add a missing itemIcon() method to TestPopupMenuClient.
* tests/PopupMenuTest.cpp:
(WebKit::TestPopupMenuClient::itemIcon):
2010-07-27 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add the ability to show right-aligned icons in the AutoFill popup.
https://bugs.webkit.org/show_bug.cgi?id=43076
* public/WebView.h:
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::getIcon):
(WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
(WebKit::AutoFillPopupMenuClient::itemIcon):
(WebKit::AutoFillPopupMenuClient::initialize):
(WebKit::AutoFillPopupMenuClient::setSuggestions):
* src/AutoFillPopupMenuClient.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::applyAutoFillSuggestions):
(WebKit::WebViewImpl::applyAutocompleteSuggestions):
* src/WebViewImpl.h:
2010-07-27 Brett Wilson <brettw@chromium.org>
Reviewed by Darin Fisher.
Add the ability to select fonts and do basic text drawing to the
Chromium WebKit API.
https://bugs.webkit.org/show_bug.cgi?id=42999
* WebKit.gyp:
* public/WebFloatPoint.h: Added.
(WebKit::WebFloatPoint::WebFloatPoint):
(WebKit::WebFloatPoint::operator=):
(WebKit::WebFloatPoint::operator WebCore::FloatPoint):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebFloatRect.h: Added.
(WebKit::WebFloatRect::isEmpty):
(WebKit::WebFloatRect::WebFloatRect):
(WebKit::WebFloatRect::operator=):
(WebKit::WebFloatRect::operator WebCore::FloatRect):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebFont.h: Added.
* public/WebFontDescription.h: Added.
(WebKit::WebFontDescription::):
(WebKit::WebFontDescription::WebFontDescription):
* public/WebTextRun.h: Added.
(WebKit::WebTextRun::WebTextRun):
* src/AssertMatchingEnums.cpp:
* src/WebFontDescription.cpp: Added.
(WebKit::WebFontDescription::WebFontDescription):
(WebKit::WebFontDescription::operator WebCore::FontDescription):
* src/WebFontImpl.cpp: Added.
(WebKit::WebFont::Create):
(WebKit::WebFontImpl::WebFontImpl):
(WebKit::WebFontImpl::fontDescription):
(WebKit::WebFontImpl::ascent):
(WebKit::WebFontImpl::descent):
(WebKit::WebFontImpl::height):
(WebKit::WebFontImpl::lineSpacing):
(WebKit::WebFontImpl::xHeight):
(WebKit::WebFontImpl::drawText):
(WebKit::WebFontImpl::width):
(WebKit::WebFontImpl::offsetForPosition):
(WebKit::WebFontImpl::selectionRectForText):
* src/WebFontImpl.h: Added.
* src/WebTextRun.cpp: Added.
(WebKit::WebTextRun::operator WebCore::TextRun):
2010-07-27 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by David Levin.
Move all WebSQLDatabases-specific code behind #if ENABLE(DATABASE).
https://bugs.webkit.org/show_bug.cgi?id=43035
Make Chromium compile with ENABLE_DATABASE=0.
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::databaseGetFileSize):
* src/DatabaseObserver.cpp:
* src/WebDatabase.cpp:
(WebCore::AbstractDatabase::stringIdentifier):
(WebCore::AbstractDatabase::displayName):
(WebCore::AbstractDatabase::estimatedSize):
(WebCore::AbstractDatabase::securityOrigin):
(WebKit::WebDatabase::updateDatabaseSize):
(WebKit::WebDatabase::closeDatabaseImmediately):
2010-07-27 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
https://bugs.webkit.org/show_bug.cgi?id=41461
* src/js/DebuggerScript.js:
():
2010-07-27 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
WebInspector: Current implementation of message based inspector
transport generated by CodeGeneratorInspector should be upstreamed
from WebKit/chromium to WebCore.
https://bugs.webkit.org/show_bug.cgi?id=42983
* WebKit.gypi:
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
* src/InspectorFrontendClientImpl.h:
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
(WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
* src/WebDevToolsAgentImpl.h:
* src/js/InspectorControllerImpl.js: Removed.
2010-07-27 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Chris Fleizach.
Add accessors for node and document to WebAccessibilityObject,
needed to support some Windows screenreader functionality.
https://bugs.webkit.org/show_bug.cgi?id=43001
* public/WebAccessibilityObject.h:
* src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::node):
(WebKit::WebAccessibilityObject::document):
2010-07-27 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Chris Fleizach.
For Windows accessibility, have WebElement provide access
to its attributes.
https://bugs.webkit.org/show_bug.cgi?id=43004
* WebKit.gyp:
* public/WebAttribute.h: Added.
(WebKit::WebAttribute::~WebAttribute):
(WebKit::WebAttribute::WebAttribute):
(WebKit::WebAttribute::operator=):
* public/WebElement.h:
* public/WebNamedNodeMap.h: Added.
(WebKit::WebNamedNodeMap::~WebNamedNodeMap):
(WebKit::WebNamedNodeMap::WebNamedNodeMap):
(WebKit::WebNamedNodeMap::operator=):
* src/WebAttribute.cpp: Added.
(WebKit::WebAttribute::reset):
(WebKit::WebAttribute::assign):
(WebKit::WebAttribute::WebAttribute):
(WebKit::WebAttribute::localName):
(WebKit::WebAttribute::value):
* src/WebElement.cpp:
(WebKit::WebElement::attributes):
* src/WebNamedNodeMap.cpp: Added.
(WebKit::WebNamedNodeMap::reset):
(WebKit::WebNamedNodeMap::assign):
(WebKit::WebNamedNodeMap::WebNamedNodeMap):
(WebKit::WebNamedNodeMap::length):
(WebKit::WebNamedNodeMap::attributeItem):
2010-07-27 Satish Sampath <satish@chromium.org>
Reviewed by Kent Tamura.
Simplify speech input plumbing in webcore and webkit
https://bugs.webkit.org/show_bug.cgi?id=43008
* src/SpeechInputClientImpl.cpp: Move functionality to WebCore::SpeechInput and make this a dummy proxy.
(WebKit::SpeechInputClientImpl::startRecognition):
(WebKit::SpeechInputClientImpl::cancelRecognition):
(WebKit::SpeechInputClientImpl::didCompleteRecording):
(WebKit::SpeechInputClientImpl::didCompleteRecognition):
(WebKit::SpeechInputClientImpl::setRecognitionResult):
* src/SpeechInputClientImpl.h:
2010-07-26 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Chris Fleizach.
Add accessor to get the doctype of a WebDocument, needed to
implement Windows accessibility.
https://bugs.webkit.org/show_bug.cgi?id=43003
* WebKit.gyp:
* public/WebDocument.h:
* public/WebDocumentType.h: Added.
(WebKit::WebDocumentType::WebDocumentType):
(WebKit::WebDocumentType::operator=):
(WebKit::WebDocumentType::assign):
* src/WebDocument.cpp:
(WebKit::WebDocument::doctype):
* src/WebDocumentType.cpp: Added.
(WebKit::WebDocumentType::name):
(WebKit::WebDocumentType::WebDocumentType):
(WebKit::WebDocumentType::operator=):
(WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
2010-07-26 Satish Sampath <satish@chromium.org>
Reviewed by Steve Block.
Add WebKit plumbing to connect speech requests and callbacks between WebCore and the embedder.
https://bugs.webkit.org/show_bug.cgi?id=42367
No new tests, the relevant LayoutTestController bindings and tests will be added in the next patch.
* public/WebSpeechInputController.h: Added new interface, implemented by embedder and called by WebKit
(WebKit::WebSpeechInputController::~WebSpeechInputController):
* public/WebSpeechInputListener.h: Added new interface, implemented by WebKit and called by embedder.
(WebKit::WebSpeechInputListener::~WebSpeechInputListener):
* public/WebViewClient.h:
(WebKit::WebViewClient::createSpeechInputClient): New method to get the embedder's speech input client interface.
* src/SpeechInputClientImpl.cpp: Added new class, implementation of a two way connector between WebCore
and the embedder for requests and responses.
(WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
(WebKit::SpeechInputClientImpl::~SpeechInputClientImpl):
(WebKit::SpeechInputClientImpl::startRecognition):
(WebKit::SpeechInputClientImpl::stopRecording):
(WebKit::SpeechInputClientImpl::didCompleteRecording):
(WebKit::SpeechInputClientImpl::setRecognitionResult):
(WebKit::SpeechInputClientImpl::didCompleteRecognition):
* src/SpeechInputClientImpl.h: Added.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl): Pass on the above mentioned speech input connector to WebCore.
* src/WebViewImpl.h:
2010-07-26 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
Chromium DevTools: refactor query params, add basic
support for WebSocket-based backend.
https://bugs.webkit.org/show_bug.cgi?id=42893
* src/js/DevTools.js:
(devtools.ToolsAgent.prototype.dispatchOnClient_):
(WebInspector.loaded):
(WebInspector.doLoadedDone):
(devtools.domContentLoaded):
* src/js/InspectorControllerImpl.js:
2010-07-24 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: chromium build fix.
* src/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::fillResourceList):
2010-07-23 Kavita Kanetkar <kkanetkar@chromium.org>
Reviewed by Joseph Pecoraro.
Implement remaining Inspector support for chrome's appcache
https://bugs.webkit.org/show_bug.cgi?id=42426
* src/ApplicationCacheHost.cpp: Plugging in chrome's appcache info.
(WebCore::ApplicationCacheHost::applicationCacheInfo):
(WebCore::ApplicationCacheHost::fillResourceList):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-07-23 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Reviewed by Yury Semikhatsky.
Chromium DevTools: migrate from utility context-based injected
script dispatch to upstream schema.
https://bugs.webkit.org/show_bug.cgi?id=42883
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
* src/WebDevToolsAgentImpl.h:
* src/js/DevToolsHostStub.js:
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-07-23 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: rolling out r63963.
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
* src/WebDevToolsAgentImpl.h:
* src/js/DevToolsHostStub.js:
(.window.dispatchOnInjectedScript):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
(devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
2010-07-23 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Reviewed by Yury Semikhatsky.
Chromium DevTools: migrate from utility context-based injected
script dispatch to upstream schema.
https://bugs.webkit.org/show_bug.cgi?id=42883
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
* src/WebDevToolsAgentImpl.h:
* src/js/DevToolsHostStub.js:
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-07-23 Kent Tamura <tkent@chromium.org>
Reviewed by Shinichiro Hamaji.
Roll Chromium revision
https://bugs.webkit.org/show_bug.cgi?id=42876
* DEPS: Roll Chromium revision to r53434 in order to have the
logger initialization change (r53303)
2010-07-22 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
WebInspector: CodeGeneratorInspector was extended and now it can
generate InspectorBackedDispatcher's code. This dispatcher will
validate and dispatch incoming inspector commands only by native
code without using javaScript. That is necessary step for
RemoteDebugging support.
https://bugs.webkit.org/show_bug.cgi?id=42588
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
* src/WebDevToolsAgentImpl.h:
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl.prototype.callInspectorController_):
2010-07-22 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
[Chromium] Propagate return value of EventHandler::handleMouseWheelEvent
to caller of WebViewImpl::handleInputEvent.
https://bugs.webkit.org/show_bug.cgi?id=42835
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::mouseWheel):
(WebKit::WebViewImpl::handleInputEvent):
* src/WebViewImpl.h:
2010-07-22 Darin Fisher <darin@chromium.org>
Reviewed by Kent Tamura.
https://bugs.webkit.org/show_bug.cgi?id=42808
Pass context menu events through WebInputEvent to WebPlugin::handleInputEvent.
The DOM treats a context menu event as a type of mouse event. We therefore
do the same here, and reuse the WebMouseEvent subclass. This makes sense
since a context menu event has (x,y)-coordinates.
* public/WebInputEvent.h:
(WebKit::WebInputEvent::):
(WebKit::WebInputEvent::isMouseEventType):
* src/WebInputEventConversion.cpp:
(WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2010-07-22 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: Stop granting universal access to inspector front-end page.
https://bugs.webkit.org/show_bug.cgi?id=42817
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::frontendLoaded):
2010-07-22 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Rename method for CSS rule source range retrieval and fix return object format
https://bugs.webkit.org/show_bug.cgi?id=42379
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-07-21 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium Dev Tools: Separators are missing in the context menu.
https://bugs.webkit.org/show_bug.cgi?id=42761
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::populateCustomMenuItems):
2010-07-21 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Copy the test plugin into DumpRenderTree.app/
https://bugs.webkit.org/show_bug.cgi?id=42733
This was dropped in plugin copy refactoring.
* WebKit.gyp:
2010-07-21 Brady Eidson <beidson@apple.com>
Reviewed by Geoffrey Garen.
Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry
https://bugs.webkit.org/show_bug.cgi?id=42783
* src/WebSecurityPolicy.cpp:
(WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
(WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
(WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
2010-07-21 Bo Liu <boliu@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add chromium WebMediaPlayer to PlatformMedia
https://bugs.webkit.org/show_bug.cgi?id=41295
* WebKit.gyp:
* public/WebMediaElement.h: Added.
* src/WebMediaElement.cpp: Added.
(WebKit::WebMediaElement::player):
(WebKit::WebMediaElement::WebMediaElement):
(WebKit::WebMediaElement::operator=):
(WebKit::WebMediaElement::operator PassRefPtr<HTMLMediaElement>):
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::fromMediaElement):
(WebKit::WebMediaPlayerClientImpl::mediaPlayer):
(WebKit::WebMediaPlayerClientImpl::platformLayer):
(WebKit::WebMediaPlayerClientImpl::platformMedia):
* src/WebMediaPlayerClientImpl.h:
2010-07-21 Finnur Thorarinsson <finnur.webkit@gmail.com>
Reviewed by Dimitri Glazkov.
Avoid crashing during find-in-page when |view| is NULL.
https://bugs.webkit.org/show_bug.cgi?id=42760
There are no layout tests because we don't have a repro case
to work with, so this is a speculative fix based on crash dump
diagnosis. See bug for details.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::shouldScopeMatches):
2010-07-21 Hans Wennborg <hans@chromium.org>
Reviewed by Steve Block.
Runtime feature switch for device orientation
https://bugs.webkit.org/show_bug.cgi?id=42265
Add a runtime feature switch that decides whether device orientation
events are available or not. Defaults to true.
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableDeviceOrientation):
(WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
2010-07-21 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: should be possible to debug inspector
https://bugs.webkit.org/show_bug.cgi?id=42730
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
2010-07-16 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Implement WebFormElement::wasUserSubmitted(). This is used to
verify that the user submitted the form instead of JS when saving form
data in AutoFill.
https://bugs.webkit.org/show_bug.cgi?id=42479
* public/WebFormElement.h:
* src/WebFormElement.cpp:
(WebKit::WebFormElement::wasUserSubmitted):
2010-07-20 Daniel Erat <derat@chromium.org>
Reviewed by Ojan Vafai.
Subpixel rendering always disabled for Chromium Linux
https://bugs.webkit.org/show_bug.cgi?id=42220
Honor Fontconfig subpixel rendering setting on Chromium Linux.
* src/gtk/WebFontInfo.cpp:
(WebKit::WebFontInfo::renderStyleForStrike):
2010-07-20 Darin Fisher <darin@chromium.org>
Fix Chromium build bustage.
* src/ResourceHandle.cpp:
(WebCore::ResourceHandle::hasAuthenticationChallenge): Add
implementation of this method that always returns false.
2010-07-20 Darin Fisher <darin@chromium.org>
Reviewed by Jian Li.
[Chromium] Add interface for downloading to a file. This can be used
in the future to support XMLHttpRequest.responseBlob, but it also
serves a use case in Chromium.
https://bugs.webkit.org/show_bug.cgi?id=42657
* public/WebURLLoaderClient.h:
(WebKit::WebURLLoaderClient::willSendRequest):
(WebKit::WebURLLoaderClient::didSendData):
(WebKit::WebURLLoaderClient::didReceiveResponse):
(WebKit::WebURLLoaderClient::didDownloadData):
(WebKit::WebURLLoaderClient::didReceiveData):
(WebKit::WebURLLoaderClient::didFinishLoading):
(WebKit::WebURLLoaderClient::didFail):
* public/WebURLRequest.h:
* public/WebURLResponse.h:
* src/WebURLRequest.cpp:
(WebKit::WebURLRequest::downloadToFile):
(WebKit::WebURLRequest::setDownloadToFile):
* src/WebURLRequestPrivate.h:
(WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::downloadFilePath):
(WebKit::WebURLResponse::setDownloadFilePath):
* src/WebURLResponsePrivate.h:
2010-07-20 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r63750.
http://trac.webkit.org/changeset/63750
https://bugs.webkit.org/show_bug.cgi?id=42648
This revision breaks the windows builds (Requested by
hwennborg on #webkit).
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
2010-07-19 Victor Wang <victorw@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add webkit api reset to WebIDBDatabaseError and WebIDBKey
and refactor their destructors for chromium multi dll build.
https://bugs.webkit.org/show_bug.cgi?id=42574
* public/WebIDBDatabaseError.h:
(WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
* public/WebIDBKey.h:
(WebKit::WebIDBKey::~WebIDBKey):
* src/WebIDBDatabaseError.cpp:
(WebKit::WebIDBDatabaseError::reset):
* src/WebIDBKey.cpp:
(WebKit::WebIDBKey::reset):
2010-07-20 Hans Wennborg <hans@chromium.org>
Reviewed by Steve Block.
Runtime feature switch for device orientation
https://bugs.webkit.org/show_bug.cgi?id=42265
Add a runtime feature switch that decides whether device orientation
events are available or not. Defaults to true.
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableDeviceOrientation):
(WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
2010-07-19 Victoria Kirst <vrk@google.com>
Reviewed by David Levin.
Updated WebMediaPlayer to support accelerated rendering and to
create and return a VideoChromiumLayer as its platform layer.
https://bugs.webkit.org/show_bug.cgi?id=42234
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::platformLayer):
(WebKit::WebMediaPlayerClientImpl::create):
* src/WebMediaPlayerClientImpl.h:
(WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering):
2010-07-19 Kenneth Russell <kbr@google.com>
Reviewed by Nate Chapin.
WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
https://bugs.webkit.org/show_bug.cgi?id=34719
Fixed compiler warning introduced by original patch.
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
2010-07-19 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] refactor npapi plugin copy step
https://bugs.webkit.org/show_bug.cgi?id=42493
This is to avoid duplicate copy rules in the Linux make build.
* WebKit.gyp:
* DEPS: 52483:52869
2010-07-19 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Live edit is not working in chromium.
https://bugs.webkit.org/show_bug.cgi?id=42572
* src/js/DebuggerScript.js:
2010-07-16 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Pavel Feldman.
[V8] Web Inspector: get actual breakpoint location from v8 and pass it
to ScripDebugServer.
https://bugs.webkit.org/show_bug.cgi?id=42452
* src/js/DebuggerScript.js:
2010-07-17 John Gregg <johnnyg@google.com>
Reviewed by Kent Tamura.
[chromium] directory upload: pass the attribute up to the chrome client
https://bugs.webkit.org/show_bug.cgi?id=42475
This allows chromium to display the native system directory picker when
the directory attribute is present on the input element.
* public/WebFileChooserParams.h:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::runOpenPanel):
2010-07-16 Zhe Su <suzhe@chromium.org>
Reviewed by Darin Adler.
REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
https://bugs.webkit.org/show_bug.cgi?id=42253
Implement EditorClient::willSetInputMethodState which replaces
setInputMethodState method.
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::willSetInputMethodState):
(WebKit::EditorClientImpl::setInputMethodState):
* src/EditorClientImpl.h:
2010-07-16 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Fisher.
[Chromium] <input type=number> UI implementation for Windows
https://bugs.webkit.org/show_bug.cgi?id=42259
* public/WebThemeEngine.h:
(WebKit::WebThemeEngine::paintSpinButton): Added.
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::paintSpinButton):
Added. It calls WebThemeEngine::paintSpinButton().
2010-07-16 James Robinson <jamesr@chromium.org>
Reviewed by Darin Fisher.
[chromium] Avoid crashing if offscreen GLES2 context creation fails
https://bugs.webkit.org/show_bug.cgi?id=42469
If creating or initializing an offscreen GLES2Context fails we should return null
rather than crashing or returning an invalid context.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::getOffscreenGLES2Context):
2010-07-15 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Darin Fisher.
Enable window.webkitPerformance (Web Timing) for chromium
https://bugs.webkit.org/show_bug.cgi?id=42313
* features.gypi:
2010-07-16 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r63551.
http://trac.webkit.org/changeset/63551
https://bugs.webkit.org/show_bug.cgi?id=42460
"Problems with gyp" (Requested by yurys on #webkit).
* DEPS:
2010-07-16 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Bump up Chromium revision.
* DEPS:
2010-07-16 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: disable AppCache in chromium.
https://bugs.webkit.org/show_bug.cgi?id=41858
* src/js/DevTools.js:
(WebInspector.loaded):
2010-07-16 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: [Chromium] A non-existent resource is referenced from devTools.css
The erroneous rule has been removed.
https://bugs.webkit.org/show_bug.cgi?id=42454
* src/js/devTools.css:
2010-07-16 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Pavel Feldman.
Check that end node of a range has a valid renderer in WebViewImpl::caretOrSelectionBounds()
to avoid crash in Position::getInlineBoxAndOffset() when start node has renderer but end one doesn't.
https://bugs.webkit.org/show_bug.cgi?id=42449
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::caretOrSelectionBounds):
2010-07-16 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Make JS memory stats available via 'Performance' object (Web Timing).
This statistics is populated only if 'WebKitMemoryInfoEnabled'
preference is set.
'console.memory' is kept until Web Timing object becomes visible by
default (currently it is hidden under compile-time flag). These stats
are guarded with the same preference.
https://bugs.webkit.org/show_bug.cgi?id=41617
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setMemoryInfoEnabled):
* src/WebSettingsImpl.h:
2010-07-15 Victor Wang <victorw@chromium.org>
Reviewed by David Levin.
[Chromium] Chromium webkit dll updates:
-. Fix WEBKIT_IMPLEMENTATION in WebCommon so
dllimport works as expected.
-. Update webkit.gyp so targets that depend on webkit
has correct macros defined.
https://bugs.webkit.org/show_bug.cgi?id=42177
* WebKit.gyp:
* public/WebCommon.h:
2010-07-13 Zhenyao Mo <zmo@google.com>
Reviewed by Nate Chapin.
WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
https://bugs.webkit.org/show_bug.cgi?id=34719
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): Implement paintRenderingResultsToCanvas().
(WebCore::GraphicsContext3DInternal::beginPaint): Just use paintRenderingResultsToCanvas().
2010-07-15 Victor Wang <victorw@chromium.org>
Reviewed by David Levin.
Roll Chromium DEPS forward to r52483.
https://bugs.webkit.org/show_bug.cgi?id=42386
* DEPS:
2010-07-15 Scott Violet <sky@chromium.org>
Reviewed by David Levin.
[chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name
https://bugs.webkit.org/show_bug.cgi?id=42385
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name.
2010-07-15 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r63446.
http://trac.webkit.org/changeset/63446
https://bugs.webkit.org/show_bug.cgi?id=42412
It broke the Chromium Windows bot due to missing dependencies
there. (Requested by dave_levin on #webkit).
* DEPS:
2010-07-15 Victor Wang <victorw@chromium.org>
Reviewed by David Levin.
Roll Chromium DEPS forward to r52483.
https://bugs.webkit.org/show_bug.cgi?id=42386
* DEPS:
2010-07-15 Michael Nordman <michaeln@google.com>
Reviewed by Darin Fisher.
WebKitAPI additions to support inspecting application caches.
https://bugs.webkit.org/show_bug.cgi?id=41993
* public/WebApplicationCacheHost.h:
(WebKit::WebApplicationCacheHost::CacheInfo::CacheInfo):
(WebKit::WebApplicationCacheHost::ResourceInfo::ResourceInfo):
(WebKit::WebApplicationCacheHost::getAssociatedCacheInfo):
(WebKit::WebApplicationCacheHost::getResourceList):
(WebKit::WebApplicationCacheHost::deleteAssociatedCacheGroup):
* public/WebApplicationCacheHostClient.h:
(WebKit::WebApplicationCacheHostClient::didChangeCacheAssociation):
* src/ApplicationCacheHostInternal.h:
(WebCore::ApplicationCacheHostInternal::didChangeCacheAssociation):
2010-07-15 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: differentiate between blocking and connecting timers.
https://bugs.webkit.org/show_bug.cgi?id=42372
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::connectionReused):
(WebKit::WebURLResponse::setConnectionReused):
2010-07-15 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Fix mac compilation failure
https://bugs.webkit.org/show_bug.cgi?id=42344
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
(WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
2010-07-14 George Yakovlev <georgey@chromium.org>
Reviewed by Darin Fisher.
Allow Chromium access to Select control choices
https://bugs.webkit.org/show_bug.cgi?id=41384
* WebKit.gyp:
* public/WebOptionElement.h: Added.
(WebKit::WebOptionElement::WebOptionElement):
(WebKit::WebOptionElement::operator=):
(WebKit::WebOptionElement::assign):
* public/WebSelectElement.h:
* src/WebOptionElement.cpp: Added.
(WebKit::WebOptionElement::setValue):
(WebKit::WebOptionElement::value):
(WebKit::WebOptionElement::index):
(WebKit::WebOptionElement::text):
(WebKit::WebOptionElement::defaultSelected):
(WebKit::WebOptionElement::setDefaultSelected):
(WebKit::WebOptionElement::label):
(WebKit::WebOptionElement::disabled):
(WebKit::WebOptionElement::WebOptionElement):
(WebKit::WebOptionElement::operator=):
(WebKit::WebOptionElement::operator PassRefPtr<HTMLOptionElement>):
* src/WebSelectElement.cpp:
(WebKit::WebSelectElement::listItems):
2010-07-14 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r63389.
http://trac.webkit.org/changeset/63389
https://bugs.webkit.org/show_bug.cgi?id=42311
It broke the Chromium Linux build. (Requested by dave_levin on
#webkit).
* DEPS:
* WebKit.gyp:
* public/WebCommon.h:
2010-07-14 Scott Violet <sky@chromium.org>
Reviewed by David Levin.
[chromium] Autofill menu shows seperator at the wrong place when an entry is deleted
https://bugs.webkit.org/show_bug.cgi?id=42210
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): Updates internal data appropriately.
(WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): Now called before removal to see if can remove.
* src/AutoFillPopupMenuClient.h: Fixed whitespace and added method.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::autocompleteHandleKeyEvent): Added call to canRemoveSuggestionAtIndex.
2010-07-14 James Robinson <jamesr@chromium.org>
Unreviewed. Compile fix, initialization/declaration order mismatch.
* src/GLES2ContextInternal.h:
2010-07-14 Jay Civelli <jcivelli@chromium.org>
Reviewed by David Levin.
[chromium] don't restrict the width of the autofill popup.
https://bugs.webkit.org/show_bug.cgi?id=42206
* src/WebViewImpl.cpp:
2010-07-14 Victor Wang <victorw@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Chromium webkit dll updates:
-. Fix WEBKIT_IMPLEMENTATION in WebCommon so
dllimport works as expected.
-. Update webkit.gyp so targets that depend on webkit
has correct macros defined.
-. Roll forward chromium deps to r52273.
https://bugs.webkit.org/show_bug.cgi?id=42177
* DEPS:
* WebKit.gyp:
* public/WebCommon.h:
2010-07-14 James Hawkins <jhawkins@chromium.org>
UNREVIEWED Build Fix.
Fix a typo.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::applyAutoFillSuggestions):
2010-07-14 James Robinson <jamesr@chromium.org>
Reviewed by Darin Fisher.
Breaks all dependencies on Page from platform/ and cleans up GLES2Context lifetime
https://bugs.webkit.org/show_bug.cgi?id=42203
Rather than constructing a GLES2Context from a Page, pass the LayerRendererChromium
a GLES2Context in from the constructor. This way the platform/ directory can remain
ignorant of Page and friends. Also adds functions on ChromeClientChromium to request
onscreen and offscreen GLES2Contexts for callers in WebCore that need them.
* WebKit.gyp:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::getOnscreenGLES2Context):
(WebKit::ChromeClientImpl::getOffscreenGLES2Context):
* src/ChromeClientImpl.h:
* src/GLES2Context.cpp:
(WebCore::GLES2ContextInternal::create):
(WebCore::GLES2Context::create):
(WebCore::GLES2Context::GLES2Context):
* src/GLES2ContextInternal.cpp: Added.
(WebCore::GLES2ContextInternal::~GLES2ContextInternal):
* src/GLES2ContextInternal.h: Added.
(WebCore::GLES2ContextInternal::getWebGLES2Context):
(WebCore::GLES2ContextInternal::GLES2ContextInternal):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit::WebViewImpl::getOnscreenGLES2Context):
(WebKit::WebViewImpl::getOffscreenGLES2Context):
* src/WebViewImpl.h:
2010-07-14 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Use the unique ID instead of the profile label to identify
the accepted AutoFill suggestion.
https://bugs.webkit.org/show_bug.cgi?id=42301
* public/WebView.h:
* public/WebViewClient.h:
(WebKit::WebViewClient::didAcceptAutoFillSuggestion):
(WebKit::WebViewClient::didSelectAutoFillSuggestion):
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::valueChanged):
(WebKit::AutoFillPopupMenuClient::selectionChanged):
(WebKit::AutoFillPopupMenuClient::initialize):
(WebKit::AutoFillPopupMenuClient::setSuggestions):
(WebKit::AutoFillPopupMenuClient::textFieldStyle):
* src/AutoFillPopupMenuClient.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::applyAutoFillSuggestions):
(WebKit::WebViewImpl::applyAutocompleteSuggestions):
* src/WebViewImpl.h:
2010-07-14 Jay Civelli <jcivelli@chromium.org>
Reviewed by David Levin.
Don't notify the WebView that the popup has been closed when the
selection is cleared, as the popup is not gone and would linger
as a ghost popup.
https://bugs.webkit.org/show_bug.cgi?id=42180
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::selectionCleared):
2010-07-14 Sam Weinig <sam@webkit.org>
Fix the chromium mac build.
* src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenuImpl::setCursor):
2010-07-14 Sam Weinig <sam@webkit.org>
Reviewed by Darin Adler.
Patch for https://bugs.webkit.org/show_bug.cgi?id=42232
Make changing Cursors work in WebKit2.
* src/ChromeClientImpl.h:
(WebKit::ChromeClientImpl::setCursor):
Change prototype to match new one.
* src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenuImpl::setCursor):
* src/WebPopupMenuImpl.h:
Add empty setCursor function to satisfy the HostWindow interface.
2010-07-13 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=42201
Use ResourceHandle object for synchronous loading
* src/ResourceHandle.cpp:
(WebCore::ResourceHandle::request):
This method is no longer const in cross-platform code, and is called firstRequest.
2010-07-14 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r63305.
http://trac.webkit.org/changeset/63305
https://bugs.webkit.org/show_bug.cgi?id=42256
"debugger-breakpoints-not-activated-on-reload.html fails on
GTK" (Requested by yurys on #webkit).
* src/js/DebuggerScript.js:
():
2010-07-14 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: remove v8 debugger code that doesn't use ScriptDebugServer
https://bugs.webkit.org/show_bug.cgi?id=42164
* WebKit.gypi:
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::debugAttach):
(WebKit::DebuggerAgentManager::debugDetach):
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::windowObjectCleared):
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
(WebKit::WebDevToolsAgentImpl::attach):
(WebKit::WebDevToolsAgentImpl::didNavigate):
(WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
* src/js/DebuggerAgent.js: Removed.
* src/js/DevTools.js:
(devtools.ToolsAgent):
(WebInspector.loaded):
* src/js/DevToolsHostStub.js:
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
* src/js/Tests.js:
(.TestSuite.prototype.testAutoContinueOnSyntaxError):
(.TestSuite.prototype.testExpandScope.examineScopes):
(.TestSuite.prototype.testExpandScope):
(.TestSuite.prototype.testDebugIntrinsicProperties):
2010-07-14 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
WebInspector: Clean-up InspectorBackend code. In the next changes
InspectorBackend content will be generated by scripts. As far as
generator is very simple thing all nontrivial function should be
moved to InspectorController and DOMAgent.
https://bugs.webkit.org/show_bug.cgi?id=42171
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
(.devtools.InspectorBackendImpl.prototype.pause):
(.devtools.InspectorBackendImpl.prototype.resume):
(.devtools.InspectorBackendImpl.prototype.stepIntoStatement):
(.devtools.InspectorBackendImpl.prototype.stepOutOfFunction):
(.devtools.InspectorBackendImpl.prototype.stepOverStatement):
(else.devtools.InspectorBackendImpl.prototype.pause):
2010-07-14 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
https://bugs.webkit.org/show_bug.cgi?id=41461
* src/js/DebuggerScript.js:
():
2010-07-14 Kent Tamura <tkent@chromium.org>
Unreviewed, 2nd attempt to fix build on 'Webkit.org Reliability Builder'.
* WebKit.gyp:
2010-07-14 Kent Tamura <tkent@chromium.org>
Unreviewed, attempt to fix build on 'Webkit.org Reliability Builder'.
* WebKit.gyp:
2010-07-14 Kent Tamura <tkent@chromium.org>
Reviewed by David Levin.
[Chromium] Upstreaming inspector_resources target
https://bugs.webkit.org/show_bug.cgi?id=41669
'inspector_resource' is currently in src/webkit/webkit.gyp of
Chromium tree. We move it to WebKit tree because:
- DumpRenderTree in WebKit tree needs it, and
- It's hard to refer to WebKit.gypi and WebCore.gypi from
webkit_support in both cases of Chromium-tree build and
WebKit-tree build.
* WebKit.gyp:
2010-07-13 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Linux implementation of <input type=number> UI
https://bugs.webkit.org/show_bug.cgi?id=41925
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setScrollbarColors):
Call PlatformThemeChromiumGtk::setScrollbarColors() instead of
RenderThemeChromiumLinux::setScrollbarColors().
2010-07-13 Chris Guillory <chris.guillory@google.com>
Reviewed by David Levin.
Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp.
https://bugs.webkit.org/show_bug.cgi?id=42092
* src/WebAccessibilityCacheImpl.cpp:
(WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
(WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
2010-07-13 Albert J. Wong <ajwong@chromium.org>
Unreviewed, build fix.
[chromium] The comparision between signed/unsigned breaks the chromium
mac build.
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::getSuggestion):
(WebKit::AutoFillPopupMenuClient::getLabel):
2010-07-10 Zhenyao Mo <zmo@google.com>
Reviewed by Darin Fisher.
Implement bufferData and bufferSubData with ArrayBuffer as input
https://bugs.webkit.org/show_bug.cgi?id=41884
* src/GraphicsContext3D.cpp: Implement bufferData and bufferSubData with ArrayBuffer as input.
(WebCore::GraphicsContext3DInternal::bufferData):
(WebCore::GraphicsContext3DInternal::bufferSubData):
2010-07-10 Zhenyao Mo <zmo@google.com>
Reviewed by Darin Fisher.
Need to emulate MAX_VARYING_VECTORS/MAX_FRAGMENT_UNIFORM_VECTORs/MAX_VERTEX_UNIFORM_VECTORS for glGet
https://bugs.webkit.org/show_bug.cgi?id=42032
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate the enums.
2010-07-13 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: catch and log JS exceptions resulting from executing a
script on inspector front-end to prevent renderer from crashing.
https://bugs.webkit.org/show_bug.cgi?id=42157
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::executeScript):
2010-07-13 Kent Tamura <tkent@chromium.org>
Unreviewed, build fix.
Fix a build error by r63179 for Chromium.
* tests/PopupMenuTest.cpp:
(WebKit::TestPopupMenuClient::itemLabel): Added.
2010-07-12 Jay Civelli <jcivelli@chromium.org>
Reviewed by Kent Tamura.
Making the autofill popup use labels to show the label
associated with an item.
https://bugs.webkit.org/show_bug.cgi?id=41964
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::getSuggestion):
(WebKit::AutoFillPopupMenuClient::getLabel):
(WebKit::AutoFillPopupMenuClient::itemLabel):
(WebKit::AutoFillPopupMenuClient::setSuggestions):
(WebKit::AutoFillPopupMenuClient::convertListIndexToInternalIndex):
* src/AutoFillPopupMenuClient.h:
2010-07-12 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r63171.
http://trac.webkit.org/changeset/63171
https://bugs.webkit.org/show_bug.cgi?id=42144
Broke Chromium canary (Requested by tkent on #webkit).
* WebKit.gyp:
2010-07-12 Kent Tamura <tkent@chromium.org>
Reviewed by David Levin.
[Chromium] Upstreaming inspector_resources target
https://bugs.webkit.org/show_bug.cgi?id=41669
'inspector_resource' is currently in src/webkit/webkit.gyp of
Chromium tree. We move it to WebKit tree because:
- DumpRenderTree in WebKit tree needs it, and
- It's hard to refer to WebKit.gypi and WebCore.gypi from
webkit_support in both cases of Chromium-tree build and
WebKit-tree build.
* WebKit.gyp:
2010-07-12 Viet-Trung Luu <viettrungluu@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Pass key down events on to plugins.
https://bugs.webkit.org/show_bug.cgi?id=42113
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2010-07-12 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: provide starts and ends for network phases instead of duration.
https://bugs.webkit.org/show_bug.cgi?id=42091
* public/WebURLLoadTiming.h:
* public/WebURLResponse.h:
* src/WebURLLoadTiming.cpp:
(WebKit::WebURLLoadTiming::proxyStart):
(WebKit::WebURLLoadTiming::setProxyStart):
(WebKit::WebURLLoadTiming::proxyEnd):
(WebKit::WebURLLoadTiming::setProxyEnd):
(WebKit::WebURLLoadTiming::dnsStart):
(WebKit::WebURLLoadTiming::setDNSStart):
(WebKit::WebURLLoadTiming::dnsEnd):
(WebKit::WebURLLoadTiming::setDNSEnd):
(WebKit::WebURLLoadTiming::connectStart):
(WebKit::WebURLLoadTiming::setConnectStart):
(WebKit::WebURLLoadTiming::connectEnd):
(WebKit::WebURLLoadTiming::setConnectEnd):
(WebKit::WebURLLoadTiming::sendStart):
(WebKit::WebURLLoadTiming::setSendStart):
(WebKit::WebURLLoadTiming::sendEnd):
(WebKit::WebURLLoadTiming::setSendEnd):
(WebKit::WebURLLoadTiming::receiveHeadersStart):
(WebKit::WebURLLoadTiming::setReceiveHeadersStart):
(WebKit::WebURLLoadTiming::receiveHeadersEnd):
(WebKit::WebURLLoadTiming::setReceiveHeadersEnd):
(WebKit::WebURLLoadTiming::sslStart):
(WebKit::WebURLLoadTiming::setSSLStart):
(WebKit::WebURLLoadTiming::sslEnd):
(WebKit::WebURLLoadTiming::setSSLEnd):
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::wasCached):
(WebKit::WebURLResponse::setWasCached):
2010-07-12 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r63156.
http://trac.webkit.org/changeset/63156
https://bugs.webkit.org/show_bug.cgi?id=42129
broke chromium compile (Requested by jamesr on #webkit).
* WebKit.gyp:
* public/WebAccessibilityObject.h:
* public/WebAttribute.h: Removed.
* public/WebDocumentType.h: Removed.
* public/WebElement.h:
* public/WebNamedNodeMap.h: Removed.
* public/WebNode.h:
* public/WebRenderStyle.h: Removed.
* src/WebAccessibilityObject.cpp:
* src/WebAttribute.cpp: Removed.
* src/WebDocumentType.cpp: Removed.
* src/WebElement.cpp:
* src/WebNamedNodeMap.cpp: Removed.
* src/WebNode.cpp:
* src/WebRenderStyle.cpp: Removed.
2010-07-12 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Darin Fisher.
Add methods to WebAccessibilityObject to access the Node and
Document, and then add methods to access some document, node,
and element properties needed for Windows accessibility.
https://bugs.webkit.org/show_bug.cgi?id=41569
* WebKit.gyp:
* public/WebAccessibilityObject.h:
* public/WebAttribute.h: Added.
(WebKit::WebAttribute::~WebAttribute):
(WebKit::WebAttribute::WebAttribute):
(WebKit::WebAttribute::operator=):
* public/WebDocumentType.h: Added.
(WebKit::WebDocumentType::WebDocumentType):
(WebKit::WebDocumentType::operator=):
(WebKit::WebDocumentType::assign):
* public/WebElement.h:
* public/WebNamedNodeMap.h: Added.
(WebKit::WebNamedNodeMap::~WebNamedNodeMap):
(WebKit::WebNamedNodeMap::WebNamedNodeMap):
(WebKit::WebNamedNodeMap::operator=):
* public/WebNode.h:
* public/WebRenderStyle.h: Added.
(WebKit::WebRenderStyle::~WebRenderStyle):
(WebKit::WebRenderStyle::WebRenderStyle):
(WebKit::WebRenderStyle::operator=):
* src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::node):
(WebKit::WebAccessibilityObject::document):
* src/WebAttribute.cpp: Added.
(WebKit::WebAttribute::reset):
(WebKit::WebAttribute::assign):
(WebKit::WebAttribute::WebAttribute):
(WebKit::WebAttribute::localName):
(WebKit::WebAttribute::value):
* src/WebDocumentType.cpp: Added.
(WebKit::WebDocumentType::name):
(WebKit::WebDocumentType::WebDocumentType):
(WebKit::WebDocumentType::operator=):
(WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
* src/WebElement.cpp:
(WebKit::WebElement::attributes):
* src/WebNamedNodeMap.cpp: Added.
(WebKit::WebNamedNodeMap::reset):
(WebKit::WebNamedNodeMap::assign):
(WebKit::WebNamedNodeMap::WebNamedNodeMap):
(WebKit::WebNamedNodeMap::length):
(WebKit::WebNamedNodeMap::attributeItem):
* src/WebNode.cpp:
(WebKit::WebNode::element):
(WebKit::WebNode::hasComputedStyle):
(WebKit::WebNode::computedStyle):
* src/WebRenderStyle.cpp: Added.
(WebKit::WebRenderStyle::reset):
(WebKit::WebRenderStyle::assign):
(WebKit::WebRenderStyle::WebRenderStyle):
(WebKit::WebRenderStyle::display):
2010-07-12 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Yury Semikhatsky.
[Chromium] Crash when stepping on a breakpoint while debugging Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=41958
* src/WebViewImpl.cpp:
(WebKit::WebView::willEnterModalLoop):
(WebKit::WebView::didExitModalLoop):
2010-07-12 Jeremy Orlow <jorlow@chromium.org>
Speculative fix for visual studio retardedness.
* public/WebCommon.h:
2010-07-12 Jeremy Orlow <jorlow@chromium.org>
Build fix. Add an include.
* public/WebCommon.h:
2010-06-27 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Dumitru Daniliuc.
Implement IDBObjectStore.get/set/remove
https://bugs.webkit.org/show_bug.cgi?id=41250
Plumbing for new features, IDBKey, and added support
for both invalid (i.e. not serializable) and null
(i.e. the RefPtr was 0) to SerializedScriptValue.
* WebKit.gyp:
* public/WebIDBCallbacks.h:
(WebKit::WebIDBCallbacks::onSuccess):
* public/WebIDBKey.h: Added.
(WebKit::WebIDBKey::WebIDBKey):
(WebKit::WebIDBKey::operator=):
(WebKit::WebIDBKey::):
* public/WebIDBObjectStore.h:
(WebKit::WebIDBObjectStore::get):
(WebKit::WebIDBObjectStore::set):
(WebKit::WebIDBObjectStore::remove):
(WebKit::WebIDBObjectStore::createIndex):
(WebKit::WebIDBObjectStore::index):
(WebKit::WebIDBObjectStore::removeIndex):
* public/WebSerializedScriptValue.h:
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IDBObjectStoreProxy.cpp:
(WebCore::IDBObjectStoreProxy::get):
(WebCore::IDBObjectStoreProxy::set):
(WebCore::IDBObjectStoreProxy::remove):
* src/IDBObjectStoreProxy.h:
* src/WebIDBCallbacksImpl.cpp:
(WebCore::WebIDBCallbacksImpl::onSuccess):
* src/WebIDBCallbacksImpl.h:
* src/WebIDBKey.cpp: Added.
(WebKit::WebIDBKey::~WebIDBKey):
(WebKit::WebIDBKey::createNull):
(WebKit::WebIDBKey::createInvalid):
(WebKit::WebIDBKey::assign):
(WebKit::WebIDBKey::assignNull):
(WebKit::WebIDBKey::assignInvalid):
(WebKit::WebIDBKey::type):
(WebKit::WebIDBKey::string):
(WebKit::WebIDBKey::number):
(WebKit::WebIDBKey::WebIDBKey):
(WebKit::WebIDBKey::operator=):
(WebKit::WebIDBKey::operator PassRefPtr<IDBKey>):
* src/WebIDBObjectStoreImpl.cpp:
(WebKit::WebIDBObjectStoreImpl::get):
(WebKit::WebIDBObjectStoreImpl::set):
(WebKit::WebIDBObjectStoreImpl::remove):
* src/WebIDBObjectStoreImpl.h:
* src/WebSerializedScriptValue.cpp:
(WebKit::WebSerializedScriptValue::createInvalid):
2010-07-09 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Take out WebPlugin::supportsFind since we can accomplish the same thing by having a return value on startFind
https://bugs.webkit.org/show_bug.cgi?id=42011
* public/WebPlugin.h:
(WebKit::WebPlugin::startFind):
2010-07-09 Leon Clarke <leonclarke@google.com>
Reviewed by Adam Barth.
add support for link prefetching
https://bugs.webkit.org/show_bug.cgi?id=3652
* public/WebURLRequest.h:
(WebKit::WebURLRequest::):
2010-07-09 Michael Nordman <michaeln@google.com>
Reviewed by Dumitru Daniliuc.
Use class ProgressEvent when raising appcache related progress events and
set the 'total', 'loaded', and 'lengthComputable' attributes.
Also raise the final progress event with the 'total' and 'loaded' attribute
values are equal to one another to keep pace with the spec for this feature.
https://bugs.webkit.org/show_bug.cgi?id=37602
* src/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
(WebCore::ApplicationCacheHost::stopDeferringEvents):
(WebCore::ApplicationCacheHost::dispatchDOMEvent):
* src/ApplicationCacheHostInternal.h:
(WebCore::ApplicationCacheHostInternal::notifyEventListener):
(WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
2010-07-09 David Holloway <dhollowa@chromium.org>
Reviewed by Dimitri Glazkov.
Roll Chromium DEPS forward to r51736.
https://bugs.webkit.org/show_bug.cgi?id=41867
* DEPS:
2010-07-09 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: chromium build fix.
* public/WebGLES2Context.h:
2010-07-09 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Laszlo Gombos.
NotificationPresenter needs a cancelRequestPermission API
https://bugs.webkit.org/show_bug.cgi?id=41783
Updated the NotificationPresenter API.
* src/NotificationPresenterImpl.cpp:
(WebKit::NotificationPresenterImpl::checkPermission):
(WebKit::NotificationPresenterImpl::requestPermission):
* src/NotificationPresenterImpl.h:
(WebKit::NotificationPresenterImpl::cancelRequestsForPermission):
2010-07-08 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: Provide detailed network info in the resources panel.
https://bugs.webkit.org/show_bug.cgi?id=40227
* WebKit.gyp:
* public/WebDevToolsAgent.h:
* public/WebURLLoadTiming.h: Added.
(WebKit::WebURLLoadTiming::~WebURLLoadTiming):
(WebKit::WebURLLoadTiming::WebURLLoadTiming):
(WebKit::WebURLLoadTiming::operator=):
(WebKit::WebURLLoadTiming::isNull):
* public/WebURLRequest.h:
* public/WebURLResponse.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::willSendRequest):
* src/WebDevToolsAgentImpl.h:
* src/WebURLLoadTiming.cpp: Added.
(WebKit::WebURLLoadTiming::initialize):
(WebKit::WebURLLoadTiming::reset):
(WebKit::WebURLLoadTiming::assign):
(WebKit::WebURLLoadTiming::setDomainLookupTimes):
(WebKit::WebURLLoadTiming::setConnectStartTime):
(WebKit::WebURLLoadTiming::setRequestTimes):
(WebKit::WebURLLoadTiming::setHeadersAvailableTime):
(WebKit::WebURLLoadTiming::WebURLLoadTiming):
(WebKit::WebURLLoadTiming::operator=):
(WebKit::WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>):
* src/WebURLRequest.cpp:
(WebKit::WebURLRequest::reportLoadTiming):
(WebKit::WebURLRequest::setReportLoadTiming):
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::setConnectionID):
(WebKit::WebURLResponse::setLoadTiming):
2010-07-08 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Exposing the EditorClient text field related methods
to the WebViewClient. Also adding some more accessors methods
to the WebNode and WebInputElement.
This is needed to move the password autocomplete out of the
Chromium WebKit API to the Chromium code.
https://bugs.webkit.org/show_bug.cgi?id=41286
* public/WebInputElement.h:
* public/WebNode.h:
(WebKit::operator!=):
(WebKit::operator<):
* public/WebViewClient.h:
(WebKit::WebViewClient::textFieldDidBeginEditing):
(WebKit::WebViewClient::textFieldDidEndEditing):
(WebKit::WebViewClient::textDidChangeInTextField):
(WebKit::WebViewClient::textFieldHandlingKeyDown):
(WebKit::WebViewClient::didAcceptAutocompleteSuggestion):
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::textFieldDidBeginEditing):
(WebKit::EditorClientImpl::textFieldDidEndEditing):
(WebKit::EditorClientImpl::textDidChangeInTextField):
(WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
(WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
* src/WebInputElement.cpp:
(WebKit::WebInputElement::readOnly):
(WebKit::WebInputElement::setSelectionRange):
(WebKit::WebInputElement::selectionStart):
(WebKit::WebInputElement::selectionEnd):
* src/WebNode.cpp:
(WebKit::WebNode::lessThan):
2010-07-08 Aaron Boodman <aa@chromium.org>
Reviewed by Timothy Hatcher.
Add the ability for user scripts and user styles to affect just the top frame.
https://bugs.webkit.org/show_bug.cgi?id=41529
* public/WebView.h:
(WebKit::WebView::):
(WebKit::WebView::addUserScript):
(WebKit::WebView::addUserStyleSheet):
* src/AssertMatchingEnums.cpp:
* src/WebViewImpl.cpp:
(WebKit::WebView::addUserScript):
(WebKit::WebView::addUserStyleSheet):
2010-07-08 James Robinson <jamesr@google.com>
Reviewed by Darin Fisher.
Allow resizing and getting the texture ID from an offscreen GLES2Context
https://bugs.webkit.org/show_bug.cgi?id=41828
When using an offscreen GLES2Context the caller needs to be able to resize the backing store
managed by the embedder and get access to a texture id to pass to the compositor. WebGL
does these actions in an indirect way, it will be refactored to use this path.
* public/WebGLES2Context.h:
* src/GLES2Context.cpp:
(WebCore::GLES2Context::resizeOffscreenContent):
(WebCore::GLES2Context::getOffscreenContentParentTextureId):
2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
Reviewed by Pavel Feldman.
[chromium] Fix deletion has begun assert in TestWebPopupMenuImpl.
https://bugs.webkit.org/show_bug.cgi?id=41899
* tests/PopupMenuTest.cpp:
(WebKit::TestWebPopupMenuImpl::create):
(WebKit::TestWebViewClient::TestWebViewClient):
(WebKit::TestWebViewClient::createPopupMenu):
2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
Reviewed by Pavel Feldman.
[chromium] Fix deletion has begun assertion in TestImage destructor.
https://bugs.webkit.org/show_bug.cgi?id=41883
* tests/DragImageTest.cpp:
(WebCore::TestImage::create):
(WebCore::TEST):
2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
Reviewed by Pavel Feldman.
Fix adoptRef usage violations (mostly in chromium)
https://bugs.webkit.org/show_bug.cgi?id=41863
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::create):
* src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenu::create):
* src/WebViewImpl.cpp:
(WebKit::WebView::create):
2010-07-07 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Crash when re-entering message loop
Allow re-entrancy of the message loop by tracking all suspended pages
through a PageGroupLoadDeferrer stack.
https://bugs.webkit.org/show_bug.cgi?id=41697
* src/WebViewImpl.cpp:
(WebKit::WebView::willEnterModalLoop):
(WebKit::WebView::didExitModalLoop):
* src/js/Tests.js:
(.TestSuite.prototype.evaluateInConsole_):
(.TestSuite.prototype.testCompletionOnPause):
(.TestSuite.prototype.testMessageLoopReentrant.this):
2010-07-08 David Holloway <dhollowa@chromium.org>
Reviewed by Darin Fisher.
[chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for
use by other code in WebKit/chromium/src.
Specific use of these methods is made in WebFrameImpl.cpp. This is
preferred to the cast operator call that was happening prior to this
change.
https://bugs.webkit.org/show_bug.cgi?id=41477
* public/WebNode.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::registerPasswordListener):
(WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
(WebKit::WebFrameImpl::getPasswordListener):
* src/WebFrameImpl.h:
2010-07-07 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: convert script offset to webkit format
https://bugs.webkit.org/show_bug.cgi?id=41755
* src/js/DebuggerScript.js:
():
2010-07-07 Kent Tamura <tkent@chromium.org>
Reviewed by Adam Barth.
[DRT/Chromium] DumpRenderTree should depend on ImageDiff
https://bugs.webkit.org/show_bug.cgi?id=41749
We usually use DumpRenderTree with ImageDiff. So ImageDiff should
be built with DumpRenderTree. Without this change, ImageDiff is not
built in a case of Chromium tree build.
test_shell in Chromium tree also depends on image_diff.
* WebKit.gyp:
2010-07-07 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add a few more methods to WebPlugin so that Pepper v2 plugins can support copy/zoom/find
https://bugs.webkit.org/show_bug.cgi?id=41649
* public/WebPlugin.h:
(WebKit::WebPlugin::hasSelection):
(WebKit::WebPlugin::selectionAsText):
(WebKit::WebPlugin::selectionAsMarkup):
(WebKit::WebPlugin::setZoomFactor):
(WebKit::WebPlugin::supportsFind):
(WebKit::WebPlugin::startFind):
(WebKit::WebPlugin::selectFindResult):
(WebKit::WebPlugin::stopFind):
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::pluginContainerFromFrame):
(WebKit::ChromePluginPrintContext::end):
(WebKit::ChromePluginPrintContext::computePageRects):
(WebKit::ChromePluginPrintContext::spoolPage):
(WebKit::WebFrameImpl::executeCommand):
* src/WebFrameImpl.h:
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::copy):
(WebKit::WebPluginContainerImpl::handleKeyboardEvent):
* src/WebPluginContainerImpl.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setZoomLevel):
2010-07-07 James Hawkins <jhawkins@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Add setSuggestedValue to WebInputElement
https://bugs.webkit.org/show_bug.cgi?id=41785
* public/WebInputElement.h:
* src/WebInputElement.cpp:
(WebKit::WebInputElement::setSuggestedValue):
(WebKit::WebInputElement::suggestedValue):
2010-07-07 James Robinson <jamesr@chromium.org> and Vincent Scheib <schieb@chromium.org>
Reviewed by Dimitri Glazkov.
WebCore::GLES2Context should allow creating onscreen and offscreen contexts
https://bugs.webkit.org/show_bug.cgi?id=41492
You should be able to create a GLES2Context for rendering both on screen
and off screen (to a texture). Currently WebGL does the latter by side
stepping the WebCore::GLES2Context API completely. Longer term it should
move over to using this.
* src/GLES2Context.cpp:
(WebCore::GLES2ContextInternal::initializeOnscreen):
(WebCore::GLES2ContextInternal::initializeOffscreen):
(WebCore::GLES2Context::createOnscreen):
(WebCore::GLES2Context::createOffscreen):
2010-07-07 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Patch for https://bugs.webkit.org/show_bug.cgi?id=41772
Add basic piping for BackForwardControllerClient.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
2010-07-07 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r62645.
http://trac.webkit.org/changeset/62645
https://bugs.webkit.org/show_bug.cgi?id=41757
"Broken inspector tests on several platforms" (Requested by
eseidel on #webkit).
* src/js/DebuggerScript.js:
():
2010-07-07 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
https://bugs.webkit.org/show_bug.cgi?id=41461
* src/js/DebuggerScript.js:
():
2010-07-06 Darin Adler <darin@apple.com>
Try to fix build.
Why do the Chromium bots stop after the first error they encounter?
* src/WebWorkerImpl.cpp:
(WebKit::WebWorkerImpl::postMessageToWorkerContextTask): Removed
unneeded release called on a PassOwnPtr to pass it as an argument of
type PassOwnPtr.
2010-07-06 Darin Adler <darin@apple.com>
Try to fix build.
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::dispatchTaskToMainThread): Use leakPtr instead
of release.
* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): Removed
unneeded release called on a PassOwnPtr to pass it as an argument of
type PassOwnPtr.
2010-07-06 Darin Adler <darin@apple.com>
Try to fix build.
* src/WebSharedWorkerImpl.cpp:
(WebKit::WebSharedWorkerImpl::connectTask): Removed unneeded release
called on a PassOwnPtr to pass it as an argument of type PassOwnPtr.
2010-07-06 Darin Adler <darin@apple.com>
Try to fix build.
* src/WebDataSourceImpl.cpp:
(WebKit::WebDataSourceImpl::setNextPluginLoadObserver): Call leakPtr
here instead of release. Comment makes it really unclear why it's OK!
2010-07-06 Darin Adler <darin@apple.com>
Try to fix build.
* src/SharedWorkerRepository.cpp:
(WebCore::SharedWorkerRepository::connect): Removed unneeded release
called on a PassOwnPtr to pass it as an argument of type PassOwnPtr.
2010-07-05 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
[v8] Web Inspector: remove v8-specific code dealing with getOwnPropertyNames from InjectedScript.js
https://bugs.webkit.org/show_bug.cgi?id=41595
* src/js/DebuggerScript.js:
2010-07-03 Erik Arvidsson <arv@chromium.org>
Reviewed by Ojan Vafai.
Fix issue where a contextmenu event was reporting the wrong target
if the context menu was shown due to pressing the context menu key
(or Shift+F10).
https://bugs.webkit.org/show_bug.cgi?id=38129
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::sendContextMenuEvent):
2010-07-02 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
[v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute
https://bugs.webkit.org/show_bug.cgi?id=41511
* src/WebBindings.cpp:
(WebKit::getEvent):
2010-07-01 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r62349.
http://trac.webkit.org/changeset/62349
https://bugs.webkit.org/show_bug.cgi?id=41499
It broke the chromium Linux build. (Requested by dave_levin on
#webkit).
* public/WebNode.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::registerPasswordListener):
(WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2010-07-01 David Holloway <dhollowa@chromium.org>
Reviewed by Darin Fisher.
[chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for
use by other code in WebKit/chromium/src.
Specific use of these methods is made in WebFrameImpl.cpp. This is
preferred to the cast operator call that was happening prior to this
change.
https://bugs.webkit.org/show_bug.cgi?id=41477
* public/WebNode.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::registerPasswordListener):
(WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2010-07-01 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
Stop linking against opengl32.lib in Windows Chromium port
https://bugs.webkit.org/show_bug.cgi?id=41424
* WebKit.gyp:
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::initialize):
(WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
* src/WebGraphicsContext3DDefaultImpl.h:
2010-07-01 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r62246.
http://trac.webkit.org/changeset/62246
https://bugs.webkit.org/show_bug.cgi?id=41470
"Worker tests are broken in Chromium" (Requested by yurys on
#webkit).
* src/WebBindings.cpp:
(WebKit::getEvent):
2010-07-01 David Holloway <dhollowa@chromium.org>
Reviewed by Darin Fisher.
[chromium] Consolidates AutoFill and Autocomplete popup menus into a single popup menu.
This change combines SuggestionsPopupMenuClient, AutoFillPopupMenuClient, and
AutocompletePopupMenuClient classes into a single consolidated AutoFillPopupMenuClient class.
Prior to this change the contents of the AutoFill popup menu only included AutoFill
suggestions and similarly the Autocomplete popup menu only included Autocomplete
suggestions. With this consolidation, both AutoFill and Autocomplete suggestions can
now be displayed in a single menu.
https://bugs.webkit.org/show_bug.cgi?id=41236
* WebKit.gyp:
* public/WebFrame.h:
* public/WebView.h:
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient):
(WebKit::AutoFillPopupMenuClient::~AutoFillPopupMenuClient):
(WebKit::AutoFillPopupMenuClient::valueChanged):
(WebKit::AutoFillPopupMenuClient::selectionCleared):
(WebKit::AutoFillPopupMenuClient::itemText):
(WebKit::AutoFillPopupMenuClient::itemStyle):
(WebKit::AutoFillPopupMenuClient::menuStyle):
(WebKit::AutoFillPopupMenuClient::clientPaddingLeft):
(WebKit::AutoFillPopupMenuClient::clientPaddingRight):
(WebKit::AutoFillPopupMenuClient::popupDidHide):
(WebKit::AutoFillPopupMenuClient::setTextFromItem):
(WebKit::AutoFillPopupMenuClient::fontSelector):
(WebKit::AutoFillPopupMenuClient::hostWindow):
(WebKit::AutoFillPopupMenuClient::createScrollbar):
(WebKit::AutoFillPopupMenuClient::initialize):
(WebKit::AutoFillPopupMenuClient::getWebView):
(WebKit::AutoFillPopupMenuClient::textFieldStyle):
* src/AutoFillPopupMenuClient.h:
(WebKit::AutoFillPopupMenuClient::itemToolTip):
(WebKit::AutoFillPopupMenuClient::itemAccessibilityText):
(WebKit::AutoFillPopupMenuClient::itemIsEnabled):
(WebKit::AutoFillPopupMenuClient::clientInsetLeft):
(WebKit::AutoFillPopupMenuClient::clientInsetRight):
(WebKit::AutoFillPopupMenuClient::listSize):
(WebKit::AutoFillPopupMenuClient::selectedIndex):
(WebKit::AutoFillPopupMenuClient::itemIsLabel):
(WebKit::AutoFillPopupMenuClient::itemIsSelected):
(WebKit::AutoFillPopupMenuClient::shouldPopOver):
(WebKit::AutoFillPopupMenuClient::valueShouldChangeOnHotTrack):
(WebKit::AutoFillPopupMenuClient::setAutocompleteMode):
(WebKit::AutoFillPopupMenuClient::getTextField):
(WebKit::AutoFillPopupMenuClient::getSelectedIndex):
(WebKit::AutoFillPopupMenuClient::setSelectedIndex):
* src/AutocompletePopupMenuClient.cpp: Removed.
* src/AutocompletePopupMenuClient.h: Removed.
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::textFieldDidEndEditing):
(WebKit::EditorClientImpl::doAutofill):
(WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
* src/SuggestionsPopupMenuClient.cpp: Removed.
* src/SuggestionsPopupMenuClient.h: Removed.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::currentHistoryItem):
(WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
* src/WebFrameImpl.h:
* src/WebViewImpl.cpp:
(WebKit::):
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::mouseUp):
(WebKit::WebViewImpl::selectPopupHandleKeyEvent):
(WebKit::WebViewImpl::autocompleteHandleKeyEvent):
(WebKit::WebViewImpl::hideAutoFillPopup):
(WebKit::WebViewImpl::setFocus):
(WebKit::WebViewImpl::applyAutoFillSuggestions):
(WebKit::WebViewImpl::applyAutocompleteSuggestions):
(WebKit::WebViewImpl::hidePopups):
(WebKit::WebViewImpl::refreshAutoFillPopup):
* src/WebViewImpl.h:
(WebKit::WebViewImpl::autoFillPopupDidHide):
2010-07-01 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Adam Barth.
[v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute
https://bugs.webkit.org/show_bug.cgi?id=41350
* src/WebBindings.cpp:
(WebKit::getEvent):
2010-07-01 Aaron Boodman <aa@chromium.org>
Reviewed by Darin Fisher.
Make the user script API static. This makes it more convenient to use
if you don't have a WebView instance yet.
Added static versions of the three methods and re-route current ones
temporarily through the static versions. Will remove the non-static
versions once Chromium has been updated.
Also, expose the URLPattern configuration for user stylesheets, since
they were not before.
https://bugs.webkit.org/show_bug.cgi?id=41385
* public/WebView.h:
(WebKit::WebView::addUserScript):
(WebKit::WebView::addUserStyleSheet):
* src/WebViewImpl.cpp:
(WebKit::WebView::addUserScript):
(WebKit::WebView::addUserStyleSheet):
(WebKit::WebView::removeAllUserContent):
2010-06-30 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
Roll forward Chromium DEPS to r51287
https://bugs.webkit.org/show_bug.cgi?id=41430
* DEPS:
2010-06-25 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chrome DevTools: Finalize migration to new WebView constructor
(devtools agent is now created within WebViewImpl only).
https://bugs.webkit.org/show_bug.cgi?id=41212
* public/WebDevToolsAgent.h:
* public/WebView.h:
* src/WebDevToolsAgentImpl.cpp:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
* src/WebViewImpl.h:
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::initializeLoader):
* tests/PopupMenuTest.cpp:
(WebKit::SelectPopupMenuTest::SetUp):
2010-06-29 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Implement getAttachedShaders
https://bugs.webkit.org/show_bug.cgi?id=31172
* public/WebGraphicsContext3D.h: Declaration of getAttachedShaders().
* src/GraphicsContext3D.cpp: Implementation of getAttachedShaders().
* src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
* src/WebGraphicsContext3DDefaultImpl.h: Declaration of getAttachedShaders().
2010-06-29 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Darin Fisher.
Simplify the WebDatabase interface.
https://bugs.webkit.org/show_bug.cgi?id=40607
Do not ref()/deref() the private AbstractDatabase member. This
allows us to use WebDatabase in the destructors of the DB
classes.
* public/WebDatabase.h:
(WebKit::WebDatabase::WebDatabase):
* src/WebDatabase.cpp:
(WebKit::WebDatabase::name):
(WebKit::WebDatabase::displayName):
(WebKit::WebDatabase::estimatedSize):
(WebKit::WebDatabase::securityOrigin):
(WebKit::WebDatabase::WebDatabase):
2010-06-29 Zhe Su <suzhe@chromium.org>
Reviewed by Darin Fisher.
A crash caused by the patch of bug 40608.
https://bugs.webkit.org/show_bug.cgi?id=41334
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::caretOrSelectionBounds):
2010-06-29 Victor Wang <victorw@chromium.org>
Reviewed by Darin Fisher.
[chromium]: Update webkit for chromium multi dll build.
1. Export more webkit APIs for chromium multi dll build.
2. Update DumpRenderTree sources so it can build with webkit.dll
3. Temp disable webkit unit tests for chromium multi dll build.
https://bugs.webkit.org/show_bug.cgi?id=41231
* WebKit.gyp:
* public/WebAccessibilityCache.h:
* public/WebAccessibilityObject.h:
* public/WebEventListener.h:
* public/WebGeolocationServiceMock.h:
* public/WebGraphicsContext3D.h:
* public/WebIDBDatabaseError.h:
(WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
(WebKit::WebIDBDatabaseError::operator=):
* public/WebNotification.h:
* public/WebPasswordFormData.h:
* public/WebSearchableFormData.h:
* public/WebStorageEventDispatcher.h:
* public/WebString.h:
(WebKit::WebString::WebString):
(WebKit::WebString::operator=):
2010-06-29 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Hooking up GraphicsContext3D to the gpu compositor.
GraphicsContext3DInternal is now initialized with a pointer to the HostWindow
that corresponds to the WebView containing the context. The initializer
forces a WebGLES2Context to be created for the WebView (if one doesn't already
exist) and uses the view's GL context as a parent to the GL context created
for WebGL. This allows the compositor to read the texture associated with
WebGL's frame buffer. We also plumb though GraphicsContext3D's prepareTexture
and platformLayer methods which are required by the compositor code.
https://bugs.webkit.org/show_bug.cgi?id=41243
* public/WebGraphicsContext3D.h:
* public/WebView.h:
Made gles2Context() a virtual method on WebView instead of WebViewImpl
to allow access to it from GraphicsContext3DInternal::initialize().
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::initialize):
(WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
(WebCore::GraphicsContext3DInternal::platformTexture):
(WebCore::GraphicsContext3DInternal::prepareTexture):
(WebCore::GraphicsContext3DInternal::platformLayer):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::prepareTexture):
(WebCore::GraphicsContext3D::platformLayer):
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::initialize):
(WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId):
(WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
* src/WebGraphicsContext3DDefaultImpl.h:
* src/WebViewImpl.h:
2010-06-29 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: return line number where breakpoint was actually set by v8 from setBreakpoint function.
https://bugs.webkit.org/show_bug.cgi?id=40781
* src/js/DebuggerScript.js:
():
2010-06-23 John Gregg <johnnyg@google.com>
Reviewed by Kent Tamura.
add ENABLE_DIRECTORY_UPLOAD build support
https://bugs.webkit.org/show_bug.cgi?id=41100
* features.gypi:
2010-06-28 Zhe Su <suzhe@chromium.org>
Reviewed by Jian Li.
[chromium]Remove deprecated code related to input method.
https://bugs.webkit.org/show_bug.cgi?id=41244
Also update TestWebWidget in tests/PopupMenuTest.cpp to add missing implementations.
* WebKit.gyp:
* public/WebCompositionCommand.h: Removed.
* public/WebViewClient.h:
* public/WebWidget.h:
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::setInputMethodState):
* src/WebPopupMenuImpl.cpp:
* src/WebPopupMenuImpl.h:
* src/WebViewImpl.cpp:
* src/WebViewImpl.h:
* tests/PopupMenuTest.cpp:
(WebKit::TestWebWidget::setComposition):
(WebKit::TestWebWidget::confirmComposition):
(WebKit::TestWebWidget::textInputType):
(WebKit::TestWebWidget::caretOrSelectionBounds):
2010-06-27 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Get the selected text from plugins for right click menu
https://bugs.webkit.org/show_bug.cgi?id=41242
* public/WebContextMenuData.h:
(WebKit::WebContextMenuData::):
* public/WebPlugin.h:
(WebKit::WebPlugin::selectedText):
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::selectedText):
* src/WebPluginContainerImpl.h:
2010-06-28 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Fix Chromium debugger tests.
* src/js/Tests.js:
(.TestSuite.prototype.testDebugIntrinsicProperties):
2010-06-25 Yuzo Fujishima <yuzo@google.com>
Reviewed by Shinichiro Hamaji.
Improve default value handling for page format properties.
https://bugs.webkit.org/show_bug.cgi?id=41150
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::pageSizeAndMarginsInPixels):
* src/WebFrameImpl.h:
2010-06-26 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r61943.
http://trac.webkit.org/changeset/61943
https://bugs.webkit.org/show_bug.cgi?id=41251
Totally breaks webkit_unit_tests on Chromium linux and mac
(Requested by mnaganov on #webkit).
* WebKit.gyp:
* src/WebFrameImpl.cpp:
(WebKit::frameContentAsPlainText):
* tests/RunAllTests.cpp:
(main):
* tests/WebFrameTest.cpp: Removed.
* tests/data/iframes_test.html: Removed.
* tests/data/invisible_iframe.html: Removed.
* tests/data/visible_iframe.html: Removed.
* tests/data/zero_sized_iframe.html: Removed.
2010-06-26 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Dimitri Glazkov.
Disable Web Timing support by default for chromium port.
https://bugs.webkit.org/show_bug.cgi?id=38924
* features.gypi:
2010-06-25 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Made WebFrame not report the text from hidden frames.
(some pages contain hidden frames with garbage text that
should not be indexed or used to detect the page's language).
https://bugs.webkit.org/show_bug.cgi?id=39456
* DEPS:
* WebKit.gyp:
* src/WebFrameImpl.cpp:
(WebKit::frameContentAsPlainText):
* tests/RunAllTests.cpp:
(main):
* tests/WebFrameTest.cpp: Added.
* tests/data: Added.
* tests/data/iframes_test.html: Added.
* tests/data/invisible_iframe.html: Added.
* tests/data/visible_iframe.html: Added.
* tests/data/zero_sized_iframe.html: Added.
2010-06-25 Bernhard Bauer <bauerb@chromium.org>
Reviewed by Darin Fisher.
Add plugin accessors to WebPluginContainer.
https://bugs.webkit.org/show_bug.cgi?id=41145
* public/WebPluginContainer.h:
* src/WebPluginContainerImpl.h:
(WebKit::WebPluginContainerImpl::setPlugin):
2010-06-25 Sterling Swigart <sswigart@google.com>
Reviewed by David Levin.
Resetting ENABLE_IMAGE_RESIZER to 0. Image.webkitGetImage needs to be developed under
a 0 value, at least until both the JSC and V8 bindings are in place.
https://bugs.webkit.org/show_bug.cgi?id=41116
* features.gypi: ENABLE_IMAGE_RESIZER=0
2010-06-25 Victor Wang <victorw@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Update chromium webkit gyp so it has
option to be built as DLL.
Chromium webkit is built as webkit.dll on windows
if it is inside chromium build and variable component
is set to shared_library.
https://bugs.webkit.org/show_bug.cgi?id=41161
* WebKit.gyp:
2010-06-25 John Abd-El-Malek <jam@chromium.org>
Reviewed by David Levin.
[chromium] Send unhandled events to Node's default handler
https://bugs.webkit.org/show_bug.cgi?id=41223
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleEvent):
2010-06-25 Daniel Cheng <dcheng@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add new stubs for querying platform drag-and-drop and copy-and-paste data.
This change adds new stubs for querying for data in a clipboard or drag operation. This is
so adding support for more data types in clipboard/drag operations doesn't become
increasingly expensive, since we currently copy all the drag data we need every time a new
web drop target is entered. It also adds a new mechanism to write back to the system
clipboard that isn't tied to one data type.
https://bugs.webkit.org/show_bug.cgi?id=40540
* public/WebClipboard.h:
(WebKit::WebClipboard::):
(WebKit::WebClipboard::isFormatAvailable):
(WebKit::WebClipboard::readPlainText):
(WebKit::WebClipboard::readHTML):
(WebKit::WebClipboard::writePlainText):
(WebKit::WebClipboard::writeHTML):
(WebKit::WebClipboard::writeURL):
(WebKit::WebClipboard::writeImage):
(WebKit::WebClipboard::writeData):
(WebKit::WebClipboard::readAvailableTypes):
(WebKit::WebClipboard::readData):
(WebKit::WebClipboard::readFilenames):
* public/WebKitClient.h:
* src/AssertMatchingEnums.cpp:
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::clipboardWriteData):
(WebCore::ChromiumBridge::clipboardReadAvailableTypes):
(WebCore::ChromiumBridge::clipboardReadData):
(WebCore::ChromiumBridge::clipboardReadFilenames):
2010-06-25 Lei Zheng <lzheng@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Add a flag to the ResourceResponse for tracking if a request was fetched
when Alternate-Protocol is available.
https://bugs.webkit.org/show_bug.cgi?id=41001
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::wasAlternateProtocolAvailable):
(WebKit::WebURLResponse::setWasAlternateProtocolAvailable):
2010-06-25 Michael Nordman <michaeln@google.com>
Reviewed by Dumitru Daniliuc.
Additional API to pass additional info needed for AppCache progress events.
https://bugs.webkit.org/show_bug.cgi?id=37602
Also, delete an obsolete method from the worker API.
* public/WebApplicationCacheHostClient.h: define a new method
* public/WebSharedWorker.h: remove an obsolte method
* src/ApplicationCacheHostInternal.h: implement the new method
(WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
2010-06-25 John Gregg <johnnyg@google.com>
Reviewed by Darin Fisher.
Notification should expose ltr/rtl as TextDirection, not String
https://bugs.webkit.org/show_bug.cgi?id=40871
* public/WebNotification.h:
* src/WebNotification.cpp:
(WebKit::WebNotification::direction):
2010-06-24 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Clean up and document DocumentWriter::replaceDocument code path
https://bugs.webkit.org/show_bug.cgi?id=41182
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::loadJavaScriptURL):
- Make Chromium use DocumentWriter like it should.
2010-06-24 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
[Chromium] A WebView can now own a GLES2Context which gets created on
demand. This context will typically be created for the gpu compositor
and used as a parent context for any elements on the page that use the
gpu for rendering (e.g. WebGL) and need to pass their backbuffer directly
to the compositor.
https://bugs.webkit.org/show_bug.cgi?id=41010
* public/WebGLES2Context.h:
* src/GLES2Context.cpp:
(WebCore::GLES2ContextInternal::getWebGLES2Context):
(WebCore::GLES2ContextInternal::initialize):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::gles2Context):
* src/WebViewImpl.h:
2010-06-24 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
https://bugs.webkit.org/show_bug.cgi?id=41094
- Merged InspectorClient implementation into WebDevToolsAgent
- Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
- Removed a lot of legacy code from WebDevToolsAgentImpl
- Removed a lot of overrides from DevTools.js
- Simplified devtools stubs
- Got rid of all logic from within InjectDispatch.js
* public/WebView.h:
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
* src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::inspectorDestroyed):
(WebKit::InspectorClientImpl::openInspectorFrontend):
(WebKit::InspectorClientImpl::highlight):
(WebKit::InspectorClientImpl::hideHighlight):
(WebKit::InspectorClientImpl::populateSetting):
(WebKit::InspectorClientImpl::storeSetting):
(WebKit::InspectorClientImpl::sendMessageToFrontend):
(WebKit::InspectorClientImpl::resourceTrackingWasEnabled):
(WebKit::InspectorClientImpl::resourceTrackingWasDisabled):
(WebKit::InspectorClientImpl::timelineProfilerWasStarted):
(WebKit::InspectorClientImpl::timelineProfilerWasStopped):
(WebKit::InspectorClientImpl::devToolsAgent):
* src/InspectorClientImpl.h:
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
(WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
(WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
(WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
(WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
(WebKit::WebDevToolsAgentImpl::highlight):
(WebKit::WebDevToolsAgentImpl::hideHighlight):
(WebKit::WebDevToolsAgentImpl::populateSetting):
(WebKit::WebDevToolsAgentImpl::storeSetting):
(WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
(WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
(WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
(WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
(WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsAgentPrivate.h:
* src/WebViewImpl.cpp:
(WebKit::WebView::create):
(WebKit::WebViewImpl::WebViewImpl):
* src/WebViewImpl.h:
* src/js/DevTools.js:
(devtools.ToolsAgent):
():
(devtools):
* src/js/DevToolsHostStub.js:
(.window.setDebuggerScriptSource):
(.window.dispatchOnInjectedScript):
* src/js/InjectDispatch.js:
(dispatch):
* src/js/InspectorControllerImpl.js:
2010-06-24 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: revert 61766.
* WebKit.gyp:
* public/WebView.h:
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
* src/InspectorClientImpl.cpp: Added.
(WebKit::InspectorClientImpl::InspectorClientImpl):
(WebKit::InspectorClientImpl::~InspectorClientImpl):
(WebKit::InspectorClientImpl::inspectorDestroyed):
(WebKit::InspectorClientImpl::openInspectorFrontend):
(WebKit::invalidateNodeBoundingRect):
(WebKit::InspectorClientImpl::highlight):
(WebKit::InspectorClientImpl::hideHighlight):
(WebKit::InspectorClientImpl::populateSetting):
(WebKit::InspectorClientImpl::storeSetting):
(WebKit::InspectorClientImpl::sendMessageToFrontend):
* src/InspectorClientImpl.h: Added.
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
(WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
(WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
(WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
(WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
(WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
(WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsAgentPrivate.h:
* src/WebViewImpl.cpp:
(WebKit::WebView::create):
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::setDevToolsAgent):
* src/WebViewImpl.h:
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::initializeLoader):
* src/js/DevTools.js:
(devtools.ToolsAgent):
(devtools.ToolsAgent.prototype.frameNavigate_):
():
* src/js/DevToolsHostStub.js:
(.RemoteDebuggerAgentStub):
(.RemoteDebuggerAgentStub.prototype.getContextId):
(.RemoteDebuggerAgentStub.prototype.processDebugCommands):
(.RemoteProfilerAgentStub):
(.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
(.RemoteProfilerAgentStub.prototype.getLogLines):
(.RemoteToolsAgentStub):
(.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
(.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
(.ProfilerStubHelper):
(.ProfilerStubHelper.GetInstance):
(.ProfilerStubHelper.prototype.StopProfiling):
(.ProfilerStubHelper.prototype.StartProfiling):
(.ProfilerStubHelper.prototype.getActiveProfilerModules):
(.ProfilerStubHelper.prototype.getLogLines):
(.RemoteDebuggerCommandExecutorStub):
(.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
(.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
(.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
(.DevToolsHostStub):
(.DevToolsHostStub.prototype.reset):
(.DevToolsHostStub.prototype.setting):
(.DevToolsHostStub.prototype.setSetting):
* src/js/InjectDispatch.js:
(ApuAgentDispatcher.dispatchToApu):
(dispatch):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl.prototype.debuggerEnabled):
(devtools.InspectorBackendImpl.prototype.profilerEnabled):
2010-06-23 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
https://bugs.webkit.org/show_bug.cgi?id=41094
- Merged InspectorClient implementation into WebDevToolsAgent
- Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
- Removed a lot of legacy code from WebDevToolsAgentImpl
- Removed a lot of overrides from DevTools.js
- Simplified devtools stubs
- Got rid of all logic from within InjectDispatch.js
* WebKit.gyp:
* public/WebDevToolsAgent.h:
* public/WebView.h:
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
(WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
(WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
(WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
(WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
(WebKit::WebDevToolsAgentImpl::highlight):
(WebKit::WebDevToolsAgentImpl::hideHighlight):
(WebKit::WebDevToolsAgentImpl::populateSetting):
(WebKit::WebDevToolsAgentImpl::storeSetting):
(WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
(WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
(WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
(WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
(WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsAgentPrivate.h:
* src/WebViewImpl.cpp:
(WebKit::WebView::create):
(WebKit::WebViewImpl::WebViewImpl):
* src/WebViewImpl.h:
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::initializeLoader):
* src/js/DevTools.js:
(devtools.ToolsAgent):
():
(devtools):
* src/js/DevToolsHostStub.js:
(.window.setDebuggerScriptSource):
(.window.dispatchOnInjectedScript):
* src/js/InjectDispatch.js:
(dispatch):
* src/js/InspectorControllerImpl.js:
2010-06-24 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: implement layout tests for debugger
https://bugs.webkit.org/show_bug.cgi?id=40774
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
2010-06-23 Tony Chang <tony@chromium.org>
Reviewed by Darin Fisher.
layout test for a crash in chromium multipart request handling
https://bugs.webkit.org/show_bug.cgi?id=41050
Also roll DEPS to pick up the crash fix.
* DEPS:
2010-06-23 Yuzo Fujishima <yuzo@google.com>
Reviewed by Shinichiro Hamaji.
Make page format data methods accessible from Chromium
https://bugs.webkit.org/show_bug.cgi?id=41056
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::isPageBoxVisible):
(WebKit::WebFrameImpl::pageAreaRectInPixels):
(WebKit::WebFrameImpl::preferredPageSizeInPixels):
* src/WebFrameImpl.h:
2010-06-22 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Rename HTMLDocumentParser to LegacyHTMLDocumentParser
https://bugs.webkit.org/show_bug.cgi?id=41043
* src/WebEntities.cpp:
2010-06-22 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: follow up to r61655 to make Chromium tests happy.
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-06-22 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
[Chromium] Clean up after removal of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
https://bugs.webkit.org/show_bug.cgi?id=40914
* public/WebDevToolsAgentClient.h:
2010-06-22 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
[Chromium] Add a sanity test for heap profiler.
https://bugs.webkit.org/show_bug.cgi?id=40917
* src/js/Tests.js:
(.TestSuite.prototype.testHeapProfiler.findDisplayedNode):
(.TestSuite.prototype.testHeapProfiler.findVisibleView):
(.TestSuite.prototype.testHeapProfiler):
2010-06-21 MORITA Hajime <morrita@google.com>
Reviewed by Darin Fisher.
[Chromium] Dragging outside the frame immediately causes page to scroll
http://webkit.org/b/40461
This is regression that was introduced at http://webkit.org/b/39725.
There are 2 problems:
1. It starts auto-scrolling immediately. We should have some delay.
2. The scroll continues even after a mouse cursor goes outside a frame.
The scroll should be stopped when the curosr has left.
This change introduced DragScrollTimer to handle 1.
At the same time, it fixed DragScrollTimer::scrollDistanceFor() to
handle 2, We now stop scrolling when the cursor gone.
* WebKit.gyp:
* src/DragScrollTimer.cpp: Added.
(WebKit::distanceToRect):
(WebKit::DragScrollTimer::DragScrollTimer):
(WebKit::DragScrollTimer::~DragScrollTimer):
(WebKit::DragScrollTimer::stop):
(WebKit::DragScrollTimer::scroll):
(WebKit::DragScrollTimer::update):
(WebKit::DragScrollTimer::triggerScroll):
(WebKit::DragScrollTimer::scrollDistanceFor):
* src/DragScrollTimer.h: Added.
(WebKit::DragScrollTimer::fired):
(WebKit::DragScrollTimer::shouldScroll):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::dragSourceEndedAt):
(WebKit::WebViewImpl::dragSourceMovedTo):
(WebKit::WebViewImpl::dragTargetDrop):
(WebKit::WebViewImpl::dragTargetDragEnterOrOver):
* src/WebViewImpl.h:
2010-06-21 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Enable EVENTSOURCE, FILE_WRITER, and IMAGE_RESIZER
https://bugs.webkit.org/show_bug.cgi?id=40905
EVENTSOURCE: It is already enabled in Chromium browser. This fixes
some tests with Chromium DRT.
FILE_WRITER and IMAGE_RESIZER: Enable experimental features in
order to test them before enabling them in Chromium browser.
* features.gypi:
2010-06-21 Satish Sampath <satish@chromium.org>
Reviewed by Steve Block.
Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
https://bugs.webkit.org/show_bug.cgi?id=40878
* features.gypi:
2010-06-21 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Yury Semikhatsky.
[Chromium] Remove usage of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
Also, move WebDevToolsMessageTransport to its own header file.
https://bugs.webkit.org/show_bug.cgi?id=40913
* DEPS:
* WebKit.gyp:
* public/WebDevToolsAgent.h:
* public/WebDevToolsAgentClient.h:
* public/WebDevToolsMessageTransport.h: Added.
(WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
2010-06-20 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
[v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
v8 debugging protocol.
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
2010-06-19 Jay Civelli <jcivelli@chromium.org>
Reviewed by David Levin.
Adding a < operator to WebURLs so they can be used in std::maps.
https://bugs.webkit.org/show_bug.cgi?id=40632
* public/WebCString.h:
(WebKit::operator<):
* public/WebURL.h:
(WebKit::operator<):
* src/WebCString.cpp:
(WebKit::WebCString::compare):
2010-06-19 Kent Tamura <tkent@chromium.org>
Unreviewed. Build fix for r61488.
* features.gypi: Define use_accelerated_compositing.
2010-06-19 Thomas Van Lenten <thomasvl@chromium.org>
Reviewed by David Levin.
Warnings from -Wextra in a Chromium Mac build
1. checks of unsigned >= 0
2. enumeral and non-enumeral type in conditional expression
3. copy ctors that don't call the super copy ctor or ctor
https://bugs.webkit.org/show_bug.cgi?id=40791
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::getSuggestion):
(WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
(WebKit::AutoFillPopupMenuClient::valueChanged):
(WebKit::AutoFillPopupMenuClient::selectionChanged):
* src/AutocompletePopupMenuClient.cpp:
(WebKit::AutocompletePopupMenuClient::getSuggestion):
(WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
2010-06-19 Zhe Su <suzhe@chromium.org>
Reviewed by Darin Fisher.
[chromium]Refactor input method related APIs.
https://bugs.webkit.org/show_bug.cgi?id=40608
* WebKit.gyp:
* public/WebCompositionCommand.h:
* public/WebCompositionUnderline.h: Added.
(WebKit::WebCompositionUnderline::WebCompositionUnderline):
* public/WebTextInputType.h: Added.
(WebKit::):
* public/WebViewClient.h:
* public/WebWidget.h:
* public/WebWidgetClient.h:
(WebKit::WebWidgetClient::resetInputMethod):
* src/CompositionUnderlineBuilder.h: Added.
(WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder):
* src/CompositionUnderlineVectorBuilder.cpp: Added.
(WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder):
* src/CompositionUnderlineVectorBuilder.h: Added.
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::setInputMethodState):
* src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenuImpl::setComposition):
(WebKit::WebPopupMenuImpl::confirmComposition):
(WebKit::WebPopupMenuImpl::textInputType):
(WebKit::WebPopupMenuImpl::caretOrSelectionBounds):
* src/WebPopupMenuImpl.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleCompositionEvent):
(WebKit::WebViewImpl::setComposition):
(WebKit::WebViewImpl::confirmComposition):
(WebKit::WebViewImpl::textInputType):
(WebKit::WebViewImpl::caretOrSelectionBounds):
* src/WebViewImpl.h:
2010-06-19 Victoria Kirst <vrk@google.com>
Reviewed by David Levin.
Modifying the WebMediaPlayer interface to be compatible with
a change in chrome.
This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
has been updated, so this commit should NOT break chromium anymore,
nor should it cause any test failures.
https://bugs.webkit.org/show_bug.cgi?id=39445
* public/WebMediaPlayer.h: Changed buffered() to be non-const.
2010-06-19 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
fast/canvas/webgl/get-active-test.html failed in Chrome Mac
https://bugs.webkit.org/show_bug.cgi?id=40496
* src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent().
(WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
(WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
(WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
2010-06-18 Aaron Boodman <aa@chromium.org>
Remove WebKit::WebDocument::isXHTMLDocument.
https://bugs.webkit.org/show_bug.cgi?id=40815
* public/WebDocument.h: Remove isXHTMLDocument().
* src/WebDocument.cpp: Ditto.
2010-06-19 Aaron Boodman <aa@chromium.org>
Unreviewed, rolling out r61466.
http://trac.webkit.org/changeset/61466
https://bugs.webkit.org/show_bug.cgi?id=40816
Landed wrong change
* src/WebKit.cpp:
(WebKit::shutdown):
2010-06-18 Aaron Boodman <aa@chromium.org>
WebKit API: Undo static hooks into V8 when WebKit is shut downm
https://bugs.webkit.org/show_bug.cgi?id=40816
* src/WebKit.cpp:
(WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded().
2010-06-18 Drew Wilson <atwilson@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Plumbing for top-level frame names
https://bugs.webkit.org/show_bug.cgi?id=40430
* public/WebFrame.h:
Removed obsolete clearName() API and added better documentation for
setName().
* src/WebFrameImpl.cpp:
Removed clearName() API.
* src/WebFrameImpl.h:
Removed clearName() API.
2010-06-18 Drew Wilson <atwilson@chromium.org>
Reviewed by Dumitru Daniliuc.
Roll chromium DEPS 50089:50171
https://bugs.webkit.org/show_bug.cgi?id=40842
* DEPS:
Update chromium_rev to r50171 to remove downstream reference to WebFrame::clearName().
2010-06-18 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Yury Semikhatsky.
Implement 'takeHeapSnapshot' in InspectorController.
https://bugs.webkit.org/show_bug.cgi?id=40834
* src/js/HeapProfilerPanel.js:
(WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
* src/js/ProfilerAgent.js:
(devtools.ProfilerAgent.prototype.startProfiling):
2010-06-18 Anton Muhin <antonm@chromium.org>
Reviewed by Dimitri Glazkov.
[v8] Finish migration to new named property query API
https://bugs.webkit.org/show_bug.cgi?id=40771
Remove definition which allowed gradual transition to new API.
See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase.
Requires V8 roll.
* DEPS:
2010-06-17 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: bring XHR console records back.
- adds "Enable XHR Monitor" / "Disable XHR Monitor" actions to the console's context menu
- make the chosen option persist in the settings.
https://bugs.webkit.org/show_bug.cgi?id=40799
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-06-15 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Adam Barth.
Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
https://bugs.webkit.org/show_bug.cgi?id=39041
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableDatabase):
(WebKit::WebRuntimeFeatures::isDatabaseEnabled):
2010-06-17 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] cleanup redundant DEPS value and remove buildbot cleanup code
https://bugs.webkit.org/show_bug.cgi?id=40615
* DEPS: tools/data_pack was listed twice for linux (harmless, but unnecessary)
2010-06-17 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Darin Fisher.
[Chromium API] Implement WebSandboxSupport on OS X and add stubs to allow
OOP loading of fonts.
https://bugs.webkit.org/show_bug.cgi?id=40544
* WebKit.gyp: Add mac WebSandboxSupport.h
* public/mac/WebSandboxSupport.h: Added.
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::loadFont):
2010-06-17 Pavel Feldman <pfeldman@chromium.org>
Unreviewed: chromium tests fix. Added InspectorBackend delegates for new inspector methods.
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-06-17 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
[Chromium] Prepare to making WebDevToolsAgentClient::sendMessageToFrontendOnIOThread virtual
https://bugs.webkit.org/show_bug.cgi?id=39302
* public/WebDevToolsAgent.h:
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
2010-06-17 John Gregg <johnnyg@google.com>
Reviewed by David Levin.
Undo the build fix with the correct patch: Chromium NotificationPresenter
is now informed of the destruction before it actually happens, so this
use of the Notification object is correct.
https://bugs.webkit.org/show_bug.cgi?id=40097
* src/NotificationPresenterImpl.cpp:
(WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
2010-06-16 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Set current working directory for each of tests
https://bugs.webkit.org/show_bug.cgi?id=40668
* DEPS: Update Chromium to r49915 to have
webkit_support::SetCurrentDirectoryForFileURL().
2010-06-16 Drew Wilson <atwilson@chromium.org>
Reviewed by Kent Tamura.
Added plumbing to Chromium WebKit API to allow setting/getting the name
of top level frames.
https://bugs.webkit.org/show_bug.cgi?id=40430
* public/WebFrame.h:
Added setName() API.
* public/WebViewClient.h:
(WebKit::WebViewClient::createView):
Now takes a "name" parameter.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::createWindow):
Passes a name parameter.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::setName):
Allows setting the frame name by calling through to the WebCore API.
* src/WebFrameImpl.h:
2010-06-15 Darin Adler <darin@apple.com>
Reviewed by Adam Barth.
Move functions out of Frame class that were marked "move to Chrome"
https://bugs.webkit.org/show_bug.cgi?id=39636
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::dispatchBeforeUnloadEvent): Call shouldClose
on FrameLoader instead of going through Frame.
2010-06-11 Darin Fisher <darin@chromium.org>
Reviewed by Brady Eidson.
Expose WebHistoryItem::itemSequenceNumber.
https://bugs.webkit.org/show_bug.cgi?id=40451
* public/WebHistoryItem.h:
* src/WebHistoryItem.cpp:
(WebKit::WebHistoryItem::itemSequenceNumber):
(WebKit::WebHistoryItem::setItemSequenceNumber):
2010-06-15 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
[v8] Web Inspector: make ui tests pass when ScriptDebugServer is used
https://bugs.webkit.org/show_bug.cgi?id=40623
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.formatCallFrame_): return empty function name for anonymous functions.
* src/js/DebuggerScript.js:
* src/js/Tests.js:
(.TestSuite.prototype.testProfilerTab.findVisibleView):
(.TestSuite.prototype.testProfilerTab):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
(.TestSuite.prototype.testSetBreakpoint.this):
(.TestSuite.prototype.testSetBreakpoint):
(.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
(.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
(.TestSuite.prototype.testExpandScope.examineScopes):
(.TestSuite.prototype.testExpandScope):
(.TestSuite.prototype.testDebugIntrinsicProperties):
2010-06-14 Anders Carlsson <andersca@apple.com>
Fix Chromium build.
* src/WebPluginListBuilderImpl.cpp:
(WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
2010-06-14 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Adam Barth.
Get DatabaseTracker ready for sync DBs.
https://bugs.webkit.org/show_bug.cgi?id=39041
* public/WebDatabase.h:
* src/DatabaseObserver.cpp:
(WebCore::DatabaseObserver::databaseOpened):
(WebCore::DatabaseObserver::databaseModified):
(WebCore::DatabaseObserver::databaseClosed):
* src/WebDatabase.cpp:
(WebKit::WebDatabase::closeDatabaseImmediately):
(WebKit::WebDatabase::WebDatabase):
(WebKit::WebDatabase::operator=):
(WebKit::WebDatabase::operator WTF::PassRefPtr<AbstractDatabase>):
2010-06-14 Chris Fleizach <cfleizach@apple.com>
Reviewed by Darin Adler.
AX: need ListItemRole and PresentationalRole
https://bugs.webkit.org/show_bug.cgi?id=40133
* public/WebAccessibilityRole.h:
* src/AssertMatchingEnums.cpp:
2010-06-14 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Remove pluginIndex from MimeClassInfo
https://bugs.webkit.org/show_bug.cgi?id=40588
* src/WebPluginListBuilderImpl.cpp:
(WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
2010-06-14 Jeremy Orlow <jorlow@chromium.org>
Build fix.
* src/IDBCallbacksProxy.h:
2010-06-14 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
data from inspected page to WebInspector as JSON string via http. The native
serialization to JSON string is supported by InspectorValue's classes. This patch
has the implementation of sendMessageToFrontend function. WebKit version of it still
uses ScriptFunctionCall and will be switched to another transport a little bit later.
https://bugs.webkit.org/show_bug.cgi?id=40134
* src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::sendMessageToFrontend):
* src/InspectorClientImpl.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
2010-06-13 Tony Chang <tony@chromium.org>
Reviewed by Darin Fisher.
[chromium] checkout chromium third_party directly
https://bugs.webkit.org/show_bug.cgi?id=40556
* DEPS:
2010-06-13 Tony Chang <tony@chromium.org>
Build fix, not reviewed.
fix chromium compile after r61094 (id attribute refactor)
https://bugs.webkit.org/show_bug.cgi?id=40553
* src/ChromeClientImpl.cpp:
* src/WebFormControlElement.cpp:
(WebKit::WebFormControlElement::nameForAutofill):
2010-06-13 Andras Becsi <abecsi@inf.u-szeged.hu>
Reviewed by Darin Adler.
Centralize the gperf code generation commands into make-hash-tools.pl
to avoid redundancy across multiple build systems.
Do this in preparation of refactoring the usage of these generated
sources to fix the debug linking error on Linux with gcc >= 4.4.0.
webkit.org/b/29244
* src/WebEntities.cpp:
2010-06-11 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Rename the rest of the *Tokenizer classes to *DocumentParser
https://bugs.webkit.org/show_bug.cgi?id=40507
* src/WebEntities.cpp:
- Fix a comment to match new class names.
2010-06-12 Evan Stade <estade@chromium.org>
Reviewed by Eric Seidel.
[chromium] Menu key should act on current selection even if it is not editable
https://bugs.webkit.org/show_bug.cgi?id=40348
Allow the menu key to act on non-editable selections.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::sendContextMenuEvent):
2010-06-11 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Notify the WebView when the AutoFill popup hides.
https://bugs.webkit.org/show_bug.cgi?id=40459
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::selectionCleared):
2010-06-11 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Dimitri Glazkov.
Roll chromium DEPS 49376:49521
https://bugs.webkit.org/show_bug.cgi?id=40488
* DEPS:
2010-06-10 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
Implement more of IndexedDB's Indexes and ObjectStores
https://bugs.webkit.org/show_bug.cgi?id=40424
Add plumbing for both of these classes.
* public/WebIDBDatabase.h:
(WebKit::WebIDBDatabase::name):
(WebKit::WebIDBDatabase::description):
(WebKit::WebIDBDatabase::version):
(WebKit::WebIDBDatabase::objectStores):
(WebKit::WebIDBDatabase::objectStore):
(WebKit::WebIDBDatabase::removeObjectStore):
* public/WebIDBObjectStore.h:
(WebKit::WebIDBObjectStore::indexNames):
(WebKit::WebIDBObjectStore::createIndex):
(WebKit::WebIDBObjectStore::index):
(WebKit::WebIDBObjectStore::removeIndex):
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::name):
(WebCore::IDBDatabaseProxy::description):
(WebCore::IDBDatabaseProxy::version):
(WebCore::IDBDatabaseProxy::objectStores):
(WebCore::IDBDatabaseProxy::objectStore):
(WebCore::IDBDatabaseProxy::removeObjectStore):
* src/IDBDatabaseProxy.h:
* src/IDBObjectStoreProxy.cpp:
(WebCore::IDBObjectStoreProxy::indexNames):
(WebCore::IDBObjectStoreProxy::createIndex):
(WebCore::IDBObjectStoreProxy::index):
(WebCore::IDBObjectStoreProxy::removeIndex):
* src/IDBObjectStoreProxy.h:
* src/WebIDBDatabaseImpl.cpp:
(WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
(WebKit::WebIDBDatabaseImpl::name):
(WebKit::WebIDBDatabaseImpl::description):
(WebKit::WebIDBDatabaseImpl::version):
(WebKit::WebIDBDatabaseImpl::objectStores):
(WebKit::WebIDBDatabaseImpl::createObjectStore):
(WebKit::WebIDBDatabaseImpl::objectStore):
(WebKit::WebIDBDatabaseImpl::removeObjectStore):
* src/WebIDBDatabaseImpl.h:
* src/WebIDBObjectStoreImpl.cpp:
(WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
(WebKit::WebIDBObjectStoreImpl::name):
(WebKit::WebIDBObjectStoreImpl::keyPath):
(WebKit::WebIDBObjectStoreImpl::indexNames):
(WebKit::WebIDBObjectStoreImpl::createIndex):
(WebKit::WebIDBObjectStoreImpl::index):
(WebKit::WebIDBObjectStoreImpl::removeIndex):
* src/WebIDBObjectStoreImpl.h:
2010-06-11 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Enable serialization/deserialization of the frontend state
https://bugs.webkit.org/show_bug.cgi?id=40228
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-06-10 Søren Gjesse <sgjesse@chromium.org>
Reviewed by Pavel Feldman.
V8: Chromium test expectations not matching improved V8 JavaScript stepping
https://bugs.webkit.org/show_bug.cgi?id=40419
Update test expetations to match chaged V8 break locations.
* src/js/Tests.js:
2010-06-10 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: Port performSearch from InjectedScript to InspectorDOMAgent.
https://bugs.webkit.org/show_bug.cgi?id=40422
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-06-11 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by David Levin.
[chromium] Adding a build dependency to the gles2 C library to the webkit_unit_tests
project to allow it to link when WebCore is compiled with the ACCELERATED_COMPOSITING
flag.
https://bugs.webkit.org/show_bug.cgi?id=40341
* WebKit.gyp:
2010-06-10 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Support plugin tests
https://bugs.webkit.org/show_bug.cgi?id=40413
* DEPS:
Bump the Chromium revision to r49376 to have a npapi_layout_test_plugin
change and Linux <progress> resources.
Add third_party/mesa because app/ depends on them
since r49332.
* WebKit.gyp:
Copy a plugin binary for DRT to recognize it.
2010-06-10 James Hawkins <jhawkins@chromium.org>
Not reviwed.
Build fix for Chromium Mac Release.
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::getSuggestion):
(WebKit::AutoFillPopupMenuClient::valueChanged):
(WebKit::AutoFillPopupMenuClient::selectionChanged):
(WebKit::AutoFillPopupMenuClient::itemIsSeparator):
2010-06-09 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add the ability to specify a separator in
AutoFillPopupMenuClient.
https://bugs.webkit.org/show_bug.cgi?id=40397
* public/WebViewClient.h:
(WebKit::WebViewClient::didAcceptAutoFillSuggestion):
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::getSuggestionsCount):
(WebKit::AutoFillPopupMenuClient::getSuggestion):
(WebKit::AutoFillPopupMenuClient::valueChanged):
(WebKit::AutoFillPopupMenuClient::selectionChanged):
(WebKit::AutoFillPopupMenuClient::itemIsSeparator):
(WebKit::AutoFillPopupMenuClient::initialize):
(WebKit::AutoFillPopupMenuClient::setSuggestions):
* src/AutoFillPopupMenuClient.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::applyAutoFillSuggestions):
* src/WebViewImpl.h:
2010-06-10 Dmitry Titov <dimich@chromium.org>
Not reviewed, Chromium build fix from Abhishek Arya.
* src/WebImageCG.cpp:
(WebKit::WebImage::WebImage):
(WebKit::WebImage::operator=):
2010-06-10 Abhishek Arya <inferno@chromium.org>
Reviewed by Dimitri Glazkov.
Add null pointer checks for nativeImageForCurrentFrame
function calls.
https://bugs.webkit.org/show_bug.cgi?id=39797
* src/WebImageCG.cpp:
(WebKit::WebImage::WebImage):
(WebKit::WebImage::operator=):
2010-06-10 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: to reduce the front end start up time don't push script
sources to frontend if debugger is always enabled, instead request
script content lazily at the moment it should be displyed. It is critical for
always enabled debugger because in that case lots of script may have
already been parsed when the front end is opening and pushing all
of them at once may slow things down(even though the script sources will never
be used if scripts panel isn't open).
https://bugs.webkit.org/show_bug.cgi?id=40364
* src/js/DevTools.js:
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
(.devtools.InspectorBackendImpl.prototype.getScriptSource):
2010-06-10 Mike Belshe <mbelshe@google.com>
Reviewed by David Levin
Track whether a resource is loaded via a proxy.
https://bugs.webkit.org/show_bug.cgi?id=40312
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::wasFetchedViaProxy):
(WebKit::WebURLResponse::setWasFetchedViaProxy):
2010-06-10 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Adding the ANGLE project to the DEPS file as it's required
by the gpu-accelerated compositor.
https://bugs.webkit.org/show_bug.cgi?id=40379
* DEPS:
2010-06-09 Bo Liu <boliu@chromium.org>
Reviewed by David Levin.
[Chromium] Pass <video> full screen calls to Chromium port client
https://bugs.webkit.org/show_bug.cgi?id=40317
* public/WebViewClient.h:
(WebKit::WebViewClient::supportsFullscreen):
(WebKit::WebViewClient::enterFullscreenForNode):
(WebKit::WebViewClient::exitFullscreenForNode):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::supportsFullscreenForNode):
(WebKit::ChromeClientImpl::enterFullscreenForNode):
(WebKit::ChromeClientImpl::exitFullscreenForNode):
* src/ChromeClientImpl.h:
2010-06-09 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
Rename FloatArray to Float32Array
https://bugs.webkit.org/show_bug.cgi?id=40323
Used do-webcore-rename to perform renaming. Manually undid
incorrect changes to WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp,
WebCore/manual-tests/resources/ArrayParameterTestApplet.java and
ArrayParameterTestApplet.class. Updated LayoutTests. Built and ran
all layout tests on Safari; built Chromium and ran selected WebGL
tests.
* src/GraphicsContext3D.cpp:
2010-06-09 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r60889.
http://trac.webkit.org/changeset/60889
https://bugs.webkit.org/show_bug.cgi?id=40365
gtk bot has some kind of memory corruption (Requested by
loislo on #webkit).
* src/InspectorClientImpl.cpp:
* src/InspectorClientImpl.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
2010-06-09 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: retreive debugger script source synchronously when
frontend is attached. We need this to be able to stop on top-level
breakpoints.
https://bugs.webkit.org/show_bug.cgi?id=40289
* WebKit.gypi:
* src/DebuggerAgent.h:
* src/DebuggerAgentImpl.cpp:
* src/DebuggerAgentImpl.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
* src/js/DebuggerScript.js:
* src/js/DevTools.js:
(WebInspector.loaded):
* src/js/DevToolsHostStub.js:
2010-06-07 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
data from inspected page to WebInspector as JSON string via http. The native
serialization to JSON string is supported by InspectorValue's classes. This patch
has the implementation of sendMessageToFrontend function. WebKit version of it still
uses ScriptFunctionCall and will be switched to another transport a little bit later.
https://bugs.webkit.org/show_bug.cgi?id=40134
* src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::sendMessageToFrontend):
* src/InspectorClientImpl.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
2010-06-09 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: update stack trace after script source editing
https://bugs.webkit.org/show_bug.cgi?id=40357
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.editScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.editScriptSource.requestBacktrace):
(devtools.DebuggerAgent.prototype.editScriptSource.handleBacktraceResponse):
(devtools.DebuggerAgent.prototype.editScriptSource.reportDidCommitEditing):
(devtools.DebuggerAgent.prototype.editScriptSource):
(devtools.DebuggerAgent.prototype.requestBacktrace_):
(devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
(devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
(devtools.DebuggerAgent.prototype.updateCallFramesFromBacktraceResponse_):
* src/js/InspectorControllerImpl.js:
(.devtools.InspectorBackendImpl.prototype.editScriptSource):
2010-06-08 Tony Chang <tony@chromium.org>
Reviewed by David Levin.
[chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
https://bugs.webkit.org/show_bug.cgi?id=40285
Take 2 at landing this patch, this time rolling DEPS just a bit
further to pick up some chromium fixes.
* DEPS
* gyp_webkit:
2010-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r60878.
http://trac.webkit.org/changeset/60878
https://bugs.webkit.org/show_bug.cgi?id=40349
broke linux build (Requested by tony^work on #webkit).
* DEPS:
* gyp_webkit:
2010-06-08 Tony Chang <tony@chromium.org>
Reviewed by David Levin.
[chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
https://bugs.webkit.org/show_bug.cgi?id=40285
* gyp_webkit:
2010-06-08 Tony Chang <tony@chromium.org>
Not reviewed, build fix.
[chromium] fix linux compile
https://bugs.webkit.org/show_bug.cgi?id=40343
* DEPS:
2010-06-08 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: extend ScriptDebugServer to support script source editing
https://bugs.webkit.org/show_bug.cgi?id=40297
* src/js/DebuggerAgent.js:
(devtools.ScriptInfo.prototype.worldType):
* src/js/DebuggerScript.js:
(debuggerScriptConstructor.DebuggerScript.editScriptSource):
* src/js/DevTools.js:
(WebInspector.loaded):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-06-08 Antonio Gomes <tonikitoo@webkit.org>
Reviewed by Ojan Vafai and Darin Adler.
Refactor platform dependent editing behavior code out of Settings
https://bugs.webkit.org/show_bug.cgi?id=39854
EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setEditingBehavior):
2010-06-07 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] roll chromium DEPS
https://bugs.webkit.org/show_bug.cgi?id=40277
* DEPS:
2010-06-07 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Jian Li.
Refactor FormData and Blob for better support of Blobs synthesized by BlobBuilder.
https://bugs.webkit.org/show_bug.cgi?id=39083
Replace FormDataList::Item list with BlobItemList to get it compiled
with the refactoring in FormDataList.
* src/WebSearchableFormData.cpp:
(WebCore::HasSuitableTextElement):
2010-06-07 Andrei Popescu <andreip@google.com>
Reviewed by Jeremy Orlow.
[indexedDB] It is impossible to create object stores
https://bugs.webkit.org/show_bug.cgi?id=40054
* WebKit.gyp:
* public/WebIDBCallbacks.h:
(WebKit::WebIDBCallbacks::onSuccess):
* public/WebIDBDatabase.h:
(WebKit::WebIDBDatabase::createObjectStore):
* public/WebIDBObjectStore.h: Added.
(WebKit::WebIDBObjectStore::~WebIDBObjectStore):
(WebKit::WebIDBObjectStore::name):
(WebKit::WebIDBObjectStore::keyPath):
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::createObjectStore):
* src/IDBDatabaseProxy.h:
* src/IDBObjectStoreProxy.cpp: Added.
(WebCore::IDBObjectStoreProxy::create):
(WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
(WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
(WebCore::IDBObjectStoreProxy::name):
(WebCore::IDBObjectStoreProxy::keyPath):
(WebCore::IDBObjectStoreProxy::indexNames):
(WebCore::IDBObjectStoreProxy::createIndex):
(WebCore::IDBObjectStoreProxy::index):
(WebCore::IDBObjectStoreProxy::removeIndex):
* src/IDBObjectStoreProxy.h: Added.
* src/IndexedDatabaseProxy.cpp:
(WebCore::IndexedDatabaseProxy::open):
* src/WebIDBCallbacksImpl.cpp:
(WebCore::WebIDBCallbacksImpl::onSuccess):
* src/WebIDBCallbacksImpl.h:
* src/WebIDBDatabaseImpl.cpp:
(WebKit::WebIDBDatabaseImpl::createObjectStore):
* src/WebIDBDatabaseImpl.h:
* src/WebIDBObjectStoreImpl.cpp: Added.
(WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
(WebKit::WebIDBObjectStoreImpl::~WebIDBObjectStoreImpl):
(WebKit::WebIDBObjectStoreImpl::name):
(WebKit::WebIDBObjectStoreImpl::keyPath):
* src/WebIDBObjectStoreImpl.h: Added.
* src/WebIndexedDatabaseImpl.cpp:
(WebKit::WebIndexedDatabaseImpl::open):
2010-06-07 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: should be possible to distinguish extension scripts from main world scripts
https://bugs.webkit.org/show_bug.cgi?id=40220
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.initUI):
(devtools.DebuggerAgent.prototype.addScriptInfo_):
(devtools.DebuggerAgent.prototype.formatCallFrame_):
(devtools.ScriptInfo.prototype.worldType):
* src/js/DebuggerScript.js:
(debuggerScriptConstructor.DebuggerScript.getScripts): use only context id without context type
when filtering scripts so that extension scripts are also included.
(debuggerScriptConstructor.DebuggerScript._formatScript):
* src/js/devTools.css:
2010-06-04 Jay Civelli <jcivelli@chromium.org>
Reviewed by Dimitri Glazkov.
Accessibility focus change notifications are now sent from
ChromeClientImpl::focusedNodeChanged().
https://bugs.webkit.org/show_bug.cgi?id=39792
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::focus):
(WebKit::ChromeClientImpl::focusedNodeChanged):
2010-06-04 Jay Civelli <jcivelli@chromium.org>
Reviewed by David Levin.
[chromium] Adding support for the left and right Windows keys to the
NativeWebKeyboardEvent.
https://bugs.webkit.org/show_bug.cgi?id=39752
* src/gtk/WebInputEventFactory.cpp:
(WebKit::gdkEventToWindowsKeyCode):
2010-06-04 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: Create resource for DebuggerScript.js.
https://bugs.webkit.org/show_bug.cgi?id=40122
* WebKit.grd:
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsAgentClient::debuggerScriptSource):
2010-05-26 MORITA Hajime <morrita@google.com>
Reviewed by Jian Li.
[Chromium] Dragging over an element with scrollbars should scroll the element when dragging near edges
https://bugs.webkit.org/show_bug.cgi?id=39725
Added WebViewImpl::scrollForDragging() to handle scroll-on-drag.
Note that this change handes both source and destination cases.
* public/WebView.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::dragSourceMovedTo):
(WebKit::WebViewImpl::dragTargetDragEnterOrOver):
(WebKit::WebViewImpl::scrollForDragging):
* src/WebViewImpl.h:
2010-06-03 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
[v8] Web Inspector: show "Object" as description for values with anonymous constructor
https://bugs.webkit.org/show_bug.cgi?id=40121
* src/js/DevTools.js: don't call DebuggerAgent methods if ScriptDebugServer is used.
2010-06-03 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Checking out lighttpd
https://bugs.webkit.org/show_bug.cgi?id=39948
- Add lighttpd only on Windows. It is used by new-run-webkit-tests.
- Add libvpx.
- Remove pthreads-win32 from DEPS.
It has not been used since Chromium r28642.
- Update Chromium revision to use Windows resource query code and
webkit_glue dependency fix.
* DEPS:
2010-06-02 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] refactor WebKit.gyp's DRT section so the conditions are less messy
https://bugs.webkit.org/show_bug.cgi?id=40104
* WebKit.gyp:
2010-06-02 Tony Chang <tony@chromium.org>
Not reviewed, build fix in downstream chromium.
Fix the path to repack.py so it works in a chromium checkout too.
* WebKit.gyp:
2010-06-02 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] generate DumpRenderTree.pak on DRT linux
https://bugs.webkit.org/show_bug.cgi?id=40098
* WebKit.gyp:
2010-06-02 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r60592.
http://trac.webkit.org/changeset/60592
https://bugs.webkit.org/show_bug.cgi?id=40099
broke the build, need to coordiate updating DEPS (Requested by
tony^work on #webkit).
* DEPS:
* public/WebMediaPlayer.h:
2010-06-02 Victoria Kirst <vrk@google.com>
Reviewed by David Levin.
Modifying the WebMediaPlayer interface to be compatible with
a change in chrome.
This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
has been updated, so this commit should NOT break chromium anymore.
https://bugs.webkit.org/show_bug.cgi?id=39445
* DEPS: Updated to a newer chrome revision number.
* public/WebMediaPlayer.h: Changed buffered() to be non-const.
2010-06-02 Peter Kasting <pkasting@google.com>
Unreviewed, emergency fix for test crashes (verbal r+ beforehand from
John Gregg).
Temporarily make notificationObjectDestroyed() a no-op to avoid an
ASSERT failure.
https://bugs.webkit.org/show_bug.cgi?id=40097
* src/NotificationPresenterImpl.cpp:
(WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
2010-06-02 Sterling Swigart <sswigart@google.com>
Reviewed by David Levin.
Image Resizer Patch 0: Added compilation argument to conditionally compile pending patches.
https://bugs.webkit.org/show_bug.cgi?id=39906
* features.gypi:
2010-06-01 James Hawkins <jhawkins@chromium.org>
UNREVIEWED: build fix.
Implement the added virtual methods from PopupMenuClient to
TestPopupMenuClient.
* tests/PopupMenuTest.cpp:
(WebKit::TestPopupMenuClient::selectionChanged):
(WebKit::TestPopupMenuClient::selectionCleared):
2010-05-24 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Implement new PopupMenuClient methods selectionChanged()
and selectionCleared(). Expose placeHolder methods and isAutoFilled()
in WebInputElement.
https://bugs.webkit.org/show_bug.cgi?id=39639
* public/WebInputElement.h:
* public/WebViewClient.h:
(WebKit::WebViewClient::didSelectAutoFillSuggestion):
(WebKit::WebViewClient::didClearAutoFillSelection):
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::selectionChanged):
(WebKit::AutoFillPopupMenuClient::selectionCleared):
(WebKit::AutoFillPopupMenuClient::popupDidHide):
* src/AutoFillPopupMenuClient.h:
* src/SuggestionsPopupMenuClient.h:
(WebKit::SuggestionsPopupMenuClient::selectionChanged):
(WebKit::SuggestionsPopupMenuClient::selectionCleared):
* src/WebInputElement.cpp:
(WebKit::WebInputElement::setPlaceholder):
(WebKit::WebInputElement::placeholder):
(WebKit::WebInputElement::isAutofilled):
2010-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r60483.
http://trac.webkit.org/changeset/60483
https://bugs.webkit.org/show_bug.cgi?id=40013
Breaks Mac and Linux builds (Requested by antonm on #webkit).
* DEPS:
2010-06-01 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
IndexedDB cleanup
https://bugs.webkit.org/show_bug.cgi?id=40007
Remove the exception code paramter (that hasn't been used for a while).
Add asserts to default implementations.
* public/WebIDBDatabase.h:
(WebKit::WebIDBDatabase::name):
(WebKit::WebIDBDatabase::description):
(WebKit::WebIDBDatabase::version):
(WebKit::WebIDBDatabase::objectStores):
* public/WebIndexedDatabase.h:
(WebKit::WebIndexedDatabase::open):
* src/WebIndexedDatabaseImpl.cpp:
(WebKit::WebIndexedDatabaseImpl::open):
* src/WebIndexedDatabaseImpl.h:
2010-06-01 Anton Muhin <antonm@chromium.org>
Reviewed by Dimitri Glazkov.
Rolling Chromium revision to bring recent changes to V8.
* DEPS:
2010-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r60470.
http://trac.webkit.org/changeset/60470
https://bugs.webkit.org/show_bug.cgi?id=39990
Need to rollout until bot can be updated (Requested by jorlow
on #webkit).
* DEPS:
2010-05-31 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Pavel Feldman.
Chromium: save inspector settings as dictionary, not as string.
https://bugs.webkit.org/show_bug.cgi?id=32118
* public/WebView.h:
* public/WebViewClient.h:
(WebKit::WebViewClient::didUpdateInspectorSetting):
* src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::populateSetting):
(WebKit::InspectorClientImpl::storeSetting):
* src/InspectorClientImpl.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::inspectorSetting):
(WebKit::WebViewImpl::setInspectorSetting):
* src/WebViewImpl.h:
2010-05-31 James Robinson <jamesr@chromium.org>
Reviewed by Darin Fisher.
Expose html5 parser enabled flag in WebSettings
https://bugs.webkit.org/show_bug.cgi?id=39913
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setHTML5ParserEnabled):
* src/WebSettingsImpl.h:
2010-05-31 Lyon Chen <liachen@rim.com>
Reviewed by Kent Tamura.
Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
https://bugs.webkit.org/show_bug.cgi?id=35530
Change enum EAlteration from { MOVE, EXTEND } to { AlterationMove, AlterationExtend } and enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT} to { DirectionForward, DirectionBackward, DirectionRight, DirectionLeft } to avoid macro conflict, and also better coding style conformance.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::executeCommand):
2010-05-31 Roland Steiner <rolandsteiner@chromium.org>
Bug 39977 - Missing Chromium bindings for InspectorController methods introduced in r60443
https://bugs.webkit.org/show_bug.cgi?id=39977
add missing InspectorController JS bindings:
- getStyleSheet
- getRuleRangesForStyleSheetId
Tests: inspector/styles-source-offsets.html
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-05-31 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r60456.
http://trac.webkit.org/changeset/60456
https://bugs.webkit.org/show_bug.cgi?id=39974
Broke Chromium Linux/Max build (Requested by tkent on
#webkit).
* DEPS:
2010-05-31 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Checking out lighttpd
https://bugs.webkit.org/show_bug.cgi?id=39948
- Checking out lighttpd only on Windows. It is used by new-run-webkit-tests.
- Update Chromium revision to use Windows resource query code
* DEPS:
2010-05-31 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: allow hiding Scripts panel from Chromium code. This
is needed to support v8 debugging protocol which has an implementation
that conflicts with debugger provided by the inspector.
https://bugs.webkit.org/show_bug.cgi?id=39952
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsAgentClient::exposeV8DebuggerProtocol):
* public/WebDevToolsFrontendClient.h:
(WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
(WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
(WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
(WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
(WebKit::WebDevToolsFrontendClient::activateWindow):
(WebKit::WebDevToolsFrontendClient::closeWindow):
(WebKit::WebDevToolsFrontendClient::requestDockWindow):
(WebKit::WebDevToolsFrontendClient::requestUndockWindow):
(WebKit::WebDevToolsFrontendClient::hideScriptsPanel):
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::debugAttach):
(WebKit::DebuggerAgentManager::debugDetach):
(WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
* src/DebuggerAgentManager.h:
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::hiddenPanels):
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
(WebKit::WebDevToolsAgentImpl::attach):
2010-05-30 Lyon Chen <liachen@rim.com>
Reviewed by Kent Tamura.
This is a coding style cleanup before fixing to bug 35530.
Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
https://bugs.webkit.org/show_bug.cgi?id=35530
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::find):
(WebKit::WebFrameImpl::scopeStringMatches):
(WebKit::WebFrameImpl::createChildFrame):
(WebKit::WebFrameImpl::shouldScopeMatches):
2010-05-30 Daniel Bates <dbates@rim.com>
Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
I missed a few call sites in the Chromium source when I
landed http://trac.webkit.org/changeset/60419.
Credit to Chris Jerdonek for looking over both this patch and the patch
committed in r60419.
* src/WebSearchableFormData.cpp:
(WebCore::GetButtonToActivate):
(WebCore::HasSuitableTextElement):
2010-05-30 Daniel Bates <dbates@rim.com>
Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::autofill):
* src/WebFormControlElement.cpp:
(WebKit::WebFormControlElement::formControlName):
(WebKit::WebFormControlElement::formControlType):
* src/WebFormElement.cpp:
(WebKit::WebFormElement::getFormControlElements):
* src/WebPasswordFormUtils.cpp:
(WebKit::findPasswordFormFields):
2010-05-30 Jessie Berlin <jberlin@webkit.org>
Reviewed by Pavel Feldman.
https://bugs.webkit.org/show_bug.cgi?id=39224
Bug 39224 - Web Inspector: There should be a way to clean up profiles
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-05-29 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
Adding support for a runtime flag to enable accelerated
compositing in chromium.
https://bugs.webkit.org/show_bug.cgi?id=39917
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
* src/WebSettingsImpl.h:
2010-05-28 Aaron Boodman <aa@chromium.org>
Reviewed by Darin Fisher.
Add isXHTMLDocument() to WebDocument.
https://bugs.webkit.org/show_bug.cgi?id=39887
* public/WebDocument.h: Add isXHTMLDocument().
* src/WebDocument.cpp: ditto.
(WebKit::WebDocument::isXHTMLDocument): dittorama.
2010-05-27 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
Add IndexedDB's IDBIndex
https://bugs.webkit.org/show_bug.cgi?id=39850
Add WebKit layer for IDBIndex.
* WebKit.gyp:
* public/WebCommon.h:
* public/WebIDBCallbacks.h:
(WebKit::WebIDBCallbacks::onError):
(WebKit::WebIDBCallbacks::onSuccess):
* public/WebIDBDatabase.h:
* public/WebIDBIndex.h: Added.
(WebKit::WebIDBIndex::~WebIDBIndex):
(WebKit::WebIDBIndex::name):
(WebKit::WebIDBIndex::keyPath):
(WebKit::WebIDBIndex::unique):
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IDBDatabaseProxy.cpp:
* src/IDBDatabaseProxy.h:
* src/IDBIndexProxy.cpp: Added.
(WebCore::IDBIndexProxy::create):
(WebCore::IDBIndexProxy::IDBIndexProxy):
(WebCore::IDBIndexProxy::~IDBIndexProxy):
(WebCore::IDBIndexProxy::name):
(WebCore::IDBIndexProxy::keyPath):
(WebCore::IDBIndexProxy::unique):
* src/IDBIndexProxy.h: Added.
* src/WebIDBCallbacksImpl.cpp:
(WebCore::WebIDBCallbacksImpl::onSuccess):
* src/WebIDBCallbacksImpl.h:
* src/WebIDBDatabaseImpl.cpp:
* src/WebIDBDatabaseImpl.h:
* src/WebIDBIndexImpl.cpp: Added.
(WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
(WebKit::WebIDBIndexImpl::~WebIDBIndexImpl):
(WebKit::WebIDBIndexImpl::name):
(WebKit::WebIDBIndexImpl::keyPath):
(WebKit::WebIDBIndexImpl::unique):
* src/WebIDBIndexImpl.h: Added.
2010-05-28 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: check that ClientMessageLoopAdapter is not 0 before
accessing its fileds from inspectedViewClosed method. It may be 0
if inspector frontend has not been open.
https://bugs.webkit.org/show_bug.cgi?id=39876
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
2010-05-27 Eric Uhrhane <ericu@chromium.org>
Reviewed by Adam Barth.
Add v8 bindings for async DB API in workers
https://bugs.webkit.org/show_bug.cgi?id=39145
* src/DatabaseObserver.cpp:
We should check that we're on the context thread now, not the main
thread.
(WebCore::DatabaseObserver::databaseOpened):
(WebCore::DatabaseObserver::databaseModified):
(WebCore::DatabaseObserver::databaseClosed):
2010-05-27 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Resume script execution if user tries to navigate to another URL
https://bugs.webkit.org/show_bug.cgi?id=39842
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::didNavigate):
2010-05-27 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Implement lazy clearing of renderbuffers
https://bugs.webkit.org/show_bug.cgi?id=36248
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::reshape): Clear WebGL internal buffers.
2010-05-26 Roland Steiner <rolandsteiner@chromium.org>
Reviewed by NOBODY (layout test crashing fix).
Bug 39811 - WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex
https://bugs.webkit.org/show_bug.cgi?id=39811
Initialize the pluginIndex field (quick fix).
Tests: covered by fast/dom/prototype-inheritance-2.html
(crashed under Chromium Linux and Windows)
* src/WebPluginListBuilderImpl.cpp:
(WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
2010-05-26 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler.
Clean up MimeClassInfo and PluginInfo
https://bugs.webkit.org/show_bug.cgi?id=39700
Update for WebCore changes.
* src/WebPluginListBuilderImpl.cpp:
(WebKit::WebPluginListBuilderImpl::addPlugin):
(WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
(WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
* src/WebPluginListBuilderImpl.h:
(WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
2010-05-26 Jeremy Orlow <jorlow@chromium.org>
Unreviewed chromium build fix
https://bugs.webkit.org/show_bug.cgi?id=39739
The backwards compat function needs to take in a WebSecurityOrigin
instead of a WebString.
* public/WebIndexedDatabase.h:
(WebKit::WebIndexedDatabase::open):
2010-05-26 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
Implement WebDOMStorageList and make WebIDBDatabase use it
https://bugs.webkit.org/show_bug.cgi?id=39731
* WebKit.gyp:
* public/WebDOMStringList.h: Added.
(WebKit::WebDOMStringList::~WebDOMStringList):
(WebKit::WebDOMStringList::WebDOMStringList):
(WebKit::WebDOMStringList::operator=):
* public/WebIDBDatabase.h:
(WebKit::WebIDBDatabase::objectStores):
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::objectStores):
* src/WebDOMStringList.cpp: Added.
(WebKit::WebDOMStringList::reset):
(WebKit::WebDOMStringList::assign):
(WebKit::WebDOMStringList::append):
(WebKit::WebDOMStringList::length):
(WebKit::WebDOMStringList::item):
(WebKit::WebDOMStringList::WebDOMStringList):
(WebKit::WebDOMStringList::operator=):
(WebKit::WebDOMStringList::operator WTF::PassRefPtr<WebCore::DOMStringList>):
* src/WebIDBDatabaseImpl.cpp:
(WebKit::WebIDBDatabaseImpl::objectStores):
* src/WebIDBDatabaseImpl.h:
2010-05-24 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
Add IDBDatabase's attributes
https://bugs.webkit.org/show_bug.cgi?id=39602
Plumbing to hook up the synchronous attribute requests
on IDBDatabase.
* public/WebIDBDatabase.h:
(WebKit::WebIDBDatabase::name):
(WebKit::WebIDBDatabase::description):
(WebKit::WebIDBDatabase::version):
(WebKit::WebIDBDatabase::objectStores):
* src/IDBDatabaseProxy.cpp:
(WebCore::IDBDatabaseProxy::name):
(WebCore::IDBDatabaseProxy::description):
(WebCore::IDBDatabaseProxy::version):
(WebCore::IDBDatabaseProxy::objectStores):
* src/IDBDatabaseProxy.h:
* src/WebIDBDatabaseImpl.cpp:
(WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
(WebKit::WebIDBDatabaseImpl::name):
(WebKit::WebIDBDatabaseImpl::description):
(WebKit::WebIDBDatabaseImpl::version):
(WebKit::WebIDBDatabaseImpl::objectStores):
* src/WebIDBDatabaseImpl.h:
2010-05-24 Dirk Pranke <dpranke@chromium.org>
Reviewed by Dimitri Glazkov.
Re-commit r58765 - it had been rolled out to see if it was causing
a perf regression (in r59787 and r59789), but that does not seem to
have been the case.
* public/WebNotification.h:
* src/WebNotification.cpp:
(WebKit::WebNotification::dir):
(WebKit::WebNotification::replaceId):
2010-05-25 Brett Wilson <brettw@chromium.org>
Reviewed by Darin Fisher.
Remove obsolete code for Mac & Windows plugin creation in the Chromium
port. This non-Windows code was to prevent a crash which we no longer
seem to have, and it is preventing other types of plugins from working.
https://bugs.webkit.org/show_bug.cgi?id=39684
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::createPlugin):
2010-05-25 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Enable 3D_CANVAS, FILTERS, METER_TAG and PROGRESS_TAG
https://bugs.webkit.org/show_bug.cgi?id=39652
3D_CANVAS and FILTERS have been enabled for Chromium tree
build. They fix dozens of unexpected test results in a case of
upstreaming build.
Enable METER_TAG and PROGRESS_TAG too because they will be enabled
in Chromium tree in the near future.
* features.gypi:
2010-05-25 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
The GraphicsContext that serves as a backing store for the root layer
updates when doing accelerated compositing is now stored in LayerRendererChromium
instead of the Layer itself. Updating code in WebViewImpl to reflect
that change.
https://bugs.webkit.org/show_bug.cgi?id=39640
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::updateRootLayerContents):
2010-05-24 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
ScriptDebugServer is now implemented as DebugEventListener which means it doesn't
depend on v8 debugging protocol, instead it uses ExecState to collect debugging
info and pass it to the listeners.
New implementation of ScriptDebugServer uses methods provided by client to dispatch
its messages while JS is paused(previously the messages was dispatched in a callback
passed to v8 along with DebugEventHandler).
Pause command is dispatched on IO thread.
https://bugs.webkit.org/show_bug.cgi?id=39594
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsAgentClient::ClientMessageLoop::~ClientMessageLoop):
(WebKit::WebDevToolsAgentClient::createClientMessageLoop): Returns an object that allows to run
nested client message loop while script execution is paused on a breakpoint.
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
* src/DebuggerAgentManager.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
(WebKit::WebDevToolsAgentImpl::attach):
* src/js/DebuggerScript.js:
(debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
(debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
(debuggerScriptConstructor.DebuggerScript.stepOverStatement):
(debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
(else.devtools.InspectorBackendImpl.prototype.pauseInDebugger): Pause command should be handled on IO
thread so that script can be paused even if it's in an infinite loop.
2010-05-25 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Add memory graph to Timeline overview pane.
https://bugs.webkit.org/show_bug.cgi?id=37879
* src/js/devTools.css:
(.timeline-category-statusbar-item input):
2010-05-24 Tony Chang <tony@chromium.org>
Reviewed by David Levin.
[chromium] Fix zoom tests after r60104
https://bugs.webkit.org/show_bug.cgi?id=39645
m_zoomFactor moved from Frame to FrameView. FrameView has separate
notions of page zoom and text zoom. In my hurried compile fix, I
assumed that m_zoomFactor was for page zoom, but it's not always.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setZoomLevel):
2010-05-24 Kent Tamura <tkent@chromium.org>
Unreviewed. Sort features.
* features.gypi:
2010-05-24 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Import layout_test_helper for Windows
https://bugs.webkit.org/show_bug.cgi?id=39581
* WebKit.gyp: Add a build rule for LayoutTestHelper.exe for Windows.
2010-05-24 Marcus Bulach <bulach@chromium.org>
Reviewed by Kent Tamura.
[chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h
https://bugs.webkit.org/show_bug.cgi?id=39587
* public/WebGeolocationServiceMock.h:
* src/WebGeolocationServiceMock.cpp:
(WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
(WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
(WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
(WebKit::WebGeolocationServiceMockImpl::attachBridge):
(WebKit::WebGeolocationServiceMockImpl::detachBridge):
2010-05-24 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] setup fonts on chromium linux DRT
https://bugs.webkit.org/show_bug.cgi?id=39644
* WebKit.gyp:
2010-05-24 Tony Chang <tony@chromium.org>
Not reviewed, build fix.
Fix the chromium compile due to pageZoomFactor refactoring.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setZoomLevel):
2010-05-24 Darin Adler <darin@apple.com>
Reviewed by Eric Seidel.
Move view-related functions from Frame to FrameView
https://bugs.webkit.org/show_bug.cgi?id=39366
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setZoomLevel): Call setZoomLevel on FrameView.
2010-05-24 Anders Carlsson <andersca@apple.com>
Attempt to fix the Chromium build.
* src/WebViewImpl.cpp:
2010-05-21 Tony Chang <tony@chromium.org>
Reviewed by Ojan Vafai.
[chromium] if keydown is prevented, don't update the IME and clear the IME state
https://bugs.webkit.org/show_bug.cgi?id=39475
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleCompositionEvent):
2010-05-23 Roman Gershman <romange@google.com>
Reviewed by Darin Fisher.
[Chromium] Suggestion popup is not closed when the view is scrolled.
https://bugs.webkit.org/show_bug.cgi?id=38640
This bug appears on both Windows and Linux platforms.
Mac OS, however handles window messages differently and
closes popup menu in RenderWidgetHostViewMac::Destroy().
No tests were added because test_shell does not support suggestion
popup.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
(WebKit::ChromeClientImpl::scroll):
2010-05-23 Marcus Bulach <bulach@chromium.org>
Reviewed by Kent Tamura.
[chromium] Adds Geolocation support to DumpRenderTree.
https://bugs.webkit.org/show_bug.cgi?id=39440
Existing LayoutTests/fast/dom/Geolocation/* should pass.
* public/WebGeolocationServiceMock.h:
* src/WebGeolocationServiceMock.cpp:
(WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
(WebKit::WebGeolocationServiceMock::requestPermissionForFrame):
(WebKit::WebGeolocationServiceMock::attachBridge):
(WebKit::WebGeolocationServiceMock::detachBridge):
2010-05-22 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Link resources and load Ahem font for Windows
https://bugs.webkit.org/show_bug.cgi?id=39473
* WebKit.gyp:
Add net and webkit resources for Windows.
Copy AHEM____.TTF to DumpRenderTree.exe directory.
2010-05-21 Steve Block <steveblock@google.com>
Reviewed by Jeremy Orlow.
Add DeviceOrientation and DeviceOrientationClient
https://bugs.webkit.org/show_bug.cgi?id=39479
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
2010-05-20 Viet-Trung Luu <viettrungluu@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Don't rely on focused node to route mouse events to plugins.
https://bugs.webkit.org/show_bug.cgi?id=39375
http://crbug.com/43935
On mouse down, do a hit test and check if a plugin was hit. If so, then
save the node for future mouse events (until mouse up or capture lost).
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::handleInputEvent):
(WebKit::WebViewImpl::mouseCaptureLost):
* src/WebViewImpl.h: Remove m_haveMouseCapture; add m_mouseCaptureNode.
2010-05-20 Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed by Darin Fisher.
Add headingLevel and setFocused methods.
https://bugs.webkit.org/show_bug.cgi?id=39238
* public/WebAccessibilityObject.h:
* src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::headingLevel):
(WebKit::WebAccessibilityObject::setFocused):
2010-05-20 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
https://bugs.webkit.org/show_bug.cgi?id=39077
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): Mapping the enums.
2010-05-20 Abhishek Arya <inferno@chromium.org>
Reviewed by Adam Barth.
Added method to WebSecurityOrigin for invoking
SecurityOrigin::canAccessPasswordManager.
https://bugs.webkit.org/show_bug.cgi?id=38916
* public/WebSecurityOrigin.h:
* src/WebSecurityOrigin.cpp:
(WebKit::WebSecurityOrigin::canAccessPasswordManager):
2010-05-20 Darin Fisher <darin@chromium.org>
Reviewed by Nate Chapin.
[chromium] Provide a way to catch exceptions thrown while interacting
with a NPObject via WebBindings methods.
https://bugs.webkit.org/show_bug.cgi?id=39378
* public/WebBindings.h:
* src/WebBindings.cpp:
(WebKit::WebBindings::pushExceptionHandler):
(WebKit::WebBindings::popExceptionHandler):
2010-05-20 Jian Li <jianli@chromium.org>
Reviewed by David Levin.
Rename GenericWorkerTask.h to CrossThreadTask.h and move it to dom directory.
https://bugs.webkit.org/show_bug.cgi?id=39135
* src/WebSharedWorkerImpl.cpp:
* src/WebWorkerBase.cpp:
* src/WebWorkerClientImpl.cpp:
* src/WebWorkerImpl.cpp:
2010-05-20 Martin Robinson <mrobinson@webkit.org>
Reviewed by Ojan Vafai.
Expose the editing behavior setting in DRT to test all editing code paths
https://bugs.webkit.org/show_bug.cgi?id=38603
* public/WebSettings.h:
(WebKit::WebSettings::): Added an enum for EditingBehavior types.
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setEditingBehavior): Added.
* src/WebSettingsImpl.h:
2010-05-19 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
Modifying WebViewImpl to support new hardware compositing for
LayerChromium layers.
https://bugs.webkit.org/show_bug.cgi?id=38783
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit::WebViewImpl::updateRootLayerContents):
(WebKit::WebViewImpl::setRootLayerNeedsDisplay):
2010-05-19 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] disable spelling suggestions if spellcheck=false
https://bugs.webkit.org/show_bug.cgi?id=39402
This is the Chromium fix for bug 25639 that was fixed in the
other ports in r59585.
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2010-05-19 Darin Fisher <darin@chromium.org>
Revert r59790 due to failing Chromium npruntime tests.
* public/WebBindings.h:
* src/WebBindings.cpp:
2010-05-19 Darin Fisher <darin@chromium.org>
Reviewed by Nate Chapin.
[chromium] Provide a way to catch exceptions thrown while interacting
with a NPObject via WebBindings methods.
https://bugs.webkit.org/show_bug.cgi?id=39378
* public/WebBindings.h:
* src/WebBindings.cpp:
(WebKit::WebBindings::pushExceptionHandler):
(WebKit::WebBindings::popExceptionHandler):
2010-05-19 Dirk Pranke <dpranke@chromium.org>
Try again to roll out r58765.
* public/WebNotification.h:
* src/WebNotification.cpp:
2010-05-19 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r59782.
http://trac.webkit.org/changeset/59782
https://bugs.webkit.org/show_bug.cgi?id=39379
broke DRT build (Requested by dpranke on #webkit).
* public/WebNotification.h:
* src/WebNotification.cpp:
(WebKit::WebNotification::dir):
(WebKit::WebNotification::replaceId):
2010-05-19 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
Remove obsolete ChromiumBridge code that routes FileSystem calls to WebKitClient.
https://bugs.webkit.org/show_bug.cgi?id=39332
* public/WebKitClient.h:
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::fileExists):
(WebCore::ChromiumBridge::deleteFile):
(WebCore::ChromiumBridge::deleteEmptyDirectory):
(WebCore::ChromiumBridge::getFileSize):
(WebCore::ChromiumBridge::getFileModificationTime):
(WebCore::ChromiumBridge::directoryName):
(WebCore::ChromiumBridge::pathByAppendingComponent):
(WebCore::ChromiumBridge::makeAllDirectories):
(WebCore::ChromiumBridge::getAbsolutePath):
(WebCore::ChromiumBridge::isDirectory):
(WebCore::ChromiumBridge::filePathToURL):
2010-05-19 Marcus Bulach <bulach@chromium.org>
Reviewed by Steve Block.
[chromium] Adds supports for layout tests using GeolocationServiceMock.
https://bugs.webkit.org/show_bug.cgi?id=39081
Allows injection of GeolocationServiceMock factory.
Tests: existing fast/dom/Geolocation/*
* WebKit.gyp:
* public/WebGeolocationServiceMock.h: Added.
* src/WebGeolocationServiceMock.cpp: Added.
(WebCore::GeolocationServiceChromiumMock::create):
(WebCore::GeolocationServiceChromiumMock::GeolocationServiceChromiumMock):
(WebCore::GeolocationServiceChromiumMock::startUpdating):
(WebCore::GeolocationServiceChromiumMock::stopUpdating):
(WebCore::GeolocationServiceChromiumMock::lastPosition):
(WebCore::GeolocationServiceChromiumMock::lastError):
(WebCore::GeolocationServiceChromiumMock::geolocationServicePositionChanged):
(WebCore::GeolocationServiceChromiumMock::geolocationServiceErrorOccurred):
(WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
(WebKit::WebGeolocationServiceMock::setMockGeolocationError):
2010-05-17 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
Hook Chromium's WebIndexedDatabaseImpl up to IndexedDatabaseImpl
https://bugs.webkit.org/show_bug.cgi?id=39216
Web____Impl is for re-entering the WebKit layer from the browser layer.
Thus the previous IDBCallbacksProxy was mis-named (and should have been
WebIDBCallbacksImpl). This patch renames it and then implements the
proper proxy (which is for going from WebCore to WebKit).
Also change using security origin strings to using WebSecurityOrigin
objects.
This patch also implements the glue between WebIndexedDatabaseImpl and
IndexedDatabaseImpl.
* WebKit.gyp:
* src/IDBCallbacksProxy.cpp:
(WebCore::IDBCallbacksProxy::create):
(WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
(WebCore::IDBCallbacksProxy::onError):
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IndexedDatabaseProxy.cpp:
(WebCore::IndexedDatabaseProxy::open):
* src/IndexedDatabaseProxy.h:
* src/WebIDBCallbacksImpl.cpp: Added.
(WebCore::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
(WebCore::WebIDBCallbacksImpl::~WebIDBCallbacksImpl):
(WebCore::WebIDBCallbacksImpl::onError):
(WebCore::WebIDBCallbacksImpl::onSuccess):
* src/WebIDBCallbacksImpl.h: Added.
* src/WebIDBDatabaseImpl.cpp: Added.
(WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
(WebKit::WebIDBDatabaseImpl::~WebIDBDatabaseImpl):
* src/WebIDBDatabaseImpl.h: Added.
* src/WebIndexedDatabaseImpl.cpp:
(WebKit::WebIndexedDatabaseImpl::WebIndexedDatabaseImpl):
(WebKit::WebIndexedDatabaseImpl::open):
* src/WebIndexedDatabaseImpl.h:
2010-05-18 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Fix a repaint issue and textarea tests
https://bugs.webkit.org/show_bug.cgi?id=39054
* DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
and textAreaResizeCorner.png
* WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
2010-05-18 Tony Chang <tony@chromium.org>
Reviewed by Ojan Vafai.
[chromium] ignore IME events if the keydown event was prevented
https://bugs.webkit.org/show_bug.cgi?id=37692
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleCompositionEvent):
2010-05-18 MORITA Hajime <morrita@google.com>
Reviewed by Kent Tamura.
[Chromium] Windows: Determinate progress bar should have glossy overlay
https://bugs.webkit.org/show_bug.cgi?id=39269
Changed WebThemeEngine::drawProgressBar() signature to delegate
theme implementation detail to the engine.
Chromium side will come to http://crbug.com/44430.
No new tests, animation effect can be confirmed only manually.
* public/WebThemeEngine.h:
(WebKit::WebThemeEngine::paintProgressBar):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::paintProgressBar):
2010-05-16 Mike Belshe <mbelshe@chromium.org>
Reviewed by Dimitri Glazkov.
Add a flag to the ResourceResponse for tracking if a request was
fetched via the TLS/Next-Protocol-Negotiation mechanism.
Also cleaned up the style in ResourceResponse to group the flags
together (and alphabetically) and hopefully improve readability of
the file.
https://bugs.webkit.org/show_bug.cgi?id=39078
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::wasNpnNegotiated):
(WebKit::WebURLResponse::setWasNpnNegotiated):
2010-05-16 Eric Seidel <eric@webkit.org>
Unreviewed, rolling out r59571.
http://trac.webkit.org/changeset/59571
https://bugs.webkit.org/show_bug.cgi?id=39054
Broke Cr Win, but we didn't notice immediately due to
https://bugs.webkit.org/show_bug.cgi?id=38926. It's possible
that this didn't actually break Cr Win, but rather that bug
38926 necessitates a clean compile after this and sucessive
checkins only produced a partial recompile and thus failed to
build.
* DEPS:
* WebKit.gyp:
* features.gypi:
2010-05-16 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r59574.
http://trac.webkit.org/changeset/59574
https://bugs.webkit.org/show_bug.cgi?id=39176
Supposedly broke cr-win, but the errors seems somewhat
unrelated (Requested by abarth on #webkit).
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
2010-05-16 Mike Belshe <mbelshe@chromium.org>
Reviewed by Dimitri Glazkov.
Add a flag to the ResourceResponse for tracking if a request was
fetched via the TLS/Next-Protocol-Negotiation mechanism.
Also cleaned up the style in ResourceResponse to group the flags
together (and alphabetically) and hopefully improve readability of
the file.
https://bugs.webkit.org/show_bug.cgi?id=39078
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::wasNpnNegotiated):
(WebKit::WebURLResponse::setWasNpnNegotiated):
2010-05-16 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Fix repaint, WebGL, textarea tests
https://bugs.webkit.org/show_bug.cgi?id=39054
* DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
and textAreaResizeCorner.png
* WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
* features.gypi: Enable ENABLE_3D_CANVAS.
2010-05-15 Darin Fisher <darin@chromium.org>
Reviewed by Adam Barth.
[chromium] Expose element accessor on WebPluginContainer
https://bugs.webkit.org/show_bug.cgi?id=39152
* public/WebPluginContainer.h:
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::element):
* src/WebPluginContainerImpl.h:
2010-05-15 Jochen Eisinger <jochen@chromium.org>
Reviewed by Dmitry Titov.
Implement canEstablishDatabase call for workers.
https://bugs.webkit.org/show_bug.cgi?id=38742
* public/WebCommonWorkerClient.h:
* src/DatabaseObserver.cpp:
(WebCore::DatabaseObserver::canEstablishDatabase):
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::allowDatabase):
(WebKit::WebWorkerBase::allowDatabaseTask):
(WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
(WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::cancel):
(WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::result):
(WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::signalCompleted):
(WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::didComplete):
* src/WebWorkerBase.h:
* src/WebWorkerClientImpl.h:
(WebKit::WebWorkerClientImpl::allowDatabase):
2010-05-15 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Adding a notification on WebViewClient when a new
node gets focused.
https://bugs.webkit.org/show_bug.cgi?id=38508
* public/WebViewClient.h:
(WebKit::WebViewClient::focusedNodeChanged):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::focusedNodeChanged):
2010-05-15 Evan Stade <estade@chromium.org>
Reviewed by Adam Barth.
[chromium] "Check spelling in this field" context menu item always checked
https://bugs.webkit.org/show_bug.cgi?id=39018
Initialize all POD members of WebContextMenuData in a default
constructor.
No tests because this code would need some major refactoring to unit
test, and AFAICT it's not testable via layout tests. See note at top
of getCustomMenuFromDefaultItems.
* public/WebContextMenuData.h:
(WebKit::WebContextMenuData::WebContextMenuData):
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2010-05-14 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Remove temporary relative include paths
https://bugs.webkit.org/show_bug.cgi?id=38776
* public/WebPasswordAutocompleteListener.h:
* src/FrameLoaderClientImpl.h:
* src/PlatformMessagePortChannel.h:
* src/WebAnimationControllerImpl.h:
* src/WebBindings.cpp:
* src/WebDataSourceImpl.h:
* src/WebDevToolsAgentPrivate.h:
* src/WebFileChooserCompletionImpl.h:
* src/WebFrameImpl.h:
* src/WebInputEventConversion.h:
* src/WebPluginContainerImpl.h:
* src/WebPluginLoadObserver.h:
* src/WebPopupMenuImpl.h:
* src/WebSettingsImpl.h:
* src/WebViewImpl.h:
* src/WebWorkerClientImpl.h:
* src/WrappedResourceRequest.h:
* src/WrappedResourceResponse.h:
2010-05-14 Anton Muhin <antonm@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Consider implementing addOriginAccessWhitelistEntry method
https://bugs.webkit.org/show_bug.cgi?id=37578
Remove deprecated methods.
* public/WebSecurityPolicy.h:
* src/WebSecurityPolicy.cpp:
2010-05-14 Kenneth Russell <kbr@google.com>
Reviewed by Darin Adler.
Rename WebGLArray types to TypedArray types
https://bugs.webkit.org/show_bug.cgi?id=39091
Extended functionality of do-webcore-rename script and used it to
rename the WebGLArray types to the TypedArray naming convention.
The only source files which were touched by hand, and which are
being manually reviewed, are:
WebCore/page/DOMWindow.idl
WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
These only needed to be touched to update the aliases between the
WebGLArray and TypedArray names introduced in bug 39036. (It was
not feasible to have do-webcore-rename handle this as it would
introduce circular renamings.) These aliases will be removed in
roughly a month once existing WebGL content has been updated.
No new tests; covered under existing WebGL tests. Updated
constructed-objects-prototypes and prototype-inheritance-2 tests.
Ran all layout tests in Safari and all WebGL tests in Chromium.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::bufferData):
(WebCore::GraphicsContext3DInternal::bufferSubData):
2010-05-14 Jochen Eisinger <jochen@chromium.org>
Reviewed by Eric Seidel.
Make ImageDiff depend on webkit (again).
https://bugs.webkit.org/show_bug.cgi?id=39000
* WebKit.gyp:
2010-05-14 James Simonsen <simonjam+webkit@google.com>
Reviewed by Darin Fisher.
[chromium] Expose volume through WebMediaPlayerClient
https://bugs.webkit.org/show_bug.cgi?id=38947
* public/WebMediaPlayerClient.h:
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::volume):
* src/WebMediaPlayerClientImpl.h:
2010-05-14 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Darin Fisher.
[chromium] Update chromium port to send/receive cached metadata
https://bugs.webkit.org/show_bug.cgi?id=38665
* public/WebKitClient.h:
(WebKit::WebKitClient::cacheMetadata):
* public/WebURLLoaderClient.h:
(WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
* public/WebURLResponse.h:
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::cacheMetadata):
* src/ResourceHandle.cpp:
(WebCore::ResourceHandleInternal::didReceiveCachedMetadata):
(WebCore::ResourceHandle::cacheMetadata):
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::responseTime):
(WebKit::WebURLResponse::setResponseTime):
2010-05-13 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] enable DRT build in chromium (for the last time)
https://bugs.webkit.org/show_bug.cgi?id=39109
* WebKit.gyp:
2010-05-13 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: main inspector toolbar takes noticeable time to expand.
https://bugs.webkit.org/show_bug.cgi?id=39013
* src/js/DevTools.js:
(devtools.domContentLoaded):
2010-05-12 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
[Chromium] Remove transitional functions from WebStorageNamespace and WebViewClient.
https://bugs.webkit.org/show_bug.cgi?id=38985
These functions are no longer called as of Chromium revision 47020.
This is part of resolving http://crbug.com/42740
* public/WebStorageNamespace.h:
* public/WebViewClient.h:
(WebKit::WebViewClient::createSessionStorageNamespace):
2010-05-12 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] disable DRT in chromium again
https://bugs.webkit.org/show_bug.cgi?id=39049
* WebKit.gyp:
2010-05-12 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Disable WebScrollbarImpl's scrollbar if it's not needed
https://bugs.webkit.org/show_bug.cgi?id=39025
* src/WebScrollbarImpl.cpp:
(WebKit::WebScrollbarImpl::setLocation):
(WebKit::WebScrollbarImpl::setDocumentSize):
2010-05-12 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Dimitri Glazkov.
Removing the unnecessary dirfd parameter.
https://bugs.webkit.org/show_bug.cgi?id=38869
* public/WebKitClient.h:
(WebKit::WebKitClient::databaseOpenFile):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::databaseOpenFile):
2010-05-12 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
[Chromium] Pass the origin parameter for WebIndexedDatabase::open
https://bugs.webkit.org/show_bug.cgi?id=38983
* public/WebIndexedDatabase.h:
* src/IndexedDatabaseProxy.cpp:
(WebCore::IndexedDatabaseProxy::open):
* src/WebIndexedDatabaseImpl.cpp:
(WebKit::WebIndexedDatabaseImpl::open):
* src/WebIndexedDatabaseImpl.h:
2010-05-10 yael aharon <yael.aharon@nokia.com>
Reviewed by Darin Adler.
Support control attribute of HTMLLabelElement
https://bugs.webkit.org/show_bug.cgi?id=38688
Renamed HTMLLabelElement::correspondingControl to HTMLLabelElement::control
* src/WebLabelElement.cpp:
(WebKit::WebLabelElement::correspondingControl):
2010-05-12 MORITA Hajime <morrita@google.com>
Reviewed by Kent Tamura.
[Chromium] Support HTML5 <progress> element on Windows.
https://bugs.webkit.org/show_bug.cgi?id=37308
Extended ChromiumBridge to handle progress bar painting,
and added delegations to it.
No new tests. Test cases should be shared with existing ones for
progress element. Expectaions will be added after PROGRESS_TAG is
enabled on Chromium tree.
* public/WebThemeEngine.h:
(WebKit::WebThemeEngine::paintProgressBar):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::paintProgressBar):
2010-05-12 Marcus Bulach <bulach@chromium.org>
Reviewed by Steve Block.
Attaches the geolocation bridge later on startUpdating().
This prevents a page requesting permission when it has just accessed navigator.geolocation (without calling navigator.geolocation.getCurrentPosition/watchPosition).
Note: when Geolocation::haveSuitableCachedPosition(), WebGeolocationServiceBridgeImpl::startUpdating() is not called,
so we attach the bridge if needed at requestGeolocationPermissionForFrame().
https://bugs.webkit.org/show_bug.cgi?id=38323
http://crbug.com/42789
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
* src/WebGeolocationServiceBridgeImpl.cpp:
(WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
(WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
2010-05-12 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] add DRT back to the chromium build
https://bugs.webkit.org/show_bug.cgi?id=38978
* WebKit.gyp:
2010-05-11 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Apply recent changes of test_shell to DRT
https://bugs.webkit.org/show_bug.cgi?id=38895
* DEPS: Update Chromium revision to use the recent webkit_support change.
* WebKit.gyp: Add JavaScriptCore/wtf to 'include' section.
* src/WebGraphicsContext3D.cpp:
Remove ENABLE(3D_CANVAS) to provide an empty implementation of
WebGraphicsContext3D::createDefault().
2010-05-11 Avi Drissman <avi@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Pipe RTL info into WebPopupMenuInfo
https://bugs.webkit.org/show_bug.cgi?id=38749
* public/WebPopupMenuInfo.h:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::getPopupMenuInfo):
2010-05-11 David Holloway <dhollowa@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add size method to WebInputElement class, providing same data
as HTMLInputElement::size(). During form AutoFill Chromium needs to
access the input element's size attribute in aid of form matching and
filling heuristics.
https://bugs.webkit.org/show_bug.cgi?id=38825
* public/WebInputElement.h:
* src/WebInputElement.cpp:
(WebKit::WebInputElement::size):
2010-05-11 Nate Chapin <japhet@chromium.org>
Reviewed by Adam Barth.
Crash fix in WebPageSerializerImpl::serialize().
https://bugs.webkit.org/show_bug.cgi?id=38543
The relevant test is a test_shell_test in src.chromium.org, because neither
DRT nor the Chromium webkit unit tests can currently cover the serializer
functionality.
* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::serialize): Check each frame's url before using it,
since they are not guaranteed to be valid (e.g., if the frame was treated as a download).
2010-05-11 Jian Li <jianli@chromium.org>
Reviewed by Dmitry Titov.
Expose FileReader interface.
https://bugs.webkit.org/show_bug.cgi?id=38609
* features.gypi: turn on building FileReader for Chromium.
2010-05-10 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] don't build DRT in chromium checkouts due to a circular gyp dependency
https://bugs.webkit.org/show_bug.cgi?id=38889
* WebKit.gyp:
2010-05-10 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add WebKitScrollbar interface to allow Chromium code to reuse the scrollbar code
https://bugs.webkit.org/show_bug.cgi?id=38854
* public/WebScrollbar.h: Added.
(WebKit::WebScrollbar::):
(WebKit::WebScrollbar::~WebScrollbar):
* public/WebScrollbarClient.h: Added.
* public/WebThemeEngine.h:
* src/AssertMatchingEnums.cpp:
* src/WebScrollbarImpl.cpp: Added.
(WebKit::WebScrollbar::create):
(WebKit::WebScrollbar::defaultThickness):
(WebKit::WebScrollbarImpl::WebScrollbarImpl):
(WebKit::WebScrollbarImpl::~WebScrollbarImpl):
(WebKit::WebScrollbarImpl::setLocation):
(WebKit::WebScrollbarImpl::value):
(WebKit::WebScrollbarImpl::setValue):
(WebKit::WebScrollbarImpl::setDocumentSize):
(WebKit::WebScrollbarImpl::scroll):
(WebKit::WebScrollbarImpl::paint):
(WebKit::WebScrollbarImpl::handleInputEvent):
(WebKit::WebScrollbarImpl::onMouseDown):
(WebKit::WebScrollbarImpl::onMouseUp):
(WebKit::WebScrollbarImpl::onMouseMove):
(WebKit::WebScrollbarImpl::onMouseLeave):
(WebKit::WebScrollbarImpl::onMouseWheel):
(WebKit::WebScrollbarImpl::onKeyDown):
(WebKit::WebScrollbarImpl::valueChanged):
(WebKit::WebScrollbarImpl::invalidateScrollbarRect):
(WebKit::WebScrollbarImpl::isActive):
(WebKit::WebScrollbarImpl::scrollbarCornerPresent):
(WebKit::WebScrollbarImpl::getTickmarks):
* src/WebScrollbarImpl.h: Added.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::scrollViewWithKeyboard):
(WebKit::WebViewImpl::mapKeyCodeForScroll):
* src/WebViewImpl.h:
2010-05-10 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Adam Barth.
Provide mechanism to cache metadata for a resource
https://bugs.webkit.org/show_bug.cgi?id=37874
* src/ResourceHandle.cpp:
(WebCore::ResourceHandle::cacheMetadata):
2010-05-10 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
[Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace()
https://bugs.webkit.org/show_bug.cgi?id=38750
Put a per-origin quota on session storage since it is using memory in
the browser process, and should not be allowed to grow arbitrarily
large. See also http://trac.webkit.org/changeset/58828.
* public/WebStorageNamespace.h:
* public/WebViewClient.h:
(WebKit::WebViewClient::createSessionStorageNamespace):
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::sessionStorageNamespace):
2010-05-10 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Nate Chapin.
Change IndexedDB to use events instead of callbacks
https://bugs.webkit.org/show_bug.cgi?id=38594
Change the glue here to match the changes I made in WebCore.
* WebKit.gyp:
* public/WebIDBCallbacks.h:
* public/WebIndexedDatabase.h:
* src/IDBCallbacksProxy.cpp: Added.
(WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
(WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
(WebCore::IDBCallbacksProxy::onError):
(WebCore::IDBCallbacksProxy::onSuccess):
* src/IDBCallbacksProxy.h:
* src/IndexedDatabaseProxy.cpp:
(WebCore::IndexedDatabaseProxy::open):
* src/IndexedDatabaseProxy.h:
* src/WebIndexedDatabaseImpl.cpp:
(WebKit::WebIndexedDatabaseImpl::open):
* src/WebIndexedDatabaseImpl.h:
2010-05-08 Jens Alfke <snej@chromium.org>
Reviewed by Darin Fisher.
[chromium] WebFrame::registerPasswordListener shouldn't assert on duplicate listener.
https://bugs.webkit.org/show_bug.cgi?id=38765
* public/WebFrame.h:
(WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool. Updated comment.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::registerPasswordListener): Return false instead of asserting.
* src/WebFrameImpl.h:
(WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool.
2010-05-08 Michael Nordman <michaeln@google.com>
Reviewed by Dmitry Titov.
Add an additional parameter to the WebSharedWorker::startWorkerContext method
to indicate which appcache the shared worker script resource was loaded from,
and provide that value when calling out to chrome via this interface.
https://bugs.webkit.org/show_bug.cgi?id=38605
I'm keeping the old method around until patches can land in both repositories
that make the old method obsolete and unneeded. There's a FIXME for that.
Also somewhat related but independent change to propagate the runtime enabled
flag thru to the page settings instance used by the 'shadow page'.
* public/WebSharedWorker.h: Add the new param (but keep the old interface around for now too)
(WebKit::WebSharedWorker::startWorkerContext):
* src/SharedWorkerRepository.cpp: Provide the value when calling out to chrome.
(WebCore::SharedWorkerScriptLoader::notifyFinished):
* src/WebSharedWorkerImpl.cpp:
(WebKit::WebSharedWorkerImpl::startWorkerContext):
* src/WebSharedWorkerImpl.h:
* src/WebWorkerBase.cpp: Propagate runtime enabled flag thru to the page settings.
(WebKit::WebWorkerBase::initializeLoader):
2010-05-07 Darin Fisher <darin@chromium.org>
Fix build bustage. Update to Chromium code that avoids a bad
dependency from net/ on chrome/.
* DEPS:
2010-05-07 Darin Fisher <darin@chromium.org>
Fix build bustage. Update to Chromium code that no longer uses
deprecated methods.
* DEPS:
2010-05-07 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] clear out more deprecated methods that are no longer used
https://bugs.webkit.org/show_bug.cgi?id=38702
* public/WebFrame.h:
* public/WebNode.h:
* src/WebFrameImpl.cpp:
* src/WebFrameImpl.h:
* src/WebNode.cpp:
2010-05-07 Finnur Thorarinsson <finnur.webkit@gmail.com>
Reviewed by Dimitri Glazkov.
[chromium]: Fixing Find in page crash on sites.google.com
https://bugs.webkit.org/show_bug.cgi?id=38591
setMarkerActive should not try to set a collapsed marker as
active. This can happen when you Edit a Sites page after doing
a Find operation and then you press FindNext.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::setMarkerActive):
2010-05-06 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Add support for resources on Mac
https://bugs.webkit.org/show_bug.cgi?id=38637
* DEPS: Check out tools/data_pack.
2010-05-06 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Chromium Dev Tools: Large toolbar icons flash when dev
tools is opened in docked mode.
https://bugs.webkit.org/show_bug.cgi?id=38631
* src/js/DevTools.js:
(devtools.domContentLoaded):
2010-05-06 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
drop support for sessionStorage in sandbox iframes
https://bugs.webkit.org/show_bug.cgi?id=38151
Update client of sessionStorage to handle exceptions.
* src/StorageAreaProxy.cpp:
(WebCore::StorageAreaProxy::storageEvent):
2010-05-05 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] clear out deprecated methods that are no longer used
https://bugs.webkit.org/show_bug.cgi?id=38610
* public/WebFormElement.h:
* public/WebInputElement.h:
* public/WebKitClient.h:
* public/WebView.h:
* public/WebViewClient.h:
(WebKit::WebViewClient::createPopupMenu):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::popupOpened):
* src/WebFormElement.cpp:
* src/WebInputElement.cpp:
(WebKit::WebInputElement::setSelectionRange):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::hideSuggestionsPopup):
* src/WebViewImpl.h:
2010-05-05 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
[chromium] Add quota parameter to WebStorageNamespace::createSessionStorageNamespace
https://bugs.webkit.org/show_bug.cgi?id=38589
* public/WebStorageNamespace.h:
(WebKit::WebStorageNamespace::createSessionStorageNamespace):
* src/WebStorageNamespaceImpl.cpp:
(WebKit::WebStorageNamespace::createSessionStorageNamespace):
2010-05-05 Stuart Morgan <stuartmorgan@chromium.org>
Reviewed by Darin Fisher.
Update the plugin container's setFocus implementation to pass the new
boolean argument to the next layer.
https://bugs.webkit.org/show_bug.cgi?id=37961
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::setFocus):
* src/WebPluginContainerImpl.h:
2010-05-04 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
Provide an API for querying whether a WebWidget is using gpu accelerated compositing.
Also changed: isAcceleratedCompositing to: isAcceleratedCompositingActive.
https://bugs.webkit.org/show_bug.cgi?id=38220
* public/WebWidget.h:
* src/WebPopupMenuImpl.h:
(WebKit::WebPopupMenuImpl::isAcceleratedCompositingActive):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImpl::isAcceleratedCompositingActive):
(WebKit::WebViewImpl::setRootGraphicsLayer):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit::WebViewImpl::updateRootLayerContents):
* src/WebViewImpl.h:
2010-04-29 John Gregg <johnnyg@google.com>
Reviewed by Dmitry Titov.
notifications should have dir and replaceId attributes
https://bugs.webkit.org/show_bug.cgi?id=38336
* public/WebNotification.h:
* src/WebNotification.cpp:
(WebKit::WebNotification::dir):
(WebKit::WebNotification::replaceId):
2010-05-04 Jay Civelli <jcivelli@chromium.org>
Reviewed by David Levin.
[chromium] Make the select popup not close on right/middle clicks.
https://bugs.webkit.org/show_bug.cgi?id=38473
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::mouseDown):
2010-05-03 Abhishek Arya <inferno@chromium.org>
Reviewed by Adam Barth.
Add support for controlling clipboard access from javascript.
Clipboard access from javascript is disabled by default.
https://bugs.webkit.org/show_bug.cgi?id=27751
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
* src/WebSettingsImpl.h:
2010-05-03 Jens Alfke <snej@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=38397
No tests (functionality is exposed only through native WebKit API.)
* public/WebFrameClient.h:
(WebKit::WebFrameClient::willSendSubmitEvent): New empty method
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent): Delegate to client
* src/FrameLoaderClientImpl.h:
2010-05-02 Michael Nordman <michaeln@google.com>
Reviewed by Dmitry Titov.
Define two new ResourceRequestBase TargetTypes for worker and shared worker
main resources. Use the new target types where appropiate. Add logic to marshal
the target type specified by requests initiated on a background worker thread.
https://bugs.webkit.org/show_bug.cgi?id=38295
* src/SharedWorkerRepository.cpp: use TargetIsSharedWorker
(WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
2010-05-02 Rafael Weinstein <rafaelw@chromium.org>
Reviewed by Darin Fisher.
Include WebWindowFeatures in call to WebViewClient::createView.
https://bugs.webkit.org/show_bug.cgi?id=38301
* public/WebViewClient.h:
(WebKit::WebViewClient::createView):
* public/WebWindowFeatures.h:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::createWindow):
2010-05-01 Evan Stade <estade@chromium.org>
Reviewed by David Levin
[chromium] Skia needs to fade DragImages
https://bugs.webkit.org/show_bug.cgi?id=38008
* tests/DragImageTest.cpp:
(DragImageTest.CreateDragImage): test that the drag image is a deep copy
2010-04-30 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add WebFileSystem interface and hook up with all FileSystem methods.
https://bugs.webkit.org/show_bug.cgi?id=38228
* WebKit.gyp:
* public/WebFileSystem.h: Added.
* public/WebKitClient.h:
(WebKit::WebKitClient::fileSystem):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::fileExists):
(WebCore::ChromiumBridge::deleteFile):
(WebCore::ChromiumBridge::deleteEmptyDirectory):
(WebCore::ChromiumBridge::getFileSize):
(WebCore::ChromiumBridge::getFileModificationTime):
(WebCore::ChromiumBridge::directoryName):
(WebCore::ChromiumBridge::pathByAppendingComponent):
(WebCore::ChromiumBridge::makeAllDirectories):
(WebCore::ChromiumBridge::getAbsolutePath):
(WebCore::ChromiumBridge::isDirectory):
(WebCore::ChromiumBridge::filePathToURL):
(WebCore::ChromiumBridge::openFile):
(WebCore::ChromiumBridge::closeFile):
(WebCore::ChromiumBridge::seekFile):
(WebCore::ChromiumBridge::truncateFile):
(WebCore::ChromiumBridge::readFromFile):
(WebCore::ChromiumBridge::writeToFile):
2010-04-29 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
Change StorageEvent.uri to StorageEvent.url to match the spec
https://bugs.webkit.org/show_bug.cgi?id=38331
Get rid of a stale FIXME and combine 2 lines that needn't be split.
* src/StorageEventDispatcherImpl.cpp:
(WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
2010-04-29 Anton Muhin <antonm@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Consider implementing addOriginAccessWhitelistEntry method
http://trac.webkit.org/changeset/57537 introduced a new method
to manage whitelisting of origins.
Expose this method in Chromium's bridge.
https://bugs.webkit.org/show_bug.cgi?id=37578
* public/WebSecurityPolicy.h: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
* src/WebSecurityPolicy.cpp: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
2010-04-29 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r58498.
http://trac.webkit.org/changeset/58498
https://bugs.webkit.org/show_bug.cgi?id=38332
"Broke a bunch of tests on Chromium canaries" (Requested by
dglazkov on #webkit).
* public/WebViewClient.h:
(WebKit::WebViewClient::createView):
* public/WebWindowFeatures.h:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::createWindow):
2010-04-29 Adam Langley <agl@chromium.org>
Unreviewed, DEPS roll.
WebKit's r58517 needs OTS's r30 which was rolled into Chromium in
r45932.
* DEPS:
Use Chromium r45932.
2010-04-29 Rafael Weinstein <rafaelw@chromium.org>
Reviewed by Darin Fisher.
Include WindowFeatures in call to WebViewClient::createView.
https://bugs.webkit.org/show_bug.cgi?id=38301
* public/WebViewClient.h:
(WebKit::WebViewClient::createView):
* public/WebWindowFeatures.h:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::createWindow):
2010-04-29 Garret Kelly <gdk@chromium.org>
Reviewed by Darin Fisher.
Expose the RuntimeFeature for touch events through the
WebRuntimeFeatures mechanism.
https://bugs.webkit.org/show_bug.cgi?id=37486
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableTouch):
(WebKit::WebRuntimeFeatures::isTouchEnabled):
2010-04-29 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Remove the unnecessary texImage2D function with Image as input in GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=38235
* src/GraphicsContext3D.cpp: Remove tex*image implementation with Image input.
2010-04-28 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: Allow editing script resources when resource tracking is enabled.
http://bugs.webkit.org/show_bug.cgi?id=38269
* src/js/DebuggerAgent.js:
* src/js/InspectorControllerImpl.js:
(.devtools.InspectorBackendImpl.prototype.setBreakpoint):
(.devtools.InspectorBackendImpl.prototype.editScriptSource):
2010-04-28 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
[Chromium] callOnMainThread should equate to MessageLoop::PostTask
https://bugs.webkit.org/show_bug.cgi?id=38276
* public/WebKitClient.h:
(WebKit::WebKitClient::callOnMainThread):
* src/ChromiumThreading.cpp:
(WTF::ChromiumThreading::callOnMainThread):
2010-04-27 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
Make WebThemeEngine::paint take a const ref of ExtraParams
https://bugs.webkit.org/show_bug.cgi?id=38242
* public/WebThemeEngine.h:
(WebKit::WebThemeEngine::paint):
2010-04-28 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Pavel Feldman.
Fixed passing breakpoints to V8.
https://bugs.webkit.org/show_bug.cgi?id=38266
* src/js/InspectorControllerImpl.js:
(.devtools.InspectorBackendImpl.prototype.setBreakpoint):
2010-04-28 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Support pause on exceptions in v8 implementation of ScriptDebugServer.
https://bugs.webkit.org/show_bug.cgi?id=38205
* src/js/DebuggerScript.js:
(debuggerScriptConstructor.DebuggerScript.getScripts):
(debuggerScriptConstructor.DebuggerScript.pauseOnExceptionsState):
(debuggerScriptConstructor.DebuggerScript.setPauseOnExceptionsState):
(debuggerScriptConstructor.DebuggerScript._v8ToWebkitLineNumber):
(debuggerScriptConstructor):
2010-04-27 Jens Alfke <snej@chromium.org>
Reviewed by Eric Seidel.
[chromium] Fix bug that prevents autosave of forms without action attribute
https://bugs.webkit.org/show_bug.cgi?id=38014
Change is in the Chromium WebKit API so it can't be tested with a JS-based layout test.
It needs a native unit test, which would go in the Chromium repo, not WebKit.
* src/WebPasswordFormData.cpp:
(WebKit::WebPasswordFormData::WebPasswordFormData): Set correct URL if action is NULL
2010-04-27 Michael Nordman <michaeln@google.com>
Reviewed by Dmitry Titov.
[Chromium] Add two things to the webkit API to support appcaches in workers.
1) WebURLRequest TargetTypes for worker and shared worker main resources.
2) Factory method on class WebCommonWorkerClient to
createApplicationCacheHost() for the associated worker.
https://bugs.webkit.org/show_bug.cgi?id=38147
* public/WebCommonWorkerClient.h: add the factory method
* public/WebURLRequest.h: add the TargetTypes
* src/WebWorkerBase.cpp: call the embedder's factory when needed
(WebKit::WebWorkerBase::didCreateDataSource)
(WebKit::WebWorkerBase::createApplicationCacheHost)
* src/WebWorkerBase.h: ditto
* src/WebWorkerClientImpl.h: add a stub impl of the factory method
(WebKit::WebWorkerClientImpl::createApplicationCacheHost):
2010-04-27 Kent Tamura <tkent@chromium.org>
Reviewed by Shinichiro Hamaji.
[DRT/Chromium] Enable Windows project generation
https://bugs.webkit.org/show_bug.cgi?id=38103
- Avoid platform.system(), which causes a crash with python.exe in
depot_tools. Use sys.platform instead.
- Process DumpRenderTree.gyp on all platforms.
* gyp_webkit:
2010-04-27 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
Makes clicking a select element close its associated popup if
it is open.
https://bugs.webkit.org/show_bug.cgi?id=38105
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::mouseDown):
2010-04-27 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Merged the WebView public method to close suggestion popups
into a single method to close all popups (select and suggestions).
That ensures select popups are closed when the browser window is moved
or resized.
https://bugs.webkit.org/show_bug.cgi?id=37837
* public/WebView.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::hidePopups):
(WebKit::WebViewImpl::hideSuggestionsPopup):
* src/WebViewImpl.h:
2010-04-27 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Adler.
Remove unnecessary header now that Chrome is updated
https://bugs.webkit.org/show_bug.cgi?id=38211
* public/win/WebThemeEngine.h: Removed.
2010-04-27 Jens Alfke <snej@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add some notifications and an accessor to WebKit API
https://bugs.webkit.org/show_bug.cgi?id=37625
* public/WebFrameClient.h:
(WebKit::WebFrameClient::didFirstLayout):
(WebKit::WebFrameClient::didFirstVisuallyNonEmptyLayout):
* public/WebNode.h:
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
(WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
* src/WebElement.cpp:
* src/WebNode.cpp:
(WebKit::WebNode::hasNonEmptyBoundingBox):
2010-04-27 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Remove deprecated form of didChangeLocationWithinPage
https://bugs.webkit.org/show_bug.cgi?id=38178
* public/WebFrameClient.h:
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
2010-04-27 Evan Martin <evan@chromium.org>
Reviewed by David Levin.
[chromium] bold bengali text not rendered properly on Linux
Roll forward Chrome DEPS so we get new Skia API.
* DEPS: update Chrome to r45696.
2010-04-27 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Pavel Feldman.
Restore breakpoints associated with script's URL once
script is parsed.
https://bugs.webkit.org/show_bug.cgi?id=38132
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.initUI):
(devtools.DebuggerAgent.prototype.addBreakpoint):
(devtools.DebuggerAgent.prototype.addScriptInfo_):
(devtools.DebuggerAgent.prototype.restoreBreakpoints_):
(devtools.BreakpointInfo):
(devtools.BreakpointInfo.prototype.enabled):
(devtools.BreakpointInfo.prototype.condition):
2010-04-27 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chrome Dev Tools: Further beautify themes.
https://bugs.webkit.org/show_bug.cgi?id=38187
* src/js/DevTools.js:
(WebInspector.setToolbarColors):
* src/js/devTools.css:
(body.platform-windows #toolbar, body.platform-windows.inactive #toolbar):
2010-04-26 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Prepare to making WebThemeEngine cross-platform
https://bugs.webkit.org/show_bug.cgi?id=38077
* WebKit.gyp:
* public/WebThemeEngine.h: Added.
* public/win/WebThemeEngine.h:
2010-04-26 Darin Fisher <darin@chromium.org>
Reviewed by Adam Barth.
[Chromium] Crash after calling window.print() on a window object that has been closed.
https://bugs.webkit.org/show_bug.cgi?id=38148
It is unfortunately not possible to write a layout test for this as the
crash occurs in an API that is only called by Chrome while showing a
print dialog.
* src/WebViewImpl.cpp:
(WebKit::WebView::willEnterModalLoop):
(WebKit::WebView::didExitModalLoop):
2010-04-25 Sam Weinig <sam@webkit.org>
Reviewed by Maciej Stachowiak.
Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
Disentangle initializing the main thread from initializing threading
* src/WebKit.cpp:
(WebKit::initialize): Add call to initializeMainThread.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl): Ditto.
2010-04-26 Roman Gershman <romange@google.com>
Reviewed by Adam Barth.
[Chromium] Font size in suggestions popup menu should be correlated with the font size of its text field.
https://bugs.webkit.org/show_bug.cgi?id=37977
* src/SuggestionsPopupMenuClient.cpp:
(WebKit::SuggestionsPopupMenuClient::initialize):
2010-04-26 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium Dev Tools: brush up images.
https://bugs.webkit.org/show_bug.cgi?id=38124
* WebKit.gypi:
* src/js/DevTools.js:
(WebInspector.setToolbarColors):
* src/js/Images/segmentChromium.png:
* src/js/Images/segmentChromium2.png: Removed.
* src/js/Images/segmentHoverChromium2.png: Removed.
* src/js/Images/segmentSelectedChromium2.png: Removed.
* src/js/Images/statusbarBackgroundChromium.png:
* src/js/Images/statusbarBackgroundChromium2.png: Removed.
* src/js/Images/statusbarBottomBackgroundChromium.png:
* src/js/Images/statusbarButtonsChromium.png:
* src/js/Images/statusbarMenuButtonChromium.png:
* src/js/Images/statusbarMenuButtonChromium2.png: Removed.
* src/js/devTools.css:
(.section > .header):
(.console-group-messages .section > .header):
(#resources-filter):
(.crumbs .crumb):
(.crumbs .crumb.end):
(.crumbs .crumb.selected):
(.crumbs .crumb.selected:hover):
(.crumbs .crumb.selected.end, .crumbs .crumb.selected.end:hover):
(.crumbs .crumb:hover):
(.crumbs .crumb.dimmed:hover):
(.crumbs .crumb.end:hover):
(body.drawer-visible #main-status-bar):
(.status-bar):
(button.status-bar-item):
(select.status-bar-item:active):
(#drawer):
(select.status-bar-item):
2010-04-23 Zhenyao Mo <zmo@google.com>
Reviewed by Darin Fisher.
Add isGLES2Compliant to GraphicsContext3D: make the method const.
https://bugs.webkit.org/show_bug.cgi?id=37872
* src/GraphicsContext3D.cpp: Make isGLES2Compliant() const.
(WebCore::GraphicsContext3DInternal::isGLES2Compliant):
(WebCore::GraphicsContext3D::isGLES2Compliant):
2010-04-23 Rafael Weinstein <rafaelw@grafaelw.sfo.corp.google.com>
Reviewed by Darin Fisher.
This patch adds a WebWindowFeatures binding struct for the
chromium client in anticipation of a follow-on patch which will
pass it to WebViewClient::createWindow.
https://bugs.webkit.org/show_bug.cgi?id=38013
* public/WebViewClient.h:
(WebKit::WebViewClient::createView):
* public/WebWindowFeatures.h: Added.
(WebKit::WebWindowFeatures::WebWindowFeatures):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::createWindow):
2010-04-22 Zhenyao Mo <zmo@google.com>
Reviewed by Darin Fisher.
Add isGLES2Compliant to GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=37872
* public/WebGraphicsContext3D.h: Add isGLES2Compliant().
* src/GraphicsContext3D.cpp: Ditto.
* src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
(WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant):
* src/WebGraphicsContext3DDefaultImpl.h: Ditto.
2010-04-22 Dave Moore <davemoore@chromium.org>
Reviewed by Dimitri Glazkov.
Added notification when the favicons for a page are changed
from a script.
The Document object will notify the frame loader, which will
notify the client. Implementations of FrameLoaderClient will
have to add one method; dispatchDidChangeIcons().
https://bugs.webkit.org/show_bug.cgi?id=33812
* public/WebFrameClient.h:
(WebKit::WebFrameClient::didChangeIcons):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
* src/FrameLoaderClientImpl.h:
2010-04-22 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Emulate GL_IMPLEMENTATION_COLOR_READ_FORMAT/TYPE for glGet
https://bugs.webkit.org/show_bug.cgi?id=37281
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate two enums.
2010-04-22 Adam Barth <abarth@webkit.org>
Unreviewed, rolling out r58069.
http://trac.webkit.org/changeset/58069
https://bugs.webkit.org/show_bug.cgi?id=27751
Broke compile on Windows.
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
* src/WebSettingsImpl.h:
2010-04-22 Tony Chang <tony@chromium.org>
Reviewed by Shinichiro Hamaji.
[chromium] roll chromium deps to pick up some windows build fixes
https://bugs.webkit.org/show_bug.cgi?id=37972
* DEPS:
2010-04-22 Abhishek Arya <inferno@chromium.org>
Reviewed by Adam Barth.
Add support for controlling clipboard access from javascript.
Clipboard access from javascript is disabled by default.
https://bugs.webkit.org/show_bug.cgi?id=27751
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
* src/WebSettingsImpl.h:
2010-04-21 Tony Chang <tony@chromium.org>
Reviewed by Shinichiro Hamaji.
[chromium] gyp_webkit should be executable
https://bugs.webkit.org/show_bug.cgi?id=37971
* gyp_webkit: Added property svn:executable.
2010-04-21 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Don't notify the WebView that a popup was
opened when the popup is handled externally, as the popup
is in that case transparent to the WebView.
The notification was causing an ASSERT on Mac (where
the popup is handled externally) as there would be no
notification that the popup was closed.
https://bugs.webkit.org/show_bug.cgi?id=37825
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::popupOpened):
2010-04-21 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r58028.
http://trac.webkit.org/changeset/58028
https://bugs.webkit.org/show_bug.cgi?id=37962
broke the chromium build (Requested by tony^work on #webkit).
* DEPS:
2010-04-21 Evan Martin <evan@chromium.org>
Unreviewed, just a dependency change.
[chromium] roll skia forward to r538
https://bugs.webkit.org/show_bug.cgi?id=37960
This will cause a bunch of pixel tests to fail due to bulleted
lists rendering slightly differently. I will grab new baselines
from the bots and check them in in a followup.
* DEPS:
2010-04-21 Evan Stade <estade@chromium.org>
Reviewed by Darin Fisher.
[chromium] Web page serializer saves tag names in upper case
https://bugs.webkit.org/show_bug.cgi?id=37940
Simply convert all tags to lower case.
This is tested by chrome tests:
- save page browser tests
- encoding ui tests
- web page serializer test shell tests
* src/WebPageSerializer.cpp:
(WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
(WebKit::WebPageSerializer::generateBaseTagDeclaration):
* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::openTagToString):
(WebKit::WebPageSerializerImpl::endTagToString):
2010-04-20 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Factor DocumentWriter out of FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=37175
Update these callsites because the method moved to DocumentWriter.
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::finishedLoading):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::encoding):
(WebKit::WebFrameImpl::commitDocumentData):
* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
(WebKit::WebPageSerializerImpl::serialize):
* src/WebSearchableFormData.cpp:
(WebCore::GetFormEncoding):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::pageEncoding):
2010-04-20 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: add basic script editing capabilities to the front-end.
https://bugs.webkit.org/show_bug.cgi?id=37875
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.resolveScriptSource):
(devtools.DebuggerAgent.prototype.editScriptLine.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.editScriptLine):
(devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
* src/js/DevTools.js:
* src/js/InspectorControllerImpl.js:
(.devtools.InspectorBackendImpl.prototype.editScriptLine):
2010-04-20 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler.
Change a parameter type of chooseIconForFiles()
https://bugs.webkit.org/show_bug.cgi?id=37504
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::chooseIconForFiles):
* src/ChromeClientImpl.h:
2010-04-20 Jay Civelli <jcivelli@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Tests that pressing tab now closes the select popup.
https://bugs.webkit.org/show_bug.cgi?id=37721
* tests/PopupMenuTest.cpp:
(WebKit::TEST_F):
2010-04-20 Evan Stade <estade@chromium.org>
Reviewed by David Levin.
[chromium] crash when dragging images
https://bugs.webkit.org/show_bug.cgi?id=37715
Added unit tests for DragImageChromiumSkia.
* WebKit.gyp:
* tests/DragImageTest.cpp: Added.
(WebCore::TestImage::TestImage):
(WebCore::TestImage::~TestImage):
(WebCore::TestImage::size):
(WebCore::TestImage::nativeImageForCurrentFrame):
(WebCore::TestImage::destroyDecodedData):
(WebCore::TestImage::decodedSize):
(WebCore::TestImage::draw):
(WebCore::TEST):
2010-04-20 Stuart Morgan <stuartmorgan@chromium.org>
Reviewed by David Levin.
Remove a workaround in plugin cursor setting that was obsoleted by
the change in https://bugs.webkit.org/show_bug.cgi?id=35132
https://bugs.webkit.org/show_bug.cgi?id=37811
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::ChromeClientImpl):
(WebKit::ChromeClientImpl::setCursor):
(WebKit::ChromeClientImpl::setCursorForPlugin):
* src/ChromeClientImpl.h:
2010-04-19 Ada Chan <adachan@apple.com>
Reviewed by Jeremy Orlow.
https://bugs.webkit.org/show_bug.cgi?id=37717
Changes needed now that StorageNamespaceImpl::sessionStorageNamespace() and
StorageNamespace::sessionStorageNamespace() take in a quota parameter.
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::sessionStorageNamespace):
* src/WebStorageNamespaceImpl.cpp:
(WebKit::WebStorageNamespace::createSessionStorageNamespace):
2010-04-17 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Dimitri Glazkov.
Adding the implementation of GLES2Context class which provides WebCore access to a GL ES context.
https://bugs.webkit.org/show_bug.cgi?id=37541
* WebKit.gyp:
* public/WebGLES2Context.h: Added.
(WebKit::WebGLES2Context::~WebGLES2Context):
* src/GLES2Context.cpp: Added.
(WebCore::GLES2ContextInternal::GLES2ContextInternal):
(WebCore::GLES2ContextInternal::~GLES2ContextInternal):
(WebCore::GLES2ContextInternal::getWebGLES2Context):
(WebCore::GLES2ContextInternal::initialize):
(WebCore::GLES2Context::create):
(WebCore::GLES2Context::~GLES2Context):
(WebCore::GLES2Context::initialize):
(WebCore::GLES2Context::makeCurrent):
(WebCore::GLES2Context::destroy):
(WebCore::GLES2Context::swapBuffers):
2010-04-16 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Eric Seidel.
Get rid of the UNUSED_PARAM macro in GraphicsContext3D.cpp.
https://bugs.webkit.org/show_bug.cgi?id=37733
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D):
2010-04-16 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Jeremy Orlow.
Changing the return type of WebSecurityOrigin::createFromDatabaseIdentifier().
https://bugs.webkit.org/show_bug.cgi?id=34466
Changing the return type of
WebSecurityOrigin::createFromDatabaseIdentifier() from
WebSecurityOrigin* to WebSecurityOrigin, to make it more
consistent with the other WebSecurityOrigin methods.
* public/WebSecurityOrigin.h:
* src/WebDatabase.cpp:
(WebKit::WebDatabase::closeDatabaseImmediately):
* src/WebSecurityOrigin.cpp:
(WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
2010-04-16 Dmitry Titov <dimich@chromium.org>
Reviewed by Yury Semikhatsky.
[v8] In Workers, script errors right after close() are not delivered to the Worker.onerror
https://bugs.webkit.org/show_bug.cgi?id=37691
* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::createWorkerContextProxy): Don't need to pull V8 proxy to retrieve current WorkerContext.
2010-04-16 Albert J. Wong <ajwong@chromium.org>
Not reviewed. Build fix.
[chromium] Compile fix. Missing include header, and missing type conversion.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::beginPaint):
2010-04-16 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Reviewed by Simon Hausmann.
[Qt] WebGL is not visible when QGLWidget viewport is used
https://bugs.webkit.org/show_bug.cgi?id=37070
Added HostWindow parameter to the constructor of GraphicsContext3D.
Shared OpenGL context is initialized with parent QGLWidget.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D):
2010-04-16 Fumitoshi Ukai <ukai@chromium.org>
Reviewed by Jian Li.
[chromium] WebKit::WebURLResponse::addHTTPHeaderField will crash if response is invalid UTF-8
https://bugs.webkit.org/show_bug.cgi?id=37687
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::addHTTPHeaderField): ignore if name or value is null string.
2010-04-16 Jay Civelli <jcivelli@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Select popups would assert when destroyed.
Also adding unit-tests for the select popup code.
https://bugs.webkit.org/show_bug.cgi?id=37436
* WebKit.gyp:
* src/WebViewImpl.h:
(WebKit::WebViewImpl::selectPopup):
* tests/PopupMenuTest.cpp: Added.
2010-04-16 Tony Chang <tony@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] build DRT on Linux
https://bugs.webkit.org/show_bug.cgi?id=37690
* DEPS: Need to roll deps to remove a dependency on src/chrome
* gyp_webkit: generate makefiles for DRT.gyp on Linux
2010-04-15 Tony Chang <tony@chromium.org>
Reviewed by Dimitri Glazkov.
build DRT on chromium mac
https://bugs.webkit.org/show_bug.cgi?id=37639
* gyp_webkit: generate build files for DRT on mac
2010-04-15 Yury Semikhatsky <yurys@google.com>
Reviewed by Pavel Feldman.
Support basic debugging capabilities including step in/over/out in v8
implementation of ScriptDebugServer.
https://bugs.webkit.org/show_bug.cgi?id=37604
* WebKit.gypi:
* src/DebuggerAgent.h:
* src/DebuggerAgentImpl.cpp:
(WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
* src/DebuggerAgentImpl.h:
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::hostDispatchHandler):
(WebKit::DebuggerAgentManager::debugAttach):
(WebKit::DebuggerAgentManager::debugDetach):
(WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
* src/DebuggerAgentManager.h:
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::windowObjectCleared):
* src/js/DebuggerScript.js: Added.
(debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
(debuggerScriptConstructor.DebuggerScript.getScripts):
(debuggerScriptConstructor.DebuggerScript._formatScript):
(debuggerScriptConstructor.DebuggerScript.setBreakpoint):
(debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
(debuggerScriptConstructor.DebuggerScript.currentCallFrame):
(debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
(debuggerScriptConstructor.DebuggerScript.stepOverStatement):
(debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
(debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
(debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
(debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
(debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
(debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
(debuggerScriptConstructor):
* src/js/DevTools.js:
(WebInspector.loaded):
(.):
():
* src/js/DevToolsHostStub.js:
(.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-04-15 Matt Perry <mpcomplete@chromium.org>
Reviewed by Dimitri Glazkov.
Implement layoutTestController's addUserStyleSheet and
setAuthorAndUserStylesEnabled on Chromium port.
https://bugs.webkit.org/show_bug.cgi?id=37595
* public/WebSettings.h:
* public/WebView.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setAuthorAndUserStylesEnabled):
* src/WebSettingsImpl.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::addUserStyleSheet):
* src/WebViewImpl.h:
2010-04-15 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Must enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization
https://bugs.webkit.org/show_bug.cgi?id=37178
* src/WebGraphicsContext3DDefaultImpl.cpp: Enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization.
(WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2010-04-15 Albert J. Wong <ajwong@chromium.org>
Unreviewed, rolling out r57660.
http://trac.webkit.org/changeset/57660
https://bugs.webkit.org/show_bug.cgi?id=37604
Broke a large number of inspector layout tests in chromium.
* WebKit.gypi:
* src/DebuggerAgent.h:
* src/DebuggerAgentImpl.cpp:
* src/DebuggerAgentImpl.h:
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::debugAttach):
(WebKit::DebuggerAgentManager::debugDetach):
(WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
* src/DebuggerAgentManager.h:
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::windowObjectCleared):
* src/js/DebuggerScript.js: Removed.
* src/js/DevTools.js:
(WebInspector.loaded):
(WebInspector.UnresolvedPropertyValue):
():
* src/js/DevToolsHostStub.js:
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-04-15 Yury Semikhatsky <yurys@google.com>
Reviewed by Pavel Feldman.
Support basic debugging capabilities including step in/over/out in v8
implementation of ScriptDebugServer.
https://bugs.webkit.org/show_bug.cgi?id=37604
* WebKit.gypi:
* src/DebuggerAgent.h:
* src/DebuggerAgentImpl.cpp:
(WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
* src/DebuggerAgentImpl.h:
* src/DebuggerAgentManager.cpp:
(WebKit::DebuggerAgentManager::hostDispatchHandler):
(WebKit::DebuggerAgentManager::debugAttach):
(WebKit::DebuggerAgentManager::debugDetach):
(WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
* src/DebuggerAgentManager.h:
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::windowObjectCleared):
* src/js/DebuggerScript.js: Added.
(debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
(debuggerScriptConstructor.DebuggerScript.getScripts):
(debuggerScriptConstructor.DebuggerScript._formatScript):
(debuggerScriptConstructor.DebuggerScript.setBreakpoint):
(debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
(debuggerScriptConstructor.DebuggerScript.currentCallFrame):
(debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
(debuggerScriptConstructor.DebuggerScript.stepOverStatement):
(debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
(debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
(debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
(debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
(debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
(debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
(debuggerScriptConstructor):
* src/js/DevTools.js:
(WebInspector.loaded):
(.):
():
* src/js/DevToolsHostStub.js:
(.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-04-15 Ben Murdoch <benm@google.com>
Unreviewed, rolling out r57652.
http://trac.webkit.org/changeset/57652
https://bugs.webkit.org/show_bug.cgi?id=37609
Caused a build break on Chromium Mac and Layout Test fail on
Qt
* src/WebInputEventConversion.cpp:
(WebKit::toPlatformTouchPointState):
2010-04-14 Ben Murdoch <benm@google.com>
Reviewed by Kenneth Rohde Christiansen.
The TouchStationary state of WebCore::PlatformTouchPoint is not
handled inside the touch event handler.
https://bugs.webkit.org/show_bug.cgi?id=37609
After discussions at the WebKit contributors meeting, we decided that
this is a currently unused state without a good future use case in the
Touch API and thus decided to remove it. This patch actions that decision.
* src/WebInputEventConversion.cpp:
(WebKit::toPlatformTouchPointState): Remove TouchStationary.
2010-04-12 Tony Chang <tony@chromium.org>
Reviewed by Darin Fisher.
[chromium] update chromium DEPS for upstream compile
https://bugs.webkit.org/show_bug.cgi?id=36578
* DEPS: Pull sub deps from chromium's DEPS file
2010-04-14 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r57599.
http://trac.webkit.org/changeset/57599
https://bugs.webkit.org/show_bug.cgi?id=37605
"Broke Chromium build" (Requested by dglazkov on #webkit).
* WebKit.gyp:
* src/WebViewImpl.h:
* tests/PopupMenuTest.cpp: Removed.
2010-04-14 Aaron Boodman <aa@chromium.org>
Reviewed by David Levin.
Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting
the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are
unsupported. Fixed by resolving the relative URL first.
https://bugs.webkit.org/show_bug.cgi?id=36623
Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows.
* public/WebNotification.h: Remove deprecated icon() method.
* src/WebNotification.cpp: Ditto.
2010-04-14 Jay Civelli <jcivelli@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Select popups would assert when destroyed.
Also adding unit-tests for the select popup code.
https://bugs.webkit.org/show_bug.cgi?id=37436
* WebKit.gyp:
* src/WebViewImpl.h:
(WebKit::WebViewImpl::selectPopup):
* tests/PopupMenuTest.cpp: Added.
2010-04-14 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
readPixels must take PACK_ALIGNMENT into account
https://bugs.webkit.org/show_bug.cgi?id=34718
* src/GraphicsContext3D.cpp: Refactor readPixels.
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): Temporarily disable pack alignment for glReadPixels.
(WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Move array allocation and alpha fix to WebGLRenderingContext; flush before read pixels.
2010-04-14 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Re-write testProfilerTab to match the new implementation.
https://bugs.webkit.org/show_bug.cgi?id=37516
* src/js/Tests.js:
(.TestSuite.prototype.testProfilerTab.findDisplayedNode):
(.TestSuite.prototype.testProfilerTab.findVisibleView):
(.TestSuite.prototype.testProfilerTab):
2010-04-13 Timothy Hatcher <timothy@apple.com>
Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
SecurityOrigin needs a way to remove individual OriginAccessEntries
https://bugs.webkit.org/show_bug.cgi?id=37449
Reviewed by Dave Hyatt.
* src/WebSecurityPolicy.cpp:
(WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
(WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
2010-04-13 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Fix search behavior in Heap profiles.
https://bugs.webkit.org/show_bug.cgi?id=37498
* src/js/HeapProfilerPanel.js:
2010-04-13 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by David Levin.
Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
https://bugs.webkit.org/show_bug.cgi?id=36426
* src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(WebCore::ResourceHandleInternal::):
(WebCore::ResourceHandleInternal::start):
(WebCore::ResourceHandleInternal::cancel):
(WebCore::ResourceHandleInternal::didReceiveResponse):
(WebCore::ResourceHandleInternal::didReceiveData):
(WebCore::ResourceHandleInternal::didFinishLoading):
(WebCore::ResourceHandleInternal::didFail):
2010-04-13 Mikhail Naganov <mnaganov@chromium.org>
Unreviewed Chromium build fix: pin to a newer V8 revision (4386).
* DEPS:
2010-04-12 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Yury Semikhatsky.
Replace hand-written JavaScriptProfile* bindings with idl-based, and
in Chromium port, bind them to the new V8's profiler API that is
aligned with JSC.
https://bugs.webkit.org/show_bug.cgi?id=37448
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
* src/js/ProfilerAgent.js:
(devtools.ProfilerAgent):
(devtools.ProfilerAgent.prototype.initializeProfiling):
(devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
(devtools.ProfilerAgent.prototype._didGetLogLines):
* src/js/Tests.js:
2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r57468.
http://trac.webkit.org/changeset/57468
https://bugs.webkit.org/show_bug.cgi?id=37433
Broke the world... Must have applied the patch wrong
(Requested by abarth on #webkit).
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::finishedLoading):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::encoding):
(WebKit::WebFrameImpl::commitDocumentData):
* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
(WebKit::WebPageSerializerImpl::serialize):
* src/WebSearchableFormData.cpp:
(WebCore::GetFormEncoding):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::pageEncoding):
2010-04-11 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Factor DocumentWriter out of FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=37175
Update these callsites because the method moved to DocumentWriter.
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::finishedLoading):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::encoding):
(WebKit::WebFrameImpl::commitDocumentData):
* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
(WebKit::WebPageSerializerImpl::serialize):
* src/WebSearchableFormData.cpp:
(WebCore::GetFormEncoding):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::pageEncoding):
2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r57460.
http://trac.webkit.org/changeset/57460
https://bugs.webkit.org/show_bug.cgi?id=37424
broke chromium builders (Requested by tony^work on #webkit).
* DEPS:
* gyp_webkit:
2010-04-11 Tony Chang <tony@chromium.org>
Reviewed by Darin Fisher.
[chromium] update chromium DEPS for upstream compile
https://bugs.webkit.org/show_bug.cgi?id=36578
* DEPS:
* gyp_webkit: Add DumpRenderTree.gyp so we generate xcode projects for DRT.
2010-04-10 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Dimitri Glazkov.
Include file change as a result of renaming LayerRenderSkia.h to LayerRenderChromium.h
https://bugs.webkit.org/show_bug.cgi?id=37231
* src/WebViewImpl.h:
2010-04-10 Rafael Weinstein <rafaelw@chromium.org>
Reviewed by Eric Seidel.
Cleanup after chromium breakage. All interface methods are
returned to being abstract.
* public/WebNotificationPresenter.h:
2010-04-09 Evan Stade <estade@chromium.org>
Reviewed by Eric Seidel.
[chromium] Linux: respect the scale factor during printing
https://bugs.webkit.org/show_bug.cgi?id=37168
Chromium doesn't support testing .pdfs from printing at the moment, so
this change is not covered by any tests.
* src/WebFrameImpl.cpp:
(WebKit::ChromePrintContext::spoolPage):
2010-04-09 Aaron Boodman <aa@chromium.org>
Reviewed by Eric Seidel.
Remove applicationID() from WebDocument as it is Chromium-specific.
https://bugs.webkit.org/show_bug.cgi?id=37350
* public/WebDocument.h:
* src/WebDocument.cpp:
2010-04-09 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Adler.
Move the IDB::open ExceptionCode paramter to be last
https://bugs.webkit.org/show_bug.cgi?id=37277
Move the ExceptionCode paramter to the last position in
IndexedDatabaseRequest::open and friends. It should definitely
go after the callbacks to keep the parameters that come directly
from javascript together. And having output parameters appear
last is done often in the code base, so it makes sense to push
it past the Frame* param as well.
* public/WebIndexedDatabase.h:
* src/IndexedDatabaseProxy.cpp:
(WebCore::IndexedDatabaseProxy::open):
* src/IndexedDatabaseProxy.h:
* src/WebIndexedDatabaseImpl.cpp:
(WebKit::WebIndexedDatabaseImpl::open):
* src/WebIndexedDatabaseImpl.h:
2010-04-09 Jochen Eisinger <jochen@chromium.org>
Reviewed by Darin Fisher.
Complete move of createApplicationCacheHost from WebKitClient to WebFrameClient.
https://bugs.webkit.org/show_bug.cgi?id=37330
* public/WebApplicationCacheHost.h:
* public/WebKitClient.h:
* src/ApplicationCacheHostInternal.h:
(WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
2010-04-09 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
Crash on WebKit::WebGeolocationServiceBridgeImpl::stopUpdating() during frame disconnection
Should not try to access WebViewClient if the frame has already been disconnected.
https://bugs.webkit.org/show_bug.cgi?id=37318
* src/WebGeolocationServiceBridgeImpl.cpp:
(WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
2010-04-09 Jochen Eisinger <jochen@chromium.org>
Reviewed by Adam Barth.
Expose SecurityOrigin::canRequest in WebSecurityOrigin.
https://bugs.webkit.org/show_bug.cgi?id=37271
* public/WebSecurityOrigin.h:
* src/WebSecurityOrigin.cpp:
(WebKit::WebSecurityOrigin::canRequest):
2010-04-09 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Must resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D
https://bugs.webkit.org/show_bug.cgi?id=37174
Test: fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html
* src/WebGraphicsContext3DDefaultImpl.cpp: Resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D.
(WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
(WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
2010-04-07 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium: support themes in devtools window.
https://bugs.webkit.org/attachment.cgi?bugid=37216
* WebKit.gypi:
* src/js/DevTools.js:
(WebInspector.setToolbarColors):
(WebInspector.resetToolbarColors):
* src/js/Images/segmentChromium2.png: Added.
* src/js/Images/segmentHoverChromium2.png: Added.
* src/js/Images/segmentSelectedChromium2.png: Added.
* src/js/Images/statusbarBackgroundChromium2.png: Added.
* src/js/Images/statusbarMenuButtonChromium2.png: Added.
2010-04-07 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Yury Semikhatsky.
Removed inspector methods from ScriptExecutionContext and derived classes.
Removed MessageDestination parameter from console-related calls (we now always
log to the same destination(s)).
Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
https://bugs.webkit.org/show_bug.cgi?id=36949
* public/WebCommonWorkerClient.h:
(WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
* src/FrameLoaderClientImpl.cpp:
* src/FrameLoaderClientImpl.h:
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
(WebKit::WebWorkerBase::postConsoleMessageTask):
* src/WebWorkerBase.h:
* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
(WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
* src/WebWorkerClientImpl.h:
2010-04-07 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
[Chromium] WebIDBDatabaseError::assign doesn't work correctly
https://bugs.webkit.org/show_bug.cgi?id=37209
* src/WebIDBDatabaseError.cpp:
(WebKit::WebIDBDatabaseError::assign):
2010-04-07 Dawit Alemayehu <adawit@kde.org>
Reviewed by Simon Hausmann.
https://bugs.webkit.org/show_bug.cgi?id=36827
Updated the WebCore::shouldTreatAsAttachement function call with the
new more generic replacement WebCore::contentDispositionType.
See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
2010-04-07 Jochen Eisinger <jochen@chromium.org>
Reviewed by Darin Fisher.
Add createApplicationCacheHost to WebFrameClient so
the ApplicationCacheHost has access to its frame.
https://bugs.webkit.org/show_bug.cgi?id=36882
* public/WebFrameClient.h:
(WebKit::WebFrameClient::createApplicationCacheHost):
* src/ApplicationCacheHostInternal.h:
(WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
2010-04-06 Nicolas Weber <thakis@chromium.org>
Reviewed by Dimitri Glazkov.
Use drag images on OS X as well.
https://bugs.webkit.org/show_bug.cgi?id=37069
* src/DragClientImpl.cpp:
(WebKit::DragClientImpl::startDrag):
2010-04-06 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Dimitri Glazkov.
Changing references to Graphics Layer related classes from *Skia to *Chromium.
https://bugs.webkit.org/show_bug.cgi?id=37116
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImpl::setAcceleratedCompositing):
(WebKit::WebViewImpl::updateRootLayerContents):
* src/WebViewImpl.h:
2010-04-06 James Hawkins <jhawkins@chromium.org>
Reviewed by Adam Barth.
[Chromium] Implement WebInputElement::maxLength.
https://bugs.webkit.org/show_bug.cgi?id=37172
* public/WebInputElement.h:
* src/WebInputElement.cpp:
(WebKit::WebInputElement::maxLength):
2010-04-06 Evan Stade <estade@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] need DragImage implementation
https://bugs.webkit.org/show_bug.cgi?id=35811
Basic implementation using SkBitmap. Transformations are not supported
yet. No implementation for mac.
This was previously committed but rolled back for breaking layout
tests.
* public/WebViewClient.h:
(WebKit::WebViewClient::startDragging):
* src/DragClientImpl.cpp:
(WebKit::DragClientImpl::startDrag): new: check for null dragImage.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::startDragging):
* src/WebViewImpl.h:
2010-04-06 James Hawkins <jhawkins@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Move the getElementsByTagName from WebDocument to WebNode.
https://bugs.webkit.org/show_bug.cgi?id=37161
* public/WebDocument.h:
* public/WebNode.h:
* src/WebDocument.cpp:
* src/WebNode.cpp:
(WebKit::WebNode::getElementsByTagName):
2010-04-06 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed build fix for Chromium DEPS.
* DEPS:
2010-04-06 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed: build fix.
* DEPS:
2010-04-06 Mattias Nissler <mnissler@chromium.org>
Reviewed by Pavel Feldman.
Handle docking requests from the developer tools and forward them to
WebDevToolsFrontendClient.
https://bugs.webkit.org/show_bug.cgi?id=36944
* public/WebDevToolsFrontendClient.h:
(WebKit::WebDevToolsFrontendClient::requestDockWindow):
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::jsRequestAttachWindow):
* src/WebDevToolsFrontendImpl.h:
2010-04-06 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Yury Semikhatsky.
Fixed logging of unhndled worker exceptions.
https://bugs.webkit.org/show_bug.cgi?id=37143
* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
2010-04-05 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=37111
<rdar://problem/7790327> Draw replacement text when plug-in host crashes
* src/LocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in
failure.
2010-04-04 Pavel Feldman <pfeldman@chromium.org>
Not reviewed. Rolling out chromium changes r57028 and r57032
for breaking chromium layout tests.
* public/WebViewClient.h:
(WebKit::WebViewClient::startDragging):
* src/DragClientImpl.cpp:
(WebKit::DragClientImpl::startDrag):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::startDragging):
* src/WebViewImpl.h:
2010-04-03 Darin Fisher <darin@chromium.org>
Add default implementations of WebNotificationPresenter methods to
repair the downstream Chromium build.
* public/WebNotificationPresenter.h:
(WebKit::WebNotificationPresenter::show):
(WebKit::WebNotificationPresenter::cancel):
(WebKit::WebNotificationPresenter::objectDestroyed):
(WebKit::WebNotificationPresenter::checkPermission):
(WebKit::WebNotificationPresenter::requestPermission):
2010-04-02 Michael Nordman <michaeln@google.com>
Reviewed by Nate Chapin.
Set the close policy used by the DatabaseCloseTask at this callsite to
RemoveDatabaseFromContext. This restores its behavior to what it was prior to
r56293.
https://bugs.webkit.org/show_bug.cgi?id=37037
* src/WebDatabase.cpp:
(WebKit::WebDatabase::closeDatabaseImmediately):
2010-04-02 Evan Stade <estade@chromium.org>
Reviewed by Eric Seidel.
[chromium] need DragImage implementation
https://bugs.webkit.org/show_bug.cgi?id=35811
Use the DragImageRef that the DragController passes to us.
* public/WebViewClient.h:
(WebKit::WebViewClient::startDragging):
* src/DragClientImpl.cpp:
(WebKit::DragClientImpl::startDrag):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::startDragging):
* src/WebViewImpl.h:
2010-04-02 Rafael Weinstein <rafaelw@chromium.org>
Reviewed by Adam Barth.
Clean up unused calls after changes to checkPermission and requestPermission argument lists.
* public/WebNotificationPresenter.h:
* src/NotificationPresenterImpl.cpp:
(WebKit::NotificationPresenterImpl::checkPermission):
(WebKit::NotificationPresenterImpl::requestPermission):
2010-04-02 Zhenyao Mo <zmo@google.com>
Reviewed by Eric Seidel.
Implement and test new framebuffer object attachment behavior.
https://bugs.webkit.org/show_bug.cgi?id=35611
Test: fast/canvas/webgl/framebuffer-object-attachment.html
* src/WebGraphicsContext3DDefaultImpl.cpp: Map to correct DEPTH_STENCIL format.
(WebKit::WebGraphicsContext3DDefaultImpl::framebufferRenderbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::getFramebufferAttachmentParameteriv):
(WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage):
2010-04-02 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
The popup type (select or suggestion) is now passed to the
WebClient::createPopupMenu() method. This is required for
Chromium on Linux to make the select popups work correctly.
https://bugs.webkit.org/show_bug.cgi?id=37013
* WebKit.gyp:
* public/WebPopupType.h: Added.
(WebKit::):
* public/WebViewClient.h:
(WebKit::WebViewClient::createPopupMenu):
* src/ChromeClientImpl.cpp:
(WebCore::convertPopupType):
(WebKit::ChromeClientImpl::popupOpened):
2010-04-02 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Implement InspectorFrontendClient in Chromium and remove all custom bindings for the host methods from WebDevToolsFrontendImpl.
https://bugs.webkit.org/show_bug.cgi?id=36817
* WebKit.gyp:
* src/InspectorFrontendClientImpl.cpp: Added.
(WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl):
(WebKit::InspectorFrontendClientImpl::~InspectorFrontendClientImpl):
(WebKit::InspectorFrontendClientImpl::windowObjectCleared):
(WebKit::InspectorFrontendClientImpl::frontendLoaded):
(WebKit::InspectorFrontendClientImpl::moveWindowBy):
(WebKit::InspectorFrontendClientImpl::localizedStringsURL):
(WebKit::InspectorFrontendClientImpl::hiddenPanels):
(WebKit::InspectorFrontendClientImpl::bringToFront):
(WebKit::InspectorFrontendClientImpl::closeWindow):
(WebKit::InspectorFrontendClientImpl::canAttachWindow):
(WebKit::InspectorFrontendClientImpl::attachWindow):
(WebKit::InspectorFrontendClientImpl::detachWindow):
(WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight):
(WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
* src/InspectorFrontendClientImpl.h: Added.
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::frontendLoaded):
* src/WebDevToolsFrontendImpl.h:
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
* src/js/DevTools.js:
():
2010-04-01 Jay Civelli <jcivelli@google.com>
Reviewed by David Levin.
Adds a method to WebFrame to execute JavaScript and get the value
it evaluates to.
https://bugs.webkit.org/show_bug.cgi?id=36907
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::executeScriptAndReturnValue):
* src/WebFrameImpl.h:
2010-04-01 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Dmitry Titov.
Add FileThread for async file operation support in FileReader and FileWriter
https://bugs.webkit.org/show_bug.cgi?id=36896
Add ENABLE_FILE_READER and ENABLE_FILE_WRITER flags.
* features.gypi:
2010-04-01 Finnur Thorarinsson <finnur.webkit@gmail.com>
Reviewed by Eric Seidel.
[chromium] FindInPage on multi-frame pages wasn't always updating
tickmarks on scrollbars for the subframes. It was calling invalidateRect
on the View and specifying a rect that's in window coordinates, whereas
the invalidateRect expects frame coordinates.
https://bugs.webkit.org/show_bug.cgi?id=36982
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::invalidateArea):
2010-04-01 Finnur Thorarinsson <finnur.webkit@gmail.com>
Reviewed by Dimitri Glazkov.
[chromium] FindInPage should clear the focused node when a match has
been found. This is because WebFrameImpl::setFocus will try to refocus
editable elements if it thinks they have focus, causing the page to
scroll.
https://bugs.webkit.org/show_bug.cgi?id=36923
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::find):
2010-04-01 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
As a follow up on https://bugs.webkit.org/show_bug.cgi?id=36535, remove:
GeolocationServiceBridgeChromium.h
dettachBridge()
getGeolocationService()
https://bugs.webkit.org/show_bug.cgi?id=36895
* WebKit.gyp:
* public/GeolocationServiceBridgeChromium.h: Removed.
* public/WebGeolocationService.h:
(WebKit::WebGeolocationService::detachBridge):
* public/WebViewClient.h:
(WebKit::WebViewClient::geolocationService):
2010-03-31 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Nate Chapin.
Misc IndexedDatabase cleanup
https://bugs.webkit.org/show_bug.cgi?id=36889
Plumb the Frame* so Chromium knows where the request originated from.
* public/WebIndexedDatabase.h:
* src/IndexedDatabaseProxy.cpp:
(WebCore::IndexedDatabaseProxy::open):
* src/IndexedDatabaseProxy.h:
* src/WebIndexedDatabaseImpl.cpp:
(WebKit::WebIndexedDatabaseImpl::open):
* src/WebIndexedDatabaseImpl.h:
2010-03-31 Alpha Lam <hclam@chromium.org>
Not reviewed. Build fix.
Fixing a build break caused by 56872. One of the Chromium bots doesn't
like std::strstr(). Includes string.h and use strstr() instead.
* src/WebGraphicsContext3DDefaultImpl.cpp:
(WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
Includes string.h and use strstr().
2010-03-31 Zhenyao Mo <zmo@google.com>
Reviewed by Darin Fisher.
Hook up WebGLContextAttributes to OpenGL context creation code
https://bugs.webkit.org/show_bug.cgi?id=33416
* src/WebGraphicsContext3DDefaultImpl.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Chrome.
(WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::initialize):
(WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
(WebKit::WebGraphicsContext3DDefaultImpl::reshape):
(WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Deal with wrong returned alpha values in Mac.
* src/WebGraphicsContext3DDefaultImpl.h: Add a function.
2010-03-31 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
[chromium] including WebKit.gyp:webkit should automatically add Skia
and NPAPI include paths
https://bugs.webkit.org/show_bug.cgi?id=36887
* WebKit.gyp:
2010-03-31 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
Implements cancelGeolocationPermissionRequestForFrame.
https://bugs.webkit.org/show_bug.cgi?id=35031
* public/WebGeolocationService.h:
(WebKit::WebGeolocationService::cancelPermissionRequestForFrame):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
* src/ChromeClientImpl.h:
2010-03-31 Pavel Feldman <pfeldman@chromium.org>
Not reviewed. Rolling out r56829 since it broke chromium layout tests.
[REGRESSION] Inspector tests started crashing since r56829
https://bugs.webkit.org/show_bug.cgi?id=36888
* public/WebFrameClient.h:
* src/FrameLoaderClientImpl.cpp:
* src/FrameLoaderClientImpl.h:
2010-03-31 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Add stubs for moveWindowBy and setAttachedWindowHeight.
https://bugs.webkit.org/show_bug.cgi?id=36842
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::jsSetAttachedWindowHeight):
(WebKit::WebDevToolsFrontendImpl::jsMoveWindowBy):
* src/WebDevToolsFrontendImpl.h:
2010-03-31 John Gregg <johnnyg@google.com>
Reviewed by Darin Fisher.
[chromium] add logging of cross-frame property accesses for site isolation
https://bugs.webkit.org/show_bug.cgi?id=35773
* public/WebFrameClient.h:
(WebKit::WebFrameClient::logCrossFramePropertyAccess):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::logCrossFramePropertyAccess):
* src/FrameLoaderClientImpl.h:
2010-03-30 Gavin Barraclough <barraclough@apple.com>
Rubber stamped by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=36866
Move CString to WTF
* public/WebCString.h:
* src/FrameLoaderClientImpl.cpp:
* src/GraphicsContext3D.cpp:
* src/WebCString.cpp:
(WebKit::WebCString::assign):
(WebKit::WebCString::WebCString):
(WebKit::WebCString::operator=):
(WebKit::WebCString::operator WTF::CString):
* src/WebMediaPlayerClientImpl.cpp:
* src/WebString.cpp:
* src/WebURLError.cpp:
2010-03-30 Marcus Bulach <bulach@chromium.org>
Reviewed by Darin Fisher.
Rename / tidy up Geolocation bridge:
Rename GeolocationServiceBridgeChromium.cpp to WebGeolocationServiceBridgeImpl.cpp
Uses a temporary compatibility layer in GeolocationServiceBridgeChromium.h.
https://bugs.webkit.org/show_bug.cgi?id=36535
* WebKit.gyp:
* public/GeolocationServiceBridgeChromium.h:
* public/WebGeolocationService.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
(WebKit::WebGeolocationService::detachBridge):
* public/WebGeolocationServiceBridge.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
* public/WebViewClient.h:
(WebKit::WebViewClient::geolocationService):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
* src/ChromiumBridge.cpp:
* src/GeolocationServiceBridgeChromium.cpp: Removed.
* src/WebGeolocationServiceBridgeImpl.cpp: Copied from WebKit/chromium/src/GeolocationServiceBridgeChromium.cpp.
(WebKit::createGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
(WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
(WebKit::WebGeolocationServiceBridgeImpl::suspend):
(WebKit::WebGeolocationServiceBridgeImpl::resume):
(WebKit::WebGeolocationServiceBridgeImpl::getBridgeId):
(WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
(WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
(WebKit::WebGeolocationServiceBridgeImpl::setLastError):
(WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
* src/WebGeolocationServiceBridgeImpl.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
2010-03-30 Jochen Eisinger <jochen@chromium.org>
Reviewed by Jeremy Orlow.
Remove dysfunctional implementation of canEstablishDatabase for
Workers. I postpone this implementation until Workers can actually
access Web Databases.
https://bugs.webkit.org/show_bug.cgi?id=36795
* src/DatabaseObserver.cpp:
(WebCore::DatabaseObserver::canEstablishDatabase):
* src/WebWorkerBase.h:
2010-03-29 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
More IndexedDB work
https://bugs.webkit.org/show_bug.cgi?id=36770
Start the implementation of WebIndexedDatabase (for entrance back into WebKit).
* WebKit.gyp:
* public/WebIndexedDatabase.h:
* src/WebIndexedDatabaseImpl.cpp: Added.
(WebKit::WebIndexedDatabase::create):
(WebKit::WebIndexedDatabaseImpl::~WebIndexedDatabaseImpl):
(WebKit::WebIndexedDatabaseImpl::open):
* src/WebIndexedDatabaseImpl.h: Added.
2010-03-29 Rafael Weinstein <rafaelw@chromium.org>
Reviewed by Adam Barth.
Change NotificationPresenter::checkPermission() to take the source frames full KURL,
rather than its SecurityOrigin. This will aid chromium in having more fine grained
permissions to control notification spam.
* public/WebNotificationPresenter.h:
(WebKit::WebNotificationPresenter::checkPermission):
* src/NotificationPresenterImpl.cpp:
(WebKit::NotificationPresenterImpl::checkPermission):
* src/NotificationPresenterImpl.h:
2010-03-29 Dawit Alemayehu <adawit@kde.org>
Reviewed by Simon Hausmann.
Factored out the 'ShouldTreatAsAttachment' function to HTTPParsers.*
and replacted local version with the factored out version.
The code was factored out to make possible its use in other implementations
such as QtWebKit.
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
2010-03-29 Jochen Eisinger <jochen@chromium.org>
Reviewed by Darin Fisher.
Pass a WebFrame to WebFrameClient::allowDatabase instead of a WebSecurityOrigin
https://bugs.webkit.org/show_bug.cgi?id=36743
* public/WebFrameClient.h:
(WebKit::WebFrameClient::allowDatabase):
* src/DatabaseObserver.cpp:
(WebCore::DatabaseObserver::canEstablishDatabase):
2010-03-24 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
More IndexedDB plumbing
https://bugs.webkit.org/show_bug.cgi?id=36546
Plumbing work towards the goal of making IndexedDatabase::open work.
* WebKit.gyp:
* public/WebIDBCallbacks.h: Added.
(WebKit::WebIDBCallbacks::~WebIDBCallbacks):
* public/WebIDBDatabase.h: Added.
(WebKit::WebIDBDatabase::~WebIDBDatabase):
* public/WebIDBDatabaseError.h: Added.
(WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
(WebKit::WebIDBDatabaseError::operator=):
* public/WebIndexedDatabase.h:
* public/WebKitClient.h:
(WebKit::WebKitClient::indexedDatabase):
* public/WebSerializedScriptValue.h:
* src/IDBCallbacksProxy.h: Added.
(WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
(WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
(WebCore::IDBCallbacksProxy::onSuccess):
(WebCore::IDBCallbacksProxy::onError):
* src/IDBDatabaseProxy.cpp: Added.
(WebCore::IDBDatabaseProxy::create):
(WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
(WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
* src/IDBDatabaseProxy.h: Added.
* src/IndexedDatabaseProxy.cpp:
(WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
(WebCore::IndexedDatabaseProxy::open):
* src/IndexedDatabaseProxy.h:
* src/WebIDBDatabaseError.cpp: Added.
(WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
(WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
(WebKit::WebIDBDatabaseError::assign):
(WebKit::WebIDBDatabaseError::code):
(WebKit::WebIDBDatabaseError::message):
(WebKit::WebIDBDatabaseError::operator=):
(WebKit::WebIDBDatabaseError::operator PassRefPtr<IDBDatabaseError>):
2010-03-29 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Remove a possibility of confusion from Profiles panel Welcome screen
by turning buttons into non-clickable glyphs. Also, span instructions
alongside panel width.
https://bugs.webkit.org/show_bug.cgi?id=34319
* src/js/HeapProfilerPanel.js:
(WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
2010-03-28 Alexey Proskuryakov <ap@apple.com>
Build fix. Removed extraneous includes of KeyboardCodesWin.h and KeyboardCodesPosix.h -
these no longer exist, but they weren't needed even before reshuffling KeyboardCodes headers.
* src/WebViewImpl.cpp:
2010-03-27 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Use WebKitClient to instantiate WebGraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=36669
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::initialize):
2010-03-24 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Implement WebFormControlElement and WebSelectElement. Add
a getFormControlElements method to WebFormElement.
https://bugs.webkit.org/show_bug.cgi?id=36562
* WebKit.gyp:
* public/WebElement.h:
* public/WebFormControlElement.h: Added.
* public/WebFormElement.h:
* public/WebInputElement.h:
(WebKit::WebInputElement::WebInputElement):
(WebKit::WebInputElement::operator=):
(WebKit::WebInputElement::assign):
* public/WebSelectElement.h: Added.
* src/WebElement.cpp:
(WebKit::WebElement::isFormControlElement):
* src/WebFormControlElement.cpp: Added.
* src/WebFormElement.cpp:
(WebKit::WebFormElement::getFormControlElements):
* src/WebInputElement.cpp:
(WebKit::WebInputElement::WebInputElement):
* src/WebSelectElement.cpp: Added.
2010-03-26 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Pavel Feldman.
Send worker resource content to inspector to enable display of web
workers in inspector's resource tab.
https://bugs.webkit.org/show_bug.cgi?id=36658
* src/SharedWorkerRepository.cpp:
(WebCore::SharedWorkerScriptLoader::notifyFinished):
2010-03-25 Tony Chang <tony@chromium.org>
Reviewed by David Levin.
[chromium] correctly handle move drag operations
https://bugs.webkit.org/show_bug.cgi?id=36484
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::dragTargetDragEnter):
(WebKit::WebViewImpl::dragTargetDragOver):
(WebKit::WebViewImpl::dragTargetDragEnterOrOver): Combine common code into a helper method
and properly mask against the drag effect.
(WebKit::WebViewImpl::createUniqueIdentifierForRequest):
* src/WebViewImpl.h:
2010-03-25 Drew Wilson <atwilson@chromium.org>
Reviewed by Nate Chapin.
[v8] Error in getScriptExecutionContext() when worker context is terminating
https://bugs.webkit.org/show_bug.cgi?id=36565
Test: Existing worker tests suffice.
* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::createWorkerContextProxy):
Changed to use WorkerScriptController::controllerForContext() instead of WorkerScriptExecutionProxy::retrieve().
2010-03-25 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add an ASSERT macro to the Chromium WebKit API
https://bugs.webkit.org/show_bug.cgi?id=36545
* WebKit.gyp: Add WebCommon.cpp
* public/WebCommon.h: Add the Macro.
* public/WebPrivatePtr.h:
(WebKit::WebPrivatePtr::~WebPrivatePtr): Verify the pointer is now 0.
* src/WebCommon.cpp: Added.
(WebKit::failedAssertion): Calls the WTF assert function and then crashes.
2010-03-25 Jochen Eisinger <jochen@chromium.org>
Reviewed by Jeremy Orlow.
Remove ASSERT(isMainThread()) which is violated for workers and not necessary at this point.
https://bugs.webkit.org/show_bug.cgi?id=36614
* src/DatabaseObserver.cpp:
(WebCore::DatabaseObserver::canEstablishDatabase):
2010-03-25 Jochen Eisinger <jochen@chromium.org>
Reviewed by Jeremy Orlow.
Forward DatabaseTracker::canEstablishDatabase to chromium layer.
https://bugs.webkit.org/show_bug.cgi?id=36595
* public/WebFrameClient.h:
(WebKit::WebFrameClient::allowDatabase):
* src/DatabaseObserver.cpp:
(WebCore::DatabaseObserver::canEstablishDatabase):
* src/WebWorkerBase.h:
(WebKit::WebWorkerBase::allowDatabase):
2010-03-10 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Fix up WebMouseWheelEventBuilder to properly calculate the units
https://bugs.webkit.org/show_bug.cgi?id=35989
* src/WebInputEventConversion.cpp:
2010-03-24 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Dimitri Glazkov.
Eliminate unecessary redraws of GraphicsLayer contents when doing accelerated compositing:
https://bugs.webkit.org/show_bug.cgi?id=36470
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::paint):
Remove call that forced redrawing the contents of the entire layer hierarchy.
2010-03-24 Dmitry Titov <dimich@chromium.org>
No review, rolling out r56453.
http://trac.webkit.org/changeset/56453
https://bugs.webkit.org/show_bug.cgi?id=36426
In Chromium port, it broke invalid-image-data-standalone.html
invalid-image-data.html multipart-wait-before-boundary.html
stop-crash.html win-boundary-crash.html
* src/ResourceHandle.cpp:
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(WebCore::ResourceHandleInternal::start):
(WebCore::ResourceHandleInternal::cancel):
(WebCore::ResourceHandleInternal::didReceiveResponse):
(WebCore::ResourceHandleInternal::didReceiveData):
(WebCore::ResourceHandleInternal::didFinishLoading):
(WebCore::ResourceHandleInternal::didFail):
2010-03-24 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium]WebKit side of adding search support to Pepper.
https://bugs.webkit.org/show_bug.cgi?id=36434
* WebKit.gyp:
* public/WebDocument.h:
* public/WebNode.h:
(WebKit::WebNode::to):
(WebKit::WebNode::toConst):
* public/WebPluginDocument.h: Added.
(WebKit::WebPluginDocument::WebPluginDocument):
(WebKit::WebPluginDocument::operator=):
(WebKit::WebPluginDocument::assign):
* src/WebDocument.cpp:
(WebKit::WebDocument::isPluginDocument):
* src/WebPluginDocument.cpp: Added.
(WebKit::WebPluginDocument::plugin):
(WebKit::WebPluginDocument::WebPluginDocument):
(WebKit::WebPluginDocument::operator=):
(WebKit::WebPluginDocument::operator PassRefPtr<PluginDocument>):
2010-03-24 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Jeremy Orlow.
Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
https://bugs.webkit.org/show_bug.cgi?id=36426
* src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(WebCore::ResourceHandleInternal::):
(WebCore::ResourceHandleInternal::start):
(WebCore::ResourceHandleInternal::cancel):
(WebCore::ResourceHandleInternal::didReceiveResponse):
(WebCore::ResourceHandleInternal::didReceiveData):
(WebCore::ResourceHandleInternal::didFinishLoading):
(WebCore::ResourceHandleInternal::didFail):
2010-03-24 Jay Campan <jcampan@google.com>
Reviewed by Darin Fisher.
Making Chromium select popups not steal activation from the browser.
Select popups are now like autocomplete popups, shown in non-activated
windows.
https://bugs.webkit.org/show_bug.cgi?id=36062
* public/WebViewClient.h:
(WebKit::WebViewClient::createPopupMenu):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::popupOpened):
(WebKit::ChromeClientImpl::popupClosed):
* src/ChromeClientImpl.h:
* src/WebViewImpl.cpp:
(WebKit::):
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::keyEvent):
(WebKit::WebViewImpl::selectPopupHandleKeyEvent):
(WebKit::WebViewImpl::hideSelectPopup):
(WebKit::WebViewImpl::popupOpened):
(WebKit::WebViewImpl::popupClosed):
(WebKit::WebViewImpl::setFocus):
(WebKit::WebViewImpl::applyAutoFillSuggestions):
(WebKit::WebViewImpl::applyAutocompleteSuggestions):
* src/WebViewImpl.h:
2010-03-24 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: [Chromium] Audits never complete
https://bugs.webkit.org/show_bug.cgi?id=36544
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-03-24 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
[Chromium] Fix VKEY_F10, VKEY_F11 translation in WebInputEvent.cpp
https://bugs.webkit.org/show_bug.cgi?id=36524
* src/WebInputEvent.cpp:
(WebKit::staticKeyIdentifiers):
2010-03-24 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler.
Make Icon::createIconForFiles() optional.
https://bugs.webkit.org/show_bug.cgi?id=35072
- Rename iconForFiles() to chooseIconForFiles().
- Call Icon::createIconForFiles() from chooseIconForFiles().
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::chooseIconForFiles):
* src/ChromeClientImpl.h:
2010-03-23 Kenneth Russell <kbr@google.com>
Unreviewed build fix.
Add #include <stdio.h> to fix Chromium Linux build.
* src/WebGraphicsContext3DDefaultImpl.cpp:
2010-03-23 Nate Chapin <japhet@chromium.org>
Unreviewed, revert r56376.
This revision introduced a crash in a couple of layout tests
on Chromium Linux.
* public/WebViewClient.h:
(WebKit::WebViewClient::createPopupMenu):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::popupOpened):
* src/ChromeClientImpl.h:
* src/WebViewImpl.cpp:
(WebKit::):
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::keyEvent):
(WebKit::WebViewImpl::setFocus):
(WebKit::WebViewImpl::applyAutoFillSuggestions):
(WebKit::WebViewImpl::applyAutocompleteSuggestions):
* src/WebViewImpl.h:
2010-03-23 Sergey Ulanov <sergeyu@chromium.org>
Reviewed by Dmitry Titov.
Changes needed to implement Show/Hide Controls command for <video> in
chrome: (1) added Controls action in WebMediaPlayerAction that toggles
controls for media player, (2) added MediaHasVideo in
WebContextMenuData so that controls can be made toggleable only for
video player but not for audio.
https://bugs.webkit.org/show_bug.cgi?id=36460
* public/WebContextMenuData.h:
(WebKit::WebContextMenuData::):
* public/WebMediaPlayerAction.h:
(WebKit::WebMediaPlayerAction::):
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::performMediaPlayerAction):
2010-03-23 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
When uncaught exception happens reveal Scripts panel only if reporting uncaught exceptions is on.
https://bugs.webkit.org/show_bug.cgi?id=36498
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.handleExceptionEvent_):
2010-03-23 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: TimelinePanel stays in the recording state after reopening WebInspector.
https://bugs.webkit.org/show_bug.cgi?id=36503
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::detach):
2010-03-22 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Add GraphicsContext3D abstraction to WebKit API
https://bugs.webkit.org/show_bug.cgi?id=36262
Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
GraphicsContext3D implementation to use it. All of the OpenGL calls have
been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
WebGraphicsContext3D implementation. GraphicsContext3D is still
responsible for the transfer of rendered output from the
WebGraphicsContext3D to the HTMLCanvasElement.
The GraphicsContext3DInternal class, which is a data member of
GraphicsContext3D for the Chromium port, remains. It is possible to
eliminate this class and thereby one level of delegation, but this is
being deferred.
The needed entry point for a Chrome implementation of
WebGraphicsContext3D has been added to WebKitClient, but it is not being
called yet by GraphicsContext3D. It will be once this patch lands and
Chromium is rolled forward to support this entry point.
This is a large patch, but the transformation is almost entirely
mechanical and there is no change in functionality. Nearly all of
GraphicsContext3D and GraphicsContext3DInternal has been moved to
WebGraphicsContext3DDefaultImpl. The only area where the splitting of
logic is less than mechanical is GraphicsContext3D::beginPaint() and its
callees.
Ran all WebGL layout tests and demos from Khronos site in Chromium
on Mac and Windows.
* WebKit.gyp:
* public/WebGraphicsContext3D.h: Added.
(WebKit::WebGraphicsContext3D::Attributes::Attributes):
(WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
* public/WebKitClient.h:
(WebKit::WebKitClient::createGraphicsContext3D):
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::initialize):
(WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
(WebCore::GraphicsContext3DInternal::platformTexture):
(WebCore::GraphicsContext3DInternal::beginPaint):
(WebCore::GraphicsContext3DInternal::endPaint):
(WebCore::GraphicsContext3DInternal::reshape):
(WebCore::GraphicsContext3DInternal::bindAttribLocation):
(WebCore::GraphicsContext3DInternal::bindTexture):
(WebCore::GraphicsContext3DInternal::bufferData):
(WebCore::GraphicsContext3DInternal::bufferSubData):
(WebCore::GraphicsContext3DInternal::getActiveAttrib):
(WebCore::GraphicsContext3DInternal::getActiveUniform):
(WebCore::GraphicsContext3DInternal::getAttribLocation):
(WebCore::GraphicsContext3DInternal::getContextAttributes):
(WebCore::GraphicsContext3DInternal::getProgramInfoLog):
(WebCore::GraphicsContext3DInternal::getShaderInfoLog):
(WebCore::GraphicsContext3DInternal::getShaderSource):
(WebCore::GraphicsContext3DInternal::getString):
(WebCore::GraphicsContext3DInternal::getUniformLocation):
(WebCore::GraphicsContext3DInternal::readPixels):
(WebCore::GraphicsContext3DInternal::shaderSource):
(WebCore::GraphicsContext3DInternal::texImage2D):
(WebCore::GraphicsContext3DInternal::texSubImage2D):
(WebCore::GraphicsContext3DInternal::uniform1fv):
(WebCore::GraphicsContext3DInternal::uniform1iv):
(WebCore::GraphicsContext3DInternal::uniform2fv):
(WebCore::GraphicsContext3DInternal::uniform2iv):
(WebCore::GraphicsContext3DInternal::uniform3fv):
(WebCore::GraphicsContext3DInternal::uniform3iv):
(WebCore::GraphicsContext3DInternal::uniform4fv):
(WebCore::GraphicsContext3DInternal::uniform4iv):
(WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
(WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
(WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformTexture):
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texSubImage2D):
* src/WebGraphicsContext3D.cpp: Added.
(WebKit::WebGraphicsContext3D::createDefault):
* src/WebGraphicsContext3DDefaultImpl.cpp: Added.
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
(WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
(WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::initialize):
(WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
(WebKit::WebGraphicsContext3DDefaultImpl::width):
(WebKit::WebGraphicsContext3DDefaultImpl::height):
(WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
(WebKit::createTextureObject):
(WebKit::WebGraphicsContext3DDefaultImpl::reshape):
(WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
(WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
(WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
(WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
(WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
(WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
(WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
(WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
(WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
(WebKit::WebGraphicsContext3DDefaultImpl::getError):
(WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
(WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
(WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
(WebKit::WebGraphicsContext3DDefaultImpl::getString):
(WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
(WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
(WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
(WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
(WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
(WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
(WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
* src/WebGraphicsContext3DDefaultImpl.h: Added.
(WebKit::WebGraphicsContext3DDefaultImpl::):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
2010-03-22 Jay Campan <jcampan@google.com>
Reviewed by Darin Fisher.
Making Chromium select popups not steal activation from the browser.
Select popups are now like autocomplete popups, shown in non-activated
windows.
https://bugs.webkit.org/show_bug.cgi?id=36062
* public/WebViewClient.h:
(WebKit::WebViewClient::createPopupMenu):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::popupOpened):
(WebKit::ChromeClientImpl::popupClosed):
* src/ChromeClientImpl.h:
* src/WebViewImpl.cpp:
(WebKit::):
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::keyEvent):
(WebKit::WebViewImpl::selectPopupHandleKeyEvent):
(WebKit::WebViewImpl::hideSelectPopup):
(WebKit::WebViewImpl::popupOpened):
(WebKit::WebViewImpl::popupClosed):
(WebKit::WebViewImpl::setFocus):
(WebKit::WebViewImpl::applyAutoFillSuggestions):
(WebKit::WebViewImpl::applyAutocompleteSuggestions):
* src/WebViewImpl.h:
2010-03-22 Darin Fisher <darin@chromium.org>
Reviewed by Nate Chapin.
[chromium] Renderer crashes when navigating to a reference fragment in
a frame that has no current HistoryItem.
https://bugs.webkit.org/show_bug.cgi?id=36443
Test: fast/loader/crash-replacing-location-before-load.html
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
2010-03-22 Kevin Decker <kdecker@apple.com>
Reviewed by John Sullivan.
https://bugs.webkit.org/show_bug.cgi?id=36328
* src/LocalizedStrings.cpp:
(WebCore::missingPluginText): Added
2010-03-22 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Fix inspected Page crash in destructor when Web Inspector is open.
https://bugs.webkit.org/show_bug.cgi?id=36441
* src/js/InjectDispatch.js:
(inspectedPageDestroyed): Added stub for missing method.
2010-03-22 Jochen Eisinger <jochen@chromium.org>
Reviewed by Jeremy Orlow.
Added methods to WebSecurityOrigin for invoking
SecurityOrigin::canAccess and SecurityOrigin::Create
https://bugs.webkit.org/show_bug.cgi?id=36356
* public/WebSecurityOrigin.h:
* src/WebSecurityOrigin.cpp:
(WebKit::WebSecurityOrigin::create):
(WebKit::WebSecurityOrigin::canAccess):
2010-03-20 Dimitri Glazkov <dglazkov@chromium.org>
No review, rolling out r56294.
http://trac.webkit.org/changeset/56294
https://bugs.webkit.org/show_bug.cgi?id=36262
Broke compile on Chromium canaries.
* WebKit.gyp:
* public/WebGraphicsContext3D.h: Removed.
* public/WebKitClient.h:
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::):
(WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
(WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
(WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
(WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
(WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
(WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
(WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
(WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
(WebCore::GraphicsContext3DInternal::GLConnection::create):
(WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
(WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::makeContextCurrent):
(WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
(WebCore::GraphicsContext3DInternal::platformTexture):
(WebCore::createTextureObject):
(WebCore::GraphicsContext3DInternal::reshape):
(WebCore::GraphicsContext3DInternal::flipVertically):
(WebCore::GraphicsContext3DInternal::beginPaint):
(WebCore::GraphicsContext3DInternal::activeTexture):
(WebCore::GraphicsContext3DInternal::bindBuffer):
(WebCore::GraphicsContext3DInternal::bindFramebuffer):
(WebCore::GraphicsContext3DInternal::bindTexture):
(WebCore::GraphicsContext3DInternal::bufferDataImpl):
(WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
(WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
(WebCore::GraphicsContext3DInternal::getError):
(WebCore::GraphicsContext3DInternal::getContextAttributes):
(WebCore::GraphicsContext3DInternal::vertexAttribPointer):
(WebCore::GraphicsContext3DInternal::viewportImpl):
(WebCore::GraphicsContext3DInternal::synthesizeGLError):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformTexture):
(WebCore::GraphicsContext3D::makeContextCurrent):
(WebCore::GraphicsContext3D::reshape):
(WebCore::GraphicsContext3D::beginPaint):
(WebCore::GraphicsContext3D::endPaint):
(WebCore::GraphicsContext3D::sizeInBytes):
(WebCore::GraphicsContext3D::createBuffer):
(WebCore::GraphicsContext3D::createFramebuffer):
(WebCore::GraphicsContext3D::createProgram):
(WebCore::GraphicsContext3D::createRenderbuffer):
(WebCore::GraphicsContext3D::createShader):
(WebCore::GraphicsContext3D::createTexture):
(WebCore::GraphicsContext3D::deleteBuffer):
(WebCore::GraphicsContext3D::deleteFramebuffer):
(WebCore::GraphicsContext3D::deleteProgram):
(WebCore::GraphicsContext3D::deleteRenderbuffer):
(WebCore::GraphicsContext3D::deleteShader):
(WebCore::GraphicsContext3D::deleteTexture):
(WebCore::GraphicsContext3D::activeTexture):
(WebCore::GraphicsContext3D::bindAttribLocation):
(WebCore::GraphicsContext3D::bindBuffer):
(WebCore::GraphicsContext3D::bindFramebuffer):
(WebCore::GraphicsContext3D::bindTexture):
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::bufferSubData):
(WebCore::GraphicsContext3D::checkFramebufferStatus):
(WebCore::GraphicsContext3D::detachShader):
(WebCore::GraphicsContext3D::disableVertexAttribArray):
(WebCore::GraphicsContext3D::drawArrays):
(WebCore::GraphicsContext3D::drawElements):
(WebCore::GraphicsContext3D::enableVertexAttribArray):
(WebCore::GraphicsContext3D::generateMipmap):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::getAttribLocation):
(WebCore::GraphicsContext3D::getBooleanv):
(WebCore::GraphicsContext3D::getBufferParameteriv):
(WebCore::GraphicsContext3D::getContextAttributes):
(WebCore::GraphicsContext3D::getError):
(WebCore::GraphicsContext3D::getFloatv):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
(WebCore::GraphicsContext3D::getIntegerv):
(WebCore::GraphicsContext3D::getProgramiv):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getRenderbufferParameteriv):
(WebCore::GraphicsContext3D::getShaderiv):
(WebCore::GraphicsContext3D::getShaderInfoLog):
(WebCore::GraphicsContext3D::getShaderSource):
(WebCore::GraphicsContext3D::getString):
(WebCore::GraphicsContext3D::getTexParameterfv):
(WebCore::GraphicsContext3D::getTexParameteriv):
(WebCore::GraphicsContext3D::getUniformfv):
(WebCore::GraphicsContext3D::getUniformiv):
(WebCore::GraphicsContext3D::getUniformLocation):
(WebCore::GraphicsContext3D::getVertexAttribfv):
(WebCore::GraphicsContext3D::getVertexAttribiv):
(WebCore::GraphicsContext3D::getVertexAttribOffset):
(WebCore::GraphicsContext3D::isBuffer):
(WebCore::GraphicsContext3D::isEnabled):
(WebCore::GraphicsContext3D::isFramebuffer):
(WebCore::GraphicsContext3D::isProgram):
(WebCore::GraphicsContext3D::isRenderbuffer):
(WebCore::GraphicsContext3D::isShader):
(WebCore::GraphicsContext3D::isTexture):
(WebCore::GraphicsContext3D::pixelStorei):
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::releaseShaderCompiler):
(WebCore::GraphicsContext3D::shaderSource):
(WebCore::GraphicsContext3D::synthesizeGLError):
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texSubImage2D):
(WebCore::GraphicsContext3D::uniform1fv):
(WebCore::GraphicsContext3D::uniform1iv):
(WebCore::GraphicsContext3D::uniform2fv):
(WebCore::GraphicsContext3D::uniform2iv):
(WebCore::GraphicsContext3D::uniform3fv):
(WebCore::GraphicsContext3D::uniform3iv):
(WebCore::GraphicsContext3D::uniform4fv):
(WebCore::GraphicsContext3D::uniform4iv):
(WebCore::GraphicsContext3D::uniformMatrix2fv):
(WebCore::GraphicsContext3D::uniformMatrix3fv):
(WebCore::GraphicsContext3D::uniformMatrix4fv):
(WebCore::GraphicsContext3D::vertexAttrib1fv):
(WebCore::GraphicsContext3D::vertexAttrib2fv):
(WebCore::GraphicsContext3D::vertexAttrib3fv):
(WebCore::GraphicsContext3D::vertexAttrib4fv):
(WebCore::GraphicsContext3D::vertexAttribPointer):
(WebCore::GraphicsContext3D::viewport):
* src/WebGraphicsContext3D.cpp: Removed.
* src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
* src/WebGraphicsContext3DDefaultImpl.h: Removed.
2010-03-19 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Add GraphicsContext3D abstraction to WebKit API
https://bugs.webkit.org/show_bug.cgi?id=36262
Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
GraphicsContext3D implementation to use it. All of the OpenGL calls have
been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
WebGraphicsContext3D implementation. GraphicsContext3D is still
responsible for the transfer of rendered output from the
WebGraphicsContext3D to the HTMLCanvasElement.
The GraphicsContext3DInternal class, which is a data member of
GraphicsContext3D for the Chromium port, remains. It is possible to
eliminate this class and thereby one level of delegation, but this is
being deferred.
The needed entry point for a Chrome implementation of
WebGraphicsContext3D has been added to WebKitClient, but it is not being
called yet by GraphicsContext3D. It will be once this patch lands and
Chromium is rolled forward to support this entry point.
This is a large patch, but the transformation is almost entirely
mechanical and there is no change in functionality. Nearly all of
GraphicsContext3D and GraphicsContext3DInternal has been moved to
WebGraphicsContext3DDefaultImpl. The only area where the splitting of
logic is less than mechanical is GraphicsContext3D::beginPaint() and its
callees.
Ran all WebGL layout tests and demos from Khronos site in Chromium.
* WebKit.gyp:
* public/WebGraphicsContext3D.h: Added.
(WebKit::WebGraphicsContext3D::Attributes::Attributes):
(WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
* public/WebKitClient.h:
(WebKit::WebKitClient::createGraphicsContext3D):
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::initialize):
(WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
(WebCore::GraphicsContext3DInternal::platformTexture):
(WebCore::GraphicsContext3DInternal::beginPaint):
(WebCore::GraphicsContext3DInternal::endPaint):
(WebCore::GraphicsContext3DInternal::reshape):
(WebCore::GraphicsContext3DInternal::bindAttribLocation):
(WebCore::GraphicsContext3DInternal::bindTexture):
(WebCore::GraphicsContext3DInternal::bufferData):
(WebCore::GraphicsContext3DInternal::bufferSubData):
(WebCore::GraphicsContext3DInternal::getActiveAttrib):
(WebCore::GraphicsContext3DInternal::getActiveUniform):
(WebCore::GraphicsContext3DInternal::getAttribLocation):
(WebCore::GraphicsContext3DInternal::getContextAttributes):
(WebCore::GraphicsContext3DInternal::getProgramInfoLog):
(WebCore::GraphicsContext3DInternal::getShaderInfoLog):
(WebCore::GraphicsContext3DInternal::getShaderSource):
(WebCore::GraphicsContext3DInternal::getString):
(WebCore::GraphicsContext3DInternal::getUniformLocation):
(WebCore::GraphicsContext3DInternal::readPixels):
(WebCore::GraphicsContext3DInternal::shaderSource):
(WebCore::GraphicsContext3DInternal::texImage2D):
(WebCore::GraphicsContext3DInternal::texSubImage2D):
(WebCore::GraphicsContext3DInternal::uniform1fv):
(WebCore::GraphicsContext3DInternal::uniform1iv):
(WebCore::GraphicsContext3DInternal::uniform2fv):
(WebCore::GraphicsContext3DInternal::uniform2iv):
(WebCore::GraphicsContext3DInternal::uniform3fv):
(WebCore::GraphicsContext3DInternal::uniform3iv):
(WebCore::GraphicsContext3DInternal::uniform4fv):
(WebCore::GraphicsContext3DInternal::uniform4iv):
(WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
(WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
(WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformTexture):
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texSubImage2D):
* src/WebGraphicsContext3D.cpp: Added.
(WebKit::WebGraphicsContext3D::createDefault):
* src/WebGraphicsContext3DDefaultImpl.cpp: Added.
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
(WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
(WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
(WebKit::WebGraphicsContext3DDefaultImpl::initialize):
(WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
(WebKit::WebGraphicsContext3DDefaultImpl::width):
(WebKit::WebGraphicsContext3DDefaultImpl::height):
(WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
(WebKit::createTextureObject):
(WebKit::WebGraphicsContext3DDefaultImpl::reshape):
(WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
(WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
(WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
(WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
(WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
(WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
(WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
(WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
(WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
(WebKit::WebGraphicsContext3DDefaultImpl::getError):
(WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
(WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
(WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
(WebKit::WebGraphicsContext3DDefaultImpl::getString):
(WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
(WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
(WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
(WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
(WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
(WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
(WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
(WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
* src/WebGraphicsContext3DDefaultImpl.h: Added.
(WebKit::WebGraphicsContext3DDefaultImpl::):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
(WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
2010-03-19 Dimitri Glazkov <dglazkov@chromium.org>
Unreviewed, build fix.
Rename enqueueStorageEvent to enqueueEvent to match changes in
http://trac.webkit.org/changeset/56249.
* src/StorageAreaProxy.cpp:
(WebCore::StorageAreaProxy::storageEvent): Renamed.
2010-03-19 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] querying the current history item during a back/forward
navigation should not clobber the scroll offset, etc.
https://bugs.webkit.org/show_bug.cgi?id=36347
We should only allow the current history item to be modified if we are
no longer loading or if the load is a new navigation (i.e., not a
back/forward/reload variant).
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::currentHistoryItem):
2010-03-18 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Adam Barth.
Adding support for the ACCELERATED_COMPOSITING render path to Chromium.
https://bugs.webkit.org/show_bug.cgi?id=35557
Currently compositing of layers is performed via s/w compositor which relies on Skia. This is an initial check-in
and it's only been tested on Windows. Compiling the code requires seting "use_accelerated_compositing=1"
to GYP_DEFINES. The update of layer contents and compositing is fairly inefficient but this will be fixed in
subsequent check-ins.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::attachRootGraphicsLayer):
(WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
* src/ChromeClientImpl.h:
(WebKit::ChromeClientImpl::setNeedsOneShotDrawingSynchronization):
Added methods required by the RenderLayerCompositor
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::paintWithContext):
(WebKit::WebFrameImpl::paint):
* src/WebFrameImpl.h:
Split WebFrameImpl::paint() into two methods to make it possible to call the paint
routine with an existing GraphicsContext, which is necessary for painting the root layer into
its own backing surface.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::paint):
Modified method to handle the accelerated compositing path. Now, when doing accelerated compositing,
paint() results in repainting the contents of the root layer and then doing a composite operation.
(WebKit::WebViewImpl::setRootGraphicsLayer):
(WebKit::WebViewImpl::setAcceleratedCompositing):
(WebKit::WebViewImpl::updateRootLayerContents):
(WebKit::WebViewImpl::setRootLayerNeedsDisplay):
* src/WebViewImpl.h:
(WebKit::WebViewImpl::isAcceleratedCompositing):
2010-03-18 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
Chromium interface change to support Blob.slice.
https://bugs.webkit.org/show_bug.cgi?id=35318
* features.gypi:
* public/WebHTTPBody.h:
* public/WebKitClient.h:
(WebKit::WebKitClient::getFileModificationTime):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::getFileModificationTime):
* src/WebHTTPBody.cpp:
(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendFile):
(WebKit::WebHTTPBody::appendFileRange):
2010-03-12 Ojan Vafai <ojan@chromium.org>
Reviewed by David Levin.
smartdelete should only occur after double-click
https://bugs.webkit.org/show_bug.cgi?id=35314
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::selectWordAroundPosition):
2010-03-18 Nate Chapin <japhet@chromium.org>
Unreviewed, build fix.
Left a parentheses unclosed somehow.
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
2010-03-18 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Remove all references to V8Index.h and V8ClassIndex.
https://bugs.webkit.org/show_bug.cgi?id=33477
* src/WebBindings.cpp:
(WebKit::getRangeImpl):
* src/WebDevToolsAgentImpl.cpp:
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
2010-03-17 Garret Kelly <gdk@chromium.org>
Reviewed by Darin Fisher.
PlatformTouchEventBuilder should not be resizing the touch point
array before appending touch points to it.
https://bugs.webkit.org/show_bug.cgi?id=36231
* src/WebInputEventConversion.cpp:
(WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
2010-03-17 Dmitry Titov <dimich@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Roll Chromium builder's DEPS to current revs.
https://bugs.webkit.org/show_bug.cgi?id=36241
* DEPS:
2010-03-17 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093
https://bugs.webkit.org/show_bug.cgi?id=36233
The patch for bug 33416, which added multisampling support to the
WebGL back buffer, uncovered some OpenGL driver bugs on the build
bots which need further investigation to determine the appropriate
workaround. Reverting this change, the minor build fix in 36189,
and the skipping of the affected tests in bug 36200.
Built and tested WebKit and Chromium and ran all WebGL layout
tests in both.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::reshape):
(WebCore::GraphicsContext3DInternal::beginPaint):
(WebCore::GraphicsContext3DInternal::bindFramebuffer):
(WebCore::GraphicsContext3D::readPixels):
2010-03-16 James Hawkins <jhawkins@chromium.org>
Reviewed by David Levin.
[Chromium] Size the WebVector of forms after determining how many
forms are valid and will be returned.
https://bugs.webkit.org/show_bug.cgi?id=36204
No new tests, as this is only triggered by Chromium's use of the
WebFormElement API.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::forms):
2010-03-16 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Build breakage from 33416
https://bugs.webkit.org/show_bug.cgi?id=36189
No new tests. Built release Chromium.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::reshape):
2010-03-16 Zhenyao Mo <zmo@google.com>
Reviewed by Darin Fisher.
Hook up WebGLContextAttributes to OpenGL context creation code
https://bugs.webkit.org/show_bug.cgi?id=33416
Test: fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html
* src/GraphicsContext3D.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Windows.
2010-03-16 Yury Semikhatsky <yurys@chromium.org>
Unreviewed.
Fix Chromium Mac build: remove unused code.
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
2010-03-16 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
https://bugs.webkit.org/show_bug.cgi?id=35036
* src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::openInspectorFrontend):
* src/InspectorClientImpl.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::attach):
(WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
(WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
(WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
* src/WebDevToolsAgentImpl.h:
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::jsBringToFront):
(WebKit::WebDevToolsFrontendImpl::jsInspectedURLChanged):
* src/WebDevToolsFrontendImpl.h:
* src/js/InjectDispatch.js:
(close):
2010-03-16 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: chromium tests fix.
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-03-16 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: migrate to native styles inspector in order to inspect styles from foreighn domains.
https://bugs.webkit.org/show_bug.cgi?id=36117
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-03-15 John Gregg <johnnyg@google.com>
Reviewed by David Levin.
Notification object should expose absolute URL of icon
https://bugs.webkit.org/show_bug.cgi?id=35800
* public/WebNotification.h:
* src/WebNotification.cpp:
(WebKit::WebNotification::iconURL):
2010-03-15 Darin Fisher <darin@chromium.org>
Reviewed by Adam Barth.
https://bugs.webkit.org/show_bug.cgi?id=36152
[chromium] Add support for history.pushState and history.replaceState
* public/WebFrameClient.h:
(WebKit::WebFrameClient::didNavigateWithinPage): Move implementation of
didChangeLocationWithinPage to here. Only add to the redirect chain if
we are performing a simple hash change (i.e., no state object on the
history item). Call the old didChangeLocationWithinPage for backwards
compat with Chromium. This will be removed in a subsequent patch.
(WebKit::WebFrameClient::didChangeLocationWithinPage):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
(WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
Call the new version of didChangeLocationWithinPage without the
parameter to indicate whether this is a new navigation or not. We only
need this method on WebFrameClient to support TestShell / DRT.
(WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
Call dispatchDidNavigateWithinPage since pushState is just a type of
in-page navigation. This is an in-page navigation that adds another
entry to session history.
(WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
Call dispatchDidNavigateWithinPage since replaceState is just a type of
in-page navigation. This is an in-page navigation that replaces the
current session history entry.
(WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): Do
nothing since dispatchDidNavigateWithinPage is called in this case by
the FrameLoader.
(WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
(WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): Move the code
for handling the dummy chrome-back-forward://go/ URLs from
dispatchDecidePolicyForNavigationAction to shouldGoToHistoryItem, which
prevents the URLs from leaking into session history.
shouldGoToHistoryItem is called before any work is done by history
traversal, so this is a better place for this hack. Ultimately, this
code should be eliminatd in favor of better integration with
FrameLoader or HistoryController.
* src/FrameLoaderClientImpl.h:
2010-03-15 Darin Fisher <darin@chromium.org>
Fix build bustage. We also need to pull down "third_party/tcmalloc"
* DEPS:
2010-03-15 Darin Fisher <darin@chromium.org>
Fix build bustage. We also need to pull down "gfx"
* DEPS:
2010-03-15 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
https://bugs.webkit.org/show_bug.cgi?id=36131
Update include paths for chromium Rect, Point, and Size types.
Update DEPS to pull latest chromium code that reflects the
new location of these headers.
* DEPS:
* public/WebPoint.h:
* public/WebRect.h:
* public/WebSize.h:
2010-03-15 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
Send the frame URL on GeolocationServiceBridgeImpl::startUpdating.
https://bugs.webkit.org/show_bug.cgi?id=36012
* public/GeolocationServiceBridgeChromium.h:
* src/GeolocationServiceBridgeChromium.cpp:
(WebKit::GeolocationServiceBridgeImpl::startUpdating):
2010-03-15 Patrik Persson <patrik.j.persson@ericsson.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=32369
Revise iframe sandbox behavior to match the updated HTML5 spec.
- Enables window.sessionStorage in sandboxed iframes.
- Raises SECURITY_ERR exceptions when window.localStorage or
window.openDatabase() is blocked by iframe sandboxing.
Note: window.sessionStorage does not raise exceptions.
WebKit would previously return null references in these cases. The
new behavior is in accordance with HTML5:
http://dev.w3.org/html5/webstorage/ (sections 4.2 and 4.3)
http://dev.w3.org/html5/webdatabase/ (section 4.1)
http://www.mail-archive.com/whatwg@lists.whatwg.org/msg19786.html
* src/StorageAreaProxy.cpp:
(WebCore::StorageAreaProxy::storageEvent): exception handling
* src/StorageEventDispatcherImpl.cpp:
(WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): exception handling
2010-03-15 Tony Chang <tony@chromium.org>
Reviewed by Darin Adler.
option-pageup/down should move cursor on chromium mac
https://bugs.webkit.org/show_bug.cgi?id=36108
* src/EditorClientImpl.cpp:
(WebKit::):
2010-03-13 Eric Roman <eroman@chromium.org>
Reviewed by Adam Barth.
Add a firstPartyForCookies() property to WebDocument.
https://bugs.webkit.org/show_bug.cgi?id=35592
* public/WebDocument.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::firstPartyForCookies):
2010-03-12 Garret Kelly <gdk@chromium.org>
Unreiviewed.
Fix Chromium Mac build. Last patch did not apply properly.
(Garret assures me this patch will actually work.)
* src/WebInputEventConversion.cpp:
(WebKit::toPlatformTouchEventType):
(WebKit::toPlatformTouchPointState):
2010-03-12 Garret Kelly <gdk@chromium.org>
Unreviewed.
Fix Chromium Mac build. This time, with actual fixing goodness.
* src/WebInputEventConversion.cpp:
(WebKit::toPlatformTouchEventType):
(WebKit::toPlatformTouchPointState):
2010-03-12 Garret Kelly <gdk@chromium.org>
Unreviewed.
Fix Chromium Mac build.
* src/WebInputEventConversion.cpp:
(WebKit::toPlatformTouchEventType):
(WebKit::toPlatformTouchPointState):
2010-03-12 Garret Kelly <gdk@chromium.org>
Reviewed by Eric Seidel.
Enable touch events in Chromium features gypi file.
https://bugs.webkit.org/show_bug.cgi?id=35994
* features.gypi:
2010-03-12 Darin Fisher <darin@chromium.org>
Fix Chromium build bustage.
Wrap usage of WebPrivatePtr from WebNode.h in a #if
WEBKIT_IMPLEMENTATION guard.
* public/WebNode.h:
2010-03-12 Nicolas Weber <thakis@chromium.org>
Reviewed by David Levin.
[Chromium] Cmd-clicking submit buttons should submit in new tab
https://bugs.webkit.org/show_bug.cgi?id=36023
Take modifiers into account when clicking form buttons. E.g.
cmd-clicking a submit button will submit in a new background tab,
cmd-shift-clicking in a new foreground tab, shift-clicking in a new
window. (On windows/linux, it's ctrl instead of cmd.)
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
2010-03-12 Kavita Kanetkar <kkanetkar@chromium.org>
Reviewed by Darin Fisher.
[chromium] Fix memory leak in WebImageDecoder API
https://bugs.webkit.org/show_bug.cgi?id=35946
* src/WebImageDecoder.cpp:
(WebKit::WebImageDecoder::setData):
(WebKit::WebImageDecoder::getFrameAtIndex):
2010-03-11 Aaron Boodman <aa@chromium.org>
Kill WebDocument::applicationID() (part 1).
Modify interface to WebCore::NotificationPresenter::checkPermission()
and remove implementation of WebDocument::applicationID(). Breaking
API changes will be in a subsequent change.
https://bugs.webkit.org/show_bug.cgi?id=35846
* public/WebNotificationPresenter.h:
* src/NotificationPresenterImpl.cpp:
(WebKit::NotificationPresenterImpl::checkPermission):
* src/NotificationPresenterImpl.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::applicationID):
2010-03-11 Stuart Morgan <stuartmorgan@chromium.org>
Reviewed by Darin Fisher.
Fix the screen coordinate conversion of Chromium Mac mouse events for
multiple-moniter setups. Also changes the global coordinate values
to be computed from the event, rather than the instantaneous mouse
location, and reduces code duplication for location conversion.
Dual-sided patch with http://codereview.chromium.org/751002
https://bugs.webkit.org/show_bug.cgi?id=35950
* src/mac/WebInputEventFactory.mm:
(WebKit::setWebEventLocationFromEventInView):
(WebKit::WebInputEventFactory::mouseEvent):
(WebKit::WebInputEventFactory::mouseWheelEvent):
2010-03-11 Anders Carlsson <andersca@apple.com>
Reviewed by David Hyatt.
Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
* src/ChromeClientImpl.cpp:
* src/ChromeClientImpl.h:
2010-03-10 Darin Fisher <darin@chromium.org>
Reviewed by Jeremy Orlow.
Use WebPrivatePtr for WebNode
https://bugs.webkit.org/show_bug.cgi?id=36005
* public/WebElement.h:
* public/WebFormElement.h:
* public/WebInputElement.h:
* public/WebLabelElement.h:
* public/WebNode.h:
(WebKit::WebNode::WebNode):
(WebKit::WebNode::isNull):
(WebKit::WebNode::unwrap):
(WebKit::WebNode::constUnwrap):
* public/WebPrivatePtr.h:
(WebKit::WebPrivatePtr::assign):
* src/WebDocument.cpp:
(WebKit::WebDocument::WebDocument):
(WebKit::WebDocument::operator=):
(WebKit::WebDocument::operator PassRefPtr<Document>):
* src/WebElement.cpp:
(WebKit::WebElement::hasTagName):
(WebKit::WebElement::WebElement):
(WebKit::WebElement::operator=):
(WebKit::WebElement::operator PassRefPtr<Element>):
* src/WebFormElement.cpp:
(WebKit::WebFormElement::WebFormElement):
(WebKit::WebFormElement::operator=):
(WebKit::WebFormElement::operator PassRefPtr<HTMLFormElement>):
* src/WebInputElement.cpp:
(WebKit::WebInputElement::WebInputElement):
(WebKit::WebInputElement::operator=):
(WebKit::WebInputElement::operator PassRefPtr<HTMLInputElement>):
* src/WebLabelElement.cpp:
(WebKit::WebLabelElement::correspondingControl):
(WebKit::WebLabelElement::operator=):
(WebKit::WebLabelElement::operator PassRefPtr<HTMLLabelElement>):
* src/WebNode.cpp:
(WebKit::WebNode::reset):
(WebKit::WebNode::assign):
(WebKit::WebNode::equals):
(WebKit::WebNode::parentNode):
(WebKit::WebNode::createMarkup):
(WebKit::WebNode::addEventListener):
(WebKit::WebNode::removeEventListener):
(WebKit::WebNode::simulateClick):
(WebKit::WebNode::WebNode):
(WebKit::WebNode::operator=):
(WebKit::WebNode::operator PassRefPtr<Node>):
2010-03-10 Darin Fisher <darin@chromium.org>
Reviewed by Jeremy Orlow.
Add API wrapper for WebCore::SerializedScriptValue
https://bugs.webkit.org/show_bug.cgi?id=35988
WebSerializedScriptValue is a wrapper around SerializedScriptValue.
WebPrivatePtr is used to simplify wrapping reference counted WebCore
types. This class is used to cleanup WebHistoryItem, and will be used
to clean up other classes in the WebKit API in a follow-up patch.
* WebKit.gyp:
* public/WebHistoryItem.h:
* public/WebPrivatePtr.h: Added.
* public/WebSerializedScriptValue.h: Added.
* src/WebHistoryItem.cpp:
* src/WebSerializedScriptValue.cpp: Added.
2010-03-10 Sanjeev Radhakrishnan <sanjeevr@chromium.org>
Reviewed by Darin Fisher.
Allow a plugin to participate in the browser's print workflow.
https://bugs.webkit.org/show_bug.cgi?id=35550
* public/WebFrame.h:
* public/WebPlugin.h:
* src/WebFrameImpl.cpp:
* src/WebFrameImpl.h:
* src/WebPluginContainerImpl.cpp:
* src/WebPluginContainerImpl.h:
2010-03-10 John Abd-El-Malek <jam@chromium.org>
Reviewed by Nate Chapin.
[chromium]: Fix regression in mouse capture on Mac/Linux
https://bugs.webkit.org/show_bug.cgi?id=35987
* src/WebViewImpl.cpp:
2010-03-10 Evan Stade <estade@chromium.org>
Reviewed by David Levin.
[chromium] add functionality to activate the focused node in a WebView
https://bugs.webkit.org/show_bug.cgi?id=35407
* public/WebDocument.h:
* public/WebNode.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::focusedNode): Added
* src/WebNode.cpp:
(WebKit::WebNode::simulateClick): Added
2010-03-10 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
https://bugs.webkit.org/show_bug.cgi?id=35952
Propagate mouse wheel events to Pepper plugins.
* src/WebInputEventConversion.cpp:
(WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
* src/WebInputEventConversion.h:
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleEvent):
(WebKit::WebPluginContainerImpl::handleMouseEvent):
(WebKit::WebPluginContainerImpl::handleWheelEvent):
(WebKit::WebPluginContainerImpl::handleKeyboardEvent):
* src/WebPluginContainerImpl.h:
2010-03-10 Garret Kelly <gdk@chromium.org>
Reviewed by Darin Fisher.
Add support for converting WebTouchEvents to PlatformTouchEvents and
routing them into the EventHandler for the frame in which they
originate.
https://bugs.webkit.org/show_bug.cgi?id=35874
* src/ChromeClientImpl.h:
(WebKit::ChromeClientImpl::needTouchEvents):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::touchEvent): Handle incoming WebTouchEvents,
converting them to PlatformTouchEvents and sending them to the
EventHandler.
(WebKit::WebViewImpl::handleInputEvent): Now routes WebTouchEvents to
the touchEvent handler.
* src/WebViewImpl.h:
2010-03-10 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Wrap and unwrap v8 objects with WrapperTypeInfo instead of V8ClassIndex::V8WrapperType.
https://bugs.webkit.org/show_bug.cgi?id=35941
* src/WebBindings.cpp:
(WebKit::getRangeImpl):
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
2010-03-10 Garret Kelly <gdk@chromium.org>
Reviewed by Darin Fisher.
Fixing build warning caused by using 0 instead of NULL as the sentiel
in a varargs call.
https://bugs.webkit.org/show_bug.cgi?id=35898
* src/gtk/WebInputEventFactory.cpp:
2010-03-10 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
Add IndexedDatabase class and hook it up.
https://bugs.webkit.org/show_bug.cgi?id=35927
This change is mostly just adding the plumbing necessary for
the IndexedDatabaseRequest and IndexedDatabaseSync (not written
yet).
* WebKit.gyp:
* public/WebIndexedDatabase.h: Added.
(WebKit::WebIndexedDatabase::~WebIndexedDatabase):
* public/WebKitClient.h:
(WebKit::WebKitClient::getIndexedDatabase):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::getIndexedDatabase):
* src/IndexedDatabaseProxy.cpp: Added.
(WebCore::IndexedDatabaseProxy::create):
(WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
(WebCore::IndexedDatabaseProxy::~IndexedDatabaseProxy):
(WebCore::IndexedDatabaseProxy::open):
* src/IndexedDatabaseProxy.h: Added.
2010-03-10 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: display list of active workers & support debugging
with fake workers
https://bugs.webkit.org/show_bug.cgi?id=35568
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
2010-03-10 Tony Chang <tony@chromium.org>
Reviewed by Darin Fisher.
https://bugs.webkit.org/show_bug.cgi?id=35956
Create a grd file upstream for resources that chromium uses
that are pulled directly from the upstream repository.
* WebKit.grd: Added.
2010-03-10 Roland Steiner <rolandsteiner@chromium.org>
Reviewed by David Levin.
Bug 28293 - [Chromium] event.datatransfer.getdata("text/uri-list") is treated the same as getdata("URL")
https://bugs.webkit.org/show_bug.cgi?id=28293
Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
correctly for event.dataTransfer.getData/setData. Currently both are treated
as synonyms, but for "URL", getData is supposed to only return the first valid URL
contained within the data for "text/uri-list" (see HTML5 spec).
Tests: editing/pasteboard/dataTransfer-setData-getData.html
* src/WebDragData.cpp:
(WebKit::WebDragData::url):
(WebKit::WebDragData::setURL):
2010-03-08 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
Need to send mouse events to plugin when it has mouse capture
https://bugs.webkit.org/show_bug.cgi?id=35900
* public/WebInputEvent.h:
(WebKit::WebInputEvent::isMouseEventType):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::mouseUp):
(WebKit::WebViewImpl::handleInputEvent):
* src/WebViewImpl.h:
2010-03-09 Anton Muhin <antonm@chromium.org>
Reviewed by Darin Fisher.
Accept and bailout NULL widgets in ChromiumBridge
https://bugs.webkit.org/show_bug.cgi?id=35796
* src/ChromiumBridge.cpp:
(WebCore::toChromeClientImpl):
2010-03-09 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Use clean global object for devtools utility context instead of
trying to simulate inspected context.
https://bugs.webkit.org/show_bug.cgi?id=35923
* src/DebuggerAgentImpl.cpp:
* src/DebuggerAgentImpl.h:
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
2010-03-08 Alexey Proskuryakov <ap@apple.com>
Chromium build fix.
Updated for the removal of "mightDownloadFromHandle".
* src/ResourceHandle.cpp:
(WebCore::ResourceHandle::ResourceHandle):
(WebCore::ResourceHandle::create):
2010-03-08 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Reset multiple form submission protection on mouse events.
https://bugs.webkit.org/show_bug.cgi?id=35128
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::mouseDown):
2010-03-08 Michael Nordman <michaeln@google.com>
Reviewed by Darin Fisher.
Quick fix for a chromium unit test failures around r55675 (repaint refactoring).
This change restores the tests for empty rects that were deleted.
https://bugs.webkit.org/show_bug.cgi?id=35878
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::invalidateContentsAndWindow):
* src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenuImpl::invalidateContentsAndWindow):
2010-03-02 Adam Treat <atreat@rim.com>
Reviewed by Dave Hyatt.
Adapt the chromium port to the refactoring of repaint methods.
https://bugs.webkit.org/show_bug.cgi?id=34214
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::invalidateContents):
(WebKit::ChromeClientImpl::invalidateWindow):
(WebKit::ChromeClientImpl::invalidateContentsAndWindow):
(WebKit::ChromeClient::invalidateContentsForSlowScroll):
* src/ChromeClientImpl.h:
2010-03-08 Jian Li <jianli@chromium.org>
Reviewed by Dmitry Titov.
Blob.slice support.
https://bugs.webkit.org/show_bug.cgi?id=32993
Add ENABLE_BLOB_SLICE feature define.
* features.gypi:
2010-03-08 Eric Uhrhane <ericu@chromium.org>
Reviewed by David Levin.
Remove the now-redundant Settings fields for the Database
https://bugs.webkit.org/show_bug.cgi?id=35763
No new tests; this code isn't called.
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
* src/WebSettingsImpl.h:
2010-03-08 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
Pass the WebFrame into WebStorageArea::setItem so we can figure out the routing ID
https://bugs.webkit.org/show_bug.cgi?id=35758
This is necessary since setItem is sometimes blocked and the embedder might need
to display some piece of UI associated with such an event.
* public/WebStorageArea.h:
(WebKit::WebStorageArea::setItem):
* src/StorageAreaProxy.cpp:
(WebCore::StorageAreaProxy::setItem):
* src/WebStorageAreaImpl.cpp:
(WebKit::WebStorageAreaImpl::setItem):
* src/WebStorageAreaImpl.h:
2010-03-07 Mark Rowe <mrowe@apple.com>
Chromium build fix.
* src/ChromiumBridge.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
2010-03-07 Mark Rowe <mrowe@apple.com>
Chromium build fix.
* src/ResourceHandle.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
2010-03-06 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Chromium: Restore devtools window activate upon node search complete.
https://bugs.webkit.org/show_bug.cgi?id=35832
* src/js/DevTools.js:
2010-03-06 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
[Chromium] Embedder initiated loads should not always stop existing loads
https://bugs.webkit.org/show_bug.cgi?id=33862
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::reload):
(WebKit::WebFrameImpl::loadRequest):
(WebKit::WebFrameImpl::loadHistoryItem):
(WebKit::WebFrameImpl::loadData):
2010-03-06 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
[Chromium] spurious WebViewClient::didStopLoading if changing
location.hash while a subframe is still loading
https://bugs.webkit.org/show_bug.cgi?id=33884
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
Call isLoadingInAPISense, which checks subframes.
2010-03-06 Hironori Bono <hbono@chromium.org>
Reviewed by Eric Seidel.
[Chromium] Typing into Flash with wmode = opaque|transparent and
non-latin language active outputs as if US keyboard layout active
https://bugs.webkit.org/show_bug.cgi?id=34936
This change is a WebKit-side change for this issue. It dispatches
Char events to plug-ins so plug-ins can receive non-ASCII characters
as well as ASCII characters.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::keyEvent):
2010-03-06 Kavita Kanetkar <kkanetkar@chromium.org>
Reviewed by Darin Fisher.
Create WebKit API for WebCore::ImageDecoder
https://bugs.webkit.org/show_bug.cgi?id=35415
* WebKit.gyp:
* public/WebImageDecoder.h: Added.
* src/WebImageDecoder.cpp: Added.
2010-03-05 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
Take out code hack that flips the result of NPP_HandleEvent. This needs to move to
the NPAPI code so that Pepper plugins don't hit it.
https://bugs.webkit.org/show_bug.cgi?id=35779
* public/WebPluginContainer.h:
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleMouseEvent):
(WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2010-03-05 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: Do not show link helper in popovers and/or for external resources.
https://bugs.webkit.org/show_bug.cgi?id=35785
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.initUI):
(devtools.DebuggerAgent.prototype.addScriptInfo_):
2010-03-04 Garret Kelly <gdk@chromium.org>
Reviewed by Darin Fisher.
Adding PlatformTouchEventBuilder and PlatformTouchPointBuilder for
converting Chromium WebTouchEvent and WebTouchPoint types to
corresponding WebCore types.
https://bugs.webkit.org/show_bug.cgi?id=35760
* src/WebInputEventConversion.cpp:
(WebKit::toPlatformTouchEventType):
(WebKit::toPlatformTouchPointState):
(WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
(WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
* src/WebInputEventConversion.h:
2010-03-04 John Gregg <johnnyg@google.com>
Reviewed by Darin Fisher.
[chromium] WebDocument:applicationID() crashes on <meta> tag with no http-equiv attribute
https://bugs.webkit.org/show_bug.cgi?id=35771
* src/WebDocument.cpp:
(WebKit::WebDocument::applicationID):
check for presence of http-equiv attribute before lower()ing it.
2010-03-04 Darin Fisher <darin@chromium.org>
Reviewed by Dmitry Titov.
[chromium] make history.{push,replace}State enabled at runtime
https://bugs.webkit.org/show_bug.cgi?id=35753
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enablePushState):
(WebKit::WebRuntimeFeatures::isPushStateEnabled):
2010-03-04 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: chromium tests fix.
* src/js/Tests.js:
2010-03-03 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: Remove two last synchronous calls from front-end to InspectorBackend.
https://bugs.webkit.org/show_bug.cgi?id=35720
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
(devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
2010-03-03 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: Remove sync access to resourceTrackingEnabled.
https://bugs.webkit.org/show_bug.cgi?id=35693
* src/js/DevTools.js:
2010-03-04 Darin Fisher <darin@chromium.org>
Reviewed by Pavel Feldman.
Fix failing DevToolsSanityTest.TestResourceContentLength
https://bugs.webkit.org/show_bug.cgi?id=35725
http://trac.webkit.org/changeset/55466 missed one more spot
where contentLength needed to be renamed resourceSize.
* src/js/Tests.js:
2010-03-03 Garret Kelly <gdk@chromium.org>
Reviewed by Darin Fisher.
Adding touch event type and point type. Tested against the try bots.
https://bugs.webkit.org/show_bug.cgi?id=35691
* public/WebInputEvent.h:
(WebKit::WebInputEvent::):
(WebKit::WebInputEvent::isTouchEventType):
(WebKit::WebTouchEvent::WebTouchEvent):
* public/WebTouchPoint.h: Added.
(WebKit::WebTouchPoint::WebTouchPoint):
(WebKit::WebTouchPoint::):
2010-03-02 Tony Chang <tony@chromium.org>
Reviewed by Darin Fisher.
add a flag to WebURLResponse so we can identify multipart content
https://bugs.webkit.org/show_bug.cgi?id=35628
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::isMultipartPayload):
(WebKit::WebURLResponse::setIsMultipartPayload):
2010-03-02 Adam Barth <abarth@webkit.org>
Reviewed by Darin Fisher.
Google Analytics triggers "blocked plugin" UI
https://bugs.webkit.org/show_bug.cgi?id=35565
Plumb didNotAllowPlugins to the client.
* public/WebFrameClient.h:
(WebKit::WebFrameClient::didNotAllowPlugins):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
* src/FrameLoaderClientImpl.h:
2010-03-02 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin.
aria-label isn't respected on option elements
https://bugs.webkit.org/show_bug.cgi?id=35400
* src/SuggestionsPopupMenuClient.h:
(WebKit::SuggestionsPopupMenuClient::itemAccessibilityText):
2010-03-02 Mads Ager <ager@chromium.org>
Reviewed by Adam Barth.
[V8] V8 should be notified of context disposals
https://bugs.webkit.org/show_bug.cgi?id=35526
Update V8 DEPS in order to get V8 API changes needed for context
disposal notifications.
* DEPS:
2010-03-02 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Add EnabledAtRuntime attribute to WebGLArray constructors
https://bugs.webkit.org/show_bug.cgi?id=35558
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableWebGL):
(WebKit::WebRuntimeFeatures::isWebGLEnabled):
2010-03-02 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Implement WebNode::equals and add inline operators for ==
and !=.
https://bugs.webkit.org/show_bug.cgi?id=35543
* public/WebNode.h:
(WebKit::operator==):
(WebKit::operator!=):
* src/WebNode.cpp:
(WebKit::WebNode::equals):
2010-03-01 Jakob Petsovits <jpetsovits@rim.com>
Reviewed by Adam Barth.
Adapt to the new ZoomMode enum.
https://bugs.webkit.org/show_bug.cgi?id=35347
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setZoomLevel):
2010-03-01 Thatcher Ulrich <tulrich@google.com>
Reviewed by Darin Fisher.
Fix chromium iframe shims. Add another test case to the
iframes-shims test. After r53637, the plugin widget doesn't get
moved every paint. This used to hide the bug that if an iframe
gets added, the plugin's cutout rectangles don't get updated until
a layout happens.
https://bugs.webkit.org/show_bug.cgi?id=35184
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::widgetPositionsUpdated): do reportGeometry() to ensure that
the plugin is aware of the positions of cutouts on the page (for iframe shim behavior).
* src/WebPluginContainerImpl.h:
2010-02-27 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Chromium: remove DevTools part that has been upstreamed.
* src/js/DevTools.js:
2010-02-26 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: reload inspected page on Cmd+R / Ctrl+R / F5 key event in inspector.
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::jsCanAttachWindow):
* src/WebDevToolsFrontendImpl.h:
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl):
(devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
2010-02-26 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Verify that the Nodes being enumerated are HTML elements.
https://bugs.webkit.org/show_bug.cgi?id=35463
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::forms):
2010-02-26 Adam Barth <abarth@webkit.org>
Reviewed by Darin Fisher.
Expose an API for ports to add schemes to the mixed content whitelist
https://bugs.webkit.org/show_bug.cgi?id=35438
Expose registerURLSchemeAsSecure via the WebKit API.
* public/WebSecurityPolicy.h:
* src/WebSecurityPolicy.cpp:
(WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
2010-02-26 Brett Wilson <brettw@chromium.org>
Fix chromium build. This test's expectation became obsolete with
recent changes to KURL which my previous change brings Chromium's
port in compliance with.
* tests/KURLTest.cpp:
(ComponentCase::TEST):
2010-02-26 Yaar Schnitman <yaar@chromium.org>
Chromium build fix.
* features.gypi: Added missing new variable enable_svg.
2010-02-26 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
[V8] Auto-generate and split DerivedSourcesAllInOne.cpp
https://bugs.webkit.org/show_bug.cgi?id=33048
* DEPS: Incremented gyp revision.
2010-02-26 Darin Fisher <darin@chromium.org>
Fix mac warning (that gets treated as an error in the chromium build).
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::cookiesEnabled):
2010-02-25 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
Remove deprecated cookie methods.
https://bugs.webkit.org/show_bug.cgi?id=35420
* public/WebFrameClient.h:
* public/WebKitClient.h:
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::setCookies):
(WebCore::ChromiumBridge::cookies):
(WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
(WebCore::ChromiumBridge::rawCookies):
(WebCore::ChromiumBridge::deleteCookie):
(WebCore::ChromiumBridge::cookiesEnabled):
2010-02-25 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Implement WebLabelElement.
https://bugs.webkit.org/show_bug.cgi?id=35317
* WebKit.gyp:
* public/WebLabelElement.h: Added.
* src/WebLabelElement.cpp: Added.
2010-02-25 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Dimitri Glazkov.
Web Inspector: make script lines count calculation lazy.
https://bugs.webkit.org/show_bug.cgi?id=35392
* src/js/Tests.js:
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
(.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
(.TestSuite.prototype._executeFunctionForStepTest):
2010-02-24 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
Add a missing WebString.h include.
https://bugs.webkit.org/show_bug.cgi?id=35360
This is required since some of the methods have implementations that
return a WebString.
* public/WebCookieJar.h:
2010-02-24 Jay Campan <jcampan@google.com>
Reviewed by David Levin.
Don't show the autofill popup when the input text is disabled or read only.
https://bugs.webkit.org/show_bug.cgi?id=35129
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::autofill):
2010-02-24 Adam Barth <abarth@webkit.org>
Reviewed by Darin Fisher.
[Chromium API] Disambiguate allowJavaScript from didNotAllowScript
https://bugs.webkit.org/show_bug.cgi?id=35205
Plumb didNotAllowScript through Chromium's WebKit API.
* public/WebFrameClient.h:
(WebKit::WebFrameClient::didNotAllowScript):
* src/DebuggerAgentImpl.cpp:
(WebKit::DebuggerAgentImpl::createUtilityContext):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::didNotAllowScript):
* src/FrameLoaderClientImpl.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::bindToWindowObject):
2010-02-23 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Implement WebDocument::getElementsByTagName.
https://bugs.webkit.org/show_bug.cgi?id=35272
* public/WebDocument.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::getElementsByTagName):
2010-02-23 Steve Block <steveblock@google.com>
Reviewed by Jeremy Orlow.
Removes redundant Settings::setGeolocationEnabled and Settings::geolocationEnabled
https://bugs.webkit.org/show_bug.cgi?id=35242
This removes Chromium's WebSettings::setGeolocationEnabled
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
* src/WebSettingsImpl.h:
2010-02-23 Dmitriy Belenko <dbelenko@google.com>
Reviewed by Darin Fisher.
Chromium: Need to be able to get the bounds of selection
rectangle(s)
https://bugs.webkit.org/show_bug.cgi?id=34915
This change will enable about 30 test cases to pass in Chromium.
All of these test cases are related to selection rect boundaries.
This change will enable the test cases to retrieve the selection
rect boundary rectangle for the current selection.
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::selectionBoundsRect):
* src/WebFrameImpl.h:
2010-02-23 Steve Block <steveblock@google.com>
Reviewed by Darin Adler.
Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
https://bugs.webkit.org/show_bug.cgi?id=34962
This method is required so that a Geolocation object can cancel an
asynchronous permission request. This allows the chrome client to cancel
any UI it is showing for the permission request.
* src/ChromeClientImpl.h:
(WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
2009-02-22 Adam Langley <agl@google.com>
Reviewed by Darin Fisher.
fontconfig on Linux can change the render preferences on a per strike
basis (a strike a combination of face and size). Because of this, we
need to query fontconfig each time a new FontPlatformData is created
for a new size.
This patch adds support for querying this via ChromiumBridge.
https://bugs.webkit.org/show_bug.cgi?id=33065
* WebKit.gyp:
* public/gtk/WebFontInfo.h:
* public/linux/WebSandboxSupport.h:
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::getRenderStyleForStrike):
* src/gtk/WebFontInfo.cpp:
(WebKit::WebFontInfo::renderStyleForStrike):
2010-02-22 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: there should be a way to "deactivate" or "skip" all breakpoints while debugging.
https://bugs.webkit.org/show_bug.cgi?id=33217
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent):
(devtools.DebuggerAgent.prototype.setBreakpointsActivated):
(devtools.DebuggerAgent.prototype.handleBreakEvent_):
(devtools.DebuggerAgent.prototype.handleExceptionEvent_):
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl.prototype.activateBreakpoints):
(devtools.InspectorBackendImpl.prototype.deactivateBreakpoints):
2010-02-21 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Chromium DevTools: kepp debugger API in sync with inspector.
https://bugs.webkit.org/show_bug.cgi?id=28799
* src/js/DebuggerAgent.js:
* src/js/InspectorControllerImpl.js:
(devtools.InspectorBackendImpl.prototype.setBreakpoint):
2010-02-19 Maciej Stachowiak <mjs@apple.com>
Reviewed by David Levin.
Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
https://bugs.webkit.org/show_bug.cgi?id=35147
* features.gypi:
2010-02-19 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Call WebViewClient::didAcceptAutoFillSuggestion when the
user selects a suggestion from the AutoFill suggestions popup.
https://bugs.webkit.org/show_bug.cgi?id=35174
* public/WebViewClient.h:
(WebKit::WebViewClient::didAcceptAutoFillSuggestion):
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::valueChanged):
* src/AutoFillPopupMenuClient.h:
2010-02-19 James Hawkins <jhawkins@chromium.org>
Reviewed by Eric Seidel.
[Chromium] Use the m_suggestionsPopupClient pointer to refer to the
popup client, as the Autocomplete popup might not be the current
popup.
https://bugs.webkit.org/show_bug.cgi?id=35172
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::autocompleteHandleKeyEvent):
(WebKit::WebViewImpl::refreshSuggestionsPopup):
2010-02-19 James Hawkins <jhawkins@chromium.org>
Reviewed by Eric Seidel.
[Chromium] Rename EditorClientImpl::onAutofillSuggestionAccepted to
onAutocompleteSuggestionAccepted to better match the purpose of the
function.
https://bugs.webkit.org/show_bug.cgi?id=35171
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
* src/EditorClientImpl.h:
* src/SuggestionsPopupMenuClient.cpp:
(WebKit::SuggestionsPopupMenuClient::valueChanged):
2010-02-18 Peter Kasting <pkasting@google.com>
Reviewed by Darin Fisher.
Add an isImageBlocked bool to the WebContextMenuData struct.
https://bugs.webkit.org/show_bug.cgi?id=35136
This lets us properly enable/disable the "Copy Image" context menu entry
(and, in the future, maybe add a "Load Image" function).
* public/WebContextMenuData.h:
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2010-02-19 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
Fixes GeolocationServiceBridgeImpl::stopUpdating (it can be called multiple times).
* src/GeolocationServiceBridgeChromium.cpp:
(WebKit::GeolocationServiceBridgeImpl::stopUpdating):
2010-02-19 Pavel Feldman <pfeldman@chromium.org>
Not reviewed. Chromium build fix: reverting r54997 and r54998.
* DEPS:
2010-02-19 Pavel Feldman <pfeldman@chromium.org>
Not reviewed. Chromium tests fix: update devtools code to match new
web inspector object proxy format.
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.formatCallFrame_):
(devtools.DebuggerAgent.formatObjectProxy_):
2010-02-12 Kent Tamura <tkent@chromium.org>
Unreviewed. Fix Chromium build.
* DEPS: Bump Google URL revision to 123.
2010-02-18 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Don't truncate long lines when evaluating expressions on a breakpoint.
https://bugs.webkit.org/show_bug.cgi?id=35102
* src/js/DebuggerAgent.js:
2010-02-18 Jay Campan <jcampan@google.com>
Reviewed by Adam Barth.
Exposing the title in WebDocument.
https://bugs.webkit.org/show_bug.cgi?id=35058
* public/WebDocument.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::title):
2010-02-17 Dmitry Titov <dimich@chromium.org>
Reviewed by David Levin, Darin Fisher, Simon Hausmann.
When a live iframe element is moved between pages, it still depends on the old page.
https://bugs.webkit.org/show_bug.cgi?id=34382
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
(WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
Since Chromium's WebFrameClient is destroyed once a window is closed,
if Frame moves between Pages, the client of corresponding WebFrame
should be replaced as well.
* src/FrameLoaderClientImpl.h:
* src/WebFrameImpl.h:
(WebKit::WebFrameImpl::setClient):
2010-02-17 Evan Martin <evan@chromium.org>
Reviewed by Eric Seidel.
[chromium] expose cache-bypass flag in reload() API
https://bugs.webkit.org/show_bug.cgi?id=34969
This flag is used to force a reload to ignore caches.
(Aka "shift-reload".)
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::reload):
* src/WebFrameImpl.h:
2010-02-17 Kent Tamura <tkent@chromium.org>
Reviewed by Eric Seidel.
Introduces new Icon loading interface in order to support
asynchronous loading.
https://bugs.webkit.org/show_bug.cgi?id=32054
Add an empty implementation of ChromeClient::iconForFiles().
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::iconForFiles):
* src/ChromeClientImpl.h:
2010-02-17 Kenneth Russell <kbr@google.com>
Reviewed by Oliver Hunt.
Refactor texImage2D and texSubImage2D taking Image to use common code
https://bugs.webkit.org/show_bug.cgi?id=34458
Merged the Safari and Chromium code which extracts the data from
Image objects into common entry points on GraphicsContext3D. This
immediately fixes the following three problems:
- Chromium not implementing texSubImage2D taking Image.
- Safari not obeying the flipY parameter to texImage2D or
texSubImage2D taking Image.
- Safari not obeying the premultipyAlpha parameter to texImage2D
or texSubImage2D taking Image.
Added new test verifying the behavior of texImage2D and
texSubImage2D and the flipY parameter. The premultiplyAlpha
parameter can not be tested yet as the implementation is not yet
spec compliant. This will be fixed in a follow-on bug.
Ran all WebGL demos in demo repository on Safari and Chromium;
textures are now the right way up in both browsers, and
transparent textures in Particles demo now look correct in Safari.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texSubImage2D):
2010-02-17 Alok Priyadarshi <alokp@chromium.org>
Reviewed by Ariya Hidayat.
Bug 34900: Implement accelerated compositing for chromium.
https://bugs.webkit.org/show_bug.cgi?id=34900
* features.gypi: Added WTF_USE_ACCELERATED_COMPOSITING flag.
2010-02-17 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Remove the obsolete chromium interface for handling DownloadURL.
https://bugs.webkit.org/show_bug.cgi?id=34982
* public/WebDragData.h:
* src/WebDragData.cpp:
2010-02-16 James Hawkins <jhawkins@chromium.org>
Reviewed by Eric Seidel.
[Chromium] Remove calls to releaseRef when passing PassRefPtrs to base
classes. releaseRef releases the original pointer without decreasing
the reference count, and the base class constructor increases the
reference count, leading to a leak.
https://bugs.webkit.org/show_bug.cgi?id=35000
* src/WebDocument.cpp:
(WebKit::WebDocument::WebDocument):
* src/WebElement.cpp:
(WebKit::WebElement::WebElement):
* src/WebFormElement.cpp:
(WebKit::WebFormElement::WebFormElement):
* src/WebInputElement.cpp:
(WebKit::WebInputElement::WebInputElement):
2010-02-15 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Fix StorageNamespaceProxy::copy() for test shell
https://bugs.webkit.org/show_bug.cgi?id=34949
Chromium passes back NULL when you call WebStorageNamespace::proxy()
but TestShell returns a valid object. Both need to work via
the WebStorageNamespace.
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespaceProxy::copy):
2010-02-14 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add support for the showDebugBorders setting to Chromium.
https://bugs.webkit.org/show_bug.cgi?id=34906
* public/WebSettings.h: Add declaration for setShowDebugBorders
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
* src/WebSettingsImpl.h: Added declaration for setShowDebugBorders
2010-02-11 Darin Fisher <darin@chromium.org>
Reviewed by Jeremy Orlow.
Introduce WebCookieJar, and provide for a frame specific cookie jar.
https://bugs.webkit.org/show_bug.cgi?id=34878
* WebKit.gyp:
* public/WebCookieJar.h: Added.
* public/WebFrameClient.h:
(WebKit::WebFrameClient::cookieJar):
* public/WebKitClient.h:
(WebKit::WebKitClient::cookieJar):
(WebKit::WebKitClient::setCookies):
(WebKit::WebKitClient::cookies):
(WebKit::WebKitClient::rawCookies):
(WebKit::WebKitClient::deleteCookie):
(WebKit::WebKitClient::cookiesEnabled):
* src/ChromiumBridge.cpp:
(WebCore::getCookieJar):
(WebCore::ChromiumBridge::setCookies):
(WebCore::ChromiumBridge::cookies):
(WebCore::ChromiumBridge::rawCookies):
(WebCore::ChromiumBridge::deleteCookie):
(WebCore::ChromiumBridge::cookiesEnabled):
2010-02-12 Pavel Feldman <pfeldman@chromium.org>
Reviewed by David Levin.
Chromium: provide theme overrides for Chromium devtools on Mac.
https://bugs.webkit.org/show_bug.cgi?id=34856
* src/js/devTools.css:
2010-02-12 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add a blockedByPolicy output to WebStorageArea::setItem.
https://bugs.webkit.org/show_bug.cgi?id=34897
* public/WebStorageArea.h:
(WebKit::WebStorageArea::setItem):
* src/WebStorageAreaImpl.cpp:
(WebKit::WebStorageAreaImpl::setItem):
* src/WebStorageAreaImpl.h:
2010-02-11 Jeremy Orlow <jorlow@chromium.org>
Reviewed by David Levin.
[Chromium] Add ENABLE_RUBY to the feature defines gypi
https://bugs.webkit.org/show_bug.cgi?id=34841
* features.gypi:
2010-02-12 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Chromium: Web Inspector on an element in a page where JS is blocked crashes the renderer
https://bugs.webkit.org/show_bug.cgi?id=34890
* src/DebuggerAgentImpl.cpp:
(WebKit::DebuggerAgentImpl::createUtilityContext):
2010-02-11 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
[Chromium] Ignore subsequent requests of the same profiler log
chunks. This eliminates emission of several instances for the same
heap snapshot.
https://bugs.webkit.org/show_bug.cgi?id=34833
* src/js/ProfilerAgent.js:
(devtools.ProfilerAgent):
(devtools.ProfilerAgent.prototype.initializeProfiling):
(devtools.ProfilerAgent.prototype._getNextLogLines):
(devtools.ProfilerAgent.prototype.startProfiling):
(devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
(devtools.ProfilerAgent.prototype._didGetLogLines):
2010-02-10 James Hawkins <jhawkins@chromium.org>
Reviewed by Eric Seidel.
[Chromium] Remove code from SuggestionsPopup that was removed in a
previous revision of AutocompletePopup and accidentally added back in
the refactoring.
https://bugs.webkit.org/show_bug.cgi?id=34818
* src/AutoFillPopupMenuClient.cpp:
* src/AutoFillPopupMenuClient.h: Added property svn:eol-style.
* src/SuggestionsPopupMenuClient.cpp:
(WebKit::SuggestionsPopupMenuClient::popupDidHide):
(WebKit::SuggestionsPopupMenuClient::setTextFromItem):
(WebKit::SuggestionsPopupMenuClient::initialize):
* src/SuggestionsPopupMenuClient.h:
2010-02-10 Nate Chapin <japhet@chromium.org>
Reviewed by Adam Barth.
Update call to V8DOMWrapper::lookupDOMWrapper() to match new parameters.
https://bugs.webkit.org/show_bug.cgi?id=34768
* src/DebuggerAgentImpl.cpp:
(WebKit::DebuggerAgentImpl::createUtilityContext):
2010-02-10 Kenneth Russell <kbr@google.com>
Reviewed by Oliver Hunt.
Remove automatic viewport resizing
https://bugs.webkit.org/show_bug.cgi?id=34766
Removed automatic viewport resizing per conclusions on the WebGL
mailing list. Added test verifying new behavior and updated a
couple of previous tests failing after this change.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::reshape):
2010-02-10 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Chromium Win build fix. Add third_party/nss to the dependencies list on Windows.
https://bugs.webkit.org/show_bug.cgi?id=34789
* DEPS:
2010-02-10 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Rolling Chromium dependencies to match Chromium revision 38580.
https://bugs.webkit.org/show_bug.cgi?id=34789
* DEPS:
2010-02-10 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Use v8::Debug::ProcessDebugMessages instead of executing an empty function
https://bugs.webkit.org/show_bug.cgi?id=34704
* src/DebuggerAgent.h:
* src/DebuggerAgentImpl.cpp:
(WebKit::DebuggerAgentImpl::processDebugCommands):
* src/DebuggerAgentImpl.h:
* src/ToolsAgent.h:
* src/WebDevToolsAgentImpl.cpp:
* src/WebDevToolsAgentImpl.h:
* src/js/DebuggerAgent.js:
(devtools.DebuggerAgent.prototype.addBreakpoint):
* src/js/DevToolsHostStub.js:
(.RemoteDebuggerAgentStub.prototype.processDebugCommands):
* src/js/InjectDispatch.js:
(dispatch):
* src/js/ProfilerAgent.js:
(devtools.ProfilerAgent.prototype.startProfiling):
(devtools.ProfilerAgent.prototype.stopProfiling):
* src/js/Tests.js:
2010-02-10 Tony Chang <tony@chromium.org>
Unreviewed, build fix for Chromium Mac take 2.
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
2010-02-10 Tony Chang <tony@chromium.org>
Unreviewed, build fix for Chromium Mac.
* src/AutoFillPopupMenuClient.cpp:
(WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
2010-02-09 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Refactor AutocompletePopupMenuClient into a base class,
SuggestionsPopupMenuClient, and two derived classes,
AutocompletePopupMenuClient and AutoFillPopupMenuClient. Currently
the behavior of suggestions popups has not changed.
https://bugs.webkit.org/show_bug.cgi?id=34721
* WebKit.gyp:
* public/WebView.h:
* src/AutoFillPopupMenuClient.cpp: Added.
* src/AutoFillPopupMenuClient.h: Added.
* src/AutocompletePopupMenuClient.cpp:
(WebKit::AutocompletePopupMenuClient::getSuggestionsCount):
(WebKit::AutocompletePopupMenuClient::getSuggestion):
(WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
(WebKit::AutocompletePopupMenuClient::initialize):
(WebKit::AutocompletePopupMenuClient::setSuggestions):
* src/AutocompletePopupMenuClient.h:
* src/SuggestionsPopupMenuClient.cpp: Added.
* src/SuggestionsPopupMenuClient.h: Added.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::keyEvent):
(WebKit::WebViewImpl::autocompleteHandleKeyEvent):
(WebKit::WebViewImpl::applyAutofillSuggestions):
(WebKit::WebViewImpl::applyAutoFillSuggestions):
(WebKit::WebViewImpl::applyAutocompleteSuggestions):
* src/WebViewImpl.h:
2010-02-09 Chris Guillory <ctguil@google.com>
Reviewed by Darin Fisher.
[Chromium] Add function for accessibility object state change notifications.
https://bugs.webkit.org/show_bug.cgi?id=34464
* gyp_webkit:
* public/WebViewClient.h:
(WebKit::WebViewClient::didChangeAccessibilityObjectState):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
* src/ChromeClientImpl.h:
2010-02-09 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs.
Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required
for really enabling it in V8 bindings generation.
https://bugs.webkit.org/show_bug.cgi?id=34706
* features.gypi:
2010-02-09 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add the chromium interface to support Blob.slice.
https://bugs.webkit.org/show_bug.cgi?id=34652
* WebKit.gyp:
* public/WebFileInfo.h: Added.
* public/WebHTTPBody.h:
* src/WebHTTPBody.cpp:
(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendFile):
2010-02-09 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Follow-up fix.
Add missing devTools.css file.
https://bugs.webkit.org/show_bug.cgi?id=34756
* src/js/devTools.css: Added.
2010-02-09 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Upstream DevTools Images and .css files.
https://bugs.webkit.org/show_bug.cgi?id=34756
* WebKit.gypi:
* src/js/DevTools.css: Added.
* src/js/Images/segmentChromium.png: Added.
* src/js/Images/segmentHoverChromium.png: Added.
* src/js/Images/segmentHoverEndChromium.png: Added.
* src/js/Images/segmentSelectedChromium.png: Added.
* src/js/Images/segmentSelectedEndChromium.png: Added.
* src/js/Images/statusbarBackgroundChromium.png: Added.
* src/js/Images/statusbarBottomBackgroundChromium.png: Added.
* src/js/Images/statusbarButtonsChromium.png: Added.
* src/js/Images/statusbarMenuButtonChromium.png: Added.
* src/js/Images/statusbarMenuButtonSelectedChromium.png: Added.
2010-02-09 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Upstream JavaScript part of DevTools WebKit API implementation(now
with the added files).
https://bugs.webkit.org/show_bug.cgi?id=34744
* WebKit.gypi: Added.
* src/js/DebuggerAgent.js: Added.
(devtools.DebuggerAgent):
(devtools.DebuggerAgent.prototype.reset):
(devtools.DebuggerAgent.prototype.initUI):
(devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.resolveScriptSource):
(devtools.DebuggerAgent.prototype.pauseExecution):
(devtools.DebuggerAgent.prototype.addBreakpoint):
(devtools.DebuggerAgent.prototype.removeBreakpoint):
(devtools.DebuggerAgent.prototype.updateBreakpoint):
(devtools.DebuggerAgent.prototype.stepIntoStatement):
(devtools.DebuggerAgent.prototype.stepOutOfFunction):
(devtools.DebuggerAgent.prototype.stepOverStatement):
(devtools.DebuggerAgent.prototype.resumeExecution):
(devtools.DebuggerAgent.prototype.createExceptionMessage_):
(devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
(devtools.DebuggerAgent.prototype.clearExceptionMessage_):
(devtools.DebuggerAgent.prototype.pauseOnExceptions):
(devtools.DebuggerAgent.prototype.setPauseOnExceptions):
(devtools.DebuggerAgent.prototype.requestEvaluate):
(devtools.DebuggerAgent.prototype.resolveChildren):
(devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.resolveScope):
(devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
(devtools.DebuggerAgent.prototype.resolveFrameVariables_):
(devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
(devtools.DebuggerAgent.prototype.getScriptContextType):
(devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
(devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
(devtools.DebuggerAgent.prototype.requestBacktrace_):
(devtools.DebuggerAgent.sendCommand_):
(devtools.DebuggerAgent.prototype.stepCommand_):
(devtools.DebuggerAgent.prototype.requestLookup_):
(devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.setContextId_):
(devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
(devtools.DebuggerAgent.prototype.handleBreakEvent_):
(devtools.DebuggerAgent.prototype.handleExceptionEvent_):
(devtools.DebuggerAgent.prototype.handleScriptsResponse_):
(devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
(devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
(devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
(devtools.DebuggerAgent.prototype.addScriptInfo_):
(devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
(devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
(devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
(devtools.DebuggerAgent.prototype.evaluateInCallFrame):
(devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
(devtools.DebuggerAgent.prototype.formatCallFrame_):
(devtools.DebuggerAgent.formatObjectProperties_):
(devtools.DebuggerAgent.propertiesToProxies_):
(devtools.DebuggerAgent.formatObjectProxy_):
(devtools.DebuggerAgent.webkitToV8LineNumber_):
(devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
(devtools.ScriptInfo):
(devtools.ScriptInfo.prototype.getLineOffset):
(devtools.ScriptInfo.prototype.getContextType):
(devtools.ScriptInfo.prototype.getUrl):
(devtools.ScriptInfo.prototype.isUnresolved):
(devtools.ScriptInfo.prototype.getBreakpointInfo):
(devtools.ScriptInfo.prototype.addBreakpointInfo):
(devtools.ScriptInfo.prototype.removeBreakpointInfo):
(devtools.BreakpointInfo):
(devtools.BreakpointInfo.prototype.getLine):
(devtools.BreakpointInfo.prototype.getV8Id):
(devtools.BreakpointInfo.prototype.setV8Id):
(devtools.BreakpointInfo.prototype.markAsRemoved):
(devtools.BreakpointInfo.prototype.isRemoved):
(devtools.CallFrame):
(devtools.CallFrame.prototype.evaluate_):
(devtools.DebugCommand):
(devtools.DebugCommand.prototype.getSequenceNumber):
(devtools.DebugCommand.prototype.toJSONProtocol):
(devtools.DebuggerMessage):
(devtools.DebuggerMessage.prototype.getType):
(devtools.DebuggerMessage.prototype.getEvent):
(devtools.DebuggerMessage.prototype.getCommand):
(devtools.DebuggerMessage.prototype.getRequestSeq):
(devtools.DebuggerMessage.prototype.isRunning):
(devtools.DebuggerMessage.prototype.isSuccess):
(devtools.DebuggerMessage.prototype.getMessage):
(devtools.DebuggerMessage.prototype.getBody):
(devtools.DebuggerMessage.prototype.lookup):
* src/js/DevTools.js: Added.
(devtools.dispatch):
(devtools.ToolsAgent):
(devtools.ToolsAgent.prototype.reset):
(devtools.ToolsAgent.prototype.evaluateJavaScript):
(devtools.ToolsAgent.prototype.getDebuggerAgent):
(devtools.ToolsAgent.prototype.getProfilerAgent):
(devtools.ToolsAgent.prototype.frameNavigate_):
(devtools.ToolsAgent.prototype.dispatchOnClient_):
(devtools.ToolsAgent.prototype.evaluate):
(WebInspector.setResourcesPanelEnabled):
(debugPrint):
(devtools):
(WebInspector.loaded):
():
(WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
(WebInspector.ScriptView.prototype.didResolveScriptSource_):
(WebInspector.UnresolvedPropertyValue):
(WebInspector.UIString):
(WebInspector.resourceTrackingWasEnabled):
(WebInspector.resourceTrackingWasDisabled):
(WebInspector.TestController.prototype.runAfterPendingDispatches):
(WebInspector.queuesAreEmpty):
(WebInspector.pausedScript):
* src/js/DevToolsHostStub.js: Added.
(.RemoteDebuggerAgentStub):
(.RemoteDebuggerAgentStub.prototype.getContextId):
(.RemoteProfilerAgentStub):
(.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
(.RemoteProfilerAgentStub.prototype.getLogLines):
(.RemoteToolsAgentStub):
(.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
(.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
(.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
(.ProfilerStubHelper):
(.ProfilerStubHelper.GetInstance):
(.ProfilerStubHelper.prototype.StopProfiling):
(.ProfilerStubHelper.prototype.StartProfiling):
(.ProfilerStubHelper.prototype.getActiveProfilerModules):
(.ProfilerStubHelper.prototype.getLogLines):
(.RemoteDebuggerCommandExecutorStub):
(.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
(.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
(.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
(.DevToolsHostStub):
(.DevToolsHostStub.prototype.reset):
(.DevToolsHostStub.prototype.setting):
(.DevToolsHostStub.prototype.setSetting):
* src/js/HeapProfilerPanel.js: Added.
(WebInspector.ProfilesPanel.prototype.addSnapshot):
(WebInspector.HeapSnapshotView):
(WebInspector.HeapSnapshotView.prototype.get statusBarItems):
(WebInspector.HeapSnapshotView.prototype.get profile):
(WebInspector.HeapSnapshotView.prototype.set profile):
(WebInspector.HeapSnapshotView.prototype.show):
(WebInspector.HeapSnapshotView.prototype.hide):
(WebInspector.HeapSnapshotView.prototype.resize):
(WebInspector.HeapSnapshotView.prototype.refresh):
(WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
(WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
(WebInspector.HeapSnapshotView.prototype.searchCanceled):
(WebInspector.HeapSnapshotView.prototype.performSearch):
(WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
(WebInspector.HeapSnapshotView.prototype._changeBase):
(WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
(WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
(WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
(WebInspector.HeapSnapshotView.prototype._percentClicked):
(WebInspector.HeapSnapshotView.prototype._resetDataGridList):
(WebInspector.HeapSnapshotView.prototype._sortData):
(WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
(WebInspector.HeapSnapshotView.prototype._updatePercentButton):
(WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
(WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
(WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
(WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
(WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
(WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
(WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
(WebInspector.HeapSummaryCalculator):
(WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
(WebInspector.HeapSummaryCalculator.prototype.formatValue):
(WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
(WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
(WebInspector.HeapSummaryCountCalculator):
(WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
(WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
(WebInspector.HeapSummarySizeCalculator):
(WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
(WebInspector.HeapSnapshotSidebarTreeElement):
(WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
(WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
(WebInspector.HeapSnapshotDataGridNode):
(WebInspector.HeapSnapshotDataGridList):
(WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
(WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
(WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
(WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
(WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
(WebInspector.HeapSnapshotDataGridList.propertyComparator):
(WebInspector.HeapSnapshotDataGridRetainerNode):
(WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
(WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
(WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
(WebInspector.HeapSnapshotProfileType):
(WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
(WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
(WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
(WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
(WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
(WebInspector.HeapSnapshotProfileType.prototype.createView):
():
* src/js/InjectDispatch.js: Added.
(InspectorControllerDispatcher.dispatch):
(ApuAgentDispatcher.dispatchToApu):
(dispatch):
(devtools):
* src/js/InspectorControllerImpl.js: Added.
(devtools.InspectorBackendImpl):
(devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
(devtools.InspectorBackendImpl.prototype.debuggerEnabled):
(devtools.InspectorBackendImpl.prototype.profilerEnabled):
(devtools.InspectorBackendImpl.prototype.addBreakpoint):
(devtools.InspectorBackendImpl.prototype.removeBreakpoint):
(devtools.InspectorBackendImpl.prototype.updateBreakpoint):
(devtools.InspectorBackendImpl.prototype.pauseInDebugger):
(devtools.InspectorBackendImpl.prototype.resumeDebugger):
(devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
(devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
(devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
(devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
(devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
(devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
(devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
(devtools.InspectorBackendImpl.prototype.startProfiling):
(devtools.InspectorBackendImpl.prototype.stopProfiling):
(devtools.InspectorBackendImpl.prototype.getProfileHeaders):
(devtools.InspectorBackendImpl.prototype.addFullProfile):
(devtools.InspectorBackendImpl.prototype.getProfile):
(devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
(devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
(devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
(devtools.InspectorBackendImpl.prototype.callInspectorController_):
* src/js/ProfilerAgent.js: Added.
(devtools.ProfilerAgent):
(devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
(devtools.ProfilerAgent.prototype.initializeProfiling):
(devtools.ProfilerAgent.prototype.startProfiling):
(devtools.ProfilerAgent.prototype.stopProfiling):
(devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
(devtools.ProfilerAgent.prototype.didGetLogLines_):
* src/js/ProfilerProcessor.js: Added.
(devtools.profiler.WebKitViewBuilder):
(devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
(devtools.profiler.WebKitViewNode):
(set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
(devtools.profiler.JsProfile):
(devtools.profiler.JsProfile.prototype.skipThisFunction):
(devtools.profiler.Processor):
(devtools.profiler.Processor.prototype.printError):
(devtools.profiler.Processor.prototype.skipDispatch):
(devtools.profiler.Processor.prototype.setCallbacks):
(devtools.profiler.Processor.prototype.setNewProfileCallback):
(devtools.profiler.Processor.prototype.processProfiler_.switch.break):
(devtools.profiler.Processor.prototype.processProfiler_):
(devtools.profiler.Processor.prototype.processCodeCreation_):
(devtools.profiler.Processor.prototype.processCodeMove_):
(devtools.profiler.Processor.prototype.processCodeDelete_):
(devtools.profiler.Processor.prototype.processFunctionCreation_):
(devtools.profiler.Processor.prototype.processFunctionMove_):
(devtools.profiler.Processor.prototype.processFunctionDelete_):
(devtools.profiler.Processor.prototype.processTick_):
(devtools.profiler.Processor.prototype.processTickV2_):
(devtools.profiler.Processor.prototype.processHeapSampleBegin_):
(devtools.profiler.Processor.prototype.processHeapSampleStats_):
(devtools.profiler.Processor.prototype.processHeapSampleItem_):
(devtools.profiler.Processor.prototype.processHeapJsConsItem_):
(devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
(devtools.profiler.Processor.prototype.processHeapJsRetItem_):
(devtools.profiler.Processor.prototype.processHeapSampleEnd_):
(devtools.profiler.Processor.prototype.createProfileForView):
* src/js/Tests.js: Added.
(.TestSuite):
(.TestSuite.prototype.fail):
(.TestSuite.prototype.assertEquals):
(.TestSuite.prototype.assertTrue):
(.TestSuite.prototype.assertContains):
(.TestSuite.prototype.takeControl):
(.TestSuite.prototype.releaseControl):
(.TestSuite.prototype.reportOk_):
(.TestSuite.prototype.reportFailure_):
(.TestSuite.prototype.runTest):
(.TestSuite.prototype.showPanel):
(.TestSuite.prototype.addSniffer.receiver.methodName):
(.TestSuite.prototype.addSniffer):
(.TestSuite.prototype.testHostIsPresent):
(.TestSuite.prototype.testElementsTreeRoot):
(.TestSuite.prototype.testMainResource):
(.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
(.TestSuite.prototype.testResourceHeaders):
(.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
(.TestSuite.prototype.testCachedResourceMimeType):
(.TestSuite.prototype.testProfilerTab):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
(.TestSuite.prototype.testPauseOnException):
(.TestSuite.prototype.testPauseWhenLoadingDevTools):
(.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
(.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
(.TestSuite.prototype.testPauseWhenScriptIsRunning):
(.TestSuite.prototype.optionsToString_):
(.TestSuite.prototype.evaluateInConsole_):
(.TestSuite.prototype.waitForSetBreakpointResponse_):
(.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
(.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
(.TestSuite.prototype.testCompletionOnPause):
(.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
(.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
(.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
(.TestSuite.prototype.testCompletionOnPause.checkCompletions):
(.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
(.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
(.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
(.TestSuite.prototype._checkExecutionLine):
(.TestSuite.prototype._scriptsAreParsed):
(.TestSuite.prototype._waitForScriptPause):
(.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
(.TestSuite.prototype._checkSourceFrameWhenLoaded):
(.TestSuite.prototype._performSteps.doNextAction):
(.TestSuite.prototype._performSteps):
(.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
(.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
(.TestSuite.prototype._waitUntilScriptsAreParsed):
(.TestSuite.prototype._executeFunctionForStepTest):
(.TestSuite.prototype.testStepOver):
(.TestSuite.prototype.testStepOut):
(.TestSuite.prototype.testStepIn):
(.TestSuite.prototype._evaluateXpath):
(.TestSuite.prototype._findNode):
(.TestSuite.prototype._findText):
(.TestSuite.prototype._nodeIterator):
(.TestSuite.prototype._checkScopeSectionDiv):
(.TestSuite.prototype._expandScopeSections.updateListener):
(.TestSuite.prototype._expandScopeSections):
(.TestSuite.prototype.testExpandScope):
(.TestSuite.prototype.testExpandScope.examineScopes):
(.TestSuite.prototype._findChildProperty):
(.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
(.TestSuite.prototype._hookGetPropertiesCallback.try):
(.TestSuite.prototype._hookGetPropertiesCallback):
(.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
(.TestSuite.prototype.testDebugIntrinsicProperties):
(.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
(.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
(.TestSuite.createKeyEvent):
(.TestSuite.prototype.testConsoleLog.assertNext):
(.TestSuite.prototype.testConsoleLog):
(.TestSuite.prototype.testEvalGlobal.initEval):
(.TestSuite.prototype.testEvalGlobal):
(.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
(.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
(.uiTests.runAllTests):
(.uiTests.runTest):
2010-02-09 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Upstream JavaScript part of DevTools WebKit API implementation
https://bugs.webkit.org/show_bug.cgi?id=34744
* WebKit.gypi: Added.
* src/js/DebuggerAgent.js: Added.
(devtools.DebuggerAgent):
(devtools.DebuggerAgent.prototype.reset):
(devtools.DebuggerAgent.prototype.initUI):
(devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.resolveScriptSource):
(devtools.DebuggerAgent.prototype.pauseExecution):
(devtools.DebuggerAgent.prototype.addBreakpoint):
(devtools.DebuggerAgent.prototype.removeBreakpoint):
(devtools.DebuggerAgent.prototype.updateBreakpoint):
(devtools.DebuggerAgent.prototype.stepIntoStatement):
(devtools.DebuggerAgent.prototype.stepOutOfFunction):
(devtools.DebuggerAgent.prototype.stepOverStatement):
(devtools.DebuggerAgent.prototype.resumeExecution):
(devtools.DebuggerAgent.prototype.createExceptionMessage_):
(devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
(devtools.DebuggerAgent.prototype.clearExceptionMessage_):
(devtools.DebuggerAgent.prototype.pauseOnExceptions):
(devtools.DebuggerAgent.prototype.setPauseOnExceptions):
(devtools.DebuggerAgent.prototype.requestEvaluate):
(devtools.DebuggerAgent.prototype.resolveChildren):
(devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.resolveScope):
(devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
(devtools.DebuggerAgent.prototype.resolveFrameVariables_):
(devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
(devtools.DebuggerAgent.prototype.getScriptContextType):
(devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
(devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
(devtools.DebuggerAgent.prototype.requestBacktrace_):
(devtools.DebuggerAgent.sendCommand_):
(devtools.DebuggerAgent.prototype.stepCommand_):
(devtools.DebuggerAgent.prototype.requestLookup_):
(devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
(devtools.DebuggerAgent.prototype.setContextId_):
(devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
(devtools.DebuggerAgent.prototype.handleBreakEvent_):
(devtools.DebuggerAgent.prototype.handleExceptionEvent_):
(devtools.DebuggerAgent.prototype.handleScriptsResponse_):
(devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
(devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
(devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
(devtools.DebuggerAgent.prototype.addScriptInfo_):
(devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
(devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
(devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
(devtools.DebuggerAgent.prototype.evaluateInCallFrame):
(devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
(devtools.DebuggerAgent.prototype.formatCallFrame_):
(devtools.DebuggerAgent.formatObjectProperties_):
(devtools.DebuggerAgent.propertiesToProxies_):
(devtools.DebuggerAgent.formatObjectProxy_):
(devtools.DebuggerAgent.webkitToV8LineNumber_):
(devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
(devtools.ScriptInfo):
(devtools.ScriptInfo.prototype.getLineOffset):
(devtools.ScriptInfo.prototype.getContextType):
(devtools.ScriptInfo.prototype.getUrl):
(devtools.ScriptInfo.prototype.isUnresolved):
(devtools.ScriptInfo.prototype.getBreakpointInfo):
(devtools.ScriptInfo.prototype.addBreakpointInfo):
(devtools.ScriptInfo.prototype.removeBreakpointInfo):
(devtools.BreakpointInfo):
(devtools.BreakpointInfo.prototype.getLine):
(devtools.BreakpointInfo.prototype.getV8Id):
(devtools.BreakpointInfo.prototype.setV8Id):
(devtools.BreakpointInfo.prototype.markAsRemoved):
(devtools.BreakpointInfo.prototype.isRemoved):
(devtools.CallFrame):
(devtools.CallFrame.prototype.evaluate_):
(devtools.DebugCommand):
(devtools.DebugCommand.prototype.getSequenceNumber):
(devtools.DebugCommand.prototype.toJSONProtocol):
(devtools.DebuggerMessage):
(devtools.DebuggerMessage.prototype.getType):
(devtools.DebuggerMessage.prototype.getEvent):
(devtools.DebuggerMessage.prototype.getCommand):
(devtools.DebuggerMessage.prototype.getRequestSeq):
(devtools.DebuggerMessage.prototype.isRunning):
(devtools.DebuggerMessage.prototype.isSuccess):
(devtools.DebuggerMessage.prototype.getMessage):
(devtools.DebuggerMessage.prototype.getBody):
(devtools.DebuggerMessage.prototype.lookup):
* src/js/DevTools.js: Added.
(devtools.dispatch):
(devtools.ToolsAgent):
(devtools.ToolsAgent.prototype.reset):
(devtools.ToolsAgent.prototype.evaluateJavaScript):
(devtools.ToolsAgent.prototype.getDebuggerAgent):
(devtools.ToolsAgent.prototype.getProfilerAgent):
(devtools.ToolsAgent.prototype.frameNavigate_):
(devtools.ToolsAgent.prototype.dispatchOnClient_):
(devtools.ToolsAgent.prototype.evaluate):
(WebInspector.setResourcesPanelEnabled):
(debugPrint):
(devtools):
(WebInspector.loaded):
():
(WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
(WebInspector.ScriptView.prototype.didResolveScriptSource_):
(WebInspector.UnresolvedPropertyValue):
(WebInspector.UIString):
(WebInspector.resourceTrackingWasEnabled):
(WebInspector.resourceTrackingWasDisabled):
(WebInspector.TestController.prototype.runAfterPendingDispatches):
(WebInspector.queuesAreEmpty):
(WebInspector.pausedScript):
* src/js/DevToolsHostStub.js: Added.
(.RemoteDebuggerAgentStub):
(.RemoteDebuggerAgentStub.prototype.getContextId):
(.RemoteProfilerAgentStub):
(.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
(.RemoteProfilerAgentStub.prototype.getLogLines):
(.RemoteToolsAgentStub):
(.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
(.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
(.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
(.ProfilerStubHelper):
(.ProfilerStubHelper.GetInstance):
(.ProfilerStubHelper.prototype.StopProfiling):
(.ProfilerStubHelper.prototype.StartProfiling):
(.ProfilerStubHelper.prototype.getActiveProfilerModules):
(.ProfilerStubHelper.prototype.getLogLines):
(.RemoteDebuggerCommandExecutorStub):
(.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
(.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
(.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
(.DevToolsHostStub):
(.DevToolsHostStub.prototype.reset):
(.DevToolsHostStub.prototype.setting):
(.DevToolsHostStub.prototype.setSetting):
* src/js/HeapProfilerPanel.js: Added.
(WebInspector.ProfilesPanel.prototype.addSnapshot):
(WebInspector.HeapSnapshotView):
(WebInspector.HeapSnapshotView.prototype.get statusBarItems):
(WebInspector.HeapSnapshotView.prototype.get profile):
(WebInspector.HeapSnapshotView.prototype.set profile):
(WebInspector.HeapSnapshotView.prototype.show):
(WebInspector.HeapSnapshotView.prototype.hide):
(WebInspector.HeapSnapshotView.prototype.resize):
(WebInspector.HeapSnapshotView.prototype.refresh):
(WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
(WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
(WebInspector.HeapSnapshotView.prototype.searchCanceled):
(WebInspector.HeapSnapshotView.prototype.performSearch):
(WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
(WebInspector.HeapSnapshotView.prototype._changeBase):
(WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
(WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
(WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
(WebInspector.HeapSnapshotView.prototype._percentClicked):
(WebInspector.HeapSnapshotView.prototype._resetDataGridList):
(WebInspector.HeapSnapshotView.prototype._sortData):
(WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
(WebInspector.HeapSnapshotView.prototype._updatePercentButton):
(WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
(WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
(WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
(WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
(WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
(WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
(WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
(WebInspector.HeapSummaryCalculator):
(WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
(WebInspector.HeapSummaryCalculator.prototype.formatValue):
(WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
(WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
(WebInspector.HeapSummaryCountCalculator):
(WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
(WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
(WebInspector.HeapSummarySizeCalculator):
(WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
(WebInspector.HeapSnapshotSidebarTreeElement):
(WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
(WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
(WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
(WebInspector.HeapSnapshotDataGridNode):
(WebInspector.HeapSnapshotDataGridList):
(WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
(WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
(WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
(WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
(WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
(WebInspector.HeapSnapshotDataGridList.propertyComparator):
(WebInspector.HeapSnapshotDataGridRetainerNode):
(WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
(WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
(WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
(WebInspector.HeapSnapshotProfileType):
(WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
(WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
(WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
(WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
(WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
(WebInspector.HeapSnapshotProfileType.prototype.createView):
():
* src/js/InjectDispatch.js: Added.
(InspectorControllerDispatcher.dispatch):
(ApuAgentDispatcher.dispatchToApu):
(dispatch):
(devtools):
* src/js/InspectorControllerImpl.js: Added.
(devtools.InspectorBackendImpl):
(devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
(devtools.InspectorBackendImpl.prototype.debuggerEnabled):
(devtools.InspectorBackendImpl.prototype.profilerEnabled):
(devtools.InspectorBackendImpl.prototype.addBreakpoint):
(devtools.InspectorBackendImpl.prototype.removeBreakpoint):
(devtools.InspectorBackendImpl.prototype.updateBreakpoint):
(devtools.InspectorBackendImpl.prototype.pauseInDebugger):
(devtools.InspectorBackendImpl.prototype.resumeDebugger):
(devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
(devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
(devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
(devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
(devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
(devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
(devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
(devtools.InspectorBackendImpl.prototype.startProfiling):
(devtools.InspectorBackendImpl.prototype.stopProfiling):
(devtools.InspectorBackendImpl.prototype.getProfileHeaders):
(devtools.InspectorBackendImpl.prototype.addFullProfile):
(devtools.InspectorBackendImpl.prototype.getProfile):
(devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
(devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
(devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
(devtools.InspectorBackendImpl.prototype.callInspectorController_):
* src/js/ProfilerAgent.js: Added.
(devtools.ProfilerAgent):
(devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
(devtools.ProfilerAgent.prototype.initializeProfiling):
(devtools.ProfilerAgent.prototype.startProfiling):
(devtools.ProfilerAgent.prototype.stopProfiling):
(devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
(devtools.ProfilerAgent.prototype.didGetLogLines_):
* src/js/ProfilerProcessor.js: Added.
(devtools.profiler.WebKitViewBuilder):
(devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
(devtools.profiler.WebKitViewNode):
(set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
(devtools.profiler.JsProfile):
(devtools.profiler.JsProfile.prototype.skipThisFunction):
(devtools.profiler.Processor):
(devtools.profiler.Processor.prototype.printError):
(devtools.profiler.Processor.prototype.skipDispatch):
(devtools.profiler.Processor.prototype.setCallbacks):
(devtools.profiler.Processor.prototype.setNewProfileCallback):
(devtools.profiler.Processor.prototype.processProfiler_.switch.break):
(devtools.profiler.Processor.prototype.processProfiler_):
(devtools.profiler.Processor.prototype.processCodeCreation_):
(devtools.profiler.Processor.prototype.processCodeMove_):
(devtools.profiler.Processor.prototype.processCodeDelete_):
(devtools.profiler.Processor.prototype.processFunctionCreation_):
(devtools.profiler.Processor.prototype.processFunctionMove_):
(devtools.profiler.Processor.prototype.processFunctionDelete_):
(devtools.profiler.Processor.prototype.processTick_):
(devtools.profiler.Processor.prototype.processTickV2_):
(devtools.profiler.Processor.prototype.processHeapSampleBegin_):
(devtools.profiler.Processor.prototype.processHeapSampleStats_):
(devtools.profiler.Processor.prototype.processHeapSampleItem_):
(devtools.profiler.Processor.prototype.processHeapJsConsItem_):
(devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
(devtools.profiler.Processor.prototype.processHeapJsRetItem_):
(devtools.profiler.Processor.prototype.processHeapSampleEnd_):
(devtools.profiler.Processor.prototype.createProfileForView):
* src/js/Tests.js: Added.
(.TestSuite):
(.TestSuite.prototype.fail):
(.TestSuite.prototype.assertEquals):
(.TestSuite.prototype.assertTrue):
(.TestSuite.prototype.assertContains):
(.TestSuite.prototype.takeControl):
(.TestSuite.prototype.releaseControl):
(.TestSuite.prototype.reportOk_):
(.TestSuite.prototype.reportFailure_):
(.TestSuite.prototype.runTest):
(.TestSuite.prototype.showPanel):
(.TestSuite.prototype.addSniffer.receiver.methodName):
(.TestSuite.prototype.addSniffer):
(.TestSuite.prototype.testHostIsPresent):
(.TestSuite.prototype.testElementsTreeRoot):
(.TestSuite.prototype.testMainResource):
(.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
(.TestSuite.prototype.testResourceHeaders):
(.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
(.TestSuite.prototype.testCachedResourceMimeType):
(.TestSuite.prototype.testProfilerTab):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
(.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
(.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
(.TestSuite.prototype.testPauseOnException):
(.TestSuite.prototype.testPauseWhenLoadingDevTools):
(.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
(.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
(.TestSuite.prototype.testPauseWhenScriptIsRunning):
(.TestSuite.prototype.optionsToString_):
(.TestSuite.prototype.evaluateInConsole_):
(.TestSuite.prototype.waitForSetBreakpointResponse_):
(.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
(.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
(.TestSuite.prototype.testCompletionOnPause):
(.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
(.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
(.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
(.TestSuite.prototype.testCompletionOnPause.checkCompletions):
(.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
(.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
(.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
(.TestSuite.prototype._checkExecutionLine):
(.TestSuite.prototype._scriptsAreParsed):
(.TestSuite.prototype._waitForScriptPause):
(.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
(.TestSuite.prototype._checkSourceFrameWhenLoaded):
(.TestSuite.prototype._performSteps.doNextAction):
(.TestSuite.prototype._performSteps):
(.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
(.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
(.TestSuite.prototype._waitUntilScriptsAreParsed):
(.TestSuite.prototype._executeFunctionForStepTest):
(.TestSuite.prototype.testStepOver):
(.TestSuite.prototype.testStepOut):
(.TestSuite.prototype.testStepIn):
(.TestSuite.prototype._evaluateXpath):
(.TestSuite.prototype._findNode):
(.TestSuite.prototype._findText):
(.TestSuite.prototype._nodeIterator):
(.TestSuite.prototype._checkScopeSectionDiv):
(.TestSuite.prototype._expandScopeSections.updateListener):
(.TestSuite.prototype._expandScopeSections):
(.TestSuite.prototype.testExpandScope):
(.TestSuite.prototype.testExpandScope.examineScopes):
(.TestSuite.prototype._findChildProperty):
(.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
(.TestSuite.prototype._hookGetPropertiesCallback.try):
(.TestSuite.prototype._hookGetPropertiesCallback):
(.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
(.TestSuite.prototype.testDebugIntrinsicProperties):
(.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
(.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
(.TestSuite.createKeyEvent):
(.TestSuite.prototype.testConsoleLog.assertNext):
(.TestSuite.prototype.testConsoleLog):
(.TestSuite.prototype.testEvalGlobal.initEval):
(.TestSuite.prototype.testEvalGlobal):
(.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
(.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
(.uiTests.runAllTests):
(.uiTests.runTest):
2010-02-09 Avi Drissman <avi@chromium.org>
Reviewed by David Levin.
Chromium Mac: Control-A shouldn't select all/Control-C shouldn't copy
https://bugs.webkit.org/show_bug.cgi?id=34615
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::keyEventDefault):
2010-02-08 Evan Martin <evan@chromium.org>
dlopen() knows how to search the library search path, so just rely on
it. While I'm at it, print out the dlerror() error message on failure.
[chromium] webgl shouldn't hard code library search path
https://bugs.webkit.org/show_bug.cgi?id=34659
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
(WebCore::GraphicsContext3DInternal::GLConnection::create):
2010-02-08 Charlie Reis <creis@chromium.org>
Reviewed by Darin Adler.
onbeforeunload not called at window close + frame or iframe focused
https://bugs.webkit.org/show_bug.cgi?id=27481
http://code.google.com/p/chromium/issues/detail?id=32615
http://code.google.com/p/chromium/issues/detail?id=17157
Chromium and WebKit on Windows will now fire beforeunload handlers
even if an inner frame is focused.
Layout tests aren't able to test this bug, since it requires closing
the actual browser window, not calling window.close(). Instead,
test with WebCore/manual-tests/onbeforeunload-focused-iframe.html.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
2010-02-08 Pavel Feldman <pfeldman@chromium.org>
Reviewed by David Levin.
WebKit/chromium: Custom context menu does not work in inspector.
https://bugs.webkit.org/show_bug.cgi?id=34711
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
2010-02-08 Nate Chapin <japhet@chromium.org>
Reviewed by Darin Fisher.
Check that the index passed into BackForwardListClientImpl::itemAtIndex()
is valid, and return null if it isn't.
https://bugs.webkit.org/show_bug.cgi?id=34722
* src/BackForwardListClientImpl.cpp:
(WebKit::BackForwardListClientImpl::itemAtIndex):
2010-02-05 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Jeremy Orlow.
Adding a way to close all database handles pointing to a certain
database as soon as possible.
https://bugs.webkit.org/show_bug.cgi?id=34619
* public/WebDatabase.h:
* src/WebDatabase.cpp:
(WebKit::WebDatabase::closeDatabaseImmediately):
2010-02-08 Dirk Schulze <krit@webkit.org>
Reviewed by Nikolas Zimmermann.
Add back an AffineTransform class for use by SVG
https://bugs.webkit.org/show_bug.cgi?id=33750
Use AffineTransform instead of TransformationMatrix here.
* tests/TransparencyWinTest.cpp:
(WebCore::TEST):
2010-02-07 Jian Li <jianli@chromium.org>
Reviewed by Darin Fisher.
[chromium] Change chromium interface to handle DownloadURL format.
https://bugs.webkit.org/show_bug.cgi?id=34655
* public/WebDragData.h:
* src/WebDragData.cpp:
(WebKit::WebDragData::downloadMetadata):
(WebKit::WebDragData::setDownloadMetadata):
2010-02-06 Dimitri Glazkov <dglazkov@chromium.org>
No review, rolling out r54364.
http://trac.webkit.org/changeset/54364
https://bugs.webkit.org/show_bug.cgi?id=34464
Introduced asserts in layout tests, needs more testing
locally.
* public/WebViewClient.h:
* src/ChromeClientImpl.cpp:
* src/ChromeClientImpl.h:
2010-02-05 James Hawkins <jhawkins@chromium.org>
Reviewed by David Levin.
[Chromium] Rename autocomplete* to suggestions* to prepare for the
refactoring of AutocompletePopupMenuClient.
https://bugs.webkit.org/show_bug.cgi?id=34664
* public/WebView.h:
* src/AutocompletePopupMenuClient.cpp:
(WebKit::AutocompletePopupMenuClient::popupDidHide):
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::textFieldDidEndEditing):
(WebKit::EditorClientImpl::doAutofill):
* src/WebViewImpl.cpp:
(WebKit::):
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::autocompleteHandleKeyEvent):
(WebKit::WebViewImpl::setFocus):
(WebKit::WebViewImpl::applyAutofillSuggestions):
(WebKit::WebViewImpl::hideAutofillPopup):
(WebKit::WebViewImpl::hideSuggestionsPopup):
(WebKit::WebViewImpl::refreshSuggestionsPopup):
* src/WebViewImpl.h:
(WebKit::WebViewImpl::suggestionsPopupDidHide):
2010-02-05 James Hawkins <jhawkins@chromium.org>
Reviewed by David Levin.
[Chromium] Remove an unused forward declaration in WebKitClient.h.
https://bugs.webkit.org/show_bug.cgi?id=34622
* public/WebKitClient.h:
2010-02-05 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
Implement WebInputElement::isActivatedSubmit().
https://bugs.webkit.org/show_bug.cgi?id=34623
* public/WebInputElement.h:
* src/WebInputElement.cpp:
(WebKit::WebInputElement::isActivatedSubmit):
2010-02-05 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Update code for getting a v8::FunctionTemplate.
https://bugs.webkit.org/show_bug.cgi?id=34606
* src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
2010-02-05 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Enable JAVASCRIPT_DEBUGGER in chromium port.
https://bugs.webkit.org/show_bug.cgi?id=34638
* features.gypi:
2010-02-04 Yaar Schnitman <yaar@chromium.org>
Reviewed by Darin Fisher.
Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin
https://bugs.webkit.org/show_bug.cgi?id=34509
Resubmit: The previous commit (r54333) was rolled back.
* WebKit.gyp:
* tests/TransparencyWinTest.cpp: Added.
(WebCore::RECTToFloatRect):
(WebCore::drawNativeRect):
(WebCore::getPixelAt):
(WebCore::clearTopLayerAlphaChannel):
(WebCore::clearTopLayerAlphaPixel):
(WebCore::operator<<):
(WebCore::TEST):
* tests/UniscribeHelperTest.cpp: Added.
(WebCore::UniscribeTest::UniscribeTest):
(WebCore::UniscribeTest::MakeFont):
(WebCore::UniscribeTest::SetUp):
(WebCore::UniscribeTest::TearDown):
(TEST_F):
2010-02-04 Drew Wilson <atwilson@chromium.org>
Reviewed by David Levin.
WorkerContext.close() does not work in the chromium port
https://bugs.webkit.org/show_bug.cgi?id=34551
Test: Adding new downstream test.
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::workerContextClosedTask):
Now shuts down the worker thread when WorkerContext::close() is invoked.
2010-02-04 Chris Guillory <chris.guillory@google.com>
Reviewed by Darin Fisher.
[Chromium] Add function for AccessibilityObject state change notifications.
https://bugs.webkit.org/show_bug.cgi?id=34464
* public/WebViewClient.h:
(WebKit::WebViewClient::didChangeAccessibilityObjectState):
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
* src/ChromeClientImpl.h:
2010-02-04 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Darin Fisher.
Update comments to better document the possible values of the
writing direction menu state variables.
* public/WebContextMenuData.h:
2010-02-04 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Remove references to V8Custom.
https://bugs.webkit.org/show_bug.cgi?id=32638
* src/DebuggerAgentImpl.cpp:
* src/WebDevToolsFrontendImpl.cpp:
2010-02-04 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Revert 54333 which broke Chromium build.
* WebKit.gyp:
* tests/TransparencyWinTest.cpp: Removed.
* tests/UniscribeHelperTest.cpp: Removed.
2010-02-04 Yaar Schnitman <yaar@chromium.org>
Reviewed by Darin Fisher.
Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin.
https://bugs.webkit.org/show_bug.cgi?id=34509
* WebKit.gyp:
* tests/TransparencyWinTest.cpp: Added.
(WebCore::RECTToFloatRect):
(WebCore::drawNativeRect):
(WebCore::getPixelAt):
(WebCore::clearTopLayerAlphaChannel):
(WebCore::clearTopLayerAlphaPixel):
(WebCore::operator<<):
(WebCore::TEST):
* tests/UniscribeHelperTest.cpp: Added.
(WebCore::UniscribeTest::UniscribeTest):
(WebCore::UniscribeTest::MakeFont):
(WebCore::UniscribeTest::SetUp):
(WebCore::UniscribeTest::TearDown):
(WebCore::TEST_F):
2010-02-04 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by David Levin.
[Chromium] WebKit side of "Writing direction" context menu on OS X.
https://bugs.webkit.org/show_bug.cgi?id=34524
* public/WebContextMenuData.h:
(WebKit::WebContextMenuData::):
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2010-02-03 Drew Wilson <atwilson@chromium.org>
Reviewed by Alexey Proskuryakov.
SharedWorkerScriptLoader should not be an ActiveDOMObject
https://bugs.webkit.org/show_bug.cgi?id=34513
* src/SharedWorkerRepository.cpp:
(WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject.
(WebCore::SharedWorkerScriptLoader::parentContext):
(WebCore::pendingLoaders):
Now we manually track pending loads so we can shut them down when the parent context shuts down.
(WebCore::SharedWorkerScriptLoader::contextDetached):
Shuts down/frees any pending worker loads.
(WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader):
Marks the SharedWorker object as not having pending activity if there was a load active (handles case where load was pending when parent document exits).
(WebCore::SharedWorkerScriptLoader::load):
(WebCore::SharedWorkerRepository::documentDetached):
Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads.
2010-02-03 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Timothy Hatcher.
[Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl
https://bugs.webkit.org/show_bug.cgi?id=34523
* src/WebDevToolsFrontendImpl.cpp:
(WebKit::WebDevToolsFrontendImpl::jsPlatform):
2010-02-02 Joel Stanley <joel@jms.id.au>
Reviewed by David Levin.
[Chromium] Add API method for setting caret blink frequency.
https://bugs.webkit.org/show_bug.cgi?id=31704
This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method
to be called Chromium's API. The API is linux-only as it is currently
the only port to implement RenderTheme::setCaretBlinkInterval.
* WebKit.gyp: Add WebRenderTheme.{h,cpp}
* public/linux/WebRenderTheme.h: Added.
* src/linux/WebRenderTheme.cpp: Added.
(WebKit::setCaretBlinkInterval): Exposed API
2010-02-02 Shinichiro Hamaji <hamaji@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Implement WebFrameImpl::pageNumberForElementById
https://bugs.webkit.org/show_bug.cgi?id=34471
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::pageNumberForElementById):
* src/WebFrameImpl.h:
2010-02-02 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Upstream DevTools code.
https://bugs.webkit.org/show_bug.cgi?id=34326
* WebKit.gyp:
* src/APUAgentDelegate.h: Added.
* src/BoundObject.cpp: Added.
(WebKit::BoundObject::BoundObject):
(WebKit::BoundObject::~BoundObject):
(WebKit::BoundObject::addProtoFunction):
(WebKit::BoundObject::build):
* src/BoundObject.h: Added.
* src/DebuggerAgent.h: Added.
* src/DebuggerAgentImpl.cpp: Added.
(WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
(WebKit::DebuggerAgentImpl::~DebuggerAgentImpl):
(WebKit::DebuggerAgentImpl::getContextId):
(WebKit::DebuggerAgentImpl::debuggerOutput):
(WebKit::DebuggerAgentImpl::createUtilityContext):
(WebKit::DebuggerAgentImpl::executeUtilityFunction):
(WebKit::DebuggerAgentImpl::executeVoidJavaScript):
(WebKit::DebuggerAgentImpl::page):
* src/DebuggerAgentImpl.h: Added.
(WebKit::DebuggerAgentImpl::setAutoContinueOnException):
(WebKit::DebuggerAgentImpl::autoContinueOnException):
(WebKit::DebuggerAgentImpl::webdevtoolsAgent):
(WebKit::DebuggerAgentImpl::webView):
* src/DebuggerAgentManager.cpp: Added.
(WebKit::DebuggerAgentManager::debugHostDispatchHandler):
(WebKit::DebuggerAgentManager::debugAttach):
(WebKit::DebuggerAgentManager::debugDetach):
(WebKit::DebuggerAgentManager::onV8DebugMessage):
(WebKit::DebuggerAgentManager::pauseScript):
(WebKit::DebuggerAgentManager::executeDebuggerCommand):
(WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
(WebKit::DebuggerAgentManager::setHostId):
(WebKit::DebuggerAgentManager::onWebViewClosed):
(WebKit::DebuggerAgentManager::onNavigate):
(WebKit::DebuggerAgentManager::sendCommandToV8):
(WebKit::DebuggerAgentManager::sendContinueCommandToV8):
(WebKit::DebuggerAgentManager::findAgentForCurrentV8Context):
(WebKit::DebuggerAgentManager::debuggerAgentForHostId):
* src/DebuggerAgentManager.h: Added.
(WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope):
(WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope):
* src/DevToolsRPC.h: Added.
(WebKit::):
(WebKit::DevToolsRPC::Delegate::Delegate):
(WebKit::DevToolsRPC::Delegate::~Delegate):
(WebKit::DevToolsRPC::DevToolsRPC):
(WebKit::DevToolsRPC::~DevToolsRPC):
(WebKit::DevToolsRPC::sendRpcMessage):
* src/DevToolsRPCJS.h: Added.
* src/ProfilerAgent.h: Added.
* src/ProfilerAgentImpl.cpp: Added.
(WebKit::ProfilerAgentImpl::getActiveProfilerModules):
(WebKit::ProfilerAgentImpl::getLogLines):
* src/ProfilerAgentImpl.h: Added.
(WebKit::ProfilerAgentImpl::ProfilerAgentImpl):
(WebKit::ProfilerAgentImpl::~ProfilerAgentImpl):
* src/ToolsAgent.h: Added.
* src/WebDevToolsAgentImpl.cpp: Added.
(WebKit::):
(WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
(WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
(WebKit::WebDevToolsAgentImpl::disposeUtilityContext):
(WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary):
(WebKit::WebDevToolsAgentImpl::attach):
(WebKit::WebDevToolsAgentImpl::detach):
(WebKit::WebDevToolsAgentImpl::didNavigate):
(WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
(WebKit::WebDevToolsAgentImpl::didClearWindowObject):
(WebKit::WebDevToolsAgentImpl::forceRepaint):
(WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
(WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
(WebKit::WebDevToolsAgentImpl::executeVoidJavaScript):
(WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend):
(WebKit::WebDevToolsAgentImpl::inspectElementAt):
(WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
(WebKit::WebDevToolsAgentImpl::sendRpcMessage):
(WebKit::WebDevToolsAgentImpl::compileUtilityScripts):
(WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
(WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
(WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
(WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
(WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
(WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
(WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
(WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
(WebKit::WebDevToolsAgentImpl::inspectorController):
(WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
(WebKit::WebDevToolsAgentImpl::willSendRequest):
(WebKit::WebDevToolsAgentImpl::didReceiveData):
(WebKit::WebDevToolsAgentImpl::didReceiveResponse):
(WebKit::WebDevToolsAgentImpl::didFinishLoading):
(WebKit::WebDevToolsAgentImpl::didFailLoading):
(WebKit::WebDevToolsAgentImpl::evaluateInWebInspector):
(WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled):
(WebKit::WebDevToolsAgent::create):
(WebKit::WebDevToolsAgent::executeDebuggerCommand):
(WebKit::WebDevToolsAgent::debuggerPauseScript):
(WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler):
(WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
* src/WebDevToolsAgentImpl.h: Added.
(WebKit::WebDevToolsAgentImpl::hostId):
* src/WebDevToolsFrontendImpl.cpp: Added.
(WebKit::ToV8String):
(WebKit::WebDevToolsFrontend::create):
(WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
(WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent):
(WebKit::WebDevToolsFrontendImpl::executeScript):
(WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector):
(WebKit::WebDevToolsFrontendImpl::sendRpcMessage):
(WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected):
(WebKit::WebDevToolsFrontendImpl::contextMenuCleared):
(WebKit::WebDevToolsFrontendImpl::jsLoaded):
(WebKit::WebDevToolsFrontendImpl::jsPlatform):
(WebKit::WebDevToolsFrontendImpl::jsPort):
(WebKit::WebDevToolsFrontendImpl::jsCopyText):
(WebKit::WebDevToolsFrontendImpl::jsActivateWindow):
(WebKit::WebDevToolsFrontendImpl::jsCloseWindow):
(WebKit::WebDevToolsFrontendImpl::jsDockWindow):
(WebKit::WebDevToolsFrontendImpl::jsUndockWindow):
(WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL):
(WebKit::WebDevToolsFrontendImpl::jsHiddenPanels):
(WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand):
(WebKit::WebDevToolsFrontendImpl::jsSetting):
(WebKit::WebDevToolsFrontendImpl::jsSetSetting):
(WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript):
(WebKit::WebDevToolsFrontendImpl::jsWindowUnloading):
(WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
* src/WebDevToolsFrontendImpl.h: Added.
(WebKit::WebDevToolsFrontendImpl::MenuProvider::create):
(WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider):
(WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect):
(WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu):
(WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected):
(WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared):
(WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider):
2010-02-01 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add WebSecurityOrigin::createFromString factory
https://bugs.webkit.org/show_bug.cgi?id=34460
* public/WebSecurityOrigin.h:
* src/WebSecurityOrigin.cpp:
(WebKit::WebSecurityOrigin::createFromString):
2010-02-02 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Should not select a word on right-click.
https://bugs.webkit.org/show_bug.cgi?id=33364
For non-Mac platforms, do not select a word around the caret when
a context menu is opening. This behavior is not common in non-Mac
platforms, and it prevents pasting with a context menu.
In order that the spell checker works without the selection, we
introduce WebFrame::selectWordAroundCaret(). We can replace a word
around the caret with selectWordAroundCaret() + replaceSelection().
* public/WebFrame.h: Add pure selectWordAroundCaret() declaration.
* src/ContextMenuClientImpl.cpp:
(WebKit::selectMisspelledWord): Move word-selection code to
WebFrameImpl::selectWordAroundPosition(), and clear the selection
on non-Mac.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::selectWordAroundPosition):
(WebKit::WebFrameImpl::selectWordAroundCaret):
* src/WebFrameImpl.h: Add selectWordAroundCaret() declaration.
2010-02-01 Shinichiro Hamaji <hamaji@chromium.org>
Unreviewed attempt to fix the broken build.
This was introduced in http://trac.webkit.org/changeset/54182
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::performMediaPlayerAction):
2010-01-27 Matt Perry <mpcomplete@chromium.org>
Reviewed by Eric Seidel.
Add support for addUserScript to chromium port.
* public/WebView.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::addUserScript):
(WebKit::WebViewImpl::removeAllUserContent):
* src/WebViewImpl.h:
2010-01-29 Philippe Normand <pnormand@igalia.com>
Reviewed by Eric Carlson.
[GTK] set playbin mute property depending on volume value
https://bugs.webkit.org/show_bug.cgi?id=31586
New API in MediaPlayer for mute control
* public/WebMediaPlayerClient.h:
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::volumeChanged):
(WebKit::WebMediaPlayerClientImpl::muteChanged):
* src/WebMediaPlayerClientImpl.h:
2010-01-31 Kent Tamura <tkent@chromium.org>
Reviewed by Jeremy Orlow.
[Chromium] Fix a bug that a selected word is not recognized as a
spell-check source.
https://bugs.webkit.org/show_bug.cgi?id=33660
* src/ContextMenuClientImpl.cpp:
(WebKit::isASingleWord): Use wordBreakIterator(), and correctly check
the return value of textBreakNext().
2010-01-29 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Eric Seidel.
[Chromium] Clean up WebStorageArea
https://bugs.webkit.org/show_bug.cgi?id=34353
Get rid of legacy glue code and fix a typo.
* public/WebStorageArea.h:
2010-01-29 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Dimitri Glazkov.
A first step towards the Indexed Database API
https://bugs.webkit.org/show_bug.cgi?id=34342
Add runtime enable support for Indexed Database API.
* features.gypi:
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableIndexedDatabase):
(WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
2010-01-29 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Add API methods for loading inspector utility scripts.
https://bugs.webkit.org/show_bug.cgi?id=34326
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsAgentClient::injectedScriptSource):
(WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource):
2010-01-29 Darin Fisher <darin@chromium.org>
Reviewed by Adam Barth.
Add FrameLoaderClient::allowImages method to allow the client to
overrule image loading policy on a per frame basis.
https://bugs.webkit.org/show_bug.cgi?id=34225
* public/WebFrameClient.h:
(WebKit::WebFrameClient::allowImages):
* public/WebSettings.h:
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::allowImages):
* src/FrameLoaderClientImpl.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setImagesEnabled):
* src/WebSettingsImpl.h:
2010-01-28 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
StorageNamespaceProxy::copy() should be a no-op
https://bugs.webkit.org/show_bug.cgi?id=34298
The comment in the code should make clear why.
* public/WebViewClient.h:
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespaceProxy::copy):
2010-01-28 Michael Nordman <michaeln@google.com>
Reviewed by Alexey Proskuryakov.
ApplicationCache events should be deferred until after Document onload has fired.
https://bugs.webkit.org/show_bug.cgi?id=29690
* src/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
(WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
(WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
2010-01-27 Aaron Boodman <aa@chromium.org>
Reviewed by Darin Adler.
Send full URL and application id of requesting context to Chromium
when checking notification permissions.
https://bugs.webkit.org/show_bug.cgi?id=34238
* public/WebDocument.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::applicationID):
Implement applicationID() method.
* public/WebNotificationPresenter.h:
* src/NotificationPresenterImpl.cpp:
(WebKit::NotificationPresenterImpl::checkPermission):
* src/NotificationPresenterImpl.h:
Send applicationID and full URL through to Chromium.
2010-01-27 Darin Fisher <darin@chromium.org>
Reviewed by Pavel Feldman.
Expose HistoryItem::documentSequenceNumber
https://bugs.webkit.org/show_bug.cgi?id=34243
* public/WebHistoryItem.h:
* src/WebHistoryItem.cpp:
(WebKit::WebHistoryItem::documentSequenceNumber):
(WebKit::WebHistoryItem::setDocumentSequenceNumber):
2010-01-26 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
Add methods to support running a nested modal loop outside of WebKit.
https://bugs.webkit.org/show_bug.cgi?id=34199
* public/WebView.h:
* src/WebViewImpl.cpp:
(WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer
(WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer
2010-01-27 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
Adding missing WebMutationEvent.cpp file to fix build bustage.
https://bugs.webkit.org/show_bug.cgi?id=33882
* public/WebMutationEvent.h: Remove unnecessary constructor.
* src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h.
* src/WebMutationEvent.cpp: Added.
2010-01-27 Jay Campan <jcampan@google.com>
Reviewed by Darin Fisher.
Adding EventListeners to the chromium API.
https://bugs.webkit.org/show_bug.cgi?id=33882
* WebKit.gyp:
* public/WebEvent.h: Added.
* public/WebEventListener.h: Added.
* public/WebMutationEvent.h: Added.
* public/WebNode.h:
* public/WebString.h:
(WebKit::operator==):
(WebKit::operator!=):
* src/EventListenerWrapper.cpp: Added.
* src/EventListenerWrapper.h: Added.
* src/WebEvent.cpp: Added.
* src/WebEventListener.cpp: Added.
* src/WebEventListenerPrivate.cpp: Added.
* src/WebEventListenerPrivate.h: Added.
* src/WebNode.cpp:
(WebKit::WebNode::addEventListener):
(WebKit::WebNode::removeEventListener):
* src/WebString.cpp:
(WebKit::WebString::equals):
2010-01-26 Yaar Schnitman <yaar@chromium.org>
Reviewed by Darin Fisher.
Add KeyboardTest to WebKit API tests
https://bugs.webkit.org/show_bug.cgi?id=34178
* WebKit.gyp:
* tests/KeyboardTest.cpp: Added.
2010-01-22 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Adler.
Make storage events match the spec.
https://bugs.webkit.org/show_bug.cgi?id=30546
Update the storageEvent algorithm to match the change in WebCore.
* src/StorageAreaProxy.cpp:
(WebCore::StorageAreaProxy::storageEvent):
2010-01-22 Elliot Glaysher <erg@chromium.org>
Reviewed by David Levin.
Chromium: theme selection colors to match gtk theme
Add functions to RenderThemeChromiumLinux to change the selection color
according to the current GTK+ theme.
Since the change is to the Chromium WebKit API layer, testing is done
in Chromium's test shell (see Chromium side of this patch:
http://codereview.chromium.org/554004)
https://bugs.webkit.org/show_bug.cgi?id=33921
* public/WebView.h: Adds interface to change the selection colors
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setSelectionColors): Implements new interface.
* src/WebViewImpl.h:
2010-01-22 Steve VanDeBogart <vandebo@chromium.org>
Reviewed by David Levin.
Middle clicking the main scroll bars should not trigger a paste event
in Linux chromium.
https://bugs.webkit.org/show_bug.cgi?id=33062
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::mouseUp):
2010-01-22 Albert J. Wong <ajwong@chromium.org>
Not reviewed. backout.
Backout r53705.
Causes ui_tests to timeout, and browser_tests to fail with
TestConnectToBadPort and WindowOpenInvalidExtension.
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
(WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
(WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
* src/WebViewImpl.h:
2010-01-22 Peter Kasting <pkasting@google.com>
Not reviewed, backout.
Back out r52673, which caused several regressions.
https://bugs.webkit.org/show_bug.cgi?id=32533
* src/AutocompletePopupMenuClient.cpp:
(WebKit::AutocompletePopupMenuClient::initialize):
(WebKit::AutocompletePopupMenuClient::popupDidHide):
(WebKit::AutocompletePopupMenuClient::setTextFromItem):
* src/AutocompletePopupMenuClient.h:
2010-01-21 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
The Chromium WebKit API needs to expose storage event related data
https://bugs.webkit.org/show_bug.cgi?id=33985
setItem and removeItem on WebStorageArea need to expose what the previous
value was for the key being modified. Clear needs to return whether it
actually cleared anything.
* public/WebStorageArea.h:
(WebKit::WebStorageArea::setItem):
(WebKit::WebStorageArea::removeItem):
(WebKit::WebStorageArea::clear):
* src/StorageAreaProxy.cpp:
(WebCore::StorageAreaProxy::StorageAreaProxy):
(WebCore::StorageAreaProxy::setItem):
(WebCore::StorageAreaProxy::removeItem):
(WebCore::StorageAreaProxy::clear):
(WebCore::StorageAreaProxy::storageEvent):
* src/StorageAreaProxy.h:
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::localStorageNamespace):
(WebCore::StorageNamespace::sessionStorageNamespace):
(WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
(WebCore::StorageNamespaceProxy::copy):
(WebCore::StorageNamespaceProxy::storageArea):
* src/StorageNamespaceProxy.h:
* src/WebStorageAreaImpl.cpp:
(WebKit::WebStorageAreaImpl::setItem):
(WebKit::WebStorageAreaImpl::removeItem):
(WebKit::WebStorageAreaImpl::clear):
* src/WebStorageAreaImpl.h:
2010-01-21 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
[Chromium] spurious WebViewClient::didStopLoading if changing
location.hash while a subframe is still loading
https://bugs.webkit.org/show_bug.cgi?id=33884
This is a refinement of http://trac.webkit.org/changeset/51548
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
(WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
(WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::didStartLoading):
(WebKit::WebViewImpl::didStopLoading):
* src/WebViewImpl.h:
2010-01-21 Adam Barth <abarth@webkit.org>
Unreviewed. Added a blank line requested by the great an powerful
fishd.
* public/WebFrameClient.h:
2010-01-21 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
[chromium] Add allowPlugins callback to allow per-site enabling of plugins
https://bugs.webkit.org/show_bug.cgi?id=33974
Forward the new allowPlugins callback to WebKitClient so that it can
make the policy decision.
* public/WebFrameClient.h:
(WebKit::WebFrameClient::allowPlugins):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::allowJavaScript):
(WebKit::FrameLoaderClientImpl::allowPlugins):
* src/FrameLoaderClientImpl.h:
2010-01-21 James Robinson <jamesr@chromium.org>
Reviewed by Darin Fisher.
Bumps the refcount when WebNode::toElement/toConstElement are called.
https://bugs.webkit.org/show_bug.cgi?id=33977
Ensures that when a wrapper around a WebNode is create via the
toElement() or toConstElement() calls that the refcount on the WebNode
is increased, by forcing a call to WebNode::assign(). This is needed
so that the following code:
{
WebNode n = someNode();
WebElement e = n.toElement<WebElement>();
}
does not decrease the overall refcount on the Node that someNode()
returns.
This caused crashes in the 'Save page as..' feature.
* public/WebNode.h:
(WebKit::WebNode::toElement):
(WebKit::WebNode::toConstElement):
2010-01-21 Michael Nordman <michaeln@google.com>
Reviewed by Darin Fisher.
Adds WebKit::WebDataSource::applicationCacheHost() to the API.
https://bugs.webkit.org/show_bug.cgi?id=33880
* WebKit.gyp:
* public/WebDataSource.h:
* src/ApplicationCacheHost.cpp:
* src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp.
(WebCore::ApplicationCacheHostInternal::notifyEventListener):
(WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
* src/WebDataSourceImpl.cpp:
(WebKit::WebDataSourceImpl::applicationCacheHost):
* src/WebDataSourceImpl.h:
2010-01-21 Eric Uhrhane <ericu@chromium.org>
Reviewed by Dmitry Titov.
Add changes missing from r53595, without which Chromium has no database.
https://bugs.webkit.org/show_bug.cgi?id=33966
No new tests - fixes database layout tests in Chromium.
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableDatabase):
(WebKit::WebRuntimeFeatures::isDatabaseEnabled):
2010-01-21 Kenneth Russell <kbr@google.com>
Reviewed by Oliver Hunt.
[Chromium] Implement texSubImage2D taking WebGLArray
https://bugs.webkit.org/show_bug.cgi?id=33932
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::texSubImage2D):
2010-01-20 Vitaly Repeshko <vitalyr@chromium.org>
Reviewed by Pavel Feldman.
[V8] Support SerializedScriptValue.
https://bugs.webkit.org/show_bug.cgi?id=32920
http://crbug.com/30620
Updated uses of SerializedScriptValue:
* src/PlatformMessagePortChannel.cpp:
(WebCore::PlatformMessagePortChannel::postMessageToRemote):
(WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::postMessageToWorkerObject):
* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
(WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
* src/WebWorkerImpl.cpp:
(WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
2010-01-20 Shinichiro Hamaji <hamaji@chromium.org>
Reviewed by Darin Fisher.
[Chromium] computePageRectsForFrame seems to be unnecessary
https://bugs.webkit.org/show_bug.cgi?id=33881
* src/WebFrameImpl.cpp: Stop including FrameChromium.h
2010-01-19 Jon Honeycutt <jhoneycutt@apple.com>
Chromium build fix.
* public/WebAccessibilityRole.h:
(WebKit::):
Correct enum names.
* src/LocalizedStrings.cpp:
(WebCore::AXMenuListPopupActionVerb):
Stubbed.
(WebCore::AXMenuListActionVerb):
Stubbed.
2010-01-19 Jon Honeycutt <jhoneycutt@apple.com>
Chromium build fix.
* public/WebAccessibilityRole.h:
(WebKit::):
* src/AssertMatchingEnums.cpp:
2010-01-18 Jonathan Dixon <joth@chromium.org>
Reviewed by Adam Barth.
Add support for enabling navigator.geolocation at runtime in the V8 bindings.
Adds the [EnabledAtRuntime] modifier to the navigator IDL.
https://bugs.webkit.org/show_bug.cgi?id=33467
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableGeolocation):
(WebKit::WebRuntimeFeatures::isGeolocationEnabled):
2010-01-17 Kent Tamura <tkent@chromium.org>
Reviewed by Shinichiro Hamaji.
[Chromium] Remove an old runFileChooser() method.
https://bugs.webkit.org/show_bug.cgi?id=33778
Chromium code switched to new runFileChooser() introduced by
r53269. The old one is not needed anymore.
* public/WebViewClient.h:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::runOpenPanel):
2010-01-15 Eric Seidel <eric@webkit.org>
No review, rolling out r53344.
http://trac.webkit.org/changeset/53344
https://bugs.webkit.org/show_bug.cgi?id=32920
Broke the Chromium Mac builder.
* src/PlatformMessagePortChannel.cpp:
(WebCore::PlatformMessagePortChannel::postMessageToRemote):
(WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::postMessageToWorkerObject):
* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
(WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
* src/WebWorkerImpl.cpp:
(WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
2010-01-15 Vitaly Repeshko <vitalyr@chromium.org>
Reviewed by David Levin.
[V8] Support SerializedScriptValue.
https://bugs.webkit.org/show_bug.cgi?id=32920
http://crbug.com/30620
Updated uses of SerializedScriptValue:
* src/PlatformMessagePortChannel.cpp:
(WebCore::PlatformMessagePortChannel::postMessageToRemote):
(WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::postMessageToWorkerObject):
* src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
(WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
* src/WebWorkerImpl.cpp:
(WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
2010-01-14 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Oliver Hunt.
[Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy
https://bugs.webkit.org/show_bug.cgi?id=33704
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::localStorageNamespace):
(WebCore::StorageNamespace::sessionStorageNamespace):
2010-01-14 Marcus Bulach <bulach@chromium.org>
Reviewed by Dimitri Glazkov.
Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
https://bugs.webkit.org/show_bug.cgi?id=33648
* public/WebSecurityOrigin.h:
* src/WebSecurityOrigin.cpp:
(WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
2010-01-14 Brian Weinstein <bweinstein@apple.com>
Reviewed by Adam Roben.
Drag and Drop source/destination code needs cleanup.
<https://bugs.webkit.org/show_bug.cgi?id=33691>.
Update to new way of calling sourceOperation.
* src/DragClientImpl.cpp:
(WebKit::DragClientImpl::startDrag):
2010-01-14 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Remove references to V8DOMWrapper::convertToNative*().
https://bugs.webkit.org/show_bug.cgi?id=33677
* src/WebBindings.cpp:
(WebKit::getDragDataImpl):
(WebKit::getRangeImpl):
2010-01-14 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Fisher.
Introduce WebFileChooserParams to convey parameters for
WebViewClient::runFileChooser(), and add new parameters to it.
https://bugs.webkit.org/show_bug.cgi?id=32473
The new parameters are
- selected file names
- "accept" attribute value
* WebKit.gyp: Add WebFileChooserParams.h
* public/WebFileChooserParams.h: Added.
* public/WebViewClient.h:
(WebKit::WebViewClient::runFileChooser):
Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::runOpenPanel):
Call the new runFileChooser() first, then call the old
runFileChooser() if the new one failed.
2010-01-13 Kenneth Russell <kbr@google.com>
Reviewed by Oliver Hunt.
Need to implement WebGLContextAttributes
https://bugs.webkit.org/show_bug.cgi?id=31169
Added the WebGLContextAttributes class and custom JavaScript
bindings to accept a native object as the second argument to
getContext("experimental-webgl") per the WebGL specification.
Added GraphicsContext3D::Attributes struct to isolate DOM and
graphics layers. Added getContextAttributes() to
WebGLRenderingContext. Added test case ensuring that context
attributes can be passed down and returned. Tested in Safari and
Chromium. The attributes will be hooked up to the creation of the
OpenGL context in bug 33416.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::getContextAttributes):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::getContextAttributes):
2010-01-13 Jon Honeycutt <jhoneycutt@apple.com>
MSAA: selected, selectable, extended selectable, and multiple
selectable states are not reported
https://bugs.webkit.org/show_bug.cgi?id=33574
<rdar://problem/7536826>
Reviewed by Darin Adler.
* public/WebAccessibilityObject.h:
Update for WebCore::AccessibilityObject function rename.
* src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::isMultiSelectable):
Ditto.
2010-01-13 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
https://bugs.webkit.org/show_bug.cgi?id=33492
* public/WebKitClient.h:
* public/WebViewClient.h:
(WebKit::WebViewClient::createSessionStorageNamespace):
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::sessionStorageNamespace):
2010-01-13 Jeremy Orlow <jorlow@chromium.org>
No reviewer. More or less a build fix. My 53180 broke some
stuff on the Chromium port so I'm reverting.
* public/WebKitClient.h:
* public/WebViewClient.h:
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::sessionStorageNamespace):
2010-01-11 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
https://bugs.webkit.org/show_bug.cgi?id=33492
* public/WebKitClient.h:
* public/WebViewClient.h:
(WebKit::WebViewClient::getSessionStorageNamespace):
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::sessionStorageNamespace):
2010-01-11 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once
https://bugs.webkit.org/show_bug.cgi?id=33504
* WebKit.gyp:
* tests/KURLTest.cpp:
(ComponentCase::TEST):
* tests/RunAllTests.cpp: Added.
(main):
* tests/WebKitTest.h: Removed.
2010-01-09 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
ScriptController::isEnabled needs to be renamed
https://bugs.webkit.org/show_bug.cgi?id=32063
Rename ScriptController::isEnabled to
ScriptController::canExecuteScripts.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::bindToWindowObject):
2010-01-08 Daniel Bates <dbates@webkit.org>
Reviewed by Adam Barth.
https://bugs.webkit.org/show_bug.cgi?id=33417
Cleans up style errors exposed by the patch for bug #33198.
No functionality was changed. So, no new tests.
* src/GraphicsContext3D.cpp:
2010-01-08 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Upstream webkit unit tests from the chromium repository
https://bugs.webkit.org/show_bug.cgi?id=33351
This adds one such test (for KURL) and sets up the test framework.
Switch WebKit to build a static library on all platforms. Add a
webkit_unit_tests executable target that runs the unit tests and also
ensures that we don't have any missing symbols (a function that WebKit
as a shared library used to serve).
Changes chromium_src_dir to ../../WebKit/chromium to match how
WebCore.gyp defines that variable.
* WebKit.gyp:
* public/WebKitClient.h:
(WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon.
(WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon.
(WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon.
(WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon.
(WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon.
(WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon.
* tests: Added.
* tests/KURLTest.cpp: Added.
* tests/WebKitTest.h: Added.
2010-01-07 Mike Belshe <mbelshe@chromium.org>
Reviewed by Darin Adler.
Fix Spdy casing to match style guide.
https://bugs.webkit.org/show_bug.cgi?id=33326
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::wasFetchedViaSPDY):
(WebKit::WebURLResponse::setWasFetchedViaSPDY):
2010-01-07 Daniel Bates <dbates@rim.com>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=32987
Added ENABLE_XHTMLMP flag. Disabled by default.
* features.gypi:
2010-01-07 Adam Barth <abarth@webkit.org>
No review, rolling out r52847.
http://trac.webkit.org/changeset/52847
https://bugs.webkit.org/show_bug.cgi?id=33232
Might have caused a perf regression.
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
2010-01-06 Mike Belshe <mike@belshe.com>
Add a flag to the ResourceResponse for tracking if a request was
fetched via SPDY. This is plumbed through so that we can inform
a webpage via JavaScript if it was fecthed via the experimental
SPDY protocol.
https://bugs.webkit.org/show_bug.cgi?id=33186
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::wasFetchedViaSpdy):
(WebKit::WebURLResponse::setWasFetchedViaSpdy):
2010-01-06 Darin Fisher <darin@chromium.org>
Fix release build bustage.
* src/WebKit.cpp: Need to include Logging.h
2010-01-05 Darin Fisher <darin@chromium.org>
Reviewed by Adam Barth.
[Chromium] Expose more APIs to eliminate WebCore usage in Chromium.
https://bugs.webkit.org/show_bug.cgi?id=33249
* WebKit.gyp:
* public/WebFrame.h:
* public/WebGlyphCache.h: Added.
* public/WebKit.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrame::instanceCount):
(WebKit::WebFrameImpl::WebFrameImpl):
(WebKit::WebFrameImpl::~WebFrameImpl):
* src/WebFrameImpl.h:
* src/WebGlyphCache.cpp: Added.
(WebKit::WebGlyphCache::pageCount):
* src/WebKit.cpp:
(WebKit::enableLogChannel):
2010-01-05 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
[v8] Move V8DOMWindowShell to ScriptController
https://bugs.webkit.org/show_bug.cgi?id=33232
Update FrameLoaderClientImpl.cpp to call clearForClose on
ScriptController instead of on V8Proxy.
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
2010-01-05 Rachel Petterson <rlp@google.com>
Reviewed by Adam Barth.
Matches the texImage2D and texSubImage2D functions to their
declarations. Elminates uncessary versions of those functions.
https://bugs.webkit.org/show_bug.cgi?id=31562
Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texSubImage2D):
2010-01-04 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Fisher.
Reorganize, document and rename OS() platform macros.
https://bugs.webkit.org/show_bug.cgi?id=33198
Adapt to name changes.
* src/ChromiumBridge.cpp:
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
(WebKit::):
(WebKit::EditorClientImpl::handleEditingKeyboardEvent):
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::createPlugin):
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::makeContextCurrent):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::selectionAsText):
(WebKit::WebFrameImpl::printPage):
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleMouseEvent):
(WebKit::WebPluginContainerImpl::handleKeyboardEvent):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::mouseContextMenu):
(WebKit::WebViewImpl::mouseUp):
(WebKit::WebViewImpl::keyEvent):
(WebKit::WebViewImpl::sendContextMenuEvent):
(WebKit::WebViewImpl::setScrollbarColors):
(WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
2010-01-04 Darin Fisher <darin@chromium.org>
Reviewed by Eric Seidel.
[Chromium] Expose more DOM methods to support LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=33185
* public/WebDocument.h: Adds documentElement method.
* public/WebElement.h: Adds innerText method.
* public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById
methods, and fixes a few whitespace issues.
* src/WebDocument.cpp:
(WebKit::WebDocument::documentElement):
* src/WebElement.cpp:
(WebKit::WebElement::innerText):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::clearName):
(WebKit::WebFrameImpl::renderTreeAsText):
(WebKit::WebFrameImpl::counterValueForElementById):
* src/WebFrameImpl.h:
2010-01-04 Darin Fisher <darin@chromium.org>
Fix Chromium build bustage.
* src/WebAnimationControllerImpl.h:
2010-01-04 Yaar Schnitman <yaar@chromium.org>
Reviewed by Darin Fisher.
Adding WebAnimationController to chromium's WebKit API.
https://bugs.webkit.org/show_bug.cgi?id=32870
* WebKit.gyp:
* public/WebAnimationController.h: Added.
(WebKit::WebAnimationController::~WebAnimationController):
* public/WebFrame.h:
* src/WebAnimationControllerImpl.cpp: Added.
(WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl):
(WebKit::WebAnimationControllerImpl::pauseAnimationAtTime):
(WebKit::WebAnimationControllerImpl::pauseTransitionAtTime):
(WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
* src/WebAnimationControllerImpl.h: Added.
(WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::animationController):
(WebKit::WebFrameImpl::WebFrameImpl):
* src/WebFrameImpl.h:
2010-01-04 Jay Campan <jcampan@google.com>
Reviewed by Darin Fisher
Adding more DOM API methods. They are needed for the upcoming
translate feature.
* public/WebElement.h:
* public/WebNode.h:
* src/WebElement.cpp:
(WebKit::WebElement::tagName):
(WebKit::WebElement::setAttribute):
* src/WebNode.cpp:
(WebKit::WebNode::setNodeValue):
2010-01-03 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
[Chromium] Implement CookieJarChromium::cookiesEnabled
https://bugs.webkit.org/show_bug.cgi?id=33123
Call out to the webKitClient() to see if cookies are enabled. Also
remove some straggling references to policyURL!
* public/WebKitClient.h:
(WebKit::WebKitClient::setCookies):
(WebKit::WebKitClient::cookies):
(WebKit::WebKitClient::rawCookies):
(WebKit::WebKitClient::cookiesEnabled):
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::cookiesEnabled):
2010-01-03 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
[Chromium] Remove evaluateInNewContext (it's useless)
https://bugs.webkit.org/show_bug.cgi?id=33068
This function has no clients and makes life complicated. Isolated
worlds won out over NewContext and there's not really any going back
now.
* public/WebFrame.h:
* src/FrameLoaderClientImpl.h:
* src/WebFrameImpl.cpp:
* src/WebFrameImpl.h:
2009-12-30 Darin Fisher <darin@chromium.org>
Reviewed by David Levin.
[Chromium] Delete ResourceRequest::securityInfo
https://bugs.webkit.org/show_bug.cgi?id=26847
* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::initializeLoader):
2009-12-30 Albert J. Wong <ajwong@chromium.org>
Not reviewed. Trivial Chromium build fix.
Add static_cast<unsigned>() to fix signed/unsigned comparison warning.
* src/AutocompletePopupMenuClient.cpp:
(WebKit::AutocompletePopupMenuClient::selectionChanged):
2009-12-30 Zelidrag Hornung <zelidrag@chromium.org>
Reviewed by Dimitri Glazkov.
Autocomplete in Chromium now offers suggestions within the input element as a user
a) types text that produces some autocomplete suggestions, and
b) scrolls through suggested values in the menu
The suggested value is rendered but not exposed through JS unti the
user makes the final selection.
No new tests since this new functionality (autocomplete suggestions)
is intentionally hidden from everything else than renderer.
* src/AutocompletePopupMenuClient.cpp:
(WebKit::AutocompletePopupMenuClient::initialize):
(WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue):
(WebKit::AutocompletePopupMenuClient::selectionChanged):
(WebKit::AutocompletePopupMenuClient::popupDidHide):
(WebKit::AutocompletePopupMenuClient::setTextFromItem):
(WebKit::AutocompletePopupMenuClient::resetLastFieldValue):
* src/AutocompletePopupMenuClient.h:
2009-12-28 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Maciej Stachowiak.
Fixed isKeypadEvent behavior for chromium/Mac to correctly report
keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events.
https://bugs.webkit.org/show_bug.cgi?id=28247
Test: fast/events/keydown-numpad-keys.html
* src/mac/WebInputEventFactory.mm:
(WebKit::isKeypadEvent):
2009-12-22 Kenneth Russell <kbr@google.com>
Reviewed by Eric Seidel.
[Chromium] Garbage in transparent regions of images uploaded as textures
https://bugs.webkit.org/show_bug.cgi?id=32888
Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree)
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::texImage2D):
2009-12-22 Adam Langley <agl@google.com>
Build fix: not reviewed.
r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the
Chromium build on Windows and Mac due to a misplaced #endif. The
buildbot didn't find the problem because it runs on Linux.
Have verified this patch with the author of the above.
* src/GraphicsContext3D.cpp:
2009-12-22 Kenneth Russell <kbr@google.com>
Reviewed by Eric Seidel.
[Chromium] WebGL crashes intermittently on Linux
https://bugs.webkit.org/show_bug.cgi?id=32845
The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a
GraphicsContext3D was created was occasionally causing it to be
re-mapped at a different base address. Since GLEW is not
re-initialized every time, primarily for performance reasons, its
cached function pointers were pointing to garbage. Stopped closing
and re-opening libGL.so.1 each time; now it is loaded lazily, when
the first 3D context is created. Also reused the X display
connection since the GLX routines' correctness might hinge upon it
not resulting in a change of GL implementation.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
(WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
(WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
(WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
(WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
(WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
(WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
(WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
(WebCore::GraphicsContext3DInternal::GLConnection::tryLoad):
(WebCore::GraphicsContext3DInternal::GLConnection::create):
(WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::makeContextCurrent):
2009-12-22 Yaar Schnitman <yaar@chromium.org>
Reviewed by Darin Fisher.
autoComplete and getElementById methods for WebKit API
https://bugs.webkit.org/show_bug.cgi?id=32866
* public/WebDocument.h:
* public/WebInputElement.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::getElementById):
* src/WebInputElement.cpp:
(WebKit::WebInputElement::autoComplete):
2009-12-18 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
[Chromium] Eliminate redundant data copy in GraphicsContext3D readback
https://bugs.webkit.org/show_bug.cgi?id=32763
Eliminated useless creation of a CGBitmapContext and from there a
CGImage. Now create CGImage directly from data. Also changed
readPixels parameters and CGImage alpha info to try to avoid byte
swapping, and disabled interpolation when drawing the GL content.
Some test cases run twice as fast with these changes, though more
work is needed to achieve desired performance.
No test case; performance optimization only. Ran WebGL demos from
Khronos site to verify changes.
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::reshape):
(WebCore::GraphicsContext3DInternal::beginPaint):
2009-12-18 Peter Kasting <pkasting@google.com>
Reviewed by Adam Barth.
Chromium build fix
https://bugs.webkit.org/show_bug.cgi?id=32756
* public/WebAccessibilityRole.h:
(WebKit::):
* src/AssertMatchingEnums.cpp:
2009-12-18 Adam Roben <aroben@apple.com>
Chromium build fix
* src/ChromiumBridge.cpp:
* src/WebPluginContainerImpl.cpp:
* src/WebViewImpl.cpp:
Added #includes.
2009-12-17 Eric Seidel <eric@webkit.org>
No review, rolling out r52291.
http://trac.webkit.org/changeset/52291
https://bugs.webkit.org/show_bug.cgi?id=32618
Darin Fisher points out that this will likely break
the SSL security indicator in Chromium. Rolling out for now.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
2009-12-17 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Eric Seidel.
Disable memory cache client calls so that a new identifier isn't created
for the same resource on reload.
With the calls enabled, duplicate entries for cached resources are created
in the Web Inspector. Safari for Windows disables the calls near the point of the
Frame instance creation, and we just follow this for Chromium.
https://bugs.webkit.org/show_bug.cgi?id=32618
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
2009-12-17 Yaar Schnitman <yaar@chromium.org>
Reviewed by Darin Fisher.
Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support
downstream unit-testing of serialization.
WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding.
https://bugs.webkit.org/show_bug.cgi?id=31737
* WebKit.gyp:
* public/WebDocument.h: Added.
(WebKit::WebDocument::WebDocument):
(WebKit::WebDocument::operator=):
(WebKit::WebDocument::assign):
* public/WebElement.h:
* public/WebFormElement.h:
(WebKit::WebFormElement::operator=):
* public/WebFrame.h:
* public/WebNode.h:
(WebKit::WebNode::):
(WebKit::WebNode::toConstElement):
* public/WebNodeCollection.h: Added.
(WebKit::WebNodeCollection::~WebNodeCollection):
(WebKit::WebNodeCollection::WebNodeCollection):
(WebKit::WebNodeCollection::operator=):
* public/WebNodeList.h: Added.
(WebKit::WebNodeList::~WebNodeList):
(WebKit::WebNodeList::WebNodeList):
(WebKit::WebNodeList::operator=):
* public/WebPageSerializer.h: Added.
* public/WebPageSerializerClient.h: Added.
(WebKit::WebPageSerializerClient::):
(WebKit::WebPageSerializerClient::WebPageSerializerClient):
(WebKit::WebPageSerializerClient::~WebPageSerializerClient):
* public/WebString.h:
* public/WebView.h:
* src/AssertMatchingEnums.cpp:
* src/DOMUtilitiesPrivate.cpp:
(WebKit::elementHasLegalLinkAttribute):
* src/DOMUtilitiesPrivate.h:
* src/WebDocument.cpp: Added.
(WebKit::WebDocument::WebDocument):
(WebKit::WebDocument::operator=):
(WebKit::WebDocument::operator WTF::PassRefPtr<Document>):
(WebKit::WebDocument::frame):
(WebKit::WebDocument::isHTMLDocument):
(WebKit::WebDocument::baseURL):
(WebKit::WebDocument::body):
(WebKit::WebDocument::head):
(WebKit::WebDocument::all):
(WebKit::WebDocument::completeURL):
* src/WebElement.cpp:
(WebKit::WebElement::hasTagName):
(WebKit::WebElement::hasAttribute):
(WebKit::WebElement::getAttribute):
* src/WebEntities.cpp: Added.
(WebKit::populateMap):
(WebKit::):
(WebKit::WebEntities::WebEntities):
(WebKit::WebEntities::entityNameByCode):
(WebKit::WebEntities::convertEntitiesInString):
* src/WebEntities.h: Added.
* src/WebFrameImpl.cpp:
(WebKit::WebFrame::fromFrameOwnerElement):
(WebKit::WebFrameImpl::encoding):
(WebKit::WebFrameImpl::document):
(WebKit::WebFrameImpl::fromFrameOwnerElement):
* src/WebFrameImpl.h:
* src/WebNode.cpp:
(WebKit::WebNode::nodeType):
(WebKit::WebNode::nodeValue):
(WebKit::WebNode::document):
(WebKit::WebNode::firstChild):
(WebKit::WebNode::lastChild):
(WebKit::WebNode::previousSibling):
(WebKit::WebNode::nextSibling):
(WebKit::WebNode::hasChildNodes):
(WebKit::WebNode::childNodes):
(WebKit::WebNode::createMarkup):
(WebKit::WebNode::isTextNode):
(WebKit::WebNode::isElementNode):
* src/WebNodeCollection.cpp: Added.
(WebKit::WebNodeCollection::reset):
(WebKit::WebNodeCollection::assign):
(WebKit::WebNodeCollection::WebNodeCollection):
(WebKit::WebNodeCollection::length):
(WebKit::WebNodeCollection::nextItem):
(WebKit::WebNodeCollection::firstItem):
* src/WebNodeList.cpp: Added.
(WebKit::WebNodeList::reset):
(WebKit::WebNodeList::assign):
(WebKit::WebNodeList::WebNodeList):
(WebKit::WebNodeList::length):
(WebKit::WebNodeList::item):
* src/WebPageSerializer.cpp: Added.
(WebKit::WebPageSerializer::serialize):
(WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
(WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration):
(WebKit::WebPageSerializer::generateBaseTagDeclaration):
* src/WebPageSerializerImpl.cpp: Added.
(WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
(WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
(WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
(WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag):
(WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
(WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
(WebKit::WebPageSerializerImpl::openTagToString):
(WebKit::WebPageSerializerImpl::endTagToString):
(WebKit::WebPageSerializerImpl::buildContentForNode):
(WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
(WebKit::WebPageSerializerImpl::collectTargetFrames):
(WebKit::WebPageSerializerImpl::serialize):
* src/WebPageSerializerImpl.h: Added.
* src/WebString.cpp:
(WebKit::WebString::WebString):
(WebKit::WebString::operator=):
* src/WebViewImpl.cpp:
2009-12-17 Yury Semikhatsky <yurys@chromium.org>
Reviewed by David Levin.
Provide explicit implementation of 'non-template' WebVector<T>::operator=
https://bugs.webkit.org/show_bug.cgi?id=32363
* public/WebVector.h:
2009-12-16 Fumitoshi Ukai <ukai@chromium.org>
Unreviewed, build fix.
[Chromium] Add EditableTextRole to catch up with
http://trac.webkit.org/changeset/52233
* public/WebAccessibilityRole.h:
(WebKit::): Added WebAccessibilityRoleEditableText
* src/AssertMatchingEnums.cpp: Added matching compile assert.
2009-12-15 Kenneth Russell <kbr@google.com>
Reviewed by Darin Fisher.
Don't allow default framebuffer to be mutated
https://bugs.webkit.org/show_bug.cgi?id=32391
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::reshape):
(WebCore::GraphicsContext3DInternal::beginPaint):
(WebCore::GraphicsContext3DInternal::bindFramebuffer):
(WebCore::GraphicsContext3D::bindFramebuffer):
2009-12-15 Dimitri Glazkov <dglazkov@chromium.org>
Unreviewed, build fix.
[Chromium] Add TreeGridRole to catch up with
http://trac.webkit.org/changeset/52159.
* public/WebAccessibilityRole.h:
(WebKit::): Added WebAccessibilityRoleTreeGrid.
* src/AssertMatchingEnums.cpp: Added matching compile assert.
2009-12-15 Jian Li <jianli@chromium.org>
Reviewed by Dmitry Titov.
Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard.
https://bugs.webkit.org/show_bug.cgi?id=31090
The proposal to whatwg can be found here:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html
* public/WebDragData.h:
* src/WebDragData.cpp:
(WebKit::WebDragData::downloadURL):
(WebKit::WebDragData::setDownloadURL):
2009-12-14 Evan Stade <estade@chromium.org>
Reviewed by Darin Fisher.
https://bugs.webkit.org/show_bug.cgi?id=32347
Chromium: Context menu launched by menu key has funky behavior
Make the context menu's position depend on the selection only when an
editable field has focus. Also, don't send multiple context menu events
for a single keypress.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::keyEvent):
(WebKit::WebViewImpl::sendContextMenuEvent):
2009-12-13 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
Add client based Geolocation provider
Add first cut of a client based Geolocation provider. This is guarded by
ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
GeolocationControllerClient interface that no-one currently implements,
but will in a subsequent patch.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
2009-12-13 Charles Reis <creis@chromium.org>
Reviewed by Adam Barth.
Refactor some security code out of V8 bindings
https://bugs.webkit.org/show_bug.cgi?id=32326
* src/WebBindings.cpp:
(WebKit::getDragDataImpl):
2009-12-11 Nate Chapin <japhet@chromium.org>
Reviewed by Darin Fisher.
Expose shouldHideReferrer() in WebSecurityPolicy.
https://bugs.webkit.org/show_bug.cgi?id=32398
* public/WebSecurityPolicy.h: Add shouldHideReferrer().
* src/WebSecurityPolicy.cpp:
(WebKit:: WebSecurityPolicy::shouldHideReferrer): Added.
2009-12-11 Avi Drissman <avi@chromium.org>
Reviewed by Darin Fisher.
Tickmarks in the scrollbar are not cleared for non-main frames
https://bugs.webkit.org/show_bug.cgi?id=32385
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::stopFinding):
2009-12-11 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Remove obsolete message handling methods from WebDevTools* interfaces
https://bugs.webkit.org/show_bug.cgi?id=32320
* public/WebDevToolsAgent.h:
* public/WebDevToolsAgentClient.h:
* public/WebDevToolsFrontend.h:
* public/WebDevToolsFrontendClient.h:
2009-12-10 Mike Belshe <mike@belshe.com>
Unreviewed, build fix for chromium.
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
2009-12-10 Kenneth Russell <kbr@google.com>
Reviewed by Oliver Hunt.
Changed WebGLRenderingContext to synthesize GL errors rather than
raising JavaScript exceptions. Removed internal getError() calls
after each graphics call. The GraphicsContext3D maintains the
synthetic exceptions because only it has complete information
about certain conditions requiring them to be raised.
Based on idea from Ilmari Heikkinen, added create3DDebugContext()
to webgl-test.js and changed the WebGL layout tests expecting
error conditions to use it. Updated expected.txt files, which now
implicitly test the OpenGL error as it is part of the exception's
message.
Added new targeted test covering aspects of synthetic errors as
well as regression tests for bugs uncovered during its development.
Test: fast/canvas/webgl/error-reporting.html
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::reshape):
(WebCore::GraphicsContext3DInternal::getError):
(WebCore::GraphicsContext3DInternal::synthesizeGLError):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::getError):
(WebCore::GraphicsContext3D::synthesizeGLError):
2009-12-10 Mike Belshe <mike@belshe.com>
Reviewed by Darin Fisher.
Fix FrameLoader to use the new ResourceTypes properly.
https://bugs.webkit.org/show_bug.cgi?id=32336
* public/WebURLRequest.h:
(WebKit::WebURLRequest::):
* src/FrameLoaderClientImpl.cpp:
(WebKit::setTargetTypeFromLoader):
(WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
2009-12-10 Ilya Tikhonovsky <loislo@google.com>
Reviewed by Pavel Feldman.
Chromium: Expose devtools agent API for inspector layout tests.
https://bugs.webkit.org/show_bug.cgi?id=32379
* public/WebDevToolsAgent.h:
(WebKit::WebDevToolsAgent::setTimelineProfilingEnabled):
(WebKit::WebDevToolsAgent::evaluateInWebInspector):
2009-12-09 Yury Semikhatsky <yurys@chromium.org>
Unreviewed, build fix.
Change forward declaration of WebContextMenuData from class to
struct to match its definition. The bug was introduced by
http://trac.webkit.org/changeset/51874
* src/ContextMenuClientImpl.h:
2009-12-09 Darin Fisher <darin@chromium.org>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=32324
[Chromium] Suppress WebFrameClient callbacks from a detached frame.
This change means that we no longer need the ClientHandle class.
FrameLoaderClient::detachedFromParent3() is called on each frame
in the frame tree from within frameDetached().
Test: http/tests/loading/gmail-assert-on-load.html
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::create):
(WebKit::WebFrameImpl::WebFrameImpl):
(WebKit::WebFrameImpl::createChildFrame):
* src/WebFrameImpl.h:
(WebKit::WebFrameImpl::client):
(WebKit::WebFrameImpl::dropClient):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::close):
2009-12-08 Stuart Morgan <stuartmorgan@chromium.org>
Reviewed by Darin Fisher.
Include clickCount when doing MouseEvent -> WebMouseEvent conversion
in Chromium API.
https://bugs.webkit.org/show_bug.cgi?id=32289
* src/WebInputEventConversion.cpp:
(WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2009-12-09 Yury Semikhatsky <yurys@chromium.org>
Unreviewed, build fix.
Add return statement to default implementation of hostIdentifier method
introduced in http://trac.webkit.org/changeset/51897
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsAgentClient::hostIdentifier):
2009-12-09 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Add declaration of static methods that allow to dispatch
DevTools messages on the IO thread and accept WebDevToolsMessageData
argument.
https://bugs.webkit.org/show_bug.cgi?id=32314
* public/WebDevToolsAgent.h:
* public/WebDevToolsAgentClient.h:
2009-12-09 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Introduce a class for devtools message data
https://bugs.webkit.org/show_bug.cgi?id=32314
* WebKit.gyp:
* public/WebDevToolsAgent.h:
* public/WebDevToolsAgentClient.h:
(WebKit::WebDevToolsAgentClient::sendMessageToFrontend):
(WebKit::WebDevToolsAgentClient::forceRepaint):
(WebKit::WebDevToolsAgentClient::hostIdentifier):
(WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged):
* public/WebDevToolsFrontend.h:
* public/WebDevToolsFrontendClient.h:
(WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
* public/WebDevToolsMessageData.h: Added.
2009-12-08 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Darin Fisher.
Chromium: support custom WebCore context menu items in Chromium port.
https://bugs.webkit.org/show_bug.cgi?id=32277
* public/WebContextMenuData.h:
* public/WebPopupMenuInfo.h:
(WebKit::WebPopupMenuInfo::Item::):
* public/WebView.h:
* src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::executeCustomContextMenuAction):
* src/WebViewImpl.h:
2009-12-08 Albert J. Wong <ajwong@chromium.org>
Not reviewed: Chromium build fix.
r51859 changed the case for some of the ResourceRequest::TargetType
enums.
* src/FrameLoaderClientImpl.cpp:
(WebKit::determineTargetTypeFromLoader):
2009-12-07 Zhe Su <suzhe@chromium.org>
Reviewed by Darin Fisher.
[Chromium] accesskey is not supported on Chromium Mac.
https://bugs.webkit.org/show_bug.cgi?id=32213
This change fixes (partially) the accesskey issue by decoupling the
code for handling accesskeys and system keys. Because on Mac,
the modifiers of accesskeys are ctrl+alt, which are not marked as
system keys.
In order to fully fix this issue, some changes in Chromium code is
also required.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::keyEvent):
(WebKit::WebViewImpl::charEvent):
2009-12-07 Evan Martin <evan@chromium.org>
Reviewed by Eric Seidel.
Chromium: theme scrollbars to match GTK theme.
Add API to set the colors.
Since the change is to the Chromium WebKit API layer, testing will
be in Chromium's test shell.
http://bugs.webkit.org/show_bug.cgi?id=32048
Patch from Markus Gutschke <markus@chromium.org>.
* public/WebView.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setScrollbarColors):
* src/WebViewImpl.h:
2009-12-07 Finnur Thorarinsson <finnur.webkit@gmail.com>
Reviewed by Darin Fisher.
A patch for Chromium to restrict the scope of the Gmail focus fix,
where we set the Selection to 0,0 for content-editable fields and
also make sure we set the selection end-state for find to select the
text found (when not focusing a link we found).
WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setFocus):
2009-12-07 Dmitry Titov <dimich@chromium.org>
Rubber-stamped by Darin Adler.
Remove ENABLE_SHARED_SCRIPT flags
https://bugs.webkit.org/show_bug.cgi?id=32245
This patch was obtained by "git revert" command and then un-reverting of ChangeLog files.
* features.gypi:
2009-12-07 Yaar Schnitman <yaar@chromium.org>
Reviewed by Darin Fisher.
fixes to build-webkit --chromium
https://bugs.webkit.org/show_bug.cgi?id=32179
* DEPS:
* WebKit.gyp:
* gyp_webkit:
2009-12-07 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
[Chromium] Add declarations for DevTools message dispatching on IO thread
(see http://codereview.chromium.org/460018)
https://bugs.webkit.org/show_bug.cgi?id=32217
* public/WebDevToolsAgent.h:
* public/WebDevToolsAgentClient.h:
2009-12-04 James Hawkins <jhawkins@chromium.org>
Reviewed by Darin Fisher.
https://bugs.webkit.org/show_bug.cgi?id=32095
Implement WebRegularExpression, a WebKit API for accessing
WebCore::RegularExpression.
* WebKit.gyp:
* public/WebRegularExpression.h: Added.
* public/WebTextCaseSensitivity.h: Added.
(WebKit::):
* src/AssertMatchingEnums.cpp:
* src/WebRegularExpression.cpp: Added.
(WebKit::WebRegularExpression::WebRegularExpression):
(WebKit::WebRegularExpression::~WebRegularExpression):
(WebKit::WebRegularExpression::match):
2009-12-04 Peter Kasting <pkasting@google.com>
Reviewed by Darin Fisher.
[Chromium] Simplify zoom-related APIs and add a zoom level getter,
part two: Remove deprecated APIs.
https://bugs.webkit.org/show_bug.cgi?id=31893
* public/WebView.h:
* src/WebViewImpl.cpp:
* src/WebViewImpl.h:
2009-12-03 Jonathan Dixon <joth@chromium.org>
Reviewed by Dimitri Glazkov.
Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
https://bugs.webkit.org/show_bug.cgi?id=32066
Add the plumbing to map WebSettings through to WebCore::Settings
* features.gypi:
* public/WebSettings.h: Add setGeolocationEnabled API to interface
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled
* src/WebSettingsImpl.h: Add setGeolocationEnabled interface function
2009-12-03 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig.
<rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
(WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
(WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage):
* src/FrameLoaderClientImpl.h:
2009-12-03 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Chromium: Add support for settings containing ":"
https://bugs.webkit.org/show_bug.cgi?id=32118
* src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::loadSettings):
2009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
Reviewed by Timothy Hatcher.
Web Inspector: Simplify the settings support in inspector controller.
https://bugs.webkit.org/show_bug.cgi?id=32076
* src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::hiddenPanels):
(WebKit::InspectorClientImpl::populateSetting):
(WebKit::InspectorClientImpl::storeSetting):
(WebKit::InspectorClientImpl::loadSettings):
(WebKit::InspectorClientImpl::saveSettings):
* src/InspectorClientImpl.h:
2009-12-03 Ben Murdoch <benm@google.com>
Reviewed by Brady Eidson.
[Android] The FrameLoaderClient is unaware of BackForwardList changes.
https://bugs.webkit.org/show_bug.cgi?id=31914
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
(WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto.
(WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito.
* src/FrameLoaderClientImpl.h:
2009-12-02 Yusuke Sato <yusukes@chromium.org>
Reviewed by Eric Seidel.
Sanitize web fonts using the OTS library
https://bugs.webkit.org/show_bug.cgi?id=31106
* DEPS: Added dependency to the OpenType sanitizer library.
* features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1.
2009-12-02 Evan Stade <estade@chromium.org>
Reviewed by Darin Fisher.
https://bugs.webkit.org/show_bug.cgi?id=32029
Mousewheel event delta has reversed sign on Linux Chrome.
No new tests (layout tests don't cover event conversion code).
Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel
* src/gtk/WebInputEventFactory.cpp:
(WebKit::WebInputEventFactory::mouseWheelEvent):
2009-12-02 Anton Muhin <antonm@chromium.org>
Reviewed by Adam Barth.
Allow to skip thread checks when accessing DOMDataStore for processes
which run V8 in single thread mode.
https://bugs.webkit.org/show_bug.cgi?id=31877
* src/WebScriptController.cpp:
(WebKit::WebScriptController::enableV8SingleThreadMode):
2009-12-01 Peter Kasting <pkasting@google.com>
Reviewed by Darin Fisher.
[Chromium] Simplify zoom-related APIs and add a zoom level getter,
part one: Add new APIs. (Old APIs will be removed in a second pass.)
https://bugs.webkit.org/show_bug.cgi?id=31893
* public/WebView.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::zoomLevel):
(WebKit::WebViewImpl::setZoomLevel):
* src/WebViewImpl.h:
2009-12-01 Xiyuan Xia <xiyuan@chromium.org>
Reviewed by Darin Fisher.
Only fire start/stop events when main frame is not loading.
https://bugs.webkit.org/show_bug.cgi?id=31838
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
2009-11-27 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Add separate method for pause command to WebDevToolsAgent
and WebDevToolsFrontendClient interfaces so that pause command
can be processed on the IO thread.
https://bugs.webkit.org/show_bug.cgi?id=31934
* public/WebDevToolsAgent.h:
* public/WebDevToolsFrontendClient.h:
(WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
(WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
(WebKit::WebDevToolsFrontendClient::activateWindow):
(WebKit::WebDevToolsFrontendClient::closeWindow):
(WebKit::WebDevToolsFrontendClient::dockWindow):
(WebKit::WebDevToolsFrontendClient::undockWindow):
2009-11-27 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
WebCore part of the fix that allows to view plugin
resources loaded by plugins. Methods that for resource
loading notifications are exposed through WebDevToolsAgent
interface to the glue code to allow Chromium's plugin
implementation to notify InspectorController about resource
loading in plugins.
https://bugs.webkit.org/show_bug.cgi?id=31832
* public/WebDevToolsAgent.h:
* public/WebView.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::createUniqueIdentifierForRequest):
* src/WebViewImpl.h:
2009-11-26 Yury Semikhatsky <yurys@chromium.org>
Not reviewed. Build fix: revert r51421.
* public/WebDevToolsAgent.h:
* public/WebView.h:
* src/WebViewImpl.cpp:
* src/WebViewImpl.h:
2009-11-25 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by David Levin.
[Chromium] Implement canSetValueAttribute in the API.
https://bugs.webkit.org/show_bug.cgi?id=31894
* public/WebAccessibilityObject.h: Added decl.
* src/WebAccessibilityCacheImpl.h: Cleaned up mis-include.
* src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl.
2009-11-25 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API.
https://bugs.webkit.org/show_bug.cgi?id=31878
* public/WebSettings.h: Added decl.
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl.
* src/WebSettingsImpl.h:
2009-11-24 Dmitry Titov <dimich@chromium.org>
Reviewed by Eric Seidel.
Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
https://bugs.webkit.org/show_bug.cgi?id=31444
* features.gypi:
2009-11-24 Evan Stade <estade@chromium.org>
Reviewed by David Levin.
Linux Chromium sends too many click events
https://bugs.webkit.org/show_bug.cgi?id=31841
Manually count number of clicks for double/triple click events. This
makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html
Chromium side of this patch is here:
http://codereview.chromium.org/431031/show
* src/gtk/WebInputEventFactory.cpp:
(WebKit::WebInputEventFactory::mouseEvent):
2009-11-24 Darin Fisher <darin@chromium.org>
Reviewed by Adam Barth.
[Chromium] Renderer hang when using www.expedia.com
https://bugs.webkit.org/show_bug.cgi?id=31822
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
Assign ReturnCacheDataDontLoad cache policy at the last moment
to match Safari. This way the cache policy does not get stored
in DocumentLoader's originalRequest preventing it from being
inherited by subresource requests.
* src/ResourceHandle.cpp:
(WebCore::ResourceHandle::willLoadFromCache): Remove assignment
of ReturnCacheDataDontLoad cache policy so that it doesn't end
up applying to the DocumentLoader's originalRequest.
2009-11-23 Kenneth Russell <kbr@google.com>
Reviewed by Oliver Hunt.
Change get... calls to latest spec
https://bugs.webkit.org/show_bug.cgi?id=30091
Removed old versions of get calls on WebGLRenderingContext and
added new ones per spec returning "any". New code simplifies
GraphicsContext3D and fixes previously unimplemented routines.
Added custom JS and V8 bindings. Added exhaustive test case
exercising all new code paths. Updated preexisting test cases for
new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL
implementations.
Ran WebGL layout tests in WebKit (clean) and Chrome (couple of
preexisting known failures) and manual WebGL tests in both
browsers.
Test: fast/canvas/webgl/gl-object-get-calls.html
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::createFramebuffer):
(WebCore::GraphicsContext3D::createRenderbuffer):
(WebCore::GraphicsContext3D::deleteFramebuffer):
(WebCore::GraphicsContext3D::deleteRenderbuffer):
(WebCore::GraphicsContext3D::checkFramebufferStatus):
(WebCore::GraphicsContext3D::getBooleanv):
(WebCore::GraphicsContext3D::getBufferParameteriv):
(WebCore::GraphicsContext3D::getFloatv):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
(WebCore::GraphicsContext3D::getIntegerv):
(WebCore::GraphicsContext3D::getProgramiv):
(WebCore::GraphicsContext3D::getRenderbufferParameteriv):
(WebCore::GraphicsContext3D::getShaderiv):
(WebCore::GraphicsContext3D::getTexParameterfv):
(WebCore::GraphicsContext3D::getTexParameteriv):
(WebCore::GraphicsContext3D::getUniformfv):
(WebCore::GraphicsContext3D::getUniformiv):
(WebCore::GraphicsContext3D::getVertexAttribfv):
(WebCore::GraphicsContext3D::getVertexAttribiv):
(WebCore::GraphicsContext3D::isFramebuffer):
(WebCore::GraphicsContext3D::isRenderbuffer):
2009-11-24 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Darin Fisher.
Chromium: Expose method for reporting user stats
to the host. Also includes drive-by default implementation.
https://bugs.webkit.org/show_bug.cgi?id=31830
* public/WebKitClient.h:
2009-11-24 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
[Chromium] Fix DOM storage layout tests
https://bugs.webkit.org/show_bug.cgi?id=31833
The issue is, essentially, that this code assumes that
SecurityOrigin::createString can re-create a SecurityOrigin given
the string produced from SecurityOrigin::toString. This is a bogus
assumption in a number of corner cases (e.g., document.domain,
@sandbox). A recent patch (http://trac.webkit.org/changeset/51294)
make this assumption further invalid in the case of of file:// URLs.
The correct fix is for this code to use WebSecurityOrigin objects
(and not strings) to represent SecurityOrigin objects. However, the
expert on this code is on vacation, and I don't want to do major
surgery here without his involvement. This patch is a temporary fix
to get these tests passing again. We'll do the right fix once
jorlow gets back from vacation.
Tests: Covered by a number of existing DOM storage tests.
* src/WebStorageNamespaceImpl.cpp:
(WebKit::WebStorageNamespaceImpl::createStorageArea):
2009-11-23 Jian Li <jianli@chromium.org>
Reviewed by NOBODY (Chromium build fix).
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::createShader):
2009-11-20 Jian Li <jianli@chromium.org>
Not reviewed. Fix chromium build.
* public/WebAccessibilityRole.h:
(WebKit::):
* src/AssertMatchingEnums.cpp:
2009-11-19 Yaar Schnitman <yaar@chromium.org>
Reviewed by Darin Fisher.
Make chromium/webkit/glue/FormFieldValues use the WebKit API
https://bugs.webkit.org/show_bug.cgi?id=31650
* public/WebElement.h:
* public/WebFormElement.h:
* public/WebInputElement.h:
(WebKit::WebInputElement::):
* public/WebNode.h:
* src/AssertMatchingEnums.cpp:
* src/DOMUtilitiesPrivate.cpp:
(WebKit::nameOfInputElement):
* src/DOMUtilitiesPrivate.h:
* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::autofill):
(WebKit::EditorClientImpl::doAutofill):
* src/WebFormElement.cpp:
(WebKit::WebFormElement::name):
(WebKit::WebFormElement::method):
(WebKit::WebFormElement::getNamedElements):
(WebKit::WebFormElement::getInputElements):
* src/WebInputElement.cpp:
(WebKit::WebInputElement::isEnabledFormControl):
(WebKit::WebInputElement::inputType):
(WebKit::WebInputElement::formControlType):
(WebKit::WebInputElement::value):
(WebKit::WebInputElement::dispatchFormControlChangeEvent):
(WebKit::WebInputElement::setSelectionRange):
(WebKit::WebInputElement::name):
(WebKit::WebInputElement::nameForAutofill):
* src/WebNode.cpp:
(WebKit::WebNode::frame):
2009-11-18 Michelangelo De Simone <micdesim@gmail.com>
Reviewed by Darin Adler.
Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>.
Support for validationMessage attribute, as per HTML5 specs.
* src/LocalizedStrings.cpp:
(WebCore::validationMessageValueMissingText):
(WebCore::validationMessageTypeMismatchText):
(WebCore::validationMessagePatternMismatchText):
(WebCore::validationMessageTooLongText):
(WebCore::validationMessageRangeUnderflowText):
(WebCore::validationMessageRangeOverflowText):
(WebCore::validationMessageStepMismatchText):
2009-11-18 Nate Chapin <japhet@chromium.org>
Reviewed by Darin Fisher.
Remove Chromium port's dependency on some dummy pthreads header
files that live in the Chromium repository.
https://bugs.webkit.org/show_bug.cgi?id=31648
* DEPS: Remove reference to chromium svn's webkit/build/ directory.
2009-11-18 Evan Stade <estade@chromium.org>
Reviewed by Darin Fisher.
Menu button shows wrong content in Chromium
https://bugs.webkit.org/show_bug.cgi?id=31448
Make context menu button (VK_APPS) show context menu for node that has
keyboard focus. This affects both the content and the positioning.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::sendContextMenuEvent):
2009-11-17 Darin Fisher <darin@chromium.org>
Reviewed by Dmitry Titov.
Minor cleanup in WebKit API
https://bugs.webkit.org/show_bug.cgi?id=31616
* public/WebFormElement.h: Add missing WEBKIT_API prefix.
* public/WebNode.h: Add missing WEBKIT_API prefix.
* src/WebFormElement.cpp:
(WebKit::WebFormElement::action): Make action getter const.
* src/WebNode.cpp:
(WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame.
2009-11-17 Nicolas Weber <thakis@chromium.org>
Reviewed by Darin Fisher, Dmitry Titov.
Revert r50887, it regressed handling of cmd-left when a text box is focused.
https://bugs.webkit.org/show_bug.cgi?id=31566
* src/mac/WebInputEventFactory.mm:
(WebKit::WebInputEventFactory::keyboardEvent):
2009-11-16 Kenneth Russell <kbr@google.com>
Reviewed by Oliver Hunt.
Update API of WebGLArray and friends
https://bugs.webkit.org/show_bug.cgi?id=31175
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::bufferSubData):
2009-11-15 Dimitri Glazkov <dglazkov@chromium.org>
Unreviewed, build fix.
Correct an error in the previous commit
* public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory,
not WebAccessibilityDirectoryRole.
2009-11-15 Dimitri Glazkov <dglazkov@chromium.org>
Unreviewed, build fix.
Bring WebAccessibilityRole up to sync after
http://trac.webkit.org/changeset/51007.
* public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory.
* src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and
WebAccessibilityRoleDirectory.
2009-11-13 Dimitri Glazkov <dglazkov@chromium.org>
Unreviewed, build fix.
[Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld
to catch up http://trac.webkit.org/changeset/50973.
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
* src/FrameLoaderClientImpl.h:
2009-11-13 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Chromium WebKit Port to compile as dynamic lib
https://bugs.webkit.org/show_bug.cgi?id=31478
* WebKit.gyp:
2009-11-13 Aaron Boodman <aa@chromium.org>
Reviewed by Eric Seidel.
Adds a way to get the document element's scrollHeight,
which is sort of the moral equivalent to
RenderBox::minPrefWidth().
https://bugs.webkit.org/show_bug.cgi?id=31036
* public/WebFrame.h: Declare documentElementScrollHeight()
* src/WebFrameImpl.h: Ditto
* src/WebFrameImpl.cpp: Implement documentElementScrollHeight()
(WebKit::WebFrameImpl::documentElementScrollHeight): Return the
scroll height of the document element, or zero if there's no
documentElement.
2009-11-12 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Dimitri Glazkov.
Adding Chromium's DatabaseTracker implementation.
https://bugs.webkit.org/show_bug.cgi?id=31440
* WebKit.gyp:
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::exceededDatabaseQuota):
* src/DatabaseObserver.cpp: Added.
(WebCore::DatabaseObserver::databaseOpened):
(WebCore::DatabaseObserver::databaseModified):
(WebCore::DatabaseObserver::databaseClosed):
* src/WebDatabase.cpp:
(WebKit::WebDatabase::name):
(WebKit::WebDatabase::displayName):
(WebKit::WebDatabase::estimatedSize):
(WebKit::WebDatabase::securityOrigin):
(WebKit::WebDatabase::updateDatabaseSize):
* src/WebSecurityOrigin.cpp:
(WebKit::WebSecurityOrigin::toString):
(WebKit::WebSecurityOrigin::databaseIdentifier):
2009-11-13 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Rolling Chromium dependencies to match Chromium revision 31834.
https://bugs.webkit.org/show_bug.cgi?id=31445
* DEPS:
2009-11-12 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Dimitri Glazkov.
Renaming some parameters passed to DB-related methods to better
indicate their purpose.
https://bugs.webkit.org/show_bug.cgi?id=31449
* public/WebKitClient.h:
* src/ChromiumBridge.cpp:
(WebCore::ChromiumBridge::databaseOpenFile):
(WebCore::ChromiumBridge::databaseDeleteFile):
(WebCore::ChromiumBridge::databaseGetFileAttributes):
(WebCore::ChromiumBridge::databaseGetFileSize):
2009-11-12 Adam Barth <abarth>
Reviewed by Dimitri Glazkov.
[Chromium] reload-subframe-object.html fails
https://bugs.webkit.org/show_bug.cgi?id=31398
More closely match FrameLoaderClient.mm. Turns out we don't want to
use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish
between application/octet-stream and lack of knowledge of the MIME
type.
Covered by reload-subframe-object.html.
* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::objectContentType):
2009-11-12 Nate Chapin <japhet@chromium.org>
Unreviewed, Chromium build fix.
Add new accessibility enum values to Chromium enums from
http://trac.webkit.org/changeset/50865 and
http://trac.webkit.org/changeset/50883.
https://bugs.webkit.org/show_bug.cgi?id=31424
* public/WebAccessibilityRole.h:
(WebKit::):
* src/AssertMatchingEnums.cpp:
2009-11-12 Nicolas Weber <thakis@chromium.org>
Reviewed by Dimitri Glazkov.
Send |keypress()| events for keys with cmd down, like safari.
Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a
keypress() event.
* src/mac/WebInputEventFactory.mm:
(WebKit::WebInputEventFactory::keyboardEvent):
2009-11-11 Jeremy Orlow <jorlow@chromium.org>
Not reviewed. Build fix. Will be cleaned up in subsequent patch once we know exaclty what's going on.
* src/WebBindings.cpp:
2009-11-11 Drew Wilson <atwilson@chromium.org>
Reviewed by Dimitri Glazkov.
SharedWorkerRepository.connect() does not call WebSharedWorkerRepository
https://bugs.webkit.org/show_bug.cgi?id=31371
Test: Unit tests can be enabled downstream when this lands.
* src/SharedWorkerRepository.cpp:
(WebCore::SharedWorkerRepository::connect):
Added missing call to WebSharedWorkerRepository.addSharedWorker().
2009-11-11 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Tiny path fixes in Chromium API includes.
https://bugs.webkit.org/show_bug.cgi?id=31369
* public/linux/WebSandboxSupport.h: Fixed path.
* src/WebBindings.cpp: Fixed path.
2009-11-11 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
http://trac.webkit.org/changeset/50811 removed some methods from
platform/network/SocketStreamHandleClient.h, so remove them
here too.
https://bugs.webkit.org/show_bug.cgi?id=31360
* public/WebSocketStreamHandleClient.h:
* src/SocketStreamHandle.cpp:
(WebCore::SocketStreamHandleInternal::send):
2009-11-11 Nate Chapin <japhet@chromium.org>
Reviewed by Eric Seidel.
Remove some additional references to dragSourceMovedTo() not
needed after http://trac.webkit.org/changeset/50786.
https://bugs.webkit.org/show_bug.cgi?id=31354
* public/WebView.h:
* src/WebViewImpl.h:
2009-11-11 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Remove WebViewImpl::dragSourceMovedTo(), as it is no longer
needed after http://trac.webkit.org/changeset/50786.
https://bugs.webkit.org/show_bug.cgi?id=31354
* src/WebViewImpl.cpp:
2009-11-10 Nate Chapin <japhet@chromium.org>
Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760.
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::paint):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Modified WebKit.gyp to build the webkit api.
https://bugs.webkit.org/show_bug.cgi?id=31320
* README: Added.
* WebKit.gyp: Added.
* webkit.gyp: Removed.
2009-11-10 Nate Chapin <japhet@chromium.org>
Reviewed by Eric Seidel.
Update references to Canvas 3D classes to use the WebGL prefix
introduced in http://trac.webkit.org/changeset/50725.
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3DInternal::beginPaint):
(WebCore::GraphicsContext3DInternal::bindBuffer):
(WebCore::GraphicsContext3DInternal::bindTexture):
(WebCore::GraphicsContext3D::beginPaint):
(WebCore::GraphicsContext3D::bindAttribLocation):
(WebCore::GraphicsContext3D::bindBuffer):
(WebCore::GraphicsContext3D::bindTexture):
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::bufferSubData):
(WebCore::GraphicsContext3D::detachShader):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::getAttribLocation):
(WebCore::GraphicsContext3D::getBooleanv):
(WebCore::GraphicsContext3D::getBufferParameteriv):
(WebCore::GraphicsContext3D::getFloatv):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
(WebCore::GraphicsContext3D::getIntegerv):
(WebCore::GraphicsContext3D::getProgrami):
(WebCore::GraphicsContext3D::getProgramiv):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getRenderbufferParameteriv):
(WebCore::GraphicsContext3D::getShaderi):
(WebCore::GraphicsContext3D::getShaderiv):
(WebCore::GraphicsContext3D::getShaderInfoLog):
(WebCore::GraphicsContext3D::getShaderSource):
(WebCore::GraphicsContext3D::getTexParameterfv):
(WebCore::GraphicsContext3D::getTexParameteriv):
(WebCore::GraphicsContext3D::getUniformf):
(WebCore::GraphicsContext3D::getUniformfv):
(WebCore::GraphicsContext3D::getUniformi):
(WebCore::GraphicsContext3D::getUniformiv):
(WebCore::GraphicsContext3D::getUniformLocation):
(WebCore::GraphicsContext3D::getVertexAttribfv):
(WebCore::GraphicsContext3D::getVertexAttribiv):
(WebCore::GraphicsContext3D::isBuffer):
(WebCore::GraphicsContext3D::isFramebuffer):
(WebCore::GraphicsContext3D::isProgram):
(WebCore::GraphicsContext3D::isRenderbuffer):
(WebCore::GraphicsContext3D::isShader):
(WebCore::GraphicsContext3D::isTexture):
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::shaderSource):
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texSubImage2D):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebWorker and friends.
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebWorkerBase.cpp: Added.
(WebKit::WorkerWebFrameClient::didCreateDataSource):
(WebKit::WorkerWebFrameClient::sharedInstance):
(WebKit::WorkerWebFrameClient::WorkerWebFrameClient):
(WebKit::initializeWebKitStaticValues):
(WebKit::WebWorkerBase::WebWorkerBase):
(WebKit::WebWorkerBase::~WebWorkerBase):
(WebKit::WebWorkerBase::stopWorkerThread):
(WebKit::WebWorkerBase::initializeLoader):
(WebKit::WebWorkerBase::dispatchTaskToMainThread):
(WebKit::WebWorkerBase::invokeTaskMethod):
(WebKit::WebWorkerBase::postMessageToWorkerObject):
(WebKit::WebWorkerBase::postMessageTask):
(WebKit::WebWorkerBase::postExceptionToWorkerObject):
(WebKit::WebWorkerBase::postExceptionTask):
(WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
(WebKit::WebWorkerBase::postConsoleMessageTask):
(WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
(WebKit::WebWorkerBase::confirmMessageTask):
(WebKit::WebWorkerBase::reportPendingActivity):
(WebKit::WebWorkerBase::reportPendingActivityTask):
(WebKit::WebWorkerBase::workerContextClosed):
(WebKit::WebWorkerBase::workerContextClosedTask):
(WebKit::WebWorkerBase::workerContextDestroyed):
(WebKit::WebWorkerBase::workerContextDestroyedTask):
(WebKit::WebWorkerBase::postTaskToLoader):
(WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
* src/WebWorkerBase.h: Added.
(WebKit::WebWorkerBase::setWorkerThread):
(WebKit::WebWorkerBase::workerThread):
* src/WebWorkerClientImpl.cpp: Added.
(WebKit::WebWorkerClientImpl::createWorkerContextProxy):
(WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
(WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
(WebKit::WebWorkerClientImpl::setWebWorker):
(WebKit::WebWorkerClientImpl::startWorkerContext):
(WebKit::WebWorkerClientImpl::terminateWorkerContext):
(WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
(WebKit::WebWorkerClientImpl::hasPendingActivity):
(WebKit::WebWorkerClientImpl::workerObjectDestroyed):
(WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
(WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
(WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
(WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
(WebKit::WebWorkerClientImpl::reportPendingActivity):
(WebKit::WebWorkerClientImpl::workerContextDestroyed):
(WebKit::WebWorkerClientImpl::workerContextClosed):
(WebKit::WebWorkerClientImpl::startWorkerContextTask):
(WebKit::WebWorkerClientImpl::terminateWorkerContextTask):
(WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask):
(WebKit::WebWorkerClientImpl::workerObjectDestroyedTask):
(WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
(WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
(WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
(WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask):
(WebKit::WebWorkerClientImpl::reportPendingActivityTask):
* src/WebWorkerClientImpl.h: Added.
(WebKit::WebWorkerClientImpl::createWorker):
(WebKit::WebWorkerClientImpl::notificationPresenter):
* src/WebWorkerImpl.cpp: Added.
(WebKit::WebWorker::create):
(WebKit::WebWorkerImpl::WebWorkerImpl):
(WebKit::WebWorkerImpl::~WebWorkerImpl):
(WebKit::WebWorkerImpl::commonClient):
(WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
(WebKit::WebWorkerImpl::startWorkerContext):
(WebKit::WebWorkerImpl::terminateWorkerContext):
(WebKit::WebWorkerImpl::postMessageToWorkerContext):
(WebKit::WebWorkerImpl::workerObjectDestroyed):
(WebKit::WebWorkerImpl::clientDestroyed):
* src/WebWorkerImpl.h: Added.
(WebKit::WebWorkerImpl::client):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: Platform specific files.
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/gtk/WebFontInfo.cpp: Added.
(WebKit::WebFontInfo::familyForChars):
* src/gtk/WebInputEventFactory.cpp: Added.
(WebKit::gdkEventTimeToWebEventTime):
(WebKit::gdkStateToWebEventModifiers):
(WebKit::gdkEventToWindowsKeyCode):
(WebKit::getControlCharacter):
(WebKit::WebInputEventFactory::keyboardEvent):
(WebKit::WebInputEventFactory::mouseEvent):
(WebKit::WebInputEventFactory::mouseWheelEvent):
* src/gtk/WebScreenInfoFactory.cpp: Added.
(WebKit::WebScreenInfoFactory::screenInfo):
* src/linux/WebFontRendering.cpp: Added.
(WebKit::WebFontRendering::setHinting):
(WebKit::WebFontRendering::setAntiAlias):
(WebKit::WebFontRendering::setSubpixelGlyphs):
(WebKit::WebFontRendering::setLCDOrder):
(WebKit::WebFontRendering::setLCDOrientation):
* src/mac/WebInputEventFactory.mm: Added.
(WebKit::isKeyUpEvent):
(WebKit::isKeypadEvent):
(WebKit::windowsKeyCodeForKeyEvent):
(WebKit::textFromEvent):
(WebKit::unmodifiedTextFromEvent):
(WebKit::keyIdentifierForKeyEvent):
(WebKit::modifiersFromEvent):
(WebKit::WebInputEventFactory::keyboardEvent):
(WebKit::WebInputEventFactory::mouseEvent):
(WebKit::WebInputEventFactory::mouseWheelEvent):
* src/mac/WebScreenInfoFactory.mm: Added.
(WebKit::screenForWindow):
(WebKit::toUserSpace):
(WebKit::WebScreenInfoFactory::screenInfo):
* src/win/WebInputEventFactory.cpp: Added.
(WebKit::isKeyPad):
(WebKit::WebInputEventFactory::keyboardEvent):
(WebKit::GetRelativeCursorPos):
(WebKit::WebInputEventFactory::resetLastClickState):
(WebKit::WebInputEventFactory::mouseEvent):
(WebKit::WebInputEventFactory::mouseWheelEvent):
* src/win/WebScreenInfoFactory.cpp: Added.
(WebKit::toWebRect):
(WebKit::WebScreenInfoFactory::screenInfo):
* src/x11/WebScreenInfoFactory.cpp: Added.
(WebKit::WebScreenInfoFactory::screenInfo):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Eric Seidel.
Up-streaming Chromium API src files: WrapperResourceRequest and Response
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WrappedResourceRequest.h: Added.
(WebKit::WrappedResourceRequest::~WrappedResourceRequest):
(WebKit::WrappedResourceRequest::WrappedResourceRequest):
(WebKit::WrappedResourceRequest::bind):
(WebKit::WrappedResourceRequest::Handle::dispose):
* src/WrappedResourceResponse.h: Added.
(WebKit::WrappedResourceResponse::~WrappedResourceResponse):
(WebKit::WrappedResourceResponse::WrappedResourceResponse):
(WebKit::WrappedResourceResponse::bind):
(WebKit::WrappedResourceResponse::Handle::dispose):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/SocketStreamHandle.cpp: Added.
(WebCore::SocketStreamHandleInternal::create):
(WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal):
(WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal):
(WebCore::SocketStreamHandleInternal::connect):
(WebCore::SocketStreamHandleInternal::send):
(WebCore::SocketStreamHandleInternal::close):
(WebCore::SocketStreamHandleInternal::willOpenStream):
(WebCore::SocketStreamHandleInternal::didOpenStream):
(WebCore::SocketStreamHandleInternal::didSendData):
(WebCore::SocketStreamHandleInternal::didReceiveData):
(WebCore::SocketStreamHandleInternal::didClose):
(WebCore::SocketStreamHandleInternal::didFail):
(WebCore::SocketStreamHandle::SocketStreamHandle):
(WebCore::SocketStreamHandle::~SocketStreamHandle):
(WebCore::SocketStreamHandle::platformSend):
(WebCore::SocketStreamHandle::platformClose):
(WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
(WebCore::SocketStreamHandle::receivedCredential):
(WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
(WebCore::SocketStreamHandle::receivedCancellation):
* src/StorageAreaProxy.cpp: Added.
(WebCore::StorageAreaProxy::StorageAreaProxy):
(WebCore::StorageAreaProxy::~StorageAreaProxy):
(WebCore::StorageAreaProxy::length):
(WebCore::StorageAreaProxy::key):
(WebCore::StorageAreaProxy::getItem):
(WebCore::StorageAreaProxy::setItem):
(WebCore::StorageAreaProxy::removeItem):
(WebCore::StorageAreaProxy::clear):
(WebCore::StorageAreaProxy::contains):
* src/StorageAreaProxy.h: Added.
* src/StorageEventDispatcherChromium.cpp: Added.
(WebCore::StorageEventDispatcher::dispatch):
* src/StorageEventDispatcherImpl.cpp: Added.
(WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
(WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
* src/StorageEventDispatcherImpl.h: Added.
* src/StorageNamespaceProxy.cpp: Added.
(WebCore::StorageNamespace::localStorageNamespace):
(WebCore::StorageNamespace::sessionStorageNamespace):
(WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
(WebCore::StorageNamespaceProxy::~StorageNamespaceProxy):
(WebCore::StorageNamespaceProxy::copy):
(WebCore::StorageNamespaceProxy::storageArea):
(WebCore::StorageNamespaceProxy::close):
(WebCore::StorageNamespaceProxy::unlock):
* src/StorageNamespaceProxy.h: Added.
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/NotificationPresenterImpl.cpp: Added.
(WebKit::VoidCallbackClient::VoidCallbackClient):
(WebKit::VoidCallbackClient::permissionRequestComplete):
(WebKit::NotificationPresenterImpl::initialize):
(WebKit::NotificationPresenterImpl::isInitialized):
(WebKit::NotificationPresenterImpl::show):
(WebKit::NotificationPresenterImpl::cancel):
(WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
(WebKit::NotificationPresenterImpl::checkPermission):
(WebKit::NotificationPresenterImpl::requestPermission):
* src/NotificationPresenterImpl.h: Added.
(WebKit::NotificationPresenterImpl::NotificationPresenterImpl):
* src/PlatformMessagePortChannel.cpp: Added.
(WebCore::MessagePortChannel::create):
(WebCore::MessagePortChannel::createChannel):
(WebCore::MessagePortChannel::MessagePortChannel):
(WebCore::MessagePortChannel::~MessagePortChannel):
(WebCore::MessagePortChannel::entangleIfOpen):
(WebCore::MessagePortChannel::disentangle):
(WebCore::MessagePortChannel::postMessageToRemote):
(WebCore::MessagePortChannel::tryGetMessageFromRemote):
(WebCore::MessagePortChannel::close):
(WebCore::MessagePortChannel::isConnectedTo):
(WebCore::MessagePortChannel::hasPendingActivity):
(WebCore::MessagePortChannel::locallyEntangledPort):
(WebCore::PlatformMessagePortChannel::create):
(WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
(WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel):
(WebCore::PlatformMessagePortChannel::createChannel):
(WebCore::PlatformMessagePortChannel::messageAvailable):
(WebCore::PlatformMessagePortChannel::entangleIfOpen):
(WebCore::PlatformMessagePortChannel::disentangle):
(WebCore::PlatformMessagePortChannel::postMessageToRemote):
(WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
(WebCore::PlatformMessagePortChannel::close):
(WebCore::PlatformMessagePortChannel::isConnectedTo):
(WebCore::PlatformMessagePortChannel::hasPendingActivity):
(WebCore::PlatformMessagePortChannel::setEntangledChannel):
(WebCore::PlatformMessagePortChannel::webChannelRelease):
* src/PlatformMessagePortChannel.h: Added.
* src/ResourceHandle.cpp: Added.
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(WebCore::ResourceHandleInternal::start):
(WebCore::ResourceHandleInternal::cancel):
(WebCore::ResourceHandleInternal::setDefersLoading):
(WebCore::ResourceHandleInternal::allowStoredCredentials):
(WebCore::ResourceHandleInternal::willSendRequest):
(WebCore::ResourceHandleInternal::didSendData):
(WebCore::ResourceHandleInternal::didReceiveResponse):
(WebCore::ResourceHandleInternal::didReceiveData):
(WebCore::ResourceHandleInternal::didFinishLoading):
(WebCore::ResourceHandleInternal::didFail):
(WebCore::ResourceHandle::ResourceHandle):
(WebCore::ResourceHandle::create):
(WebCore::ResourceHandle::request):
(WebCore::ResourceHandle::client):
(WebCore::ResourceHandle::setClient):
(WebCore::ResourceHandle::setDefersLoading):
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::clearAuthentication):
(WebCore::ResourceHandle::cancel):
(WebCore::ResourceHandle::~ResourceHandle):
(WebCore::ResourceHandle::bufferedData):
(WebCore::ResourceHandle::loadsBlocked):
(WebCore::ResourceHandle::supportsBufferedData):
(WebCore::ResourceHandle::loadResourceSynchronously):
(WebCore::ResourceHandle::willLoadFromCache):
* src/SharedWorkerRepository.cpp: Added.
(WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
(WebCore::SharedWorkerScriptLoader::load):
(WebCore::getWebPort):
(WebCore::SharedWorkerScriptLoader::notifyFinished):
(WebCore::SharedWorkerScriptLoader::sendConnect):
(WebCore::SharedWorkerScriptLoader::contextDestroyed):
(WebCore::SharedWorkerScriptLoader::connected):
(WebCore::SharedWorkerRepository::isAvailable):
(WebCore::getId):
(WebCore::SharedWorkerRepository::connect):
(WebCore::SharedWorkerRepository::documentDetached):
(WebCore::SharedWorkerRepository::hasSharedWorkers):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/GraphicsContext3D.cpp: Added.
(WebCore::GraphicsContext3DInternal::):
(WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
(WebCore::tryLoad):
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::checkError):
(WebCore::GraphicsContext3DInternal::makeContextCurrent):
(WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
(WebCore::GraphicsContext3DInternal::platformTexture):
(WebCore::createTextureObject):
(WebCore::GraphicsContext3DInternal::reshape):
(WebCore::GraphicsContext3DInternal::flipVertically):
(WebCore::GraphicsContext3DInternal::beginPaint):
(WebCore::GraphicsContext3DInternal::validateTextureTarget):
(WebCore::GraphicsContext3DInternal::validateTextureParameter):
(WebCore::GraphicsContext3DInternal::activeTexture):
(WebCore::GraphicsContext3DInternal::bindBuffer):
(WebCore::GraphicsContext3DInternal::bindTexture):
(WebCore::GraphicsContext3DInternal::bufferDataImpl):
(WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
(WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
(WebCore::GraphicsContext3DInternal::vertexAttribPointer):
(WebCore::GraphicsContext3DInternal::viewportImpl):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformTexture):
(WebCore::GraphicsContext3D::checkError):
(WebCore::GraphicsContext3D::makeContextCurrent):
(WebCore::GraphicsContext3D::reshape):
(WebCore::GraphicsContext3D::beginPaint):
(WebCore::GraphicsContext3D::endPaint):
(WebCore::GraphicsContext3D::sizeInBytes):
(WebCore::GraphicsContext3D::createBuffer):
(WebCore::GraphicsContext3D::createFramebuffer):
(WebCore::GraphicsContext3D::createProgram):
(WebCore::GraphicsContext3D::createRenderbuffer):
(WebCore::GraphicsContext3D::createShader):
(WebCore::GraphicsContext3D::createTexture):
(WebCore::GraphicsContext3D::deleteBuffer):
(WebCore::GraphicsContext3D::deleteFramebuffer):
(WebCore::GraphicsContext3D::deleteProgram):
(WebCore::GraphicsContext3D::deleteRenderbuffer):
(WebCore::GraphicsContext3D::deleteShader):
(WebCore::GraphicsContext3D::deleteTexture):
(WebCore::GraphicsContext3D::activeTexture):
(WebCore::GraphicsContext3D::bindAttribLocation):
(WebCore::GraphicsContext3D::bindBuffer):
(WebCore::GraphicsContext3D::bindTexture):
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::bufferSubData):
(WebCore::GraphicsContext3D::checkFramebufferStatus):
(WebCore::GraphicsContext3D::detachShader):
(WebCore::GraphicsContext3D::disableVertexAttribArray):
(WebCore::GraphicsContext3D::drawArrays):
(WebCore::GraphicsContext3D::drawElements):
(WebCore::GraphicsContext3D::enableVertexAttribArray):
(WebCore::GraphicsContext3D::generateMipmap):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::getAttribLocation):
(WebCore::GraphicsContext3D::getBoolean):
(WebCore::GraphicsContext3D::getBooleanv):
(WebCore::GraphicsContext3D::getBufferParameteri):
(WebCore::GraphicsContext3D::getBufferParameteriv):
(WebCore::GraphicsContext3D::getError):
(WebCore::GraphicsContext3D::getFloat):
(WebCore::GraphicsContext3D::getFloatv):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
(WebCore::GraphicsContext3D::getInteger):
(WebCore::GraphicsContext3D::getIntegerv):
(WebCore::GraphicsContext3D::getProgrami):
(WebCore::GraphicsContext3D::getProgramiv):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getRenderbufferParameteri):
(WebCore::GraphicsContext3D::getRenderbufferParameteriv):
(WebCore::GraphicsContext3D::getShaderi):
(WebCore::GraphicsContext3D::getShaderiv):
(WebCore::GraphicsContext3D::getShaderInfoLog):
(WebCore::GraphicsContext3D::getShaderSource):
(WebCore::GraphicsContext3D::getString):
(WebCore::GraphicsContext3D::getTexParameterf):
(WebCore::GraphicsContext3D::getTexParameterfv):
(WebCore::GraphicsContext3D::getTexParameteri):
(WebCore::GraphicsContext3D::getTexParameteriv):
(WebCore::GraphicsContext3D::getUniformf):
(WebCore::GraphicsContext3D::getUniformfv):
(WebCore::GraphicsContext3D::getUniformi):
(WebCore::GraphicsContext3D::getUniformiv):
(WebCore::GraphicsContext3D::getUniformLocation):
(WebCore::GraphicsContext3D::getVertexAttribf):
(WebCore::GraphicsContext3D::getVertexAttribfv):
(WebCore::GraphicsContext3D::getVertexAttribi):
(WebCore::GraphicsContext3D::getVertexAttribiv):
(WebCore::GraphicsContext3D::getVertexAttribOffset):
(WebCore::GraphicsContext3D::isBuffer):
(WebCore::GraphicsContext3D::isEnabled):
(WebCore::GraphicsContext3D::isFramebuffer):
(WebCore::GraphicsContext3D::isProgram):
(WebCore::GraphicsContext3D::isRenderbuffer):
(WebCore::GraphicsContext3D::isShader):
(WebCore::GraphicsContext3D::isTexture):
(WebCore::GraphicsContext3D::pixelStorei):
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::releaseShaderCompiler):
(WebCore::GraphicsContext3D::shaderSource):
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::unmultiplyAlpha):
(WebCore::texImage2DHelper):
(WebCore::GraphicsContext3D::texSubImage2D):
(WebCore::GraphicsContext3D::uniform1fv):
(WebCore::GraphicsContext3D::uniform1iv):
(WebCore::GraphicsContext3D::uniform2fv):
(WebCore::GraphicsContext3D::uniform2iv):
(WebCore::GraphicsContext3D::uniform3fv):
(WebCore::GraphicsContext3D::uniform3iv):
(WebCore::GraphicsContext3D::uniform4fv):
(WebCore::GraphicsContext3D::uniform4iv):
(WebCore::GraphicsContext3D::uniformMatrix2fv):
(WebCore::GraphicsContext3D::uniformMatrix3fv):
(WebCore::GraphicsContext3D::uniformMatrix4fv):
(WebCore::GraphicsContext3D::vertexAttrib1fv):
(WebCore::GraphicsContext3D::vertexAttrib2fv):
(WebCore::GraphicsContext3D::vertexAttrib3fv):
(WebCore::GraphicsContext3D::vertexAttrib4fv):
(WebCore::GraphicsContext3D::vertexAttribPointer):
(WebCore::GraphicsContext3D::viewport):
* src/InspectorClientImpl.cpp: Added.
(WebKit::InspectorClientImpl::InspectorClientImpl):
(WebKit::InspectorClientImpl::~InspectorClientImpl):
(WebKit::InspectorClientImpl::inspectorDestroyed):
(WebKit::InspectorClientImpl::createPage):
(WebKit::InspectorClientImpl::showWindow):
(WebKit::InspectorClientImpl::closeWindow):
(WebKit::InspectorClientImpl::windowVisible):
(WebKit::InspectorClientImpl::attachWindow):
(WebKit::InspectorClientImpl::detachWindow):
(WebKit::InspectorClientImpl::setAttachedWindowHeight):
(WebKit::invalidateNodeBoundingRect):
(WebKit::InspectorClientImpl::highlight):
(WebKit::InspectorClientImpl::hideHighlight):
(WebKit::InspectorClientImpl::inspectedURLChanged):
(WebKit::InspectorClientImpl::localizedStringsURL):
(WebKit::InspectorClientImpl::hiddenPanels):
(WebKit::InspectorClientImpl::populateSetting):
(WebKit::InspectorClientImpl::storeSetting):
(WebKit::InspectorClientImpl::removeSetting):
(WebKit::InspectorClientImpl::inspectorWindowObjectCleared):
(WebKit::InspectorClientImpl::loadSettings):
(WebKit::InspectorClientImpl::saveSettings):
* src/InspectorClientImpl.h: Added.
* src/LocalizedStrings.cpp: Added.
(WebCore::query):
(WebCore::searchableIndexIntroduction):
(WebCore::submitButtonDefaultLabel):
(WebCore::inputElementAltText):
(WebCore::resetButtonDefaultLabel):
(WebCore::fileButtonChooseFileLabel):
(WebCore::fileButtonNoFileSelectedLabel):
(WebCore::searchMenuNoRecentSearchesText):
(WebCore::searchMenuRecentSearchesText):
(WebCore::searchMenuClearRecentSearchesText):
(WebCore::AXWebAreaText):
(WebCore::AXLinkText):
(WebCore::AXListMarkerText):
(WebCore::AXImageMapText):
(WebCore::AXHeadingText):
(WebCore::AXDefinitionListTermText):
(WebCore::AXDefinitionListDefinitionText):
(WebCore::AXButtonActionVerb):
(WebCore::AXRadioButtonActionVerb):
(WebCore::AXTextFieldActionVerb):
(WebCore::AXCheckedCheckBoxActionVerb):
(WebCore::AXUncheckedCheckBoxActionVerb):
(WebCore::AXLinkActionVerb):
(WebCore::multipleFileUploadText):
(WebCore::unknownFileSizeText):
(WebCore::keygenMenuHighGradeKeySize):
(WebCore::keygenMenuMediumGradeKeySize):
(WebCore::imageTitle):
(WebCore::contextMenuItemTagOpenLinkInNewWindow):
(WebCore::contextMenuItemTagDownloadLinkToDisk):
(WebCore::contextMenuItemTagCopyLinkToClipboard):
(WebCore::contextMenuItemTagOpenImageInNewWindow):
(WebCore::contextMenuItemTagDownloadImageToDisk):
(WebCore::contextMenuItemTagCopyImageToClipboard):
(WebCore::contextMenuItemTagOpenFrameInNewWindow):
(WebCore::contextMenuItemTagCopy):
(WebCore::contextMenuItemTagGoBack):
(WebCore::contextMenuItemTagGoForward):
(WebCore::contextMenuItemTagStop):
(WebCore::contextMenuItemTagReload):
(WebCore::contextMenuItemTagCut):
(WebCore::contextMenuItemTagPaste):
(WebCore::contextMenuItemTagNoGuessesFound):
(WebCore::contextMenuItemTagIgnoreSpelling):
(WebCore::contextMenuItemTagLearnSpelling):
(WebCore::contextMenuItemTagSearchWeb):
(WebCore::contextMenuItemTagLookUpInDictionary):
(WebCore::contextMenuItemTagOpenLink):
(WebCore::contextMenuItemTagIgnoreGrammar):
(WebCore::contextMenuItemTagSpellingMenu):
(WebCore::contextMenuItemTagCheckSpelling):
(WebCore::contextMenuItemTagCheckSpellingWhileTyping):
(WebCore::contextMenuItemTagCheckGrammarWithSpelling):
(WebCore::contextMenuItemTagFontMenu):
(WebCore::contextMenuItemTagBold):
(WebCore::contextMenuItemTagItalic):
(WebCore::contextMenuItemTagUnderline):
(WebCore::contextMenuItemTagOutline):
(WebCore::contextMenuItemTagWritingDirectionMenu):
(WebCore::contextMenuItemTagTextDirectionMenu):
(WebCore::contextMenuItemTagDefaultDirection):
(WebCore::contextMenuItemTagLeftToRight):
(WebCore::contextMenuItemTagRightToLeft):
(WebCore::contextMenuItemTagInspectElement):
(WebCore::contextMenuItemTagShowSpellingPanel):
(WebCore::mediaElementLiveBroadcastStateText):
(WebCore::mediaElementLoadingStateText):
(WebCore::localizedMediaControlElementString):
(WebCore::localizedMediaControlElementHelpText):
(WebCore::localizedMediaTimeDescription):
* src/MediaPlayerPrivateChromium.cpp: Added.
(WebCore::MediaPlayerPrivate::registerMediaEngine):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/DOMUtilitiesPrivate.cpp: Added.
(WebCore::toHTMLElement):
(WebKit::toHTMLInputElement):
(WebKit::toHTMLLinkElement):
(WebKit::toHTMLMetaElement):
(WebKit::toHTMLOptionElement):
(WebKit::nameOfInputElement):
* src/DOMUtilitiesPrivate.h: Added.
* src/DragClientImpl.cpp: Added.
(WebKit::DragClientImpl::willPerformDragDestinationAction):
(WebKit::DragClientImpl::willPerformDragSourceAction):
(WebKit::DragClientImpl::actionMaskForDrag):
(WebKit::DragClientImpl::dragSourceActionMaskForPoint):
(WebKit::DragClientImpl::startDrag):
(WebKit::DragClientImpl::createDragImageForLink):
(WebKit::DragClientImpl::dragControllerDestroyed):
* src/DragClientImpl.h: Added.
(WebKit::DragClientImpl::DragClientImpl):
* src/EditorClientImpl.cpp: Added.
(WebKit::EditorClientImpl::EditorClientImpl):
(WebKit::EditorClientImpl::~EditorClientImpl):
(WebKit::EditorClientImpl::pageDestroyed):
(WebKit::EditorClientImpl::shouldShowDeleteInterface):
(WebKit::EditorClientImpl::smartInsertDeleteEnabled):
(WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
(WebKit::EditorClientImpl::shouldSpellcheckByDefault):
(WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled):
(WebKit::EditorClientImpl::toggleContinuousSpellChecking):
(WebKit::EditorClientImpl::isGrammarCheckingEnabled):
(WebKit::EditorClientImpl::toggleGrammarChecking):
(WebKit::EditorClientImpl::spellCheckerDocumentTag):
(WebKit::EditorClientImpl::isEditable):
(WebKit::EditorClientImpl::shouldBeginEditing):
(WebKit::EditorClientImpl::shouldEndEditing):
(WebKit::EditorClientImpl::shouldInsertNode):
(WebKit::EditorClientImpl::shouldInsertText):
(WebKit::EditorClientImpl::shouldDeleteRange):
(WebKit::EditorClientImpl::shouldChangeSelectedRange):
(WebKit::EditorClientImpl::shouldApplyStyle):
(WebKit::EditorClientImpl::shouldMoveRangeAfterDelete):
(WebKit::EditorClientImpl::didBeginEditing):
(WebKit::EditorClientImpl::respondToChangedSelection):
(WebKit::EditorClientImpl::respondToChangedContents):
(WebKit::EditorClientImpl::didEndEditing):
(WebKit::EditorClientImpl::didWriteSelectionToPasteboard):
(WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard):
(WebKit::EditorClientImpl::registerCommandForUndo):
(WebKit::EditorClientImpl::registerCommandForRedo):
(WebKit::EditorClientImpl::clearUndoRedoOperations):
(WebKit::EditorClientImpl::canUndo):
(WebKit::EditorClientImpl::canRedo):
(WebKit::EditorClientImpl::undo):
(WebKit::EditorClientImpl::redo):
(WebKit::):
(WebKit::EditorClientImpl::interpretKeyEvent):
(WebKit::EditorClientImpl::handleEditingKeyboardEvent):
(WebKit::EditorClientImpl::handleKeyboardEvent):
(WebKit::EditorClientImpl::handleInputMethodKeydown):
(WebKit::EditorClientImpl::textFieldDidBeginEditing):
(WebKit::EditorClientImpl::textFieldDidEndEditing):
(WebKit::EditorClientImpl::textDidChangeInTextField):
(WebKit::EditorClientImpl::showFormAutofillForNode):
(WebKit::EditorClientImpl::autofill):
(WebKit::EditorClientImpl::doAutofill):
(WebKit::EditorClientImpl::cancelPendingAutofill):
(WebKit::EditorClientImpl::onAutofillSuggestionAccepted):
(WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
(WebKit::EditorClientImpl::textWillBeDeletedInTextField):
(WebKit::EditorClientImpl::textDidChangeInTextArea):
(WebKit::EditorClientImpl::ignoreWordInSpellDocument):
(WebKit::EditorClientImpl::learnWord):
(WebKit::EditorClientImpl::checkSpellingOfString):
(WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
(WebKit::EditorClientImpl::checkGrammarOfString):
(WebKit::EditorClientImpl::updateSpellingUIWithGrammarString):
(WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
(WebKit::EditorClientImpl::showSpellingUI):
(WebKit::EditorClientImpl::spellingUIIsShowing):
(WebKit::EditorClientImpl::getGuessesForWord):
(WebKit::EditorClientImpl::setInputMethodState):
* src/EditorClientImpl.h: Added.
(WebKit::EditorClientImpl::):
* src/FrameLoaderClientImpl.cpp: Added.
(WebKit::):
(WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
(WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl):
(WebKit::FrameLoaderClientImpl::frameLoaderDestroyed):
(WebKit::FrameLoaderClientImpl::windowObjectCleared):
(WebKit::FrameLoaderClientImpl::documentElementAvailable):
(WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
(WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
(WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
(WebKit::FrameLoaderClientImpl::didPerformFirstNavigation):
(WebKit::FrameLoaderClientImpl::registerForIconNotification):
(WebKit::FrameLoaderClientImpl::didChangeScrollOffset):
(WebKit::FrameLoaderClientImpl::allowJavaScript):
(WebKit::FrameLoaderClientImpl::hasWebView):
(WebKit::FrameLoaderClientImpl::hasFrameView):
(WebKit::FrameLoaderClientImpl::makeDocumentView):
(WebKit::FrameLoaderClientImpl::makeRepresentation):
(WebKit::FrameLoaderClientImpl::forceLayout):
(WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML):
(WebKit::FrameLoaderClientImpl::setCopiesOnScroll):
(WebKit::FrameLoaderClientImpl::detachedFromParent2):
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
(WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest):
(WebKit::determineTargetTypeFromLoader):
(WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
(WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage):
(WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge):
(WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge):
(WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse):
(WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
(WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading):
(WebKit::FrameLoaderClientImpl::dispatchDidFailLoading):
(WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
(WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache):
(WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest):
(WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents):
(WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad):
(WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect):
(WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
(WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
(WebKit::FrameLoaderClientImpl::dispatchWillClose):
(WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon):
(WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad):
(WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
(WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
(WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad):
(WebKit::FrameLoaderClientImpl::dispatchDidFailLoad):
(WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad):
(WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
(WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
(WebKit::FrameLoaderClientImpl::dispatchCreatePage):
(WebKit::FrameLoaderClientImpl::dispatchShow):
(WebKit::shouldTreatAsAttachment):
(WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
(WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
(WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
(WebKit::FrameLoaderClientImpl::cancelPolicyCheck):
(WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy):
(WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm):
(WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource):
(WebKit::FrameLoaderClientImpl::revertToProvisionalState):
(WebKit::FrameLoaderClientImpl::setMainDocumentError):
(WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
(WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
(WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
(WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady):
(WebKit::FrameLoaderClientImpl::startDownload):
(WebKit::FrameLoaderClientImpl::willChangeTitle):
(WebKit::FrameLoaderClientImpl::didChangeTitle):
(WebKit::FrameLoaderClientImpl::committedLoad):
(WebKit::FrameLoaderClientImpl::finishedLoading):
(WebKit::FrameLoaderClientImpl::updateGlobalHistory):
(WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks):
(WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem):
(WebKit::FrameLoaderClientImpl::didDisplayInsecureContent):
(WebKit::FrameLoaderClientImpl::didRunInsecureContent):
(WebKit::FrameLoaderClientImpl::blockedError):
(WebKit::FrameLoaderClientImpl::cancelledError):
(WebKit::FrameLoaderClientImpl::cannotShowURLError):
(WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError):
(WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError):
(WebKit::FrameLoaderClientImpl::fileDoesNotExistError):
(WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError):
(WebKit::FrameLoaderClientImpl::shouldFallBack):
(WebKit::FrameLoaderClientImpl::canHandleRequest):
(WebKit::FrameLoaderClientImpl::canShowMIMEType):
(WebKit::FrameLoaderClientImpl::representationExistsForURLScheme):
(WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme):
(WebKit::FrameLoaderClientImpl::frameLoadCompleted):
(WebKit::FrameLoaderClientImpl::saveViewStateToItem):
(WebKit::FrameLoaderClientImpl::restoreViewState):
(WebKit::FrameLoaderClientImpl::provisionalLoadStarted):
(WebKit::FrameLoaderClientImpl::didFinishLoad):
(WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement):
(WebKit::FrameLoaderClientImpl::createDocumentLoader):
(WebKit::FrameLoaderClientImpl::setTitle):
(WebKit::FrameLoaderClientImpl::userAgent):
(WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame):
(WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame):
(WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage):
(WebKit::FrameLoaderClientImpl::canCachePage):
(WebKit::FrameLoaderClientImpl::download):
(WebKit::FrameLoaderClientImpl::createFrame):
(WebKit::FrameLoaderClientImpl::createPlugin):
(WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
(WebKit::FrameLoaderClientImpl::createJavaAppletWidget):
(WebKit::FrameLoaderClientImpl::objectContentType):
(WebKit::FrameLoaderClientImpl::overrideMediaType):
(WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
(WebKit::FrameLoaderClientImpl::handleBackForwardNavigation):
(WebKit::FrameLoaderClientImpl::pluginLoadObserver):
* src/FrameLoaderClientImpl.h: Added.
(WebKit::FrameLoaderClientImpl::webFrame):
(WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress):
(WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/ChromeClientImpl.cpp: Added.
(WebKit::ChromeClientImpl::ChromeClientImpl):
(WebKit::ChromeClientImpl::~ChromeClientImpl):
(WebKit::ChromeClientImpl::chromeDestroyed):
(WebKit::ChromeClientImpl::setWindowRect):
(WebKit::ChromeClientImpl::windowRect):
(WebKit::ChromeClientImpl::pageRect):
(WebKit::ChromeClientImpl::scaleFactor):
(WebKit::ChromeClientImpl::focus):
(WebKit::ChromeClientImpl::unfocus):
(WebKit::ChromeClientImpl::canTakeFocus):
(WebKit::ChromeClientImpl::takeFocus):
(WebKit::ChromeClientImpl::focusedNodeChanged):
(WebKit::ChromeClientImpl::createWindow):
(WebKit::currentEventShouldCauseBackgroundTab):
(WebKit::ChromeClientImpl::show):
(WebKit::ChromeClientImpl::canRunModal):
(WebKit::ChromeClientImpl::runModal):
(WebKit::ChromeClientImpl::setToolbarsVisible):
(WebKit::ChromeClientImpl::toolbarsVisible):
(WebKit::ChromeClientImpl::setStatusbarVisible):
(WebKit::ChromeClientImpl::statusbarVisible):
(WebKit::ChromeClientImpl::setScrollbarsVisible):
(WebKit::ChromeClientImpl::scrollbarsVisible):
(WebKit::ChromeClientImpl::setMenubarVisible):
(WebKit::ChromeClientImpl::menubarVisible):
(WebKit::ChromeClientImpl::setResizable):
(WebKit::ChromeClientImpl::addMessageToConsole):
(WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel):
(WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel):
(WebKit::ChromeClientImpl::closeWindowSoon):
(WebKit::ChromeClientImpl::runJavaScriptAlert):
(WebKit::ChromeClientImpl::runJavaScriptConfirm):
(WebKit::ChromeClientImpl::runJavaScriptPrompt):
(WebKit::ChromeClientImpl::setStatusbarText):
(WebKit::ChromeClientImpl::shouldInterruptJavaScript):
(WebKit::ChromeClientImpl::tabsToLinks):
(WebKit::ChromeClientImpl::windowResizerRect):
(WebKit::ChromeClientImpl::repaint):
(WebKit::ChromeClientImpl::scroll):
(WebKit::ChromeClientImpl::screenToWindow):
(WebKit::ChromeClientImpl::windowToScreen):
(WebKit::ChromeClientImpl::contentsSizeChanged):
(WebKit::ChromeClientImpl::scrollbarsModeDidChange):
(WebKit::ChromeClientImpl::mouseDidMoveOverElement):
(WebKit::ChromeClientImpl::setToolTip):
(WebKit::ChromeClientImpl::print):
(WebKit::ChromeClientImpl::exceededDatabaseQuota):
(WebKit::ChromeClientImpl::reachedMaxAppCacheSize):
(WebKit::ChromeClientImpl::runOpenPanel):
(WebKit::ChromeClientImpl::popupOpened):
(WebKit::ChromeClientImpl::setCursor):
(WebKit::ChromeClientImpl::setCursorForPlugin):
(WebKit::ChromeClientImpl::formStateDidChange):
(WebKit::ChromeClientImpl::getPopupMenuInfo):
(WebKit::ChromeClientImpl::notificationPresenter):
* src/ChromeClientImpl.h: Added.
(WebKit::ChromeClientImpl::webView):
(WebKit::ChromeClientImpl::platformPageClient):
(WebKit::ChromeClientImpl::scrollRectIntoView):
(WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
(WebKit::ChromeClientImpl::setCursor):
(WebKit::ChromeClientImpl::createHTMLParserQuirks):
* src/ChromiumBridge.cpp: Added.
(WebCore::toChromeClientImpl):
(WebCore::toWebWidgetClient):
(WebCore::ChromiumBridge::clipboardIsFormatAvailable):
(WebCore::ChromiumBridge::clipboardReadPlainText):
(WebCore::ChromiumBridge::clipboardReadHTML):
(WebCore::ChromiumBridge::clipboardWriteSelection):
(WebCore::ChromiumBridge::clipboardWritePlainText):
(WebCore::ChromiumBridge::clipboardWriteURL):
(WebCore::ChromiumBridge::clipboardWriteImage):
(WebCore::ChromiumBridge::setCookies):
(WebCore::ChromiumBridge::cookies):
(WebCore::ChromiumBridge::rawCookies):
(WebCore::ChromiumBridge::deleteCookie):
(WebCore::ChromiumBridge::prefetchDNS):
(WebCore::ChromiumBridge::fileExists):
(WebCore::ChromiumBridge::deleteFile):
(WebCore::ChromiumBridge::deleteEmptyDirectory):
(WebCore::ChromiumBridge::getFileSize):
(WebCore::ChromiumBridge::getFileModificationTime):
(WebCore::ChromiumBridge::directoryName):
(WebCore::ChromiumBridge::pathByAppendingComponent):
(WebCore::ChromiumBridge::makeAllDirectories):
(WebCore::ChromiumBridge::getAbsolutePath):
(WebCore::ChromiumBridge::isDirectory):
(WebCore::ChromiumBridge::filePathToURL):
(WebCore::ChromiumBridge::ensureFontLoaded):
(WebCore::ChromiumBridge::getFontFamilyForCharacters):
(WebCore::ChromiumBridge::databaseOpenFile):
(WebCore::ChromiumBridge::databaseDeleteFile):
(WebCore::ChromiumBridge::databaseGetFileAttributes):
(WebCore::ChromiumBridge::databaseGetFileSize):
(WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
(WebCore::ChromiumBridge::computedDefaultLanguage):
(WebCore::ChromiumBridge::layoutTestMode):
(WebCore::ChromiumBridge::isSupportedImageMIMEType):
(WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
(WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
(WebCore::ChromiumBridge::mimeTypeForExtension):
(WebCore::ChromiumBridge::mimeTypeFromFile):
(WebCore::ChromiumBridge::preferredExtensionForMIMEType):
(WebCore::ChromiumBridge::plugins):
(WebCore::ChromiumBridge::pluginScriptableObject):
(WebCore::ChromiumBridge::loadPlatformImageResource):
(WebCore::ChromiumBridge::sandboxEnabled):
(WebCore::ChromiumBridge::setSharedTimerFiredFunction):
(WebCore::ChromiumBridge::setSharedTimerFireTime):
(WebCore::ChromiumBridge::stopSharedTimer):
(WebCore::ChromiumBridge::decrementStatsCounter):
(WebCore::ChromiumBridge::incrementStatsCounter):
(WebCore::ChromiumBridge::suddenTerminationChanged):
(WebCore::ChromiumBridge::currentTime):
(WebCore::ChromiumBridge::paintButton):
(WebCore::ChromiumBridge::paintMenuList):
(WebCore::ChromiumBridge::paintScrollbarArrow):
(WebCore::ChromiumBridge::paintScrollbarThumb):
(WebCore::ChromiumBridge::paintScrollbarTrack):
(WebCore::ChromiumBridge::paintTextField):
(WebCore::ChromiumBridge::paintTrackbar):
(WebCore::ChromiumBridge::traceEventBegin):
(WebCore::ChromiumBridge::traceEventEnd):
(WebCore::ChromiumBridge::visitedLinkHash):
(WebCore::ChromiumBridge::isLinkVisited):
(WebCore::ChromiumBridge::notifyJSOutOfMemory):
(WebCore::ChromiumBridge::memoryUsageMB):
(WebCore::ChromiumBridge::screenDepth):
(WebCore::ChromiumBridge::screenDepthPerComponent):
(WebCore::ChromiumBridge::screenIsMonochrome):
(WebCore::ChromiumBridge::screenRect):
(WebCore::ChromiumBridge::screenAvailableRect):
(WebCore::ChromiumBridge::popupsAllowed):
(WebCore::ChromiumBridge::widgetSetCursor):
(WebCore::ChromiumBridge::widgetSetFocus):
(WebCore::WorkerContextProxy::create):
* src/ChromiumCurrentTime.cpp: Added.
(WTF::currentTime):
* src/ChromiumThreading.cpp: Added.
(WTF::ChromiumThreading::initializeMainThread):
(WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread):
* src/ContextMenuClientImpl.cpp: Added.
(WebKit::urlFromFrame):
(WebKit::isASingleWord):
(WebKit::selectMisspelledWord):
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
* src/ContextMenuClientImpl.h: Added.
(WebKit::ContextMenuClientImpl::ContextMenuClientImpl):
(WebKit::ContextMenuClientImpl::~ContextMenuClientImpl):
(WebKit::ContextMenuClientImpl::copyImageToClipboard):
(WebKit::ContextMenuClientImpl::contextMenuDestroyed):
(WebKit::ContextMenuClientImpl::contextMenuItemSelected):
(WebKit::ContextMenuClientImpl::downloadURL):
(WebKit::ContextMenuClientImpl::isSpeaking):
(WebKit::ContextMenuClientImpl::lookUpInDictionary):
(WebKit::ContextMenuClientImpl::searchWithGoogle):
(WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem):
(WebKit::ContextMenuClientImpl::speak):
(WebKit::ContextMenuClientImpl::stopSpeaking):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/ApplicationCacheHost.cpp: Added.
(WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
(WebCore::ApplicationCacheHostInternal::notifyEventListener):
(WebCore::ApplicationCacheHost::ApplicationCacheHost):
(WebCore::ApplicationCacheHost::~ApplicationCacheHost):
(WebCore::ApplicationCacheHost::maybeLoadMainResource):
(WebCore::ApplicationCacheHost::selectCacheWithoutManifest):
(WebCore::ApplicationCacheHost::selectCacheWithManifest):
(WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
(WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
(WebCore::ApplicationCacheHost::mainResourceDataReceived):
(WebCore::ApplicationCacheHost::failedLoadingMainResource):
(WebCore::ApplicationCacheHost::finishedLoadingMainResource):
(WebCore::ApplicationCacheHost::maybeLoadResource):
(WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect):
(WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse):
(WebCore::ApplicationCacheHost::maybeLoadFallbackForError):
(WebCore::ApplicationCacheHost::maybeLoadSynchronously):
(WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously):
(WebCore::ApplicationCacheHost::canCacheInPageCache):
(WebCore::ApplicationCacheHost::setDOMApplicationCache):
(WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
(WebCore::ApplicationCacheHost::status):
(WebCore::ApplicationCacheHost::update):
(WebCore::ApplicationCacheHost::swapCache):
(WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
* src/AssertMatchingEnums.cpp: Added.
* src/AutocompletePopupMenuClient.cpp: Added.
(WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient):
(WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient):
(WebKit::AutocompletePopupMenuClient::initialize):
(WebKit::AutocompletePopupMenuClient::valueChanged):
(WebKit::AutocompletePopupMenuClient::itemText):
(WebKit::AutocompletePopupMenuClient::itemStyle):
(WebKit::AutocompletePopupMenuClient::menuStyle):
(WebKit::AutocompletePopupMenuClient::clientPaddingLeft):
(WebKit::AutocompletePopupMenuClient::clientPaddingRight):
(WebKit::AutocompletePopupMenuClient::popupDidHide):
(WebKit::AutocompletePopupMenuClient::setTextFromItem):
(WebKit::AutocompletePopupMenuClient::fontSelector):
(WebKit::AutocompletePopupMenuClient::hostWindow):
(WebKit::AutocompletePopupMenuClient::createScrollbar):
(WebKit::AutocompletePopupMenuClient::setSuggestions):
(WebKit::AutocompletePopupMenuClient::removeItemAtIndex):
(WebKit::AutocompletePopupMenuClient::textFieldStyle):
* src/AutocompletePopupMenuClient.h: Added.
(WebKit::AutocompletePopupMenuClient::textField):
(WebKit::AutocompletePopupMenuClient::itemToolTip):
(WebKit::AutocompletePopupMenuClient::itemIsEnabled):
(WebKit::AutocompletePopupMenuClient::clientInsetLeft):
(WebKit::AutocompletePopupMenuClient::clientInsetRight):
(WebKit::AutocompletePopupMenuClient::listSize):
(WebKit::AutocompletePopupMenuClient::selectedIndex):
(WebKit::AutocompletePopupMenuClient::itemIsSeparator):
(WebKit::AutocompletePopupMenuClient::itemIsLabel):
(WebKit::AutocompletePopupMenuClient::itemIsSelected):
(WebKit::AutocompletePopupMenuClient::shouldPopOver):
(WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack):
* src/BackForwardListClientImpl.cpp: Added.
(WebKit::BackForwardListClientImpl::BackForwardListClientImpl):
(WebKit::BackForwardListClientImpl::~BackForwardListClientImpl):
(WebKit::BackForwardListClientImpl::setCurrentHistoryItem):
(WebKit::BackForwardListClientImpl::previousHistoryItem):
(WebKit::BackForwardListClientImpl::addItem):
(WebKit::BackForwardListClientImpl::goToItem):
(WebKit::BackForwardListClientImpl::currentItem):
(WebKit::BackForwardListClientImpl::itemAtIndex):
(WebKit::BackForwardListClientImpl::backListCount):
(WebKit::BackForwardListClientImpl::forwardListCount):
(WebKit::BackForwardListClientImpl::close):
* src/BackForwardListClientImpl.h: Added.
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebString...WebViewImpl
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebString.cpp: Added.
(WebKit::WebString::reset):
(WebKit::WebString::assign):
(WebKit::WebString::length):
(WebKit::WebString::data):
(WebKit::WebString::utf8):
(WebKit::WebString::fromUTF8):
(WebKit::WebString::WebString):
(WebKit::WebString::operator=):
(WebKit::WebString::operator WebCore::String):
(WebKit::WebString::operator WebCore::AtomicString):
* src/WebURL.cpp: Added.
(WebKit::WebURL::WebURL):
(WebKit::WebURL::operator=):
(WebKit::WebURL::operator WebCore::KURL):
* src/WebURLError.cpp: Added.
(WebKit::WebURLError::WebURLError):
(WebKit::WebURLError::operator=):
(WebKit::WebURLError::operator ResourceError):
* src/WebURLRequest.cpp: Added.
(WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
(WebKit::WebURLRequestPrivateImpl::dispose):
(WebKit::WebURLRequest::initialize):
(WebKit::WebURLRequest::reset):
(WebKit::WebURLRequest::assign):
(WebKit::WebURLRequest::isNull):
(WebKit::WebURLRequest::url):
(WebKit::WebURLRequest::setURL):
(WebKit::WebURLRequest::firstPartyForCookies):
(WebKit::WebURLRequest::setFirstPartyForCookies):
(WebKit::WebURLRequest::allowCookies):
(WebKit::WebURLRequest::setAllowCookies):
(WebKit::WebURLRequest::allowStoredCredentials):
(WebKit::WebURLRequest::setAllowStoredCredentials):
(WebKit::WebURLRequest::cachePolicy):
(WebKit::WebURLRequest::setCachePolicy):
(WebKit::WebURLRequest::httpMethod):
(WebKit::WebURLRequest::setHTTPMethod):
(WebKit::WebURLRequest::httpHeaderField):
(WebKit::WebURLRequest::setHTTPHeaderField):
(WebKit::WebURLRequest::addHTTPHeaderField):
(WebKit::WebURLRequest::clearHTTPHeaderField):
(WebKit::WebURLRequest::visitHTTPHeaderFields):
(WebKit::WebURLRequest::httpBody):
(WebKit::WebURLRequest::setHTTPBody):
(WebKit::WebURLRequest::reportUploadProgress):
(WebKit::WebURLRequest::setReportUploadProgress):
(WebKit::WebURLRequest::targetType):
(WebKit::WebURLRequest::setTargetType):
(WebKit::WebURLRequest::requestorID):
(WebKit::WebURLRequest::setRequestorID):
(WebKit::WebURLRequest::requestorProcessID):
(WebKit::WebURLRequest::setRequestorProcessID):
(WebKit::WebURLRequest::appCacheHostID):
(WebKit::WebURLRequest::setAppCacheHostID):
(WebKit::WebURLRequest::toMutableResourceRequest):
(WebKit::WebURLRequest::toResourceRequest):
* src/WebURLRequestPrivate.h: Added.
(WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
* src/WebURLResponse.cpp: Added.
(WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
(WebKit::WebURLResponsePrivateImpl::dispose):
(WebKit::WebURLResponse::initialize):
(WebKit::WebURLResponse::reset):
(WebKit::WebURLResponse::assign):
(WebKit::WebURLResponse::isNull):
(WebKit::WebURLResponse::url):
(WebKit::WebURLResponse::setURL):
(WebKit::WebURLResponse::mimeType):
(WebKit::WebURLResponse::setMIMEType):
(WebKit::WebURLResponse::expectedContentLength):
(WebKit::WebURLResponse::setExpectedContentLength):
(WebKit::WebURLResponse::textEncodingName):
(WebKit::WebURLResponse::setTextEncodingName):
(WebKit::WebURLResponse::suggestedFileName):
(WebKit::WebURLResponse::setSuggestedFileName):
(WebKit::WebURLResponse::httpStatusCode):
(WebKit::WebURLResponse::setHTTPStatusCode):
(WebKit::WebURLResponse::httpStatusText):
(WebKit::WebURLResponse::setHTTPStatusText):
(WebKit::WebURLResponse::httpHeaderField):
(WebKit::WebURLResponse::setHTTPHeaderField):
(WebKit::WebURLResponse::addHTTPHeaderField):
(WebKit::WebURLResponse::clearHTTPHeaderField):
(WebKit::WebURLResponse::visitHTTPHeaderFields):
(WebKit::WebURLResponse::lastModifiedDate):
(WebKit::WebURLResponse::setLastModifiedDate):
(WebKit::WebURLResponse::isContentFiltered):
(WebKit::WebURLResponse::setIsContentFiltered):
(WebKit::WebURLResponse::appCacheID):
(WebKit::WebURLResponse::setAppCacheID):
(WebKit::WebURLResponse::appCacheManifestURL):
(WebKit::WebURLResponse::setAppCacheManifestURL):
(WebKit::WebURLResponse::securityInfo):
(WebKit::WebURLResponse::setSecurityInfo):
(WebKit::WebURLResponse::toMutableResourceResponse):
(WebKit::WebURLResponse::toResourceResponse):
* src/WebURLResponsePrivate.h: Added.
(WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
* src/WebViewImpl.cpp: Added.
(WebKit::):
(WebKit::WebView::create):
(WebKit::WebView::updateVisitedLinkState):
(WebKit::WebView::resetVisitedLinkState):
(WebKit::WebViewImpl::initializeMainFrame):
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::~WebViewImpl):
(WebKit::WebViewImpl::theme):
(WebKit::WebViewImpl::mainFrameImpl):
(WebKit::WebViewImpl::tabKeyCyclesThroughElements):
(WebKit::WebViewImpl::setTabKeyCyclesThroughElements):
(WebKit::WebViewImpl::mouseMove):
(WebKit::WebViewImpl::mouseLeave):
(WebKit::WebViewImpl::mouseDown):
(WebKit::WebViewImpl::mouseContextMenu):
(WebKit::WebViewImpl::mouseUp):
(WebKit::WebViewImpl::mouseWheel):
(WebKit::WebViewImpl::keyEvent):
(WebKit::WebViewImpl::autocompleteHandleKeyEvent):
(WebKit::WebViewImpl::charEvent):
(WebKit::WebViewImpl::sendContextMenuEvent):
(WebKit::WebViewImpl::keyEventDefault):
(WebKit::WebViewImpl::scrollViewWithKeyboard):
(WebKit::WebViewImpl::propagateScroll):
(WebKit::WebViewImpl::focusedWebCoreFrame):
(WebKit::WebViewImpl::fromPage):
(WebKit::WebViewImpl::close):
(WebKit::WebViewImpl::resize):
(WebKit::WebViewImpl::layout):
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImpl::handleInputEvent):
(WebKit::WebViewImpl::mouseCaptureLost):
(WebKit::WebViewImpl::setFocus):
(WebKit::WebViewImpl::handleCompositionEvent):
(WebKit::WebViewImpl::queryCompositionStatus):
(WebKit::WebViewImpl::setTextDirection):
(WebKit::WebViewImpl::settings):
(WebKit::WebViewImpl::pageEncoding):
(WebKit::WebViewImpl::setPageEncoding):
(WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
(WebKit::WebViewImpl::dispatchUnloadEvent):
(WebKit::WebViewImpl::mainFrame):
(WebKit::WebViewImpl::findFrameByName):
(WebKit::WebViewImpl::focusedFrame):
(WebKit::WebViewImpl::setFocusedFrame):
(WebKit::WebViewImpl::setInitialFocus):
(WebKit::WebViewImpl::clearFocusedNode):
(WebKit::WebViewImpl::zoomIn):
(WebKit::WebViewImpl::zoomOut):
(WebKit::WebViewImpl::zoomDefault):
(WebKit::WebViewImpl::performMediaPlayerAction):
(WebKit::WebViewImpl::copyImageAt):
(WebKit::WebViewImpl::dragSourceEndedAt):
(WebKit::WebViewImpl::dragSourceMovedTo):
(WebKit::WebViewImpl::dragSourceSystemDragEnded):
(WebKit::WebViewImpl::dragTargetDragEnter):
(WebKit::WebViewImpl::dragTargetDragOver):
(WebKit::WebViewImpl::dragTargetDragLeave):
(WebKit::WebViewImpl::dragTargetDrop):
(WebKit::WebViewImpl::dragIdentity):
(WebKit::WebViewImpl::inspectElementAt):
(WebKit::WebViewImpl::inspectorSettings):
(WebKit::WebViewImpl::setInspectorSettings):
(WebKit::WebViewImpl::devToolsAgent):
(WebKit::WebViewImpl::setDevToolsAgent):
(WebKit::WebViewImpl::accessibilityObject):
(WebKit::WebViewImpl::applyAutofillSuggestions):
(WebKit::WebViewImpl::hideAutofillPopup):
(WebKit::WebViewImpl::setDropEffect):
(WebKit::WebViewImpl::setIsTransparent):
(WebKit::WebViewImpl::isTransparent):
(WebKit::WebViewImpl::setIsActive):
(WebKit::WebViewImpl::isActive):
(WebKit::WebViewImpl::didCommitLoad):
(WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
(WebKit::WebViewImpl::startDragging):
(WebKit::WebViewImpl::setCurrentHistoryItem):
(WebKit::WebViewImpl::previousHistoryItem):
(WebKit::WebViewImpl::observeNewNavigation):
(WebKit::WebViewImpl::hideAutoCompletePopup):
(WebKit::WebViewImpl::autoCompletePopupDidHide):
(WebKit::WebViewImpl::setIgnoreInputEvents):
(WebKit::WebViewImpl::notificationPresenterImpl):
(WebKit::WebViewImpl::refreshAutofillPopup):
(WebKit::WebViewImpl::focusedWebCoreNode):
(WebKit::WebViewImpl::hitTestResultForWindowPos):
(WebKit::WebViewImpl::setTabsToLinks):
(WebKit::WebViewImpl::tabsToLinks):
* src/WebViewImpl.h: Added.
(WebKit::WebViewImpl::size):
(WebKit::WebViewImpl::devToolsAgentPrivate):
(WebKit::WebViewImpl::lastMouseDownPoint):
(WebKit::WebViewImpl::client):
(WebKit::WebViewImpl::page):
(WebKit::WebViewImpl::contextMenuAllowed):
(WebKit::WebViewImpl::setInitialNavigationPolicy):
(WebKit::WebViewImpl::initialNavigationPolicy):
(WebKit::WebViewImpl::currentInputEvent):
(WebKit::WebViewImpl::):
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebScriptController.cpp: Added.
(WebKit::WebScriptController::registerExtension):
(WebKit::WebScriptController::enableV8SingleThreadMode):
(WebKit::WebScriptController::flushConsoleMessages):
* src/WebSearchableFormData.cpp: Added.
(WebCore::GetFormEncoding):
(WebCore::IsHTTPFormSubmit):
(WebCore::GetButtonToActivate):
(WebCore::IsSelectInDefaultState):
(WebCore::IsInDefaultState):
(WebCore::HasSuitableTextElement):
(WebKit::WebSearchableFormData::WebSearchableFormData):
* src/WebSecurityOrigin.cpp: Added.
(WebKit::WebSecurityOrigin::reset):
(WebKit::WebSecurityOrigin::assign):
(WebKit::WebSecurityOrigin::protocol):
(WebKit::WebSecurityOrigin::host):
(WebKit::WebSecurityOrigin::port):
(WebKit::WebSecurityOrigin::isEmpty):
(WebKit::WebSecurityOrigin::toString):
(WebKit::WebSecurityOrigin::databaseIdentifier):
(WebKit::WebSecurityOrigin::WebSecurityOrigin):
(WebKit::WebSecurityOrigin::operator=):
(WebKit::WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>):
* src/WebSecurityPolicy.cpp: Added.
(WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
(WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
(WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
(WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
* src/WebSettingsImpl.cpp: Added.
(WebKit::WebSettingsImpl::WebSettingsImpl):
(WebKit::WebSettingsImpl::setStandardFontFamily):
(WebKit::WebSettingsImpl::setFixedFontFamily):
(WebKit::WebSettingsImpl::setSerifFontFamily):
(WebKit::WebSettingsImpl::setSansSerifFontFamily):
(WebKit::WebSettingsImpl::setCursiveFontFamily):
(WebKit::WebSettingsImpl::setFantasyFontFamily):
(WebKit::WebSettingsImpl::setDefaultFontSize):
(WebKit::WebSettingsImpl::setDefaultFixedFontSize):
(WebKit::WebSettingsImpl::setMinimumFontSize):
(WebKit::WebSettingsImpl::setMinimumLogicalFontSize):
(WebKit::WebSettingsImpl::setDefaultTextEncodingName):
(WebKit::WebSettingsImpl::setJavaScriptEnabled):
(WebKit::WebSettingsImpl::setWebSecurityEnabled):
(WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically):
(WebKit::WebSettingsImpl::setLoadsImagesAutomatically):
(WebKit::WebSettingsImpl::setPluginsEnabled):
(WebKit::WebSettingsImpl::setDOMPasteAllowed):
(WebKit::WebSettingsImpl::setDeveloperExtrasEnabled):
(WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit):
(WebKit::WebSettingsImpl::setUsesEncodingDetector):
(WebKit::WebSettingsImpl::setTextAreasAreResizable):
(WebKit::WebSettingsImpl::setJavaEnabled):
(WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows):
(WebKit::WebSettingsImpl::setUserStyleSheetLocation):
(WebKit::WebSettingsImpl::setUsesPageCache):
(WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled):
(WebKit::WebSettingsImpl::setXSSAuditorEnabled):
(WebKit::WebSettingsImpl::setLocalStorageEnabled):
(WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive):
(WebKit::WebSettingsImpl::setFontRenderingModeNormal):
(WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
(WebKit::WebSettingsImpl::setDatabasesEnabled):
(WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs):
(WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded):
(WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled):
(WebKit::WebSettingsImpl::setExperimentalWebGLEnabled):
* src/WebSettingsImpl.h: Added.
(WebKit::WebSettingsImpl::~WebSettingsImpl):
* src/WebSharedWorkerImpl.cpp: Added.
(WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
(WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
(WebKit::WebSharedWorkerImpl::isStarted):
(WebKit::WebSharedWorkerImpl::connect):
(WebKit::WebSharedWorkerImpl::connectTask):
(WebKit::WebSharedWorkerImpl::startWorkerContext):
(WebKit::WebSharedWorkerImpl::terminateWorkerContext):
(WebKit::WebSharedWorkerImpl::clientDestroyed):
(WebKit::WebSharedWorkerImpl::client):
(WebKit::WebSharedWorker::create):
* src/WebSharedWorkerImpl.h: Added.
(WebKit::WebSharedWorkerImpl::commonClient):
* src/WebStorageAreaImpl.cpp: Added.
(WebKit::WebStorageAreaImpl::WebStorageAreaImpl):
(WebKit::WebStorageAreaImpl::~WebStorageAreaImpl):
(WebKit::WebStorageAreaImpl::length):
(WebKit::WebStorageAreaImpl::key):
(WebKit::WebStorageAreaImpl::getItem):
(WebKit::WebStorageAreaImpl::setItem):
(WebKit::WebStorageAreaImpl::removeItem):
(WebKit::WebStorageAreaImpl::clear):
* src/WebStorageAreaImpl.h: Added.
(WebKit::WebStorageAreaImpl::currentStorageEventURL):
(WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL):
(WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL):
* src/WebStorageEventDispatcherImpl.cpp: Added.
(WebKit::WebStorageEventDispatcher::create):
(WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
(WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
* src/WebStorageEventDispatcherImpl.h: Added.
* src/WebStorageNamespaceImpl.cpp: Added.
(WebKit::WebStorageNamespace::createLocalStorageNamespace):
(WebKit::WebStorageNamespace::createSessionStorageNamespace):
(WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl):
(WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl):
(WebKit::WebStorageNamespaceImpl::createStorageArea):
(WebKit::WebStorageNamespaceImpl::copy):
(WebKit::WebStorageNamespaceImpl::close):
* src/WebStorageNamespaceImpl.h: Added.
2009-11-10 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebPasswordFormData...WebRuntimeFeatures
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebPasswordFormData.cpp: Added.
(WebKit::):
(WebKit::WebPasswordFormData::WebPasswordFormData):
* src/WebPasswordFormUtils.cpp: Added.
(WebKit::findPasswordFormFields):
* src/WebPasswordFormUtils.h: Added.
(WebKit::PasswordFormFields::PasswordFormFields):
* src/WebPluginContainerImpl.cpp: Added.
(WebKit::WebPluginContainerImpl::setFrameRect):
(WebKit::WebPluginContainerImpl::paint):
(WebKit::WebPluginContainerImpl::invalidateRect):
(WebKit::WebPluginContainerImpl::setFocus):
(WebKit::WebPluginContainerImpl::show):
(WebKit::WebPluginContainerImpl::hide):
(WebKit::WebPluginContainerImpl::handleEvent):
(WebKit::WebPluginContainerImpl::frameRectsChanged):
(WebKit::WebPluginContainerImpl::setParentVisible):
(WebKit::WebPluginContainerImpl::setParent):
(WebKit::WebPluginContainerImpl::invalidate):
(WebKit::WebPluginContainerImpl::reportGeometry):
(WebKit::WebPluginContainerImpl::clearScriptObjects):
(WebKit::WebPluginContainerImpl::scriptableObjectForElement):
(WebKit::WebPluginContainerImpl::executeScriptURL):
(WebKit::WebPluginContainerImpl::loadFrameRequest):
(WebKit::WebPluginContainerImpl::didReceiveResponse):
(WebKit::WebPluginContainerImpl::didReceiveData):
(WebKit::WebPluginContainerImpl::didFinishLoading):
(WebKit::WebPluginContainerImpl::didFailLoading):
(WebKit::WebPluginContainerImpl::scriptableObject):
(WebKit::WebPluginContainerImpl::willDestroyPluginLoadObserver):
(WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
(WebKit::WebPluginContainerImpl::handleMouseEvent):
(WebKit::WebPluginContainerImpl::handleKeyboardEvent):
(WebKit::WebPluginContainerImpl::calculateGeometry):
(WebKit::WebPluginContainerImpl::windowClipRect):
(WebKit::getObjectStack):
(WebKit::checkStackOnTop):
(WebKit::WebPluginContainerImpl::windowCutOutRects):
* src/WebPluginContainerImpl.h: Added.
(WebKit::WebPluginContainerImpl::create):
(WebKit::WebPluginContainerImpl::plugin):
(WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
* src/WebPluginListBuilderImpl.cpp: Added.
(WebKit::WebPluginListBuilderImpl::addPlugin):
(WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
(WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
* src/WebPluginListBuilderImpl.h: Added.
(WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
* src/WebPluginLoadObserver.cpp: Added.
(WebKit::WebPluginLoadObserver::~WebPluginLoadObserver):
(WebKit::WebPluginLoadObserver::didFinishLoading):
(WebKit::WebPluginLoadObserver::didFailLoading):
* src/WebPluginLoadObserver.h: Added.
(WebKit::WebPluginLoadObserver::WebPluginLoadObserver):
(WebKit::WebPluginLoadObserver::url):
(WebKit::WebPluginLoadObserver::clearPluginContainer):
* src/WebPopupMenuImpl.cpp: Added.
(WebKit::WebPopupMenu::create):
(WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
(WebKit::WebPopupMenuImpl::~WebPopupMenuImpl):
(WebKit::WebPopupMenuImpl::Init):
(WebKit::WebPopupMenuImpl::MouseMove):
(WebKit::WebPopupMenuImpl::MouseLeave):
(WebKit::WebPopupMenuImpl::MouseDown):
(WebKit::WebPopupMenuImpl::MouseUp):
(WebKit::WebPopupMenuImpl::MouseWheel):
(WebKit::WebPopupMenuImpl::KeyEvent):
(WebKit::WebPopupMenuImpl::close):
(WebKit::WebPopupMenuImpl::resize):
(WebKit::WebPopupMenuImpl::layout):
(WebKit::WebPopupMenuImpl::paint):
(WebKit::WebPopupMenuImpl::handleInputEvent):
(WebKit::WebPopupMenuImpl::mouseCaptureLost):
(WebKit::WebPopupMenuImpl::setFocus):
(WebKit::WebPopupMenuImpl::handleCompositionEvent):
(WebKit::WebPopupMenuImpl::queryCompositionStatus):
(WebKit::WebPopupMenuImpl::setTextDirection):
(WebKit::WebPopupMenuImpl::repaint):
(WebKit::WebPopupMenuImpl::scroll):
(WebKit::WebPopupMenuImpl::screenToWindow):
(WebKit::WebPopupMenuImpl::windowToScreen):
(WebKit::WebPopupMenuImpl::scrollRectIntoView):
(WebKit::WebPopupMenuImpl::scrollbarsModeDidChange):
(WebKit::WebPopupMenuImpl::popupClosed):
* src/WebPopupMenuImpl.h: Added.
(WebKit::WebPopupMenuImpl::size):
(WebKit::WebPopupMenuImpl::client):
(WebKit::WebPopupMenuImpl::platformPageClient):
* src/WebRange.cpp: Added.
(WebKit::WebRange::reset):
(WebKit::WebRange::assign):
(WebKit::WebRange::startOffset):
(WebKit::WebRange::endOffset):
(WebKit::WebRange::startContainer):
(WebKit::WebRange::endContainer):
(WebKit::WebRange::toHTMLText):
(WebKit::WebRange::toPlainText):
(WebKit::WebRange::WebRange):
(WebKit::WebRange::operator=):
(WebKit::WebRange::operator WTF::PassRefPtr<WebCore::Range>):
* src/WebRuntimeFeatures.cpp: Added.
(WebKit::WebRuntimeFeatures::enableDatabase):
(WebKit::WebRuntimeFeatures::isDatabaseEnabled):
(WebKit::WebRuntimeFeatures::enableLocalStorage):
(WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
(WebKit::WebRuntimeFeatures::enableSessionStorage):
(WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
(WebKit::WebRuntimeFeatures::enableMediaPlayer):
(WebKit::WebRuntimeFeatures::isMediaPlayerEnabled):
(WebKit::WebRuntimeFeatures::enableSockets):
(WebKit::WebRuntimeFeatures::isSocketsEnabled):
(WebKit::WebRuntimeFeatures::enableNotifications):
(WebKit::WebRuntimeFeatures::isNotificationsEnabled):
(WebKit::WebRuntimeFeatures::enableApplicationCache):
(WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebFileInputElement...WebNotifications
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebInputElement.cpp: Added.
(WebKit::WebInputElement::WebInputElement):
(WebKit::WebInputElement::operator=):
(WebKit::WebInputElement::operator WTF::PassRefPtr<HTMLInputElement>):
(WebKit::WebInputElement::setActivatedSubmit):
(WebKit::WebInputElement::setValue):
(WebKit::WebInputElement::value):
(WebKit::WebInputElement::setAutofilled):
(WebKit::WebInputElement::dispatchFormControlChangeEvent):
(WebKit::WebInputElement::setSelectionRange):
* src/WebInputEvent.cpp: Added.
(WebKit::staticKeyIdentifiers):
(WebKit::WebKeyboardEvent::setKeyIdentifierFromWindowsKeyCode):
* src/WebInputEventConversion.cpp: Added.
(WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
(WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
(WebKit::toPlatformKeyboardEventType):
(WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder):
(WebKit::PlatformKeyboardEventBuilder::setKeyType):
(WebKit::PlatformKeyboardEventBuilder::isCharacterKey):
(WebKit::getWebInputModifiers):
(WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
(WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
* src/WebInputEventConversion.h: Added.
* src/WebKit.cpp: Added.
(WebKit::initialize):
(WebKit::shutdown):
(WebKit::webKitClient):
(WebKit::setLayoutTestMode):
(WebKit::layoutTestMode):
(WebKit::resetPluginCache):
* src/WebMediaPlayerClientImpl.cpp: Added.
(WebKit::createWebMediaPlayer):
(WebKit::WebMediaPlayerClientImpl::isEnabled):
(WebKit::WebMediaPlayerClientImpl::setIsEnabled):
(WebKit::WebMediaPlayerClientImpl::registerSelf):
(WebKit::WebMediaPlayerClientImpl::networkStateChanged):
(WebKit::WebMediaPlayerClientImpl::readyStateChanged):
(WebKit::WebMediaPlayerClientImpl::volumeChanged):
(WebKit::WebMediaPlayerClientImpl::timeChanged):
(WebKit::WebMediaPlayerClientImpl::repaint):
(WebKit::WebMediaPlayerClientImpl::durationChanged):
(WebKit::WebMediaPlayerClientImpl::rateChanged):
(WebKit::WebMediaPlayerClientImpl::sizeChanged):
(WebKit::WebMediaPlayerClientImpl::sawUnsupportedTracks):
(WebKit::WebMediaPlayerClientImpl::load):
(WebKit::WebMediaPlayerClientImpl::cancelLoad):
(WebKit::WebMediaPlayerClientImpl::play):
(WebKit::WebMediaPlayerClientImpl::pause):
(WebKit::WebMediaPlayerClientImpl::naturalSize):
(WebKit::WebMediaPlayerClientImpl::hasVideo):
(WebKit::WebMediaPlayerClientImpl::hasAudio):
(WebKit::WebMediaPlayerClientImpl::setVisible):
(WebKit::WebMediaPlayerClientImpl::duration):
(WebKit::WebMediaPlayerClientImpl::currentTime):
(WebKit::WebMediaPlayerClientImpl::seek):
(WebKit::WebMediaPlayerClientImpl::seeking):
(WebKit::WebMediaPlayerClientImpl::setEndTime):
(WebKit::WebMediaPlayerClientImpl::setRate):
(WebKit::WebMediaPlayerClientImpl::paused):
(WebKit::WebMediaPlayerClientImpl::supportsFullscreen):
(WebKit::WebMediaPlayerClientImpl::supportsSave):
(WebKit::WebMediaPlayerClientImpl::setVolume):
(WebKit::WebMediaPlayerClientImpl::networkState):
(WebKit::WebMediaPlayerClientImpl::readyState):
(WebKit::WebMediaPlayerClientImpl::maxTimeSeekable):
(WebKit::WebMediaPlayerClientImpl::buffered):
(WebKit::WebMediaPlayerClientImpl::dataRate):
(WebKit::WebMediaPlayerClientImpl::totalBytesKnown):
(WebKit::WebMediaPlayerClientImpl::totalBytes):
(WebKit::WebMediaPlayerClientImpl::bytesLoaded):
(WebKit::WebMediaPlayerClientImpl::setSize):
(WebKit::WebMediaPlayerClientImpl::paint):
(WebKit::WebMediaPlayerClientImpl::setAutobuffer):
(WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin):
(WebKit::WebMediaPlayerClientImpl::movieLoadType):
(WebKit::WebMediaPlayerClientImpl::create):
(WebKit::WebMediaPlayerClientImpl::getSupportedTypes):
(WebKit::WebMediaPlayerClientImpl::supportsType):
(WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
* src/WebMediaPlayerClientImpl.h: Added.
* src/WebNode.cpp: Added.
(WebKit::WebNode::reset):
(WebKit::WebNode::assign):
(WebKit::WebNode::parentNode):
(WebKit::WebNode::nodeName):
(WebKit::WebNode::WebNode):
(WebKit::WebNode::operator=):
(WebKit::WebNode::operator WTF::PassRefPtr<WebCore::Node>):
(WebKit::WebNode::frame):
* src/WebNotification.cpp: Added.
(WebKit::WebNotification::reset):
(WebKit::WebNotification::assign):
(WebKit::WebNotification::lessThan):
(WebKit::WebNotification::isHTML):
(WebKit::WebNotification::url):
(WebKit::WebNotification::icon):
(WebKit::WebNotification::title):
(WebKit::WebNotification::body):
(WebKit::WebNotification::dispatchDisplayEvent):
(WebKit::WebNotification::dispatchErrorEvent):
(WebKit::WebNotification::dispatchCloseEvent):
(WebKit::WebNotification::WebNotification):
(WebKit::WebNotification::operator=):
(WebKit::WebNotification::operator WTF::PassRefPtr<Notification>):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebFileChooser...WebImageSkia
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebFileChooserCompletionImpl.cpp: Added.
(WebKit::WebFileChooserCompletionImpl::WebFileChooserCompletionImpl):
(WebKit::WebFileChooserCompletionImpl::~WebFileChooserCompletionImpl):
(WebKit::WebFileChooserCompletionImpl::didChooseFile):
* src/WebFileChooserCompletionImpl.h: Added.
* src/WebFontCache.cpp: Added.
(WebKit::WebFontCache::fontDataCount):
(WebKit::WebFontCache::inactiveFontDataCount):
(WebKit::WebFontCache::clear):
* src/WebFormElement.cpp: Added.
(WebKit::WebFormElement::WebFormElement):
(WebKit::WebFormElement::operator=):
(WebKit::WebFormElement::operator WTF::PassRefPtr<WebCore::HTMLFormElement>):
(WebKit::WebFormElement::autoComplete):
(WebKit::WebFormElement::action):
(WebKit::WebFormElement::submit):
(WebKit::WebFormElement::getNamedElements):
* src/WebFrameImpl.cpp: Added.
(WebKit::frameContentAsPlainText):
(WebKit::ChromePrintContext::ChromePrintContext):
(WebKit::ChromePrintContext::begin):
(WebKit::ChromePrintContext::getPageShrink):
(WebKit::ChromePrintContext::spoolPage):
(WebKit::DataSourceForDocLoader):
(WebKit::WebFrameImpl::DeferredScopeStringMatches::DeferredScopeStringMatches):
(WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout):
(WebKit::WebFrame::frameForEnteredContext):
(WebKit::WebFrame::frameForCurrentContext):
(WebKit::WebFrameImpl::name):
(WebKit::WebFrameImpl::url):
(WebKit::WebFrameImpl::favIconURL):
(WebKit::WebFrameImpl::openSearchDescriptionURL):
(WebKit::WebFrameImpl::scrollOffset):
(WebKit::WebFrameImpl::contentsSize):
(WebKit::WebFrameImpl::contentsPreferredWidth):
(WebKit::WebFrameImpl::hasVisibleContent):
(WebKit::WebFrameImpl::view):
(WebKit::WebFrameImpl::opener):
(WebKit::WebFrameImpl::parent):
(WebKit::WebFrameImpl::top):
(WebKit::WebFrameImpl::firstChild):
(WebKit::WebFrameImpl::lastChild):
(WebKit::WebFrameImpl::nextSibling):
(WebKit::WebFrameImpl::previousSibling):
(WebKit::WebFrameImpl::traverseNext):
(WebKit::WebFrameImpl::traversePrevious):
(WebKit::WebFrameImpl::findChildByName):
(WebKit::WebFrameImpl::findChildByExpression):
(WebKit::WebFrameImpl::forms):
(WebKit::WebFrameImpl::securityOrigin):
(WebKit::WebFrameImpl::grantUniversalAccess):
(WebKit::WebFrameImpl::windowObject):
(WebKit::WebFrameImpl::bindToWindowObject):
(WebKit::WebFrameImpl::executeScript):
(WebKit::WebFrameImpl::executeScriptInNewContext):
(WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
(WebKit::WebFrameImpl::addMessageToConsole):
(WebKit::WebFrameImpl::collectGarbage):
(WebKit::WebFrameImpl::mainWorldScriptContext):
(WebKit::WebFrameImpl::insertStyleText):
(WebKit::WebFrameImpl::reload):
(WebKit::WebFrameImpl::loadRequest):
(WebKit::WebFrameImpl::loadHistoryItem):
(WebKit::WebFrameImpl::loadData):
(WebKit::WebFrameImpl::loadHTMLString):
(WebKit::WebFrameImpl::isLoading):
(WebKit::WebFrameImpl::stopLoading):
(WebKit::WebFrameImpl::provisionalDataSource):
(WebKit::WebFrameImpl::dataSource):
(WebKit::WebFrameImpl::previousHistoryItem):
(WebKit::WebFrameImpl::currentHistoryItem):
(WebKit::WebFrameImpl::enableViewSourceMode):
(WebKit::WebFrameImpl::isViewSourceModeEnabled):
(WebKit::WebFrameImpl::setReferrerForRequest):
(WebKit::WebFrameImpl::dispatchWillSendRequest):
(WebKit::WebFrameImpl::commitDocumentData):
(WebKit::WebFrameImpl::unloadListenerCount):
(WebKit::WebFrameImpl::isProcessingUserGesture):
(WebKit::WebFrameImpl::willSuppressOpenerInNewFrame):
(WebKit::WebFrameImpl::replaceSelection):
(WebKit::WebFrameImpl::insertText):
(WebKit::WebFrameImpl::setMarkedText):
(WebKit::WebFrameImpl::unmarkText):
(WebKit::WebFrameImpl::hasMarkedText):
(WebKit::WebFrameImpl::markedRange):
(WebKit::WebFrameImpl::executeCommand):
(WebKit::WebFrameImpl::isCommandEnabled):
(WebKit::WebFrameImpl::enableContinuousSpellChecking):
(WebKit::WebFrameImpl::isContinuousSpellCheckingEnabled):
(WebKit::WebFrameImpl::hasSelection):
(WebKit::WebFrameImpl::selectionRange):
(WebKit::WebFrameImpl::selectionAsText):
(WebKit::WebFrameImpl::selectionAsMarkup):
(WebKit::WebFrameImpl::printBegin):
(WebKit::WebFrameImpl::getPrintPageShrink):
(WebKit::WebFrameImpl::printPage):
(WebKit::WebFrameImpl::printEnd):
(WebKit::WebFrameImpl::find):
(WebKit::WebFrameImpl::stopFinding):
(WebKit::WebFrameImpl::scopeStringMatches):
(WebKit::WebFrameImpl::cancelPendingScopingEffort):
(WebKit::WebFrameImpl::increaseMatchCount):
(WebKit::WebFrameImpl::reportFindInPageSelection):
(WebKit::WebFrameImpl::resetMatchCount):
(WebKit::WebFrameImpl::completeURL):
(WebKit::WebFrameImpl::contentAsText):
(WebKit::WebFrameImpl::contentAsMarkup):
(WebKit::WebFrameImpl::create):
(WebKit::WebFrameImpl::WebFrameImpl):
(WebKit::WebFrameImpl::~WebFrameImpl):
(WebKit::WebFrameImpl::initializeAsMainFrame):
(WebKit::WebFrameImpl::createChildFrame):
(WebKit::WebFrameImpl::layout):
(WebKit::WebFrameImpl::paint):
(WebKit::WebFrameImpl::createFrameView):
(WebKit::WebFrameImpl::fromFrame):
(WebKit::WebFrameImpl::viewImpl):
(WebKit::WebFrameImpl::dataSourceImpl):
(WebKit::WebFrameImpl::provisionalDataSourceImpl):
(WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
(WebKit::WebFrameImpl::didFail):
(WebKit::WebFrameImpl::setAllowsScrolling):
(WebKit::WebFrameImpl::registerPasswordListener):
(WebKit::WebFrameImpl::getPasswordListener):
(WebKit::WebFrameImpl::closing):
(WebKit::WebFrameImpl::invalidateArea):
(WebKit::WebFrameImpl::addMarker):
(WebKit::WebFrameImpl::setMarkerActive):
(WebKit::WebFrameImpl::ordinalOfFirstMatchForFrame):
(WebKit::WebFrameImpl::shouldScopeMatches):
(WebKit::WebFrameImpl::scopeStringMatchesSoon):
(WebKit::WebFrameImpl::callScopeStringMatches):
(WebKit::WebFrameImpl::invalidateIfNecessary):
(WebKit::WebFrameImpl::clearPasswordListeners):
(WebKit::WebFrameImpl::loadJavaScriptURL):
* src/WebFrameImpl.h: Added.
(WebKit::WebFrameImpl::liveObjectCount):
(WebKit::WebFrameImpl::frame):
(WebKit::WebFrameImpl::frameView):
(WebKit::WebFrameImpl::activeMatchFrame):
(WebKit::WebFrameImpl::client):
(WebKit::WebFrameImpl::dropClient):
(WebKit::WebFrameImpl::ClientHandle::create):
(WebKit::WebFrameImpl::ClientHandle::client):
(WebKit::WebFrameImpl::ClientHandle::dropClient):
(WebKit::WebFrameImpl::ClientHandle::ClientHandle):
(WebKit::WebFrameImpl::):
* src/WebHTTPBody.cpp: Added.
(WebKit::WebHTTPBody::initialize):
(WebKit::WebHTTPBody::reset):
(WebKit::WebHTTPBody::assign):
(WebKit::WebHTTPBody::elementCount):
(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendData):
(WebKit::WebHTTPBody::appendFile):
(WebKit::WebHTTPBody::identifier):
(WebKit::WebHTTPBody::setIdentifier):
(WebKit::WebHTTPBody::WebHTTPBody):
(WebKit::WebHTTPBody::operator=):
(WebKit::WebHTTPBody::operator PassRefPtr<FormData>):
(WebKit::WebHTTPBody::ensureMutable):
* src/WebHistoryItem.cpp: Added.
(WebKit::WebHistoryItem::initialize):
(WebKit::WebHistoryItem::reset):
(WebKit::WebHistoryItem::assign):
(WebKit::WebHistoryItem::urlString):
(WebKit::WebHistoryItem::setURLString):
(WebKit::WebHistoryItem::originalURLString):
(WebKit::WebHistoryItem::setOriginalURLString):
(WebKit::WebHistoryItem::referrer):
(WebKit::WebHistoryItem::setReferrer):
(WebKit::WebHistoryItem::target):
(WebKit::WebHistoryItem::setTarget):
(WebKit::WebHistoryItem::parent):
(WebKit::WebHistoryItem::setParent):
(WebKit::WebHistoryItem::title):
(WebKit::WebHistoryItem::setTitle):
(WebKit::WebHistoryItem::alternateTitle):
(WebKit::WebHistoryItem::setAlternateTitle):
(WebKit::WebHistoryItem::lastVisitedTime):
(WebKit::WebHistoryItem::setLastVisitedTime):
(WebKit::WebHistoryItem::scrollOffset):
(WebKit::WebHistoryItem::setScrollOffset):
(WebKit::WebHistoryItem::isTargetItem):
(WebKit::WebHistoryItem::setIsTargetItem):
(WebKit::WebHistoryItem::visitCount):
(WebKit::WebHistoryItem::setVisitCount):
(WebKit::WebHistoryItem::documentState):
(WebKit::WebHistoryItem::setDocumentState):
(WebKit::WebHistoryItem::httpContentType):
(WebKit::WebHistoryItem::setHTTPContentType):
(WebKit::WebHistoryItem::httpBody):
(WebKit::WebHistoryItem::setHTTPBody):
(WebKit::WebHistoryItem::children):
(WebKit::WebHistoryItem::setChildren):
(WebKit::WebHistoryItem::appendToChildren):
(WebKit::WebHistoryItem::WebHistoryItem):
(WebKit::WebHistoryItem::operator=):
(WebKit::WebHistoryItem::operator PassRefPtr<HistoryItem>):
(WebKit::WebHistoryItem::ensureMutable):
* src/WebImageCG.cpp: Added.
(WebKit::WebImage::fromData):
(WebKit::WebImage::reset):
(WebKit::WebImage::assign):
(WebKit::WebImage::isNull):
(WebKit::WebImage::size):
(WebKit::WebImage::WebImage):
(WebKit::WebImage::operator=):
* src/WebImageSkia.cpp: Added.
(WebKit::WebImage::fromData):
(WebKit::WebImage::reset):
(WebKit::WebImage::assign):
(WebKit::WebImage::isNull):
(WebKit::WebImage::size):
(WebKit::WebImage::WebImage):
(WebKit::WebImage::operator=):
2009-11-09 Yaar Schnitman <yaar@chromium.src>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebData...WebElement
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebData.cpp: Added.
(WebKit::WebData::reset):
(WebKit::WebData::assign):
(WebKit::WebData::size):
(WebKit::WebData::data):
(WebKit::WebData::WebData):
(WebKit::WebData::operator=):
(WebKit::WebData::operator PassRefPtr<SharedBuffer>):
* src/WebDataSourceImpl.cpp: Added.
(WebKit::WebDataSourceImpl::create):
(WebKit::WebDataSourceImpl::originalRequest):
(WebKit::WebDataSourceImpl::request):
(WebKit::WebDataSourceImpl::response):
(WebKit::WebDataSourceImpl::hasUnreachableURL):
(WebKit::WebDataSourceImpl::unreachableURL):
(WebKit::WebDataSourceImpl::redirectChain):
(WebKit::WebDataSourceImpl::pageTitle):
(WebKit::WebDataSourceImpl::navigationType):
(WebKit::WebDataSourceImpl::triggeringEventTime):
(WebKit::WebDataSourceImpl::extraData):
(WebKit::WebDataSourceImpl::setExtraData):
(WebKit::WebDataSourceImpl::toWebNavigationType):
(WebKit::WebDataSourceImpl::endOfRedirectChain):
(WebKit::WebDataSourceImpl::clearRedirectChain):
(WebKit::WebDataSourceImpl::appendRedirect):
(WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
(WebKit::WebDataSourceImpl::WebDataSourceImpl):
(WebKit::WebDataSourceImpl::~WebDataSourceImpl):
* src/WebDataSourceImpl.h: Added.
(WebKit::WebDataSourceImpl::fromDocumentLoader):
(WebKit::WebDataSourceImpl::hasRedirectChain):
(WebKit::WebDataSourceImpl::releasePluginLoadObserver):
* src/WebDatabase.cpp: Added.
(WebKit::WebDatabase::reset):
(WebKit::WebDatabase::assign):
(WebKit::WebDatabase::name):
(WebKit::WebDatabase::displayName):
(WebKit::WebDatabase::estimatedSize):
(WebKit::WebDatabase::securityOrigin):
(WebKit::WebDatabase::setObserver):
(WebKit::WebDatabase::observer):
(WebKit::WebDatabase::updateDatabaseSize):
(WebKit::WebDatabase::WebDatabase):
(WebKit::WebDatabase::operator=):
(WebKit::WebDatabase::operator WTF::PassRefPtr<Database>):
* src/WebDevToolsAgentPrivate.h: Added.
* src/WebDragData.cpp: Added.
(WebKit::WebDragData::initialize):
(WebKit::WebDragData::reset):
(WebKit::WebDragData::assign):
(WebKit::WebDragData::url):
(WebKit::WebDragData::setURL):
(WebKit::WebDragData::urlTitle):
(WebKit::WebDragData::setURLTitle):
(WebKit::WebDragData::fileExtension):
(WebKit::WebDragData::setFileExtension):
(WebKit::WebDragData::hasFileNames):
(WebKit::WebDragData::fileNames):
(WebKit::WebDragData::setFileNames):
(WebKit::WebDragData::appendToFileNames):
(WebKit::WebDragData::plainText):
(WebKit::WebDragData::setPlainText):
(WebKit::WebDragData::htmlText):
(WebKit::WebDragData::setHTMLText):
(WebKit::WebDragData::htmlBaseURL):
(WebKit::WebDragData::setHTMLBaseURL):
(WebKit::WebDragData::fileContentFileName):
(WebKit::WebDragData::setFileContentFileName):
(WebKit::WebDragData::fileContent):
(WebKit::WebDragData::setFileContent):
(WebKit::WebDragData::WebDragData):
(WebKit::WebDragData::operator=):
(WebKit::WebDragData::operator WTF::PassRefPtr<WebCore::ChromiumDataObject>):
(WebKit::WebDragData::ensureMutable):
* src/WebElement.cpp: Added.
(WebKit::WebElement::WebElement):
(WebKit::WebElement::operator=):
(WebKit::WebElement::operator WTF::PassRefPtr<Element>):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
WebPo*.h and WebRunetimeFeatures.h Chromium API headers.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebPoint.h: Added.
(WebKit::WebPoint::WebPoint):
(WebKit::WebPoint::operator=):
(WebKit::WebPoint::operator WebCore::IntPoint):
(WebKit::WebPoint::operator gfx::Point):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebPopupMenu.h: Added.
* public/WebPopupMenuInfo.h: Added.
(WebKit::WebPopupMenuInfo::Item::):
* public/WebRuntimeFeatures.h: Added.
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
WebPa*.h and WebPl*.h Chromium API headers.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebPasswordAutocompleteListener.h: Added.
(WebKit::WebPasswordAutocompleteListener::~WebPasswordAutocompleteListener):
* public/WebPasswordFormData.h: Added.
(WebKit::WebPasswordFormData::isValid):
* public/WebPlugin.h: Added.
(WebKit::WebPlugin::~WebPlugin):
* public/WebPluginContainer.h: Added.
(WebKit::WebPluginContainer::~WebPluginContainer):
* public/WebPluginListBuilder.h: Added.
* public/WebPluginParams.h: Added.
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebBindging ... WebCursorInfo
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebBindings.cpp: Added.
(WebKit::WebBindings::construct):
(WebKit::WebBindings::createObject):
(WebKit::WebBindings::enumerate):
(WebKit::WebBindings::evaluate):
(WebKit::WebBindings::evaluateHelper):
(WebKit::WebBindings::getIntIdentifier):
(WebKit::WebBindings::getProperty):
(WebKit::WebBindings::getStringIdentifier):
(WebKit::WebBindings::getStringIdentifiers):
(WebKit::WebBindings::hasMethod):
(WebKit::WebBindings::hasProperty):
(WebKit::WebBindings::identifierIsString):
(WebKit::WebBindings::intFromIdentifier):
(WebKit::WebBindings::initializeVariantWithStringCopy):
(WebKit::WebBindings::invoke):
(WebKit::WebBindings::invokeDefault):
(WebKit::WebBindings::releaseObject):
(WebKit::WebBindings::releaseVariantValue):
(WebKit::WebBindings::removeProperty):
(WebKit::WebBindings::retainObject):
(WebKit::WebBindings::setException):
(WebKit::WebBindings::setProperty):
(WebKit::WebBindings::unregisterObject):
(WebKit::WebBindings::utf8FromIdentifier):
(WebKit::WebBindings::extractIdentifierData):
(WebKit::getEvent):
(WebKit::getDragDataImpl):
(WebKit::getRangeImpl):
(WebKit::WebBindings::getDragData):
(WebKit::WebBindings::isDragEvent):
(WebKit::WebBindings::getRange):
* src/WebCString.cpp: Added.
(WebKit::WebCString::reset):
(WebKit::WebCString::assign):
(WebKit::WebCString::length):
(WebKit::WebCString::data):
(WebKit::WebCString::utf16):
(WebKit::WebCString::fromUTF16):
(WebKit::WebCString::WebCString):
(WebKit::WebCString::operator=):
(WebKit::WebCString::operator WebCore::CString):
* src/WebCache.cpp: Added.
(WebKit::ToResourceTypeStat):
(WebKit::WebCache::setCapacities):
(WebKit::WebCache::clear):
(WebKit::WebCache::getUsageStats):
(WebKit::WebCache::getResourceTypeStats):
* src/WebColor.cpp: Added.
(WebKit::toCSSValueKeyword):
(WebKit::setNamedColors):
* src/WebCrossOriginPreflightResultCache.cpp: Added.
(WebKit::WebCrossOriginPreflightResultCache::clear):
* src/WebCursorInfo.cpp: Added.
(WebKit::WebCursorInfo::WebCursorInfo):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Up-streaming Chromium API src files: WebAccessibilty
https://bugs.webkit.org/show_bug.cgi?id=31276
* src/WebAccessibilityCache.cpp: Added.
(WebKit::WebAccessibilityCache::enableAccessibility):
* src/WebAccessibilityCacheImpl.cpp: Added.
(WebKit::toAccessibilityObject):
(WebKit::WebAccessibilityCache::create):
(WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
(WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
(WebKit::WebAccessibilityCacheImpl::WeakHandle::detach):
(WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl):
(WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl):
(WebKit::WebAccessibilityCacheImpl::initialize):
(WebKit::WebAccessibilityCacheImpl::getObjectById):
(WebKit::WebAccessibilityCacheImpl::isValidId):
(WebKit::WebAccessibilityCacheImpl::remove):
(WebKit::WebAccessibilityCacheImpl::clear):
(WebKit::WebAccessibilityCacheImpl::addOrGetId):
* src/WebAccessibilityCacheImpl.h: Added.
(WebKit::WebAccessibilityCacheImpl::isInitialized):
* src/WebAccessibilityObject.cpp: Added.
(WebKit::WebAccessibilityObject::reset):
(WebKit::WebAccessibilityObject::assign):
(WebKit::WebAccessibilityObject::accessibilityDescription):
(WebKit::WebAccessibilityObject::actionVerb):
(WebKit::WebAccessibilityObject::canSetFocusAttribute):
(WebKit::WebAccessibilityObject::childCount):
(WebKit::WebAccessibilityObject::childAt):
(WebKit::WebAccessibilityObject::firstChild):
(WebKit::WebAccessibilityObject::focusedChild):
(WebKit::WebAccessibilityObject::lastChild):
(WebKit::WebAccessibilityObject::nextSibling):
(WebKit::WebAccessibilityObject::parentObject):
(WebKit::WebAccessibilityObject::previousSibling):
(WebKit::WebAccessibilityObject::isAnchor):
(WebKit::WebAccessibilityObject::isChecked):
(WebKit::WebAccessibilityObject::isFocused):
(WebKit::WebAccessibilityObject::isEnabled):
(WebKit::WebAccessibilityObject::isHovered):
(WebKit::WebAccessibilityObject::isIndeterminate):
(WebKit::WebAccessibilityObject::isMultiSelect):
(WebKit::WebAccessibilityObject::isOffScreen):
(WebKit::WebAccessibilityObject::isPasswordField):
(WebKit::WebAccessibilityObject::isPressed):
(WebKit::WebAccessibilityObject::isReadOnly):
(WebKit::WebAccessibilityObject::isVisited):
(WebKit::WebAccessibilityObject::boundingBoxRect):
(WebKit::WebAccessibilityObject::helpText):
(WebKit::WebAccessibilityObject::hitTest):
(WebKit::WebAccessibilityObject::keyboardShortcut):
(WebKit::WebAccessibilityObject::performDefaultAction):
(WebKit::WebAccessibilityObject::roleValue):
(WebKit::WebAccessibilityObject::stringValue):
(WebKit::WebAccessibilityObject::title):
(WebKit::WebAccessibilityObject::WebAccessibilityObject):
(WebKit::WebAccessibilityObject::operator=):
(WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Upstreaming Chromium API: Platform specific files
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/gtk/WebFontInfo.h: Added.
* public/gtk/WebInputEventFactory.h: Added.
* public/gtk/WebScreenInfoFactory.h: Added.
* public/linux/WebFontRendering.h: Added.
* public/linux/WebSandboxSupport.h: Added.
* public/mac/WebInputEventFactory.h: Added.
* public/mac/WebScreenInfoFactory.h: Added.
* public/win/WebInputEventFactory.h: Added.
* public/win/WebSandboxSupport.h: Added.
* public/win/WebScreenInfoFactory.h: Added.
* public/win/WebThemeEngine.h: Added.
* public/x11/WebScreenInfoFactory.h: Added.
2009-11-09 David Levin <levin@chromium.org>
Reviewed by Dmitry Titov.
Change struct ResourceRequest to class ResourceRequest per
http://trac.webkit.org/changeset/50625.
* public/WebURLRequest.h:
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Upstream remaining Chromium API WebN*.h headers.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebNonCopyable.h: Added.
(WebKit::WebNonCopyable::WebNonCopyable):
(WebKit::WebNonCopyable::~WebNonCopyable):
* public/WebNotification.h: Added.
(WebKit::WebNotification::WebNotification):
(WebKit::WebNotification::~WebNotification):
(WebKit::WebNotification::operator=):
(WebKit::WebNotification::equals):
(WebKit::operator==):
(WebKit::operator!=):
(WebKit::operator<):
* public/WebNotificationPermissionCallback.h: Added.
(WebKit::WebNotificationPermissionCallback::~WebNotificationPermissionCallback):
* public/WebNotificationPresenter.h: Added.
(WebKit::WebNotificationPresenter::):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Upstream Chromium API headers WebMessage through WebNavigation.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebMessagePortChannel.h: Added.
(WebKit::WebMessagePortChannel::~WebMessagePortChannel):
* public/WebMessagePortChannelClient.h: Added.
(WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
* public/WebMimeRegistry.h: Added.
(WebKit::WebMimeRegistry::):
(WebKit::WebMimeRegistry::~WebMimeRegistry):
* public/WebNavigationPolicy.h: Added.
(WebKit::):
* public/WebNavigationType.h: Added.
(WebKit::):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Upstreaming the Chromium WebKit API: WebScreenInfo to WebSharedWorkerRepo.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebScreenInfo.h: Added.
(WebKit::WebScreenInfo::WebScreenInfo):
* public/WebScriptController.h: Added.
* public/WebScriptSource.h: Added.
(WebKit::WebScriptSource::WebScriptSource):
* public/WebSearchableFormData.h: Added.
(WebKit::WebSearchableFormData::isValid):
(WebKit::WebSearchableFormData::url):
(WebKit::WebSearchableFormData::encoding):
* public/WebSecurityOrigin.h: Added.
(WebKit::WebSecurityOrigin::~WebSecurityOrigin):
(WebKit::WebSecurityOrigin::WebSecurityOrigin):
(WebKit::WebSecurityOrigin::operator=):
(WebKit::WebSecurityOrigin::isNull):
* public/WebSecurityPolicy.h: Added.
* public/WebSettings.h: Added.
(WebKit::WebSettings::~WebSettings):
* public/WebSharedWorker.h: Added.
(WebKit::WebSharedWorker::~WebSharedWorker):
* public/WebSharedWorkerRepository.h: Added.
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Upstream Chromium API headers Webkit.h thru WebMediaPlayerClient.h.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebKit.h: Added.
* public/WebKitClient.h: Added.
(WebKit::WebKitClient::~WebKitClient):
* public/WebLocalizedString.h: Added.
(WebKit::WebLocalizedString::):
* public/WebMediaPlayer.h: Added.
(WebKit::WebTimeRange::WebTimeRange):
(WebKit::WebMediaPlayer::):
(WebKit::WebMediaPlayer::~WebMediaPlayer):
* public/WebMediaPlayerAction.h: Added.
(WebKit::WebMediaPlayerAction::):
(WebKit::WebMediaPlayerAction::WebMediaPlayerAction):
* public/WebMediaPlayerClient.h: Added.
(WebKit::WebMediaPlayerClient::~WebMediaPlayerClient):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Upstream rest of WebH*.h and WebI*.h Chromium API headers.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebHTTPBody.h: Added.
(WebKit::WebHTTPBody::Element::):
(WebKit::WebHTTPBody::~WebHTTPBody):
(WebKit::WebHTTPBody::WebHTTPBody):
(WebKit::WebHTTPBody::operator=):
(WebKit::WebHTTPBody::isNull):
* public/WebHTTPHeaderVisitor.h: Added.
(WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
* public/WebHistoryItem.h: Added.
(WebKit::WebHistoryItem::~WebHistoryItem):
(WebKit::WebHistoryItem::WebHistoryItem):
(WebKit::WebHistoryItem::operator=):
(WebKit::WebHistoryItem::isNull):
* public/WebImage.h: Added.
(WebKit::WebImage::~WebImage):
(WebKit::WebImage::WebImage):
(WebKit::WebImage::operator=):
(WebKit::WebImage::getSkBitmap):
(WebKit::WebImage::init):
(WebKit::WebImage::getCGImageRef):
* public/WebInputEvent.h: Added.
(WebKit::WebInputEvent::WebInputEvent):
(WebKit::WebInputEvent::):
(WebKit::WebInputEvent::isKeyboardEventType):
(WebKit::WebKeyboardEvent::WebKeyboardEvent):
(WebKit::WebMouseEvent::):
(WebKit::WebMouseEvent::WebMouseEvent):
(WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Eric Seidel.
Upstreaming the Chromium WebKit API: WebSockets and WebStorage.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebSocketStreamError.h: Added.
* public/WebSocketStreamHandle.h: Added.
(WebKit::WebSocketStreamHandle::~WebSocketStreamHandle):
* public/WebSocketStreamHandleClient.h: Added.
* public/WebStorageArea.h: Added.
(WebKit::WebStorageArea::~WebStorageArea):
* public/WebStorageEventDispatcher.h: Added.
(WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher):
* public/WebStorageNamespace.h: Added.
(WebKit::WebStorageNamespace::~WebStorageNamespace):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Upstreaming the Chromium WebKit API: WebString and other basic objects.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebRange.h: Added.
(WebKit::WebRange::~WebRange):
(WebKit::WebRange::WebRange):
(WebKit::WebRange::operator=):
(WebKit::WebRange::isNull):
* public/WebRect.h: Added.
(WebKit::WebRect::isEmpty):
(WebKit::WebRect::WebRect):
(WebKit::WebRect::operator=):
(WebKit::WebRect::operator WebCore::IntRect):
(WebKit::WebRect::operator gfx::Rect):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebSize.h: Added.
(WebKit::WebSize::isEmpty):
(WebKit::WebSize::WebSize):
(WebKit::WebSize::operator=):
(WebKit::WebSize::operator WebCore::IntSize):
(WebKit::WebSize::operator gfx::Size):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebString.h: Added.
(WebKit::WebString::~WebString):
(WebKit::WebString::WebString):
(WebKit::WebString::operator=):
(WebKit::WebString::isEmpty):
(WebKit::WebString::isNull):
(WebKit::WebString::operator string16):
(WebKit::WebString::operator NullableString16):
(WebKit::WebString::fromUTF8):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Eric Seidel.
Upstreaming the Chromium WebKit API: WebText*
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebTextAffinity.h: Added.
(WebKit::):
* public/WebTextDirection.h: Added.
(WebKit::):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Upstream remainder of WebE*.h and WebF*.h Chromium API headers.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebEditingAction.h: Added.
(WebKit::):
* public/WebFileChooserCompletion.h: Added.
(WebKit::WebFileChooserCompletion::~WebFileChooserCompletion):
* public/WebFindOptions.h: Added.
(WebKit::WebFindOptions::WebFindOptions):
* public/WebFontCache.h: Added.
* public/WebFrame.h: Added.
(WebKit::WebFrame::~WebFrame):
* public/WebFrameClient.h: Added.
(WebKit::WebFrameClient::createPlugin):
(WebKit::WebFrameClient::createWorker):
(WebKit::WebFrameClient::createSharedWorker):
(WebKit::WebFrameClient::createMediaPlayer):
(WebKit::WebFrameClient::willClose):
(WebKit::WebFrameClient::loadURLExternally):
(WebKit::WebFrameClient::decidePolicyForNavigation):
(WebKit::WebFrameClient::canHandleRequest):
(WebKit::WebFrameClient::cannotHandleRequestError):
(WebKit::WebFrameClient::cancelledError):
(WebKit::WebFrameClient::unableToImplementPolicyWithError):
(WebKit::WebFrameClient::willSubmitForm):
(WebKit::WebFrameClient::willPerformClientRedirect):
(WebKit::WebFrameClient::didCancelClientRedirect):
(WebKit::WebFrameClient::didCompleteClientRedirect):
(WebKit::WebFrameClient::didCreateDataSource):
(WebKit::WebFrameClient::didStartProvisionalLoad):
(WebKit::WebFrameClient::didReceiveServerRedirectForProvisionalLoad):
(WebKit::WebFrameClient::didFailProvisionalLoad):
(WebKit::WebFrameClient::didReceiveDocumentData):
(WebKit::WebFrameClient::didCommitProvisionalLoad):
(WebKit::WebFrameClient::didClearWindowObject):
(WebKit::WebFrameClient::didCreateDocumentElement):
(WebKit::WebFrameClient::didReceiveTitle):
(WebKit::WebFrameClient::didFinishDocumentLoad):
(WebKit::WebFrameClient::didHandleOnloadEvents):
(WebKit::WebFrameClient::didFailLoad):
(WebKit::WebFrameClient::didFinishLoad):
(WebKit::WebFrameClient::didChangeLocationWithinPage):
(WebKit::WebFrameClient::didUpdateCurrentHistoryItem):
(WebKit::WebFrameClient::assignIdentifierToRequest):
(WebKit::WebFrameClient::willSendRequest):
(WebKit::WebFrameClient::didReceiveResponse):
(WebKit::WebFrameClient::didFinishResourceLoad):
(WebKit::WebFrameClient::didFailResourceLoad):
(WebKit::WebFrameClient::didLoadResourceFromMemoryCache):
(WebKit::WebFrameClient::didDisplayInsecureContent):
(WebKit::WebFrameClient::didRunInsecureContent):
(WebKit::WebFrameClient::allowScript):
(WebKit::WebFrameClient::didExhaustMemoryAvailableForScript):
(WebKit::WebFrameClient::didCreateScriptContext):
(WebKit::WebFrameClient::didDestroyScriptContext):
(WebKit::WebFrameClient::didCreateIsolatedScriptContext):
(WebKit::WebFrameClient::didChangeContentsSize):
(WebKit::WebFrameClient::didChangeScrollOffset):
(WebKit::WebFrameClient::reportFindInPageMatchCount):
(WebKit::WebFrameClient::reportFindInPageSelection):
(WebKit::WebFrameClient::~WebFrameClient):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Upstream WebDevTools*.h and WebDrag*.h Chromium API headers.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebDevToolsAgent.h: Added.
(WebKit::WebDevToolsAgent::~WebDevToolsAgent):
* public/WebDevToolsAgentClient.h: Added.
(WebKit::WebDevToolsAgentClient::~WebDevToolsAgentClient):
* public/WebDevToolsFrontend.h: Added.
(WebKit::WebDevToolsFrontend::~WebDevToolsFrontend):
* public/WebDevToolsFrontendClient.h: Added.
(WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
(WebKit::WebDevToolsFrontendClient::~WebDevToolsFrontendClient):
* public/WebDragData.h: Added.
(WebKit::WebDragData::~WebDragData):
(WebKit::WebDragData::WebDragData):
(WebKit::WebDragData::operator=):
(WebKit::WebDragData::isNull):
* public/WebDragOperation.h: Added.
(WebKit::):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Upstreaming the Chromium WebKit API: WebURL and friends.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebURL.h: Added.
(WebKit::WebURL::~WebURL):
(WebKit::WebURL::WebURL):
(WebKit::WebURL::operator=):
(WebKit::WebURL::assign):
(WebKit::WebURL::spec):
(WebKit::WebURL::parsed):
(WebKit::WebURL::isValid):
(WebKit::WebURL::isEmpty):
(WebKit::WebURL::isNull):
(WebKit::WebURL::operator GURL):
* public/WebURLError.h: Added.
(WebKit::WebURLError::WebURLError):
* public/WebURLLoader.h: Added.
(WebKit::WebURLLoader::~WebURLLoader):
* public/WebURLLoaderClient.h: Added.
(WebKit::WebURLLoaderClient::~WebURLLoaderClient):
* public/WebURLRequest.h: Added.
(WebKit::WebURLRequest::):
(WebKit::WebURLRequest::~WebURLRequest):
(WebKit::WebURLRequest::WebURLRequest):
(WebKit::WebURLRequest::operator=):
* public/WebURLResponse.h: Added.
(WebKit::WebURLResponse::~WebURLResponse):
(WebKit::WebURLResponse::WebURLResponse):
(WebKit::WebURLResponse::operator=):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebVector.h: Added.
(WebKit::WebVector::~WebVector):
(WebKit::WebVector::WebVector):
(WebKit::WebVector::operator=):
(WebKit::WebVector::assign):
(WebKit::WebVector::size):
(WebKit::WebVector::isEmpty):
(WebKit::WebVector::operator[]):
(WebKit::WebVector::data):
(WebKit::WebVector::swap):
(WebKit::WebVector::initialize):
(WebKit::WebVector::initializeFrom):
(WebKit::WebVector::destroy):
* public/WebView.h: Added.
(WebKit::WebView::~WebView):
* public/WebViewClient.h: Added.
(WebKit::WebViewClient::createView):
(WebKit::WebViewClient::createPopupMenu):
(WebKit::WebViewClient::didAddMessageToConsole):
(WebKit::WebViewClient::printPage):
(WebKit::WebViewClient::notificationPresenter):
(WebKit::WebViewClient::didStartLoading):
(WebKit::WebViewClient::didStopLoading):
(WebKit::WebViewClient::shouldBeginEditing):
(WebKit::WebViewClient::shouldEndEditing):
(WebKit::WebViewClient::shouldInsertNode):
(WebKit::WebViewClient::shouldInsertText):
(WebKit::WebViewClient::shouldChangeSelectedRange):
(WebKit::WebViewClient::shouldDeleteRange):
(WebKit::WebViewClient::shouldApplyStyle):
(WebKit::WebViewClient::isSmartInsertDeleteEnabled):
(WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled):
(WebKit::WebViewClient::setInputMethodEnabled):
(WebKit::WebViewClient::didBeginEditing):
(WebKit::WebViewClient::didChangeSelection):
(WebKit::WebViewClient::didChangeContents):
(WebKit::WebViewClient::didExecuteCommand):
(WebKit::WebViewClient::didEndEditing):
(WebKit::WebViewClient::handleCurrentKeyboardEvent):
(WebKit::WebViewClient::spellCheck):
(WebKit::WebViewClient::autoCorrectWord):
(WebKit::WebViewClient::showSpellingUI):
(WebKit::WebViewClient::isShowingSpellingUI):
(WebKit::WebViewClient::updateSpellingUIWithMisspelledWord):
(WebKit::WebViewClient::runFileChooser):
(WebKit::WebViewClient::runModalAlertDialog):
(WebKit::WebViewClient::runModalConfirmDialog):
(WebKit::WebViewClient::runModalPromptDialog):
(WebKit::WebViewClient::runModalBeforeUnloadDialog):
(WebKit::WebViewClient::setStatusText):
(WebKit::WebViewClient::setMouseOverURL):
(WebKit::WebViewClient::setKeyboardFocusURL):
(WebKit::WebViewClient::setToolTipText):
(WebKit::WebViewClient::showContextMenu):
(WebKit::WebViewClient::startDragging):
(WebKit::WebViewClient::acceptsLoadDrops):
(WebKit::WebViewClient::focusNext):
(WebKit::WebViewClient::focusPrevious):
(WebKit::WebViewClient::navigateBackForwardSoon):
(WebKit::WebViewClient::historyBackListCount):
(WebKit::WebViewClient::historyForwardListCount):
(WebKit::WebViewClient::didAddHistoryItem):
(WebKit::WebViewClient::focusAccessibilityObject):
(WebKit::WebViewClient::didUpdateInspectorSettings):
(WebKit::WebViewClient::queryAutofillSuggestions):
(WebKit::WebViewClient::removeAutofillSuggestions):
(WebKit::WebViewClient::~WebViewClient):
* public/WebWidget.h: Added.
(WebKit::WebWidget::~WebWidget):
* public/WebWidgetClient.h: Added.
(WebKit::WebWidgetClient::didInvalidateRect):
(WebKit::WebWidgetClient::didScrollRect):
(WebKit::WebWidgetClient::didFocus):
(WebKit::WebWidgetClient::didBlur):
(WebKit::WebWidgetClient::didChangeCursor):
(WebKit::WebWidgetClient::closeWidgetSoon):
(WebKit::WebWidgetClient::show):
(WebKit::WebWidgetClient::runModal):
(WebKit::WebWidgetClient::windowRect):
(WebKit::WebWidgetClient::setWindowRect):
(WebKit::WebWidgetClient::windowResizerRect):
(WebKit::WebWidgetClient::rootWindowRect):
(WebKit::WebWidgetClient::screenInfo):
(WebKit::WebWidgetClient::~WebWidgetClient):
* public/WebWorker.h: Added.
(WebKit::WebWorker::~WebWorker):
* public/WebWorkerClient.h: Added.
(WebKit::WebWorkerClient::~WebWorkerClient):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Upstream WebData*.h Chromium API files.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebData.h: Added.
(WebKit::WebData::~WebData):
(WebKit::WebData::WebData):
(WebKit::WebData::operator=):
(WebKit::WebData::isEmpty):
(WebKit::WebData::isNull):
* public/WebDataSource.h: Added.
(WebKit::WebDataSource::ExtraData::~ExtraData):
(WebKit::WebDataSource::~WebDataSource):
* public/WebDatabase.h: Added.
(WebKit::WebDatabase::WebDatabase):
(WebKit::WebDatabase::~WebDatabase):
(WebKit::WebDatabase::operator=):
(WebKit::WebDatabase::isNull):
* public/WebDatabaseObserver.h: Added.
(WebKit::WebDatabaseObserver::~WebDatabaseObserver):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Upstream the last of the Chromium API WebC*.h files.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebConsoleMessage.h: Added.
(WebKit::WebConsoleMessage::):
(WebKit::WebConsoleMessage::WebConsoleMessage):
* public/WebContextMenuData.h: Added.
(WebKit::WebContextMenuData::):
* public/WebCookie.h: Added.
(WebKit::WebCookie::WebCookie):
* public/WebCrossOriginPreflightResultCache.h: Added.
* public/WebCursorInfo.h: Added.
(WebKit::WebCursorInfo::):
(WebKit::WebCursorInfo::WebCursorInfo):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
More WebC*.h upstreaming.
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebCString.h: Added.
(WebKit::WebCString::~WebCString):
(WebKit::WebCString::WebCString):
(WebKit::WebCString::operator=):
(WebKit::WebCString::isEmpty):
(WebKit::WebCString::isNull):
(WebKit::WebCString::operator std::string):
(WebKit::WebCString::fromUTF16):
* public/WebColorName.h: Added.
(WebKit::):
* public/WebCommon.h: Added.
* public/WebCommonWorkerClient.h: Added.
(WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
* public/WebCompositionCommand.h: Added.
(WebKit::):
2009-11-09 Yaar Schnitman <yaar@chromium.org>
Reviewed by Dimitri Glazkov.
Upstreaming the Chromium WebKit API: WebNode.h and friends are thin wrappers around WebCore::Nodes
https://bugs.webkit.org/show_bug.cgi?id=28394
* public/WebElement.h: Added.
(WebKit::WebElement::WebElement):
(WebKit::WebElement::operator=):
(WebKit::WebElement::assign):
* public/WebFormElement.h: Added.
(WebKit::WebFormElement::~WebFormElement):
(WebKit::WebFormElement::WebFormElement):
(WebKit::WebFormElement::operator=):
(WebKit::WebFormElement::assign):
* public/WebInputElement.h: Added.
(WebKit::WebInputElement::WebInputElement):
(WebKit::WebInputElement::operator=):
(WebKit::WebInputElement::assign):
* public/WebNode.h: Added.
(WebKit::WebNode::~WebNode):
(WebKit::WebNode::WebNode):
(WebKit::WebNode::operator=):
(WebKit::WebNode::isNull):
(WebKit::WebNode::toElement):
(WebKit::WebNode::unwrap):
(WebKit::WebNode::constUnwrap):
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
WebKit Chromium API upstreaming, WebBindings.h through WebColor.h.
* public/WebBindings.h: Added.
* public/WebCache.h: Added.
* public/WebCanvas.h: Added.
* public/WebClipboard.h: Added.
(WebKit::WebClipboard::):
(WebKit::WebClipboard::~WebClipboard):
* public/WebColor.h: Added.
2009-11-09 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
Starting upstreaming the Chromium WebKit API. public/ contains header files only.
https://bugs.webkit.org/show_bug.cgi?id=28394
* ChangeLog: First!!
* public: Added.
* public/WebAccessibilityCache.h: Added.
(WebKit::WebAccessibilityCache::WebAccessibilityCache):
(WebKit::WebAccessibilityCache::~WebAccessibilityCache):
* public/WebAccessibilityObject.h: Added.
(WebKit::WebAccessibilityObject::~WebAccessibilityObject):
(WebKit::WebAccessibilityObject::WebAccessibilityObject):
(WebKit::WebAccessibilityObject::operator=):
(WebKit::WebAccessibilityObject::isNull):
* public/WebAccessibilityRole.h: Added.
(WebKit::):
* public/WebApplicationCacheHost.h: Added.
(WebKit::WebApplicationCacheHost::):
(WebKit::WebApplicationCacheHost::~WebApplicationCacheHost):
* public/WebApplicationCacheHostClient.h: Added.
(WebKit::WebApplicationCacheHostClient::~WebApplicationCacheHostClient):