2011-02-16 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Inject auto increment keys via key path on insertion https://bugs.webkit.org/show_bug.cgi?id=54457 Support for injecting keys into objects via key path. * public/WebIDBKey.h: * public/WebKitClient.h: (WebKit::WebKitClient::injectIDBKeyIntoSerializedValue): * src/PlatformBridge.cpp: (WebCore::PlatformBridge::injectIDBKeyIntoSerializedValue): * src/WebIDBKey.cpp: (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue): * tests/IDBBindingUtilitiesTest.cpp: (WebCore::injectKey): (WebCore::checkInjection): (WebCore::checkInjectionFails): (WebCore::TEST): 2011-02-16 Sheriff Bot Unreviewed, rolling out r78678. http://trac.webkit.org/changeset/78678 https://bugs.webkit.org/show_bug.cgi?id=54554 Breaks NaCl tests in Chromium (Requested by mnaganov on #webkit). * src/WebURLRequest.cpp: (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): (WebKit::WebURLRequest::downloadToFile): (WebKit::WebURLRequest::setDownloadToFile): * src/WebURLRequestPrivate.h: (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): * src/WebURLResponse.cpp: (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): (WebKit::WebURLResponse::downloadFilePath): (WebKit::WebURLResponse::setDownloadFilePath): * src/WebURLResponsePrivate.h: 2011-02-15 Bill Budge Reviewed by David Levin. WebURLRequest, WebURLResponse properties should be passed to WebCore Layer https://bugs.webkit.org/show_bug.cgi?id=54489 No tests needed, exposes no new functionality * src/WebURLRequest.cpp: (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): (WebKit::WebURLRequest::downloadToFile): (WebKit::WebURLRequest::setDownloadToFile): * src/WebURLRequestPrivate.h: (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): * src/WebURLResponse.cpp: (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): (WebKit::WebURLResponse::downloadFilePath): (WebKit::WebURLResponse::setDownloadFilePath): * src/WebURLResponsePrivate.h: 2011-02-14 Jeremy Orlow Reviewed by Darin Fisher. Add initial support for per-origin quotas to IndexedDB https://bugs.webkit.org/show_bug.cgi?id=54421 * public/WebIDBFactory.h: (WebKit::WebIDBFactory::setQuota): * src/AssertMatchingEnums.cpp: * src/IDBFactoryBackendProxy.cpp: (WebCore::IDBFactoryBackendProxy::setQuota): * src/IDBFactoryBackendProxy.h: * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::setQuota): * src/WebIDBFactoryImpl.h: 2011-02-15 Jia Pu Reviewed by Darin Adler. Autocorrection should respect undo. https://bugs.webkit.org/show_bug.cgi?id=52221 Please see WebCore/ChangeLog for detailed description. * WebCoreSupport/WebEditorClient.cpp: (WebFrameImpl::replaceSelection): Adopted new signature of ReplaceSelectionCommand::create(). 2011-02-15 Kenneth Russell Reviewed by Darin Fisher. Allow controlling minimum DOMTimer interval on a per-page basis https://bugs.webkit.org/show_bug.cgi?id=54312 * public/WebSettings.h: - Added setMinimumTimerInterval. * src/WebKit.cpp: (WebKit::initialize): - Added FIXME to remove setting of page's default timer interval. * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setMinimumTimerInterval): - Implemented new method on WebSettings. * src/WebSettingsImpl.h: 2011-02-15 Jochen Eisinger Reviewed by Jeremy Orlow. [chromium] add WebIDBFactory::deleteDatabase method https://bugs.webkit.org/show_bug.cgi?id=54447 * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): (WebKit::WebIDBFactory::deleteDatabase): 2011-02-15 Tony Chang Unreviewed, update the version of Chromium in webkit. * DEPS: 2011-01-26 MORITA Hajime Reviewed by Ryosuke Niwa. Refactoring: Extract TextCheckerClient from EditorClient https://bugs.webkit.org/show_bug.cgi?id=53213 * src/EditorClientImpl.h: (WebKit::EditorClientImpl::textChecker): 2011-02-07 Ryosuke Niwa Reviewed by Adam Barth. Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard https://bugs.webkit.org/show_bug.cgi?id=52417 Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently not implemented. * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::canCopyCut): Added. (WebKit::EditorClientImpl::canPaste): Added. * src/EditorClientImpl.h: 2011-02-14 Jay Soffian Reviewed by Darin Fisher. Expose checked field of HTMLInputElement to Chromium API https://bugs.webkit.org/show_bug.cgi?id=54333 * public/WebInputElement.h: * src/WebInputElement.cpp: 2011-02-14 Tony Chang Reviewed by Dimitri Glazkov. can't display right-to-left (rtl) languages https://bugs.webkit.org/show_bug.cgi?id=19785 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::initialize): Pass hasTextDirectionOverride to the PopupMenuStyle constructor. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Added. * src/ChromeClientImpl.h: * tests/PopupMenuTest.cpp: (WebKit::TestPopupMenuClient::itemStyle): Pass hasTextDirectionOverride to the PopupMenuStyle constructor. 2011-01-28 Adam Klein Reviewed by Kent Tamura. [Chromium] Remove deprecated openFileSystem method signature https://bugs.webkit.org/show_bug.cgi?id=53262 Chromium still builds after this patch. * public/WebFrameClient.h: 2011-01-28 Ilya Sherman Reviewed by Andreas Kling. Const-correct HTMLSelectElement and WebSelectElement https://bugs.webkit.org/show_bug.cgi?id=53293 * public/WebSelectElement.h: * src/WebSelectElement.cpp: (WebKit::WebSelectElement::value): const. (WebKit::WebSelectElement::listItems): const. 2011-01-27 Finnur Thorarinsson Reviewed by Ojan Vafai. This addresses a regression introduced by r75784, as described in: https://bugs.webkit.org/show_bug.cgi?id=53176 The problem is that originalEndContainer and originalEndOffset was meant to capture the end of the document, but was being assigned after a call to searchRange->setStart() (when scoping is restarted), which can result in the Range being collapsed to start (thereby assigning the wrong value to the Container/Offset pair). This code is never triggered by layout tests, but I'm adding a regressiono test on the Chromium side for this. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::scopeStringMatches): 2011-01-27 Zhenyao Mo Reviewed by Kenneth Russell. Define GC3D types to match GL types and use them in WebGraphicsContext3D https://bugs.webkit.org/show_bug.cgi?id=51947 * public/WebGraphicsContext3D.h: 2011-01-27 Zhenyao Mo Unreviewed, roll webkit chromium rev from 72673 to 72894. Also, added gmock section in DEPS to pull down gmock. * DEPS: 2011-01-27 Alexey Marinichev Reviewed by Kenneth Russell. Add a callback to WebGraphicsContext3D that is called when a context is lost https://bugs.webkit.org/show_bug.cgi?id=53153 * public/WebGraphicsContext3D.h: (WebKit::WebGraphicsContext3D::setContextLostCallback): 2011-01-27 Mihai Parparita Unreviewed, fixed upstream Chromium build r76844 should have rolled back Chromium DEPS to 72673, not 72637. * DEPS: 2011-01-27 Zhenyao Mo Unreviewed, roll back webkit chromium rev to 72637. * DEPS: 2011-01-27 Zhenyao Mo Unreviewed. Roll Webkit Chromium rev from 72637 to 72868. * DEPS: 2011-01-27 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Remove IDBCallbacks::onSuccess() used for null values. https://bugs.webkit.org/show_bug.cgi?id=53178 Remove the IDBCallbacks::onSuccess() function that was used for null values, and replace such calls with calls to IDBCallBacks::onSuccess(SerializedScriptValue::nullValue()) instead. * public/WebIDBCallbacks.h: (WebKit::WebIDBCallbacks::onSuccess): * src/IDBCallbacksProxy.cpp: * src/IDBCallbacksProxy.h: * src/WebIDBCallbacksImpl.cpp: * src/WebIDBCallbacksImpl.h: 2011-01-26 Kent Tamura Reviewed by Dimitri Glazkov. [Chromium] WebFrame::forms() should not return empty WebFormElements https://bugs.webkit.org/show_bug.cgi?id=53204 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::forms): - Should iterate by forms->length(), not the number of HTMLElements. - Do not increment the index for "temp" if a node is not an HTMLElement. 2011-01-26 Dan Bernstein Reviewed by Dave Hyatt. Allow inter-ideograph justification for CJK https://bugs.webkit.org/show_bug.cgi?id=53184 * src/WebTextRun.cpp: (WebKit::WebTextRun::operator WebCore::TextRun): Added a TrailingExpansionBehavior parameter to the RenderText constructor. 2011-01-26 Kenneth Russell Reviewed by James Robinson. Fix multisampling support in DrawingBuffer https://bugs.webkit.org/show_bug.cgi?id=53154 Plumbed GL_ANGLE_framebuffer_multisample and GL_ANGLE_framebuffer_blit (exposed as the unified extension GL_CHROMIUM_framebuffer_multisample) through WebGraphicsContext3D. * public/WebGraphicsContext3D.h: * src/Extensions3DChromium.cpp: (WebCore::Extensions3DChromium::blitFramebuffer): (WebCore::Extensions3DChromium::renderbufferStorageMultisample): * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::supportsExtension): (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled): * src/GraphicsContext3DInternal.h: 2011-01-26 Tony Chang Unreviewed. [chromium] revert r68310 because of race conditions detected by tsans https://bugs.webkit.org/show_bug.cgi?id=53185 * DEPS: Roll chromium to 72673 to pick up sqlite revert. 2011-01-26 James Robinson Reviewed by Nate Chapin. Add a DOMTimeStamp parameter to the requestAnimationFrame callback https://bugs.webkit.org/show_bug.cgi?id=53142 Provides a timestamp to use for imperative animation callbacks. In this patch the timestamp is just the current time at the start of the callback invocation algorithm. In the future we could enhance this to try to take the compositing delay into effect to try to synchronize imperative animations more closely with declarative ones, but this should do for now. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::animate): 2011-01-25 Kent Tamura Unreviewed trivial change. * DEPS: Roll to r72581 to have a webkit_support fix. 2011-01-25 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Remove PlatformBridge::idbShutdown() https://bugs.webkit.org/show_bug.cgi?id=53077 Since Chromium r72157, this is not used anymore. Chromium keeps track of when it shuts down IndexedDB itself. * public/WebKitClient.h: * src/PlatformBridge.cpp: 2011-01-25 Ilya Sherman Reviewed by Darin Fisher. Chromium WebKit API: Move dispatchFormControlChangeEvent() from WebInputElement to WebFormControlElement In service of https://code.google.com/p/chromium/issues/detail?id=42716 https://bugs.webkit.org/show_bug.cgi?id=53069 * public/WebFormControlElement.h: * public/WebInputElement.h: * src/WebFormControlElement.cpp: (WebKit::WebFormControlElement::dispatchFormControlChangeEvent): Moved from WebInputElement * src/WebInputElement.cpp: 2011-01-24 Chris Marrin Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * WebKit.gyp: * features.gypi: * src/Extensions3DChromium.cpp: * src/GraphicsContext3DChromium.cpp: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableWebGL): (WebKit::WebRuntimeFeatures::isWebGLEnabled): 2011-01-25 Mikhail Naganov Reviewed by Pavel Feldman. Web Inspector: [Chromium] Prepare for landing of detailed heap snapshots. - Introduce Preferences.detailedHeapProfiles flag for controlling querying of detailed heap snapshots. - Add boilerplate code for the new view. - Factor out common code. https://bugs.webkit.org/show_bug.cgi?id=52624 * src/js/DevTools.js: (): 2011-01-25 Pavel Podivilov Unreviewed, trivial debugger test fix. * src/js/Tests.js: 2011-01-24 Zhenyao Mo Reviewed by Darin Adler. Remove sizeInBytes from GraphicsContext3D's various implementations https://bugs.webkit.org/show_bug.cgi?id=52339 * src/GraphicsContext3DChromium.cpp: * src/GraphicsContext3DInternal.h: 2011-01-24 Tony Chang Reviewed by James Robinson. [chromium] turn off gyp circular dependency checking and roll chromium deps https://bugs.webkit.org/show_bug.cgi?id=52935 * DEPS: * gyp_webkit: Turn off gyp circular dependency checking on Linux and Win since we don't do these checks in gyp_chromium. It's just making it harder for us to roll DEPS and have something explode. 2011-01-24 Satish Sampath Reviewed by Csaba Osztrogonác. Remove obsolete public/API method in chromium port https://bugs.webkit.org/show_bug.cgi?id=53015 * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): Removed obsolete method 2010-01-24 Kent Tamura Reviewed by Darin Fisher. [Chromium] Support icon loading for https://bugs.webkit.org/show_bug.cgi?id=38982 Implement ChromeClientImpl::chooseIconForFiles(). It delegates loading to WebViewClient::queryIconForFiles(), and an implementation of WebViewClient::queryIconForFiles() loads an icon and passes it to a FileChooser through WebIconLoadingCompletion. * WebKit.gyp: * public/WebIconLoadingCompletion.h: Added. (WebKit::WebIconLoadingCompletion::~WebIconLoadingCompletion): * public/WebViewClient.h: (WebKit::WebViewClient::queryIconForFiles): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::chooseIconForFiles): * src/WebIconLoadingCompletionImpl.cpp: Added. (WebKit::WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl): (WebKit::WebIconLoadingCompletionImpl::~WebIconLoadingCompletionImpl): (WebKit::WebIconLoadingCompletionImpl::didLoadIcon): * src/WebIconLoadingCompletionImpl.h: Added. 2011-01-22 John Abd-El-Malek Reviewed by Adam Barth. [chromium]: Fix WebScrollbarImpl not getting scroll events after recent scrollbar refactoring https://bugs.webkit.org/show_bug.cgi?id=52967 * src/WebScrollbarImpl.cpp: (WebKit::WebScrollbarImpl::horizontalScrollbar): (WebKit::WebScrollbarImpl::verticalScrollbar): * src/WebScrollbarImpl.h: 2011-01-21 Nikolas Zimmermann Reviewed by Dirk Schulze. Introduce FontMetrics abstraction https://bugs.webkit.org/show_bug.cgi?id=51456 * src/ExternalPopupMenu.cpp: Use FontMetrics instead of Font to access the metrics. (WebKit::ExternalPopupMenu::getPopupMenuInfo): * src/WebFontImpl.cpp: Ditto. (WebKit::WebFontImpl::ascent): (WebKit::WebFontImpl::descent): (WebKit::WebFontImpl::height): (WebKit::WebFontImpl::lineSpacing): (WebKit::WebFontImpl::xHeight): 2011-01-21 Chris Rogers Unreviewed define HAS_WEBAUDIO_RUNTIMEFEATURES for synchronization with chromium patch landing https://bugs.webkit.org/show_bug.cgi?id=52941 * public/WebRuntimeFeatures.h: 2011-01-21 Chris Rogers Unreviewed Add HAS_WEBAUDIO_FEATURE_ENABLE define to synchronize with chromium-side patch https://bugs.webkit.org/show_bug.cgi?id=52939 * public/WebSettings.h: 2011-01-21 Charlie Reis Reviewed by Darin Fisher. Crash in WebCore::HistoryController::itemsAreClones https://bugs.webkit.org/show_bug.cgi?id=52819 Adds sanity checks to help diagnose the crash. * src/WebFrameImpl.cpp: 2011-01-21 Chris Rogers Reviewed by Darin Fisher. Add run-time enable support for the web audio API https://bugs.webkit.org/show_bug.cgi?id=52741 * public/WebRuntimeFeatures.h: * public/WebSettings.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableWebAudio): (WebKit::WebRuntimeFeatures::isWebAudioEnabled): * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setWebAudioEnabled): * src/WebSettingsImpl.h: 2011-01-21 Ryosuke Niwa Unreviewed; another Chromium build fix attempt for r76378. * src/WebScrollbarImpl.cpp: (WebKit::WebScrollbar::create): (WebKit::WebScrollbarImpl::WebScrollbarImpl): (WebKit::WebScrollbarImpl::setValue): 2011-01-21 Ryosuke Niwa Unreviewed Chromium build fix attempt for r76378. * src/WebScrollbarImpl.cpp: (WebKit::WebScrollbar::create): (WebKit::WebScrollbarImpl::WebScrollbarImpl): 2011-01-21 Chris Rogers Reviewed by Kenneth Russell. Add chromium bundled audio spatialization resources to WebAudio.grd https://bugs.webkit.org/show_bug.cgi?id=52651 * WebKit.grd: 2011-01-21 Xiyuan Xia Reviewed by Tony Chang. Use WebThemeEngine for relevant RenderTheme parts for chromium/linux. https://bugs.webkit.org/show_bug.cgi?id=52826 * WebKit.gyp: * src/ChromiumBridge.cpp: (WebCore::WebThemePart): (WebCore::GetWebThemeExtraParams): 2011-01-21 Sam Weinig Reviewed by Anders Carlsson. Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship" https://bugs.webkit.org/show_bug.cgi?id=52779 Rename ScrollbarClient -> ScrollableArea. * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::createScrollbar): * src/AutoFillPopupMenuClient.h: * src/WebScrollbarImpl.cpp: (WebKit::WebScrollbarImpl::WebScrollbarImpl): (WebKit::WebScrollbarImpl::scroll): (WebKit::WebScrollbarImpl::onMouseWheel): (WebKit::WebScrollbarImpl::onKeyDown): * src/WebScrollbarImpl.h: * tests/PopupMenuTest.cpp: (WebKit::TestPopupMenuClient::createScrollbar): 2011-01-21 Sailesh Agrawal Reviewed by Ryosuke Niwa. [chromium] Notify WebFrameClient when spellcheck state changes https://bugs.webkit.org/show_bug.cgi?id=52680 * public/WebFrameClient.h: (WebKit::WebFrameClient::continuousSpellCheckingEnabledStateChanged): * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::toggleContinuousSpellChecking): * src/WebFrameImpl.cpp: 2011-01-21 Tony Chang Unreviewed, updating chromium DEPS so we can pull in linux theme changes. * DEPS: 2011-01-21 Adam Klein Reviewed by Eric Seidel. [chromium] Rename ChromiumBridge to PlatformBridge https://bugs.webkit.org/show_bug.cgi?id=52471 * WebKit.gyp: * src/AssertMatchingEnums.cpp: * src/PlatformBridge.cpp: (WebCore::toChromeClientImpl): (WebCore::toWebWidgetClient): (WebCore::getCookieJar): (WebCore::PlatformBridge::cacheMetadata): (WebCore::PlatformBridge::clipboardIsFormatAvailable): (WebCore::PlatformBridge::clipboardReadPlainText): (WebCore::PlatformBridge::clipboardReadHTML): (WebCore::PlatformBridge::clipboardWriteSelection): (WebCore::PlatformBridge::clipboardWritePlainText): (WebCore::PlatformBridge::clipboardWriteURL): (WebCore::PlatformBridge::clipboardWriteImage): (WebCore::PlatformBridge::clipboardWriteData): (WebCore::PlatformBridge::clipboardReadAvailableTypes): (WebCore::PlatformBridge::clipboardReadData): (WebCore::PlatformBridge::clipboardReadFilenames): (WebCore::PlatformBridge::setCookies): (WebCore::PlatformBridge::cookies): (WebCore::PlatformBridge::cookieRequestHeaderFieldValue): (WebCore::PlatformBridge::rawCookies): (WebCore::PlatformBridge::deleteCookie): (WebCore::PlatformBridge::cookiesEnabled): (WebCore::PlatformBridge::prefetchDNS): (WebCore::PlatformBridge::fileExists): (WebCore::PlatformBridge::deleteFile): (WebCore::PlatformBridge::deleteEmptyDirectory): (WebCore::PlatformBridge::getFileSize): (WebCore::PlatformBridge::revealFolderInOS): (WebCore::PlatformBridge::getFileModificationTime): (WebCore::PlatformBridge::directoryName): (WebCore::PlatformBridge::pathByAppendingComponent): (WebCore::PlatformBridge::makeAllDirectories): (WebCore::PlatformBridge::getAbsolutePath): (WebCore::PlatformBridge::isDirectory): (WebCore::PlatformBridge::filePathToURL): (WebCore::PlatformBridge::openFile): (WebCore::PlatformBridge::closeFile): (WebCore::PlatformBridge::seekFile): (WebCore::PlatformBridge::truncateFile): (WebCore::PlatformBridge::readFromFile): (WebCore::PlatformBridge::writeToFile): (WebCore::PlatformBridge::ensureFontLoaded): (WebCore::PlatformBridge::getFontFamilyForCharacters): (WebCore::PlatformBridge::getRenderStyleForStrike): (WebCore::PlatformBridge::loadFont): (WebCore::PlatformBridge::databaseOpenFile): (WebCore::PlatformBridge::databaseDeleteFile): (WebCore::PlatformBridge::databaseGetFileAttributes): (WebCore::PlatformBridge::databaseGetFileSize): (WebCore::PlatformBridge::idbFactory): (WebCore::PlatformBridge::idbShutdown): (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath): (WebCore::PlatformBridge::signedPublicKeyAndChallengeString): (WebCore::PlatformBridge::computedDefaultLanguage): (WebCore::PlatformBridge::layoutTestMode): (WebCore::PlatformBridge::isSupportedImageMIMEType): (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType): (WebCore::PlatformBridge::isSupportedNonImageMIMEType): (WebCore::PlatformBridge::mimeTypeForExtension): (WebCore::PlatformBridge::mimeTypeFromFile): (WebCore::PlatformBridge::preferredExtensionForMIMEType): (WebCore::PlatformBridge::plugins): (WebCore::PlatformBridge::pluginScriptableObject): (WebCore::PlatformBridge::loadPlatformImageResource): (WebCore::PlatformBridge::loadPlatformAudioResource): (WebCore::PlatformBridge::decodeAudioFileData): (WebCore::PlatformBridge::sandboxEnabled): (WebCore::PlatformBridge::setSharedTimerFiredFunction): (WebCore::PlatformBridge::setSharedTimerFireTime): (WebCore::PlatformBridge::stopSharedTimer): (WebCore::PlatformBridge::decrementStatsCounter): (WebCore::PlatformBridge::incrementStatsCounter): (WebCore::PlatformBridge::histogramCustomCounts): (WebCore::PlatformBridge::histogramEnumeration): (WebCore::PlatformBridge::suddenTerminationChanged): (WebCore::PlatformBridge::currentTime): (WebCore::PlatformBridge::paintButton): (WebCore::PlatformBridge::paintMenuList): (WebCore::PlatformBridge::paintScrollbarArrow): (WebCore::PlatformBridge::paintScrollbarThumb): (WebCore::PlatformBridge::paintScrollbarTrack): (WebCore::PlatformBridge::paintSpinButton): (WebCore::PlatformBridge::paintTextField): (WebCore::PlatformBridge::paintTrackbar): (WebCore::PlatformBridge::paintProgressBar): (WebCore::WebThemePart): (WebCore::WebThemeState): (WebCore::GetWebThemeExtraParams): (WebCore::PlatformBridge::getThemePartSize): (WebCore::PlatformBridge::paintThemePart): (WebCore::PlatformBridge::traceEventBegin): (WebCore::PlatformBridge::traceEventEnd): (WebCore::PlatformBridge::visitedLinkHash): (WebCore::PlatformBridge::isLinkVisited): (WebCore::PlatformBridge::notifyJSOutOfMemory): (WebCore::PlatformBridge::memoryUsageMB): (WebCore::PlatformBridge::actualMemoryUsageMB): (WebCore::PlatformBridge::screenDepth): (WebCore::PlatformBridge::screenDepthPerComponent): (WebCore::PlatformBridge::screenIsMonochrome): (WebCore::PlatformBridge::screenRect): (WebCore::PlatformBridge::screenAvailableRect): (WebCore::PlatformBridge::popupsAllowed): (WebCore::WorkerContextProxy::create): * src/ResourceHandle.cpp: (WebCore::ResourceHandle::cacheMetadata): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::WebFrameImpl): (WebKit::WebFrameImpl::~WebFrameImpl): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2011-01-20 Adam Klein Reviewed by Andreas Kling. [chromium] Remove deprecated WebKit::nameOfInputElement function https://bugs.webkit.org/show_bug.cgi?id=52824 * src/DOMUtilitiesPrivate.cpp: * src/DOMUtilitiesPrivate.h: 2011-01-20 Sam Weinig Reviewed by Dave Hyatt. Cleanup Scrollbar/ScrollbarClient relationship https://bugs.webkit.org/show_bug.cgi?id=52779 * src/WebScrollbarImpl.cpp: (WebKit::WebScrollbarImpl::WebScrollbarImpl): (WebKit::WebScrollbarImpl::value): (WebKit::WebScrollbarImpl::setValue): (WebKit::WebScrollbarImpl::scroll): (WebKit::WebScrollbarImpl::onMouseDown): (WebKit::WebScrollbarImpl::onMouseMove): (WebKit::WebScrollbarImpl::onMouseWheel): (WebKit::WebScrollbarImpl::onKeyDown): (WebKit::WebScrollbarImpl::scrollPosition): (WebKit::WebScrollbarImpl::setScrollOffset): * src/WebScrollbarImpl.h: 2011-01-20 James Robinson Reviewed by Darin Fisher. Implement mozilla's requestAnimationFrame API https://bugs.webkit.org/show_bug.cgi?id=51218 Chromium WebKit API support for window.webkitRequestAnimationFrame() * features.gypi: * public/WebWidget.h: * public/WebWidgetClient.h: (WebKit::WebWidgetClient::scheduleAnimation): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::scheduleAnimation): * src/ChromeClientImpl.h: * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::animate): (WebKit::WebPopupMenuImpl::scheduleAnimation): * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::animate): * src/WebViewImpl.h: 2010-12-14 Yury Semikhatsky Reviewed by Adam Barth. [V8] Get rid of delayed exception reporting in V8ConsoleMessage.cpp https://bugs.webkit.org/show_bug.cgi?id=51044 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::runJavaScriptAlert): * src/WebScriptController.cpp: (WebKit::WebScriptController::flushConsoleMessages): 2010-12-27 Yury Semikhatsky Reviewed by Pavel Feldman. WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown https://bugs.webkit.org/show_bug.cgi?id=8519 Uncaught exceptions are propagated to window.onerror hander if one is present. The handler is expected to be a function accepting three arguments: error message, resource url and line number where the exception occured. It was decided to dispatch ErrorEvent to all listeners/handlers no matter if they were created in the same isolated world where the exception occured or not. Tests: fast/events/window-onerror1.html fast/events/window-onerror10.html fast/events/window-onerror11.html fast/events/window-onerror12.html fast/events/window-onerror2.html fast/events/window-onerror3.html fast/events/window-onerror4.html fast/events/window-onerror5.html fast/events/window-onerror6.html fast/events/window-onerror7.html fast/events/window-onerror8.html fast/events/window-onerror9.html http/tests/security/window-onerror-exception-in-iframe.html userscripts/window-onerror-for-isolated-world-1.html userscripts/window-onerror-for-isolated-world-2.html * src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask): 2011-01-19 Dmitry Titov [Chromium] Unreviewed, build fix. During revert of 76203, sheriffbot did not revert "rename+change" correctly. * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp. (WebCore::toChromeClientImpl): (WebCore::toWebWidgetClient): (WebCore::getCookieJar): (WebCore::ChromiumBridge::cacheMetadata): (WebCore::ChromiumBridge::clipboardIsFormatAvailable): (WebCore::ChromiumBridge::clipboardReadPlainText): (WebCore::ChromiumBridge::clipboardReadHTML): (WebCore::ChromiumBridge::clipboardWriteSelection): (WebCore::ChromiumBridge::clipboardWritePlainText): (WebCore::ChromiumBridge::clipboardWriteURL): (WebCore::ChromiumBridge::clipboardWriteImage): (WebCore::ChromiumBridge::clipboardWriteData): (WebCore::ChromiumBridge::clipboardReadAvailableTypes): (WebCore::ChromiumBridge::clipboardReadData): (WebCore::ChromiumBridge::clipboardReadFilenames): (WebCore::ChromiumBridge::setCookies): (WebCore::ChromiumBridge::cookies): (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue): (WebCore::ChromiumBridge::rawCookies): (WebCore::ChromiumBridge::deleteCookie): (WebCore::ChromiumBridge::cookiesEnabled): (WebCore::ChromiumBridge::prefetchDNS): (WebCore::ChromiumBridge::fileExists): (WebCore::ChromiumBridge::deleteFile): (WebCore::ChromiumBridge::deleteEmptyDirectory): (WebCore::ChromiumBridge::getFileSize): (WebCore::ChromiumBridge::revealFolderInOS): (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): (WebCore::ChromiumBridge::ensureFontLoaded): (WebCore::ChromiumBridge::getFontFamilyForCharacters): (WebCore::ChromiumBridge::getRenderStyleForStrike): (WebCore::ChromiumBridge::loadFont): (WebCore::ChromiumBridge::databaseOpenFile): (WebCore::ChromiumBridge::databaseDeleteFile): (WebCore::ChromiumBridge::databaseGetFileAttributes): (WebCore::ChromiumBridge::databaseGetFileSize): (WebCore::ChromiumBridge::idbFactory): (WebCore::ChromiumBridge::idbShutdown): (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath): (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::loadPlatformAudioResource): (WebCore::ChromiumBridge::decodeAudioFileData): (WebCore::ChromiumBridge::sandboxEnabled): (WebCore::ChromiumBridge::setSharedTimerFiredFunction): (WebCore::ChromiumBridge::setSharedTimerFireTime): (WebCore::ChromiumBridge::stopSharedTimer): (WebCore::ChromiumBridge::decrementStatsCounter): (WebCore::ChromiumBridge::incrementStatsCounter): (WebCore::ChromiumBridge::histogramCustomCounts): (WebCore::ChromiumBridge::histogramEnumeration): (WebCore::ChromiumBridge::suddenTerminationChanged): (WebCore::ChromiumBridge::currentTime): (WebCore::ChromiumBridge::paintButton): (WebCore::ChromiumBridge::paintMenuList): (WebCore::ChromiumBridge::paintScrollbarArrow): (WebCore::ChromiumBridge::paintScrollbarThumb): (WebCore::ChromiumBridge::paintScrollbarTrack): (WebCore::ChromiumBridge::paintSpinButton): (WebCore::ChromiumBridge::paintTextField): (WebCore::ChromiumBridge::paintTrackbar): (WebCore::ChromiumBridge::paintProgressBar): (WebCore::WebThemePart): (WebCore::WebThemeState): (WebCore::GetWebThemeExtraParams): (WebCore::ChromiumBridge::getThemePartSize): (WebCore::ChromiumBridge::paintThemePart): (WebCore::ChromiumBridge::traceEventBegin): (WebCore::ChromiumBridge::traceEventEnd): (WebCore::ChromiumBridge::visitedLinkHash): (WebCore::ChromiumBridge::isLinkVisited): (WebCore::ChromiumBridge::notifyJSOutOfMemory): (WebCore::ChromiumBridge::memoryUsageMB): (WebCore::ChromiumBridge::actualMemoryUsageMB): (WebCore::ChromiumBridge::screenDepth): (WebCore::ChromiumBridge::screenDepthPerComponent): (WebCore::ChromiumBridge::screenIsMonochrome): (WebCore::ChromiumBridge::screenRect): (WebCore::ChromiumBridge::screenAvailableRect): (WebCore::ChromiumBridge::popupsAllowed): (WebCore::WorkerContextProxy::create): 2011-01-19 Sheriff Bot Unreviewed, rolling out r76203. http://trac.webkit.org/changeset/76203 https://bugs.webkit.org/show_bug.cgi?id=52784 Broke Win compile on Chromium bots (Requested by dimich on #webkit). * WebKit.gyp: * src/AssertMatchingEnums.cpp: * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp. (WebCore::toChromeClientImpl): (WebCore::toWebWidgetClient): (WebCore::getCookieJar): (WebCore::ChromiumBridge::cacheMetadata): (WebCore::ChromiumBridge::clipboardIsFormatAvailable): (WebCore::ChromiumBridge::clipboardReadPlainText): (WebCore::ChromiumBridge::clipboardReadHTML): (WebCore::ChromiumBridge::clipboardWriteSelection): (WebCore::ChromiumBridge::clipboardWritePlainText): (WebCore::ChromiumBridge::clipboardWriteURL): (WebCore::ChromiumBridge::clipboardWriteImage): (WebCore::ChromiumBridge::clipboardWriteData): (WebCore::ChromiumBridge::clipboardReadAvailableTypes): (WebCore::ChromiumBridge::clipboardReadData): (WebCore::ChromiumBridge::clipboardReadFilenames): (WebCore::ChromiumBridge::setCookies): (WebCore::ChromiumBridge::cookies): (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue): (WebCore::ChromiumBridge::rawCookies): (WebCore::ChromiumBridge::deleteCookie): (WebCore::ChromiumBridge::cookiesEnabled): (WebCore::ChromiumBridge::prefetchDNS): (WebCore::ChromiumBridge::fileExists): (WebCore::ChromiumBridge::deleteFile): (WebCore::ChromiumBridge::deleteEmptyDirectory): (WebCore::ChromiumBridge::getFileSize): (WebCore::ChromiumBridge::revealFolderInOS): (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): (WebCore::ChromiumBridge::ensureFontLoaded): (WebCore::ChromiumBridge::getFontFamilyForCharacters): (WebCore::ChromiumBridge::getRenderStyleForStrike): (WebCore::ChromiumBridge::loadFont): (WebCore::ChromiumBridge::databaseOpenFile): (WebCore::ChromiumBridge::databaseDeleteFile): (WebCore::ChromiumBridge::databaseGetFileAttributes): (WebCore::ChromiumBridge::databaseGetFileSize): (WebCore::ChromiumBridge::idbFactory): (WebCore::ChromiumBridge::idbShutdown): (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath): (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::loadPlatformAudioResource): (WebCore::ChromiumBridge::decodeAudioFileData): (WebCore::ChromiumBridge::sandboxEnabled): (WebCore::ChromiumBridge::setSharedTimerFiredFunction): (WebCore::ChromiumBridge::setSharedTimerFireTime): (WebCore::ChromiumBridge::stopSharedTimer): (WebCore::ChromiumBridge::decrementStatsCounter): (WebCore::ChromiumBridge::incrementStatsCounter): (WebCore::ChromiumBridge::histogramCustomCounts): (WebCore::ChromiumBridge::histogramEnumeration): (WebCore::ChromiumBridge::suddenTerminationChanged): (WebCore::ChromiumBridge::currentTime): (WebCore::ChromiumBridge::paintButton): (WebCore::ChromiumBridge::paintMenuList): (WebCore::ChromiumBridge::paintScrollbarArrow): (WebCore::ChromiumBridge::paintScrollbarThumb): (WebCore::ChromiumBridge::paintScrollbarTrack): (WebCore::ChromiumBridge::paintSpinButton): (WebCore::ChromiumBridge::paintTextField): (WebCore::ChromiumBridge::paintTrackbar): (WebCore::ChromiumBridge::paintProgressBar): (WebCore::WebThemePart): (WebCore::WebThemeState): (WebCore::GetWebThemeExtraParams): (WebCore::ChromiumBridge::getThemePartSize): (WebCore::ChromiumBridge::paintThemePart): (WebCore::ChromiumBridge::traceEventBegin): (WebCore::ChromiumBridge::traceEventEnd): (WebCore::ChromiumBridge::visitedLinkHash): (WebCore::ChromiumBridge::isLinkVisited): (WebCore::ChromiumBridge::notifyJSOutOfMemory): (WebCore::ChromiumBridge::memoryUsageMB): (WebCore::ChromiumBridge::actualMemoryUsageMB): (WebCore::ChromiumBridge::screenDepth): (WebCore::ChromiumBridge::screenDepthPerComponent): (WebCore::ChromiumBridge::screenIsMonochrome): (WebCore::ChromiumBridge::screenRect): (WebCore::ChromiumBridge::screenAvailableRect): (WebCore::ChromiumBridge::popupsAllowed): (WebCore::WorkerContextProxy::create): * src/ResourceHandle.cpp: (WebCore::ResourceHandle::cacheMetadata): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::WebFrameImpl): (WebKit::WebFrameImpl::~WebFrameImpl): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2011-01-19 Adam Klein Reviewed by Darin Fisher. [chromium] Rename ChromiumBridge to PlatformBridge https://bugs.webkit.org/show_bug.cgi?id=52471 * WebKit.gyp: * src/AssertMatchingEnums.cpp: * src/PlatformBridge.cpp: (WebCore::toChromeClientImpl): (WebCore::toWebWidgetClient): (WebCore::getCookieJar): (WebCore::PlatformBridge::cacheMetadata): (WebCore::PlatformBridge::clipboardIsFormatAvailable): (WebCore::PlatformBridge::clipboardReadPlainText): (WebCore::PlatformBridge::clipboardReadHTML): (WebCore::PlatformBridge::clipboardWriteSelection): (WebCore::PlatformBridge::clipboardWritePlainText): (WebCore::PlatformBridge::clipboardWriteURL): (WebCore::PlatformBridge::clipboardWriteImage): (WebCore::PlatformBridge::clipboardWriteData): (WebCore::PlatformBridge::clipboardReadAvailableTypes): (WebCore::PlatformBridge::clipboardReadData): (WebCore::PlatformBridge::clipboardReadFilenames): (WebCore::PlatformBridge::setCookies): (WebCore::PlatformBridge::cookies): (WebCore::PlatformBridge::cookieRequestHeaderFieldValue): (WebCore::PlatformBridge::rawCookies): (WebCore::PlatformBridge::deleteCookie): (WebCore::PlatformBridge::cookiesEnabled): (WebCore::PlatformBridge::prefetchDNS): (WebCore::PlatformBridge::fileExists): (WebCore::PlatformBridge::deleteFile): (WebCore::PlatformBridge::deleteEmptyDirectory): (WebCore::PlatformBridge::getFileSize): (WebCore::PlatformBridge::revealFolderInOS): (WebCore::PlatformBridge::getFileModificationTime): (WebCore::PlatformBridge::directoryName): (WebCore::PlatformBridge::pathByAppendingComponent): (WebCore::PlatformBridge::makeAllDirectories): (WebCore::PlatformBridge::getAbsolutePath): (WebCore::PlatformBridge::isDirectory): (WebCore::PlatformBridge::filePathToURL): (WebCore::PlatformBridge::openFile): (WebCore::PlatformBridge::closeFile): (WebCore::PlatformBridge::seekFile): (WebCore::PlatformBridge::truncateFile): (WebCore::PlatformBridge::readFromFile): (WebCore::PlatformBridge::writeToFile): (WebCore::PlatformBridge::ensureFontLoaded): (WebCore::PlatformBridge::getFontFamilyForCharacters): (WebCore::PlatformBridge::getRenderStyleForStrike): (WebCore::PlatformBridge::loadFont): (WebCore::PlatformBridge::databaseOpenFile): (WebCore::PlatformBridge::databaseDeleteFile): (WebCore::PlatformBridge::databaseGetFileAttributes): (WebCore::PlatformBridge::databaseGetFileSize): (WebCore::PlatformBridge::idbFactory): (WebCore::PlatformBridge::idbShutdown): (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath): (WebCore::PlatformBridge::signedPublicKeyAndChallengeString): (WebCore::PlatformBridge::computedDefaultLanguage): (WebCore::PlatformBridge::layoutTestMode): (WebCore::PlatformBridge::isSupportedImageMIMEType): (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType): (WebCore::PlatformBridge::isSupportedNonImageMIMEType): (WebCore::PlatformBridge::mimeTypeForExtension): (WebCore::PlatformBridge::mimeTypeFromFile): (WebCore::PlatformBridge::preferredExtensionForMIMEType): (WebCore::PlatformBridge::plugins): (WebCore::PlatformBridge::pluginScriptableObject): (WebCore::PlatformBridge::loadPlatformImageResource): (WebCore::PlatformBridge::loadPlatformAudioResource): (WebCore::PlatformBridge::decodeAudioFileData): (WebCore::PlatformBridge::sandboxEnabled): (WebCore::PlatformBridge::setSharedTimerFiredFunction): (WebCore::PlatformBridge::setSharedTimerFireTime): (WebCore::PlatformBridge::stopSharedTimer): (WebCore::PlatformBridge::decrementStatsCounter): (WebCore::PlatformBridge::incrementStatsCounter): (WebCore::PlatformBridge::histogramCustomCounts): (WebCore::PlatformBridge::histogramEnumeration): (WebCore::PlatformBridge::suddenTerminationChanged): (WebCore::PlatformBridge::currentTime): (WebCore::PlatformBridge::paintButton): (WebCore::PlatformBridge::paintMenuList): (WebCore::PlatformBridge::paintScrollbarArrow): (WebCore::PlatformBridge::paintScrollbarThumb): (WebCore::PlatformBridge::paintScrollbarTrack): (WebCore::PlatformBridge::paintSpinButton): (WebCore::PlatformBridge::paintTextField): (WebCore::PlatformBridge::paintTrackbar): (WebCore::PlatformBridge::paintProgressBar): (WebCore::WebThemePart): (WebCore::WebThemeState): (WebCore::GetWebThemeExtraParams): (WebCore::PlatformBridge::getThemePartSize): (WebCore::PlatformBridge::paintThemePart): (WebCore::PlatformBridge::traceEventBegin): (WebCore::PlatformBridge::traceEventEnd): (WebCore::PlatformBridge::visitedLinkHash): (WebCore::PlatformBridge::isLinkVisited): (WebCore::PlatformBridge::notifyJSOutOfMemory): (WebCore::PlatformBridge::memoryUsageMB): (WebCore::PlatformBridge::actualMemoryUsageMB): (WebCore::PlatformBridge::screenDepth): (WebCore::PlatformBridge::screenDepthPerComponent): (WebCore::PlatformBridge::screenIsMonochrome): (WebCore::PlatformBridge::screenRect): (WebCore::PlatformBridge::screenAvailableRect): (WebCore::PlatformBridge::popupsAllowed): (WebCore::WorkerContextProxy::create): * src/ResourceHandle.cpp: (WebCore::ResourceHandle::cacheMetadata): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::WebFrameImpl): (WebKit::WebFrameImpl::~WebFrameImpl): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2011-01-19 James Robinson Unreviewed, rolling out r76194. http://trac.webkit.org/changeset/76194 https://bugs.webkit.org/show_bug.cgi?id=51218 Caused mysterious compile failure on the chromium win build.webkit.org bots * features.gypi: * public/WebWidget.h: * public/WebWidgetClient.h: * src/ChromeClientImpl.cpp: * src/ChromeClientImpl.h: * src/WebPopupMenuImpl.cpp: * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: * src/WebViewImpl.h: 2011-01-19 James Robinson Reviewed by Darin Fisher. Implement mozilla's requestAnimationFrame API https://bugs.webkit.org/show_bug.cgi?id=51218 Chromium WebKit API support for window.webkitRequestAnimationFrame() * features.gypi: * public/WebWidget.h: * public/WebWidgetClient.h: (WebKit::WebWidgetClient::scheduleAnimation): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::scheduleAnimation): * src/ChromeClientImpl.h: * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::animate): (WebKit::WebPopupMenuImpl::scheduleAnimation): * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::animate): * src/WebViewImpl.h: 2011-01-19 Tony Chang Unreviewed, roll chromium deps to pick up fixes for the linux build. * DEPS: 2011-01-19 Satish Sampath Reviewed by Jeremy Orlow. Send origin/url as part of speech input requests to the embedder. https://bugs.webkit.org/show_bug.cgi?id=52718 * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): Updated prototype. * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::startRecognition): Pass up additional origin parameter. * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: Updated code to pass additional parameter. (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: Added new variant of startRecognition method. 2011-01-19 Pavel Feldman Not reviewed: updating Chromium devtools sanity tests for downstream use. * src/js/Tests.js: (.TestSuite.prototype._checkExecutionLine): 2011-01-18 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol. https://bugs.webkit.org/show_bug.cgi?id=52652 Calls served by the InjectedScript should be first class protocol citizens, not dispatched via single protocol message. * src/js/Tests.js: 2011-01-18 Victoria Kirst Reviewed by Kenneth Russell. [chromium] Adding support for YV16 video frame formats. https://bugs.webkit.org/show_bug.cgi?id=52345 * src/VideoFrameChromiumImpl.cpp: (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 2011-01-18 Adam Klein Reviewed by Darin Fisher. [Chromium] Replace ChromiumBridge::widgetSetCursor with ChromeClient::setCursor https://bugs.webkit.org/show_bug.cgi?id=42236 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::setCursor): * src/ChromeClientImpl.h: * src/ChromiumBridge.cpp: 2011-01-17 Nico Weber Unreviewed. Roll chromium DEPS forward to pick up the skia roll to skia r692. https://bugs.webkit.org/show_bug.cgi?id=52600 * DEPS: 2011-01-17 Naoki Takano Reviewed by Kent Tamura. [Chromium] Fix popup menu re-positioning when the menu is opened upward, above the corresponding form field. https://bugs.webkit.org/show_bug.cgi?id=51382 http://crbug.com/60427 Calculate correct location of popup window whenever the items in the window change. No new tests, because this fix is for Chromium project and hard to test only in WebKit project * WebKit/chromium/src/WebViewImpl.cpp: (WebKit::WebViewImpl::refreshAutoFillPopup): Change the logic in refreshAutoFilPopup() to check both the location and the size of popup window. 2011-01-17 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium: updated DevTools tests. * src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause): (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): (.TestSuite.prototype._waitUntilScriptsAreParsed): 2011-01-17 Adam Barth Update path to reflect new WebKit directory location. * tests/WebFrameTest.cpp: (WebKit::WebFrameTest::registerMockedURLLoad): 2011-01-16 Kent Tamura Unreviewed, Chromium-linux build fix. * gyp_webkit: Fix a relative path to the top directory. 2011-01-16 Adam Barth Roll Chromium DEPS to pick up the changes reflecting the new location of WebKit. * DEPS: 2011-01-16 Adam Barth Rubber-stamped by Eric Seidel. Move WebKit into Source https://bugs.webkit.org/show_bug.cgi?id=52530 * WebKit.grd: * WebKit.gyp: 2011-01-15 Jochen Eisinger Reviewed by David Levin. [chromium] remove obsolete createView method https://bugs.webkit.org/show_bug.cgi?id=52437 * public/WebViewClient.h: (WebKit::WebViewClient::createView): 2011-01-14 Xiyuan Xia Reviewed by Darin Fisher. Prepare Linux WebThemeEngine interface to support new theme parts. https://bugs.webkit.org/show_bug.cgi?id=52413 * public/linux/WebThemeEngine.h: 2011-01-14 Yuzo Fujishima Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * src/WebCache.cpp: (WebKit::WebCache::setCapacities): (WebKit::WebCache::clear): (WebKit::WebCache::getUsageStats): (WebKit::WebCache::getResourceTypeStats): 2011-01-14 Jochen Eisinger Unreviewed, roll chromium deps to r71432. * DEPS: 2011-01-14 Adam Klein Reviewed by Darin Fisher. [Chromium] Replace BackForwardListClient with BackForwardControllerClient/BackForwardList https://bugs.webkit.org/show_bug.cgi?id=42237 Replace Chromium-specific BackForwardListClient in WebCore with a Chromium impl of the BackForwardList interface. * WebKit.gyp: * src/BackForwardListChromium.cpp: Copied from WebKit/chromium/src/BackForwardListClientImpl.cpp. (WebKit::BackForwardListChromium::create): (WebKit::BackForwardListChromium::BackForwardListChromium): (WebKit::BackForwardListChromium::~BackForwardListChromium): (WebKit::BackForwardListChromium::addItem): (WebKit::BackForwardListChromium::goToItem): (WebKit::BackForwardListChromium::itemAtIndex): (WebKit::BackForwardListChromium::backListCount): (WebKit::BackForwardListChromium::forwardListCount): (WebKit::BackForwardListChromium::isActive): (WebKit::BackForwardListChromium::close): * src/BackForwardListChromium.h: Copied from WebKit/chromium/src/BackForwardListClientImpl.h. * src/BackForwardListClientImpl.cpp: Removed. * src/BackForwardListClientImpl.h: Removed. * src/FrameLoaderClientImpl.cpp: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::loadHistoryItem): (WebKit::WebFrameImpl::currentHistoryItem): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2011-01-14 Kent Tamura Reviewed by Darin Fisher. [Chromium] WebKit API: Add a function for form interactive validation setting https://bugs.webkit.org/show_bug.cgi?id=52430 * public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled(). * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented. * src/WebSettingsImpl.h: Add a declaration. 2011-01-14 Vincent Scheib Reviewed by David Levin. Add support to DumpRenderTree to use the GPU rather than software renderer https://bugs.webkit.org/show_bug.cgi?id=52333 * DEPS: Moved forward to take required support from webkit_support.h * WebKit.gyp: DumpRenderTree depends on Angle on windows 2011-01-14 Finnur Thorarinsson Reviewed by Ojan Vafai. Address some user-select-none issues better in our Find in page scoping function. The scoping function is in part based on Editor::countMatchesForText (formerly Frame::markAllMatchesForText), but was rewritten with asychronous search and interruptability in mind. At the time the function was written, countMatchesForText didn't work well with user-select-none style but that has now changed. While investigating http://crbug.com/68494 I noticed WebKit had fixed this very problem in the countMatchesForText and I believe we should make the same changes in our platform code. Therefore, this changelist adopts the same approach by integrating: https://bugs.webkit.org/show_bug.cgi?id=33508 (r53142: handling user-select-none better) and https://bugs.webkit.org/show_bug.cgi?id=51623 (r74886: handling match within textfield better). For more details see those changelists. This changelist, however, is tracked here: https://bugs.webkit.org/show_bug.cgi?id=52367 The original changelists did not come with layout tests, but I'm adding a test on the Chromium side for this. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::scopeStringMatches): 2011-01-14 Pavel Feldman Not reviewed: build fix. * src/WebDevToolsAgentImpl.h: 2011-01-13 John Abd-El-Malek Reviewed by Mihai Parparita. [chromium] Fix minor type in plugin printing https://bugs.webkit.org/show_bug.cgi?id=52410 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::printBegin): 2011-01-13 Adam Barth Reviewed by Eric Seidel. Rename RGBA32Buffer to ImageFrame https://bugs.webkit.org/show_bug.cgi?id=52363 Update references to the new name. * src/WebImageDecoder.cpp: (WebKit::WebImageDecoder::isFrameCompleteAtIndex): (WebKit::WebImageDecoder::getFrameAtIndex): 2011-01-13 John Abd-El-Malek Reviewed by Tony Chang. [chromium]: Only swallow ctrl+c for windowless plugins if we know the plugin has a selection https://bugs.webkit.org/show_bug.cgi?id=52393 * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::copy): (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 2011-01-11 John Abd-El-Malek Reviewed by Darin Fisher. [chromium] Add support to allow printing just a plugin in a frame https://bugs.webkit.org/show_bug.cgi?id=52134 * public/WebContextMenuData.h: * public/WebFrame.h: * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/WebFrameImpl.cpp: (WebKit::ChromePluginPrintContext::ChromePluginPrintContext): (WebKit::ChromePluginPrintContext::end): (WebKit::ChromePluginPrintContext::computePageRects): (WebKit::ChromePluginPrintContext::spoolPage): (WebKit::WebFrameImpl::printBegin): 2011-01-13 Tony Chang Reviewed by Kent Tamura. [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac https://bugs.webkit.org/show_bug.cgi?id=52332 * WebKit.gyp: Remove WebKitTestNetscapePlugIn 2011-01-12 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: embed injected script into the backend. https://bugs.webkit.org/show_bug.cgi?id=52312 * WebKit.grd: 2011-01-12 Mihai Parparita Reviewed by David Levin. [Chromium] Remove PartScrollbarHoriztonalTrack https://bugs.webkit.org/show_bug.cgi?id=52329 Remove PartScrollbarHoriztonalTrack now that usages of it were removed with http://crrev.com/71249. * DEPS: * public/linux/WebThemeEngine.h: 2010-12-29 Yury Semikhatsky Reviewed by Pavel Feldman. inspector/timeline-network-resource.html fails when run twice https://bugs.webkit.org/show_bug.cgi?id=37394 Send didReceiveResponse notification to the timeline agent from ResourceLoadNotifier instead of ResourceLoader::didReceiveResponse to cover the cases when resources are loaded from memory cache. Network notifications are now sent to InspectorInstrumentation which dispatches them to interested agents and InspectorController. * src/SharedWorkerRepository.cpp: (WebCore::SharedWorkerScriptLoader::notifyFinished): * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::mainFrame): (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest): (WebKit::WebDevToolsAgentImpl::willSendRequest): (WebKit::WebDevToolsAgentImpl::didReceiveData): (WebKit::WebDevToolsAgentImpl::didReceiveResponse): (WebKit::WebDevToolsAgentImpl::didFinishLoading): (WebKit::WebDevToolsAgentImpl::didFailLoading): * src/WebDevToolsAgentImpl.h: 2011-01-11 Tony Chang Reviewed by Eric Seidel. [chromium] copy test netscape plugin into TestNetscapePlugin https://bugs.webkit.org/show_bug.cgi?id=52232 * WebKit.gyp: Make a copy of the TestNetscapePlugIn in TestNetscapePlugIn and WebKitTestNetscapePlugIn 2011-01-11 Kenneth Russell Reviewed by James Robinson. [chromium] Move WebGraphicsContext3DDefaultImpl to Chromium repository https://bugs.webkit.org/show_bug.cgi?id=52235 Deleted WebGraphicsContext3DDefaultImpl, which has been moved to the Chromium repository under WebGraphicsContext3DInProcessImpl. Removed WebGraphicsContext3D::createDefault(). Rolled forward Chromium version to pick up needed changes. Tested with build-webkit --chromium --debug and a run of the WebGL layout tests in DRT. * DEPS: * WebKit.gyp: * public/WebGraphicsContext3D.h: * src/GraphicsContext3DChromium.cpp: * src/WebGraphicsContext3D.cpp: Removed. * src/WebGraphicsContext3DDefaultImpl.cpp: Removed. * src/WebGraphicsContext3DDefaultImpl.h: Removed. 2011-01-11 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium DevTools: get rid of APU-related code in WebKit/chromium. https://bugs.webkit.org/show_bug.cgi?id=52152 * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): (WebKit::WebDevToolsAgentImpl::detach): (WebKit::WebDevToolsAgentImpl::frontendLoaded): (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): * src/WebDevToolsAgentImpl.h: 2011-01-10 Adam Barth Reviewed by Darin Adler. Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs https://bugs.webkit.org/show_bug.cgi?id=50182 This patch adds a Chromium API for registering schemes as display-isolated. In a subsequent patch, I'll change the "chrome" scheme in Chrome to be display isolated instead of local. That will prevent file URLs from linking to chrome URLs. * public/WebSecurityPolicy.h: * src/WebSecurityPolicy.cpp: (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated): 2011-01-10 John Abd-El-Malek Reviewed by James Robinson. [chromium] Call WebAutoFillClient instead of WebViewClient for autofill related callbacks https://bugs.webkit.org/show_bug.cgi?id=52169 * public/WebView.h: * public/WebViewClient.h: (WebKit::WebViewClient::didUpdateInspectorSetting): * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::valueChanged): (WebKit::AutoFillPopupMenuClient::selectionChanged): (WebKit::AutoFillPopupMenuClient::selectionCleared): (WebKit::AutoFillPopupMenuClient::popupDidHide): * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::textFieldDidBeginEditing): (WebKit::EditorClientImpl::textFieldDidEndEditing): (WebKit::EditorClientImpl::textDidChangeInTextField): (WebKit::EditorClientImpl::doAutofill): (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted): (WebKit::EditorClientImpl::doTextFieldCommandFromEvent): * src/WebViewImpl.cpp: (WebKit::WebView::create): (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::autocompleteHandleKeyEvent): * src/WebViewImpl.h: (WebKit::WebViewImpl::autoFillClient): * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::initializeLoader): 2011-01-10 John Knottenbelt Reviewed by Jeremy Orlow. [Chromium] Remove non-client-based Geolocation code https://bugs.webkit.org/show_bug.cgi?id=50921 * WebKit.gyp: * public/WebGeolocationService.h: Removed. * public/WebGeolocationServiceBridge.h: Removed. * public/WebGeolocationServiceMock.h: Removed. * src/AssertMatchingEnums.cpp: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame): * src/ChromiumBridge.cpp: * src/WebGeolocationServiceBridgeImpl.cpp: Removed. * src/WebGeolocationServiceBridgeImpl.h: Removed. * src/WebGeolocationServiceMock.cpp: Removed. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2011-01-09 Johnny Ding Unreviewed, fix Chromium windows compilation error according to James Robinson's report. https://bugs.webkit.org/show_bug.cgi?id=41441 Fix Chromium window compilation error. * public/WebViewClient.h: (WebKit::WebViewClient::createView): 2011-01-09 Xianzhu Wang Reviewed by Darin Fisher. https://bugs.webkit.org/show_bug.cgi?id=41441 createWindow method should only do window-creating without URL navigation. Pass URL request to createView. * public/WebViewClient.h: (WebKit::WebViewClient::createView): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::createWindow): 2011-01-08 Adam Barth Update Chromium DEPS to pickup new GYP files. * DEPS: 2011-01-07 Adam Barth Rubber-stamped by Eric Seidel. Move WebCore to Source https://bugs.webkit.org/show_bug.cgi?id=52050 Update references to WebCore. * WebKit.grd: * WebKit.gyp: 2011-01-07 Mihai Parparita Reviewed by Darin Fisher. [Chromium] Scrollbar code cleanup https://bugs.webkit.org/show_bug.cgi?id=52073 Scrollbar code cleanup: - Fix typo in Linux scrollbar enum name * public/linux/WebThemeEngine.h: * src/ChromiumBridge.cpp: (WebCore::WebThemePart): (WebCore::GetWebThemeExtraParams): 2011-01-07 James Robinson Revert "Implement mozilla's animationTime property" https://bugs.webkit.org/show_bug.cgi?id=51952 This approach isn't quite right. * public/WebWidget.h: * src/WebPopupMenuImpl.cpp: * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: * src/WebViewImpl.h: 2011-01-05 Zhenyao Mo Reviewed by Kenneth Russell. Define GC3D types to match GL types and use them in GraphicsContext3D https://bugs.webkit.org/show_bug.cgi?id=45557 * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::bindAttribLocation): (WebCore::GraphicsContext3DInternal::bufferData): (WebCore::GraphicsContext3DInternal::bufferSubData): (WebCore::GraphicsContext3DInternal::getActiveAttrib): (WebCore::GraphicsContext3DInternal::getActiveUniform): (WebCore::GraphicsContext3DInternal::getAttribLocation): (WebCore::GraphicsContext3DInternal::getString): (WebCore::GraphicsContext3DInternal::getUniformLocation): (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): * src/GraphicsContext3DInternal.h: 2011-01-06 James Simonsen Reviewed by Darin Fisher. [Web Timing] Remove vendor prefix https://bugs.webkit.org/show_bug.cgi?id=48922 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::performance): Rename to performance. 2011-01-06 James Robinson Reviewed by Simon Fraser. Implement mozilla's animationTime property https://bugs.webkit.org/show_bug.cgi?id=51952 WebKit API support for webkitAnimationTime. * public/WebWidget.h: * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime): * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::clearCurrentAnimationTime): * src/WebViewImpl.h: 2010-12-29 John Abd-El-Malek Reviewed by Darin Fisher. [chromium] Add a WebAutoFillClient interface that moves some functions from WebViewClient https://bugs.webkit.org/show_bug.cgi?id=51710 * WebKit.gyp: * public/WebAutoFillClient.h: Added. (WebKit::WebAutoFillClient::didAcceptAutoFillSuggestion): (WebKit::WebAutoFillClient::didSelectAutoFillSuggestion): (WebKit::WebAutoFillClient::didClearAutoFillSelection): (WebKit::WebAutoFillClient::removeAutocompleteSugestion): (WebKit::WebAutoFillClient::didAcceptAutocompleteSuggestion): (WebKit::WebAutoFillClient::textFieldDidBeginEditing): (WebKit::WebAutoFillClient::textFieldDidEndEditing): (WebKit::WebAutoFillClient::textFieldDidChange): (WebKit::WebAutoFillClient::textFieldDidReceiveKeyDown): (WebKit::WebAutoFillClient::~WebAutoFillClient): 2011-01-05 Chris Rogers Reviewed by Darin Fisher. Add WebKitClient::createAudioDevice() for Chromium port of web audio API https://bugs.webkit.org/show_bug.cgi?id=51424 * WebKit.gyp: * public/WebAudioDevice.h: Added. (WebKit::WebAudioDevice::RenderCallback::~RenderCallback): (WebKit::WebAudioDevice::~WebAudioDevice): * public/WebKitClient.h: (WebKit::WebKitClient::createAudioDevice): * src/AudioDestinationChromium.cpp: Added. (WebCore::AudioDestination::create): (WebCore::AudioDestinationChromium::AudioDestinationChromium): (WebCore::AudioDestinationChromium::~AudioDestinationChromium): (WebCore::AudioDestinationChromium::start): (WebCore::AudioDestinationChromium::stop): (WebCore::AudioDestination::hardwareSampleRate): (WebCore::AudioDestinationChromium::render): * src/AudioDestinationChromium.h: Added. (WebCore::AudioDestinationChromium::isPlaying): (WebCore::AudioDestinationChromium::sampleRate): 2011-01-05 David Levin Reviewed by Darin Fisher. [chromium] WEBKIT_API and styling fixes for the chromium api. https://bugs.webkit.org/show_bug.cgi?id=51863 Removed some incorrect uses of WEBKIT_API. Fixed some abbreviations by making them whole words. * public/WebAnimationController.h: Removed WEBKIT_API from virtual functions. * public/WebFormElement.h: Removed WEBKIT_API from inline functions and fixed some abbreviations. (WebKit::WebFormElement::WebFormElement): (WebKit::WebFormElement::operator=): (WebKit::WebFormElement::assign): * public/WebIDBDatabaseError.h: Ditto. (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): (WebKit::WebIDBDatabaseError::operator=): * public/WebInputElement.h: Ditto. (WebKit::WebInputElement::WebInputElement): (WebKit::WebInputElement::operator=): (WebKit::WebInputElement::assign): * public/WebLabelElement.h: Ditto. (WebKit::WebLabelElement::WebLabelElement): (WebKit::WebLabelElement::operator=): (WebKit::WebLabelElement::assign): * public/WebOptionElement.h: Ditto. (WebKit::WebOptionElement::WebOptionElement): (WebKit::WebOptionElement::operator=): (WebKit::WebOptionElement::assign): * public/WebSelectElement.h: Ditto (and minor spacing cleanup). (WebKit::WebSelectElement::WebSelectElement): (WebKit::WebSelectElement::operator=): (WebKit::WebSelectElement::assign): 2011-01-05 Hans Wennborg Reviewed by David Levin. [Chromium] WebIDBKey clean-up https://bugs.webkit.org/show_bug.cgi?id=51925 Remove constructors that are no longer used since the Chromium side has been updated. * public/WebIDBKey.h: 2011-01-04 Darin Fisher Reviewed by David Levin. Update README file with a description of the WEBKIT_API macro and guidelines for its usage. Also document the various WEBKIT_USING_* macros. https://bugs.webkit.org/show_bug.cgi?id=51880 * README: 2011-01-04 Evan Martin Reviewed by Tony Chang. [chromium] depend on harfbuzz explicitly https://bugs.webkit.org/show_bug.cgi?id=51895 Update Chromium DEPS to pick up newer Chromium version that simplifies expressing the Harfbuzz dependency. * DEPS: 2011-01-04 Zhe Su Reviewed by Kenneth Russell. Changes: 1. Add WebKit::WebWidget::confirmComposition(const WebString& text) This new method corresponds to Editor::confirmComposition(text) and Editor::insertText(text). It'll be used by both DumpRenderTree's TextInputController and chromium browser. 2. Fix WebFrameImpl::insertText It should call Editor::confirmComposition(text) rather than Editor::insertText(text) if there is an ongoing composition. It matches the behavior of WebKit Mac port. 3. Fix WebFrameImpl::setMarkedText Editor::confirmComposition(text) shouldn't be called in this method, which incorrectly inserts the text. https://bugs.webkit.org/show_bug.cgi?id=51693 * public/WebWidget.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::insertText): (WebKit::WebFrameImpl::setMarkedText): * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::confirmComposition): * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::confirmComposition): * src/WebViewImpl.h: * tests/PopupMenuTest.cpp: (WebKit::TestWebWidget::confirmComposition): 2011-01-03 Daniel Bates Attempt to fix the Chromium Linux Release build after changeset 74895 . The portion of the patch in that modified the file src/WebSearchableFormData.cpp was not landed (why?). Although the change log entry associated with this change was landed. * src/WebSearchableFormData.cpp: (HTMLNames::IsInDefaultState): 2011-01-02 Dirk Schulze Reviewed by Simon Fraser. Clarify ImageBuffer and ImageData relationship https://bugs.webkit.org/show_bug.cgi?id=51297 Use ByteArray instead of ImageData. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::doPixelReadbackToCanvas): 2011-01-01 Adam Barth Reviewed by Eric Seidel. Move JavaScriptCore to Source https://bugs.webkit.org/show_bug.cgi?id=51604 * WebKit.gyp: - Point to JavaScriptCore in its new location. 2010-12-30 Mihai Parparita Reviewed by Kent Tamura. [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's https://bugs.webkit.org/show_bug.cgi?id=51728 Roll DEPS to pick up WebThemeEngine changes. * DEPS: 2010-12-29 Sheriff Bot Unreviewed, rolling out r74735. http://trac.webkit.org/changeset/74735 https://bugs.webkit.org/show_bug.cgi?id=51715 assert failures on fast/forms/input-maxlength-ime- completed.html (Requested by mihaip on #webkit). * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::setMarkedText): 2010-12-29 Zhe Su Reviewed by Eric Seidel. Fix editing/input/ime-composition-clearpreedit.html test in chromium by removing the line "editor->confirmComposition(text);" from WebFrameImpl::setMarkedText() method, because that line will insert the text into the focused node, which is apparently wrong. https://bugs.webkit.org/show_bug.cgi?id=51693 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::setMarkedText): 2010-12-23 Zhenyao Mo Reviewed by Kenneth Russell. Initialize to 0 for undefined values in CopyTexImage2D https://bugs.webkit.org/show_bug.cgi?id=51421 * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize(). (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize): * src/GraphicsContext3DInternal.h: 2010-12-23 Sheriff Bot Unreviewed, rolling out r74561. http://trac.webkit.org/changeset/74561 https://bugs.webkit.org/show_bug.cgi?id=51565 "Broke Chromium UI tests on Vista" (Requested by kbr_google on #webkit). * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2010-12-23 Mihai Parparita Reviewed by Kent Tamura. [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT https://bugs.webkit.org/show_bug.cgi?id=51507 Adds WebThemeEngine for the Mac (it already has parallel definitions for Windows and Linux) so that scrollbar thumb rendering can be overridden for the DRT (to be consistent with the NSScroller-based rendering used by the Mac port). * public/mac/WebThemeEngine.h: Added. (WebKit::WebThemeEngine::paintScrollbarThumb): * src/AssertMatchingEnums.cpp: * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::paintScrollbarThumb): 2010-12-23 Sam Weinig Fix build. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::didSaveToPageCache): (WebKit::FrameLoaderClientImpl::didRestoreFromPageCache): 2010-12-22 Sam Weinig Reviewed by Darin Adler. WebKit2 needs to mirror the frame tree in the UIProcess https://bugs.webkit.org/show_bug.cgi?id=51546 - Add client functions to notify that a frame has been added or removed from the page cache. * src/FrameLoaderClientImpl.cpp: (WebKit::WebFrameLoaderClientImpl::didSaveToPageCache): (WebKit::WebFrameLoaderClientImpl::didRestoreFromPageCache): * src/FrameLoaderClientImpl.h: 2010-12-20 Adrienne Walker Reviewed by Kenneth Russell. [chromium] Tile root layer of the compositor. https://bugs.webkit.org/show_bug.cgi?id=49947 Refactor root layer logic out of WebViewImpl and into LayerTilerChromium. The painting is now done through an interface rather than directly in WebViewImpl. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImplTilePaintInterface::WebViewImplTilePaintInterface): (WebKit::WebViewImplTilePaintInterface::paint): (WebKit::WebViewImplScrollbarPaintInterface::WebViewImplScrollbarPaintInterface): (WebKit::WebViewImplScrollbarPaintInterface::paint): (WebKit::WebViewImpl::doComposite): * src/WebViewImpl.h: 2010-12-22 Ryosuke Niwa Reviewed by Eric Seidel. Editor.h doesn't need to include SelectionController.h https://bugs.webkit.org/show_bug.cgi?id=51441 Renamed SelectionController::EDirection to SelectionDirection. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeCommand): 2010-12-23 W. James MacLean Reviewed by Kenneth Russell. [chromium] Add asserts to test for contiguous-pixel Skia bitmaps. https://bugs.webkit.org/show_bug.cgi?id=51186 Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated. * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2010-12-22 Sheriff Bot Unreviewed, rolling out r74503. http://trac.webkit.org/changeset/74503 https://bugs.webkit.org/show_bug.cgi?id=51513 breaks chromium mac debug compile (Requested by tonyg-cr on #webkit). * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2010-12-22 W. James MacLean Reviewed by Kenneth Russell. [chromium] Add asserts to test for contiguous-pixel Skia bitmaps. https://bugs.webkit.org/show_bug.cgi?id=51186 Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated. * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2010-12-21 Zhenyao Mo Reviewed by Kenneth Russell. WebGLRenderingContext needs to zero textures and renderbuffers https://bugs.webkit.org/show_bug.cgi?id=49355 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): Generate an INVALID_VALUE if pixels==null is passed in. 2010-12-20 Andrei Popescu Reviewed by Jeremy Orlow. IDBCursor::delete is not implemented. https://bugs.webkit.org/show_bug.cgi?id=51110 * public/WebIDBCursor.h: (WebKit::WebIDBCursor::remove): (WebKit::WebIDBCursor::deleteFunction): * src/IDBCursorBackendProxy.cpp: (WebCore::IDBCursorBackendProxy::deleteFunction): * src/IDBCursorBackendProxy.h: * src/WebIDBCursorImpl.cpp: (WebKit::WebIDBCursorImpl::deleteFunction): * src/WebIDBCursorImpl.h: 2010-12-18 Tony Gentilcore Reviewed by Laszlo Gombos. [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End} https://bugs.webkit.org/show_bug.cgi?id=50943 Exposes all dom* times to the chromium port. I'm particularly interested in domContentLoadedEventEnd as it compares to the FinishDoc metric. * public/WebPerformance.h: * src/WebPerformance.cpp: (WebKit::WebPerformance::domLoading): (WebKit::WebPerformance::domInteractive): (WebKit::WebPerformance::domContentLoadedEventStart): (WebKit::WebPerformance::domContentLoadedEventEnd): (WebKit::WebPerformance::domComplete): 2010-12-17 Tony Gentilcore Unreviewed, build fix. Add WebKitTools -> Tools rename that got missed. * WebKit.gyp: 2010-12-17 Dirk Pranke Unreviewed, build fix. Add WebKitTools -> Tools rename that got missed. * WebKit.gyp: 2010-12-17 John Knottenbelt Reviewed by Jeremy Orlow. Fix test failures where NULL GeolocationClient is provided https://bugs.webkit.org/show_bug.cgi?id=51256 * src/GeolocationClientProxy.cpp: (WebKit::GeolocationClientProxy::geolocationDestroyed): 2010-12-17 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Support Date objects as keys. https://bugs.webkit.org/show_bug.cgi?id=51193 Update to match the underlying WebCore IDBKey class: add the DateType, add create() functions for each type, deprecate the public constructors (will be removed once Chromium side is updated). * public/WebIDBKey.h: (WebKit::WebIDBKey::WebIDBKey): * src/AssertMatchingEnums.cpp: * src/WebIDBKey.cpp: (WebKit::WebIDBKey::createString): (WebKit::WebIDBKey::createDate): (WebKit::WebIDBKey::createNumber): (WebKit::WebIDBKey::assignNull): (WebKit::WebIDBKey::assignString): (WebKit::WebIDBKey::assignDate): (WebKit::WebIDBKey::assignNumber): (WebKit::WebIDBKey::date): 2010-12-17 James Simonsen Reviewed by Darin Fisher. [Web Timing] Navigation type enums should begin with TYPE_ https://bugs.webkit.org/show_bug.cgi?id=51200 * src/WebPerformance.cpp: (WebKit::WebPerformance::navigationType): Added TYPE_ to navigation types. 2010-12-16 John Knottenbelt Reviewed by Jeremy Orlow. Enable client-based geolocation in Chromium https://bugs.webkit.org/show_bug.cgi?id=50562 * features.gypi: 2010-12-16 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Fix IDBDatabaseError code offset bug https://bugs.webkit.org/show_bug.cgi?id=51177 WebIDBDatabaseError must use the IDBDatabaseError::createWithoutOffset() function. * src/WebIDBDatabaseError.cpp: (WebKit::WebIDBDatabaseError::assign): 2010-12-15 Chris Guillory Reviewed by Darin Fisher. Expose AccessibilityObject::url() to Chromium https://bugs.webkit.org/show_bug.cgi?id=51046 * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::url): 2010-12-14 Darin Fisher Reviewed by Dimitri Glazkov. [chromium] AssociatedURLLoader leaks m_realLoader to its WebURLLoaderClient. https://bugs.webkit.org/show_bug.cgi?id=51062 * src/AssociatedURLLoader.cpp: Intercept WebURLLoaderClient methods and forward |this| as the WebURLLoader parameter. (WebKit::AssociatedURLLoader::AssociatedURLLoader): (WebKit::AssociatedURLLoader::loadSynchronously): (WebKit::AssociatedURLLoader::loadAsynchronously): (WebKit::AssociatedURLLoader::willSendRequest): (WebKit::AssociatedURLLoader::didSendData): (WebKit::AssociatedURLLoader::didReceiveResponse): (WebKit::AssociatedURLLoader::didDownloadData): (WebKit::AssociatedURLLoader::didReceiveData): (WebKit::AssociatedURLLoader::didReceiveCachedMetadata): (WebKit::AssociatedURLLoader::didFinishLoading): (WebKit::AssociatedURLLoader::didFail): * src/AssociatedURLLoader.h: 2010-12-14 Mihai Parparita Reviewed by Dimitri Glazkov. Move asynchronous event dispatching out of Document https://bugs.webkit.org/show_bug.cgi?id=49785 Change enqueueEvent callsite. * src/StorageAreaProxy.cpp: (WebCore::StorageAreaProxy::storageEvent): 2010-12-13 Mike Lawther Reviewed by James Robinson. Update chromium DEPS to pull in latest Skia https://bugs.webkit.org/show_bug.cgi?id=50984 Roll to revision that pulled in Skia r632 (http://src.chromium.org/viewvc/chrome?view=rev&revision=68558) * DEPS: 2010-12-13 David Holloway Reviewed by Eric Seidel. [chromium] Removes deprecated logic following the consolidation of AutoFill and Autocomplete popup menu handling (https://bugs.webkit.org/show_bug.cgi?id=41236). Filling of the form fields is now handled completely on the Chromium side, for both AutoFill and Autocomplete. https://bugs.webkit.org/show_bug.cgi?id=41822 * public/WebView.h: * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient): (WebKit::AutoFillPopupMenuClient::valueChanged): * src/AutoFillPopupMenuClient.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::applyAutoFillSuggestions): * src/WebViewImpl.h: 2010-12-13 Yury Semikhatsky Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921. REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit). https://bugs.webkit.org/show_bug.cgi?id=50950 * src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask): 2010-12-13 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions. Debugger and Resources related notification functions of Inspector.idl were marked as such with help of "domain" attribute. The other changes in js files are reflecting this change. Some wrappers in WebInspector namespace were dropped, the others were moved to DebuggerModel class. https://bugs.webkit.org/show_bug.cgi?id=50906 * src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause): (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): (.TestSuite.prototype._waitUntilScriptsAreParsed): 2010-12-13 Yury Semikhatsky Reviewed by Adam Barth. WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown https://bugs.webkit.org/show_bug.cgi?id=8519 Uncaught exceptions are propagated to window.onerror hander if one is present. The handler is expected to be a function accepting three arguments: error message, resource url and line number where the exception occured. * src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): 2010-12-13 Sheriff Bot Unreviewed, rolling out r73898. http://trac.webkit.org/changeset/73898 https://bugs.webkit.org/show_bug.cgi?id=50919 FileSystem and Database API's were broken (Requested by loislo on #webkit). * src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause): 2010-12-13 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions. Debugger and Resources related notification functions of Inspector.idl were marked as such with help of "domain" attribute. The other changes in js files are reflecting this change. Some wrappers in WebInspector namespace were dropped, the others were moved to DebuggerModel class. https://bugs.webkit.org/show_bug.cgi?id=50906 * src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause): 2010-10-28 MORITA Hajime Reviewed by Ojan Vafai. spellcheck does not check pasted text https://bugs.webkit.org/show_bug.cgi?id=40092 Added a stub implememntation. * src/EditorClientImpl.h: (WebKit::EditorClientImpl::requestCheckingOfString): 2010-12-10 Chris Fleizach Reviewed by Darin Adler. AX: refactor AccessibilityRenderObject::doAccessibilityHitTest https://bugs.webkit.org/show_bug.cgi?id=50574 * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::hitTest): 2010-12-10 Zhenyao Mo Reviewed by Adam Barth. Use enums instead of booleans in ImageSource/ImageDecoder constructors https://bugs.webkit.org/show_bug.cgi?id=50818 * src/WebImageDecoder.cpp: (WebKit::WebImageDecoder::init): Use enums instead of boolean in ImageDecoder constructor. 2010-12-10 Kenneth Russell Reviewed by James Robinson. Implement extension entry points and remove EXTENSIONS enum https://bugs.webkit.org/show_bug.cgi?id=40316 Added support for ensuring that a particular OpenGL extension is enabled. * public/WebGraphicsContext3D.h: * src/Extensions3DChromium.cpp: (WebCore::Extensions3DChromium::ensureEnabled): * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::initializeExtensions): (WebCore::GraphicsContext3DInternal::supportsExtension): (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled): * src/GraphicsContext3DInternal.h: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::getRequestableExtensionsCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::requestExtensionCHROMIUM): * src/WebGraphicsContext3DDefaultImpl.h: 2010-12-10 John Knottenbelt Reviewed by Steve Block. [Chromium] Implement mocks for client-based geolocation https://bugs.webkit.org/show_bug.cgi?id=46895 * WebKit.gyp: * public/WebGeolocationClientMock.h: Added. (WebKit::WebGeolocationClientMock::~WebGeolocationClientMock): (WebKit::WebGeolocationClientMock::WebGeolocationClientMock): * src/WebGeolocationClientMock.cpp: Added. (WebKit::WebGeolocationClientMock::create): (WebKit::WebGeolocationClientMock::initialize): (WebKit::WebGeolocationClientMock::reset): (WebKit::WebGeolocationClientMock::setMockGeolocationPosition): (WebKit::WebGeolocationClientMock::setMockGeolocationError): (WebKit::WebGeolocationClientMock::setMockGeolocationPermission): (WebKit::WebGeolocationClientMock::resetMock): (WebKit::WebGeolocationClientMock::startUpdating): (WebKit::WebGeolocationClientMock::stopUpdating): (WebKit::WebGeolocationClientMock::setEnableHighAccuracy): (WebKit::WebGeolocationClientMock::geolocationDestroyed): (WebKit::WebGeolocationClientMock::setController): (WebKit::WebGeolocationClientMock::lastPosition): (WebKit::WebGeolocationClientMock::requestPermission): (WebKit::WebGeolocationClientMock::cancelPermissionRequest): * src/WebGeolocationServiceMock.cpp: 2010-12-10 John Knottenbelt Reviewed by Steve Block. [chromium] Implement client based geolocation bindings https://bugs.webkit.org/show_bug.cgi?id=45752 Implements the necessary plumbing to expose client-based geolocation in Chromium webkit. The plan is to remove the non-client-based geolocation code (GeolocationService*) in the future. * WebKit.gyp: * public/WebGeolocationClient.h: Added. (WebKit::WebGeolocationClient::~WebGeolocationClient): * public/WebGeolocationController.h: Added. (WebKit::WebGeolocationController::WebGeolocationController): (WebKit::WebGeolocationController::reset): * public/WebGeolocationError.h: * public/WebGeolocationPermissionRequest.h: Added. (WebKit::WebGeolocationPermissionRequest::WebGeolocationPermissionRequest): (WebKit::WebGeolocationPermissionRequest::geolocation): * public/WebGeolocationPermissionRequestManager.h: Added. (WebKit::WebGeolocationPermissionRequestManager::WebGeolocationPermissionRequestManager): (WebKit::WebGeolocationPermissionRequestManager::~WebGeolocationPermissionRequestManager): * public/WebGeolocationPosition.h: * public/WebViewClient.h: (WebKit::WebViewClient::geolocationClient): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame): * src/GeolocationClientProxy.cpp: Added. (WebKit::GeolocationClientProxy::GeolocationClientProxy): (WebKit::GeolocationClientProxy::~GeolocationClientProxy): (WebKit::GeolocationClientProxy::setController): (WebKit::GeolocationClientProxy::geolocationDestroyed): (WebKit::GeolocationClientProxy::startUpdating): (WebKit::GeolocationClientProxy::stopUpdating): (WebKit::GeolocationClientProxy::setEnableHighAccuracy): (WebKit::GeolocationClientProxy::lastPosition): (WebKit::GeolocationClientProxy::requestPermission): (WebKit::GeolocationClientProxy::cancelPermissionRequest): * src/GeolocationClientProxy.h: Added. * src/WebGeolocationController.cpp: Added. (WebKit::WebGeolocationController::positionChanged): (WebKit::WebGeolocationController::errorOccurred): (WebKit::WebGeolocationController::controller): * src/WebGeolocationPermissionRequest.cpp: Added. (WebKit::WebGeolocationPermissionRequest::securityOrigin): (WebKit::WebGeolocationPermissionRequest::setIsAllowed): * src/WebGeolocationPermissionRequestManager.cpp: Added. (WebGeolocationPermissionRequestManager::add): (WebGeolocationPermissionRequestManager::remove): (WebGeolocationPermissionRequestManager::init): (WebGeolocationPermissionRequestManager::reset): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-12-10 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Numeric keys are floats. https://bugs.webkit.org/show_bug.cgi?id=50674 Represent numeric keys as floating point values. * public/WebIDBKey.h: (WebKit::WebIDBKey::WebIDBKey): * src/WebIDBKey.cpp: (WebKit::WebIDBKey::assign): (WebKit::WebIDBKey::number): 2010-12-09 Sheriff Bot Unreviewed, rolling out r73616. http://trac.webkit.org/changeset/73616 https://bugs.webkit.org/show_bug.cgi?id=50772 Breaks chromium win build (Requested by hwennborg on #webkit). * public/WebIDBKey.h: (WebKit::WebIDBKey::WebIDBKey): * src/WebIDBKey.cpp: (WebKit::WebIDBKey::assign): (WebKit::WebIDBKey::number): 2010-12-09 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Numeric keys are floats. https://bugs.webkit.org/show_bug.cgi?id=50674 Represent numeric keys as floating point values. * public/WebIDBKey.h: (WebKit::WebIDBKey::WebIDBKey): * src/WebIDBKey.cpp: (WebKit::WebIDBKey::assign): (WebKit::WebIDBKey::number): 2010-12-07 Brian Weinstein Reviewed by John Sullivan. Layering Violation in ContextMenu - member variable of type HitTestResult https://bugs.webkit.org/show_bug.cgi?id=50586 Update users of ContextMenu and ContextMenuController to match where the new functions are located. * src/ContextMenuClientImpl.cpp: (WebKit::selectMisspelledWord): (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 2010-12-06 Darin Adler Reviewed by Sam Weinig. Pass security origin to make local file decision correctly https://bugs.webkit.org/show_bug.cgi?id=48603 * src/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::selectCacheWithManifest): Pass security origin. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchCreatePage): Ditto. (WebKit::FrameLoaderClientImpl::createFrame): Ditto. * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::loadFrameRequest): Ditto. 2010-12-07 Martin Robinson Unreviewed, rolling out r73392. http://trac.webkit.org/changeset/73392 https://bugs.webkit.org/show_bug.cgi?id=50489 This commit caused crashes on the GTK+ bots * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::finishedLoading): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::encoding): (WebKit::WebFrameImpl::loadJavaScriptURL): * src/WebPageSerializerImpl.cpp: (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): (WebKit::WebPageSerializerImpl::serialize): * src/WebSearchableFormData.cpp: (WebCore::GetFormEncoding): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::pageEncoding): 2010-12-07 Kenichi Ishibashi Reviewed by Kent Tamura. Let HTMLObjectElement be a form associated element https://bugs.webkit.org/show_bug.cgi?id=48821 Modified to use FormAssociatedElement instead of HTMLFormControlElement. * src/WebFormElement.cpp: (WebKit::WebFormElement::getFormControlElements): Modified to use FormAssociatedElement instead of HTMLFormControlElement. * src/WebPasswordFormUtils.cpp: (WebKit::findPasswordFormFields): Ditto. * src/WebSearchableFormData.cpp: (WebCore::GetButtonToActivate): Ditto. (WebCore::HasSuitableTextElement): Ditto. 2010-12-06 Nate Chapin Reviewed by Adam Barth. Update calls to DocumentWriter. https://bugs.webkit.org/show_bug.cgi?id=50489 * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::finishedLoading): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::encoding): (WebKit::WebFrameImpl::loadJavaScriptURL): * src/WebPageSerializerImpl.cpp: (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): (WebKit::WebPageSerializerImpl::serialize): * src/WebSearchableFormData.cpp: (WebCore::GetFormEncoding): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::pageEncoding): 2010-12-03 Sheriff Bot Unreviewed, rolling out r73302. http://trac.webkit.org/changeset/73302 https://bugs.webkit.org/show_bug.cgi?id=50499 Causes crashes in debug LayoutTests (Requested by xan_ on #webkit). * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::parentObject): 2010-12-01 Ilya Tikhonovsky Reviewed by Pavel Feldman. Web Inspector: Inspector protocol cleanup task. The patch has just small renames and adjustments for the protocol things. 'handler' keyword in idl file was replaced with 'domain'. 'domain' property was assigned for the each backend to frontend messages. At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly. https://bugs.webkit.org/show_bug.cgi?id=50337 * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): 2010-12-03 Chris Guillory Reviewed by Chris Fleizach. Include the FrameView widget of a RenderWidget in the accessibility tree. https://bugs.webkit.org/show_bug.cgi?id=49106 * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::equals): (WebKit::WebAccessibilityObject::parentObject): 2010-11-29 Jeremy Orlow Reviewed by Darin Fisher. [Chromium] Clean up IndexedDB 2 sided roll bits https://bugs.webkit.org/show_bug.cgi?id=50160 * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::version): (WebKit::WebIDBDatabase::objectStoreNames): (WebKit::WebIDBDatabase::deleteObjectStore): * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * public/WebIDBKeyRange.h: * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::deleteFunction): * src/IDBDatabaseProxy.cpp: * src/IDBDatabaseProxy.h: * src/WebIDBKeyRange.cpp: 2010-12-02 Chris Rogers Reviewed by Darin Fisher. Fine-tune chromium WebKit API for loading audio resources https://bugs.webkit.org/show_bug.cgi?id=50406 * public/WebAudioBus.h: (WebKit::WebAudioBus::~WebAudioBus): * public/WebKitClient.h: (WebKit::WebKitClient::loadAudioResource): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::decodeAudioFileData): * src/WebAudioBus.cpp: (WebKit::WebAudioBus::reset): 2010-12-02 Darin Fisher Fix the Windows multi-dll build. Do not export functions that are implemented inline! * public/WebFormControlElement.h: (WebKit::WebFormControlElement::assign): 2010-12-02 Tony Chang Unreviewed, roll chromium deps to r67980. * DEPS: 2010-12-01 Andrey Kosyakov Reviewed by Pavel Feldman. Web Inspector: [Resources panel] [HAR] Need a way to save timing data. Enable resource export to HAR for Chromium. https://bugs.webkit.org/show_bug.cgi?id=45663 * src/js/DevTools.js: Preferences.resourceExportEnabled = true 2010-12-02 Vincent Scheib Reviewed by Darin Fisher. [chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added. https://bugs.webkit.org/show_bug.cgi?id=50285 Test by loading "about:histograms" after navigating to accelerated pages. * public/WebKitClient.h: (WebKit::WebKitClient::histogramCustomCounts): api update. (WebKit::WebKitClient::histogramEnumeration): api update. * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::histogramCustomCounts): api update. (WebCore::ChromiumBridge::histogramEnumeration): api update. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added. 2010-12-01 Jia Pu Reviewed by Darin Adler. Support multiple correction candidates panel for misspelled word on Mac OS X. https://bugs.webkit.org/show_bug.cgi?id=50137 Adopted new function signature defined in base class. * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::getGuessesForWord): * src/EditorClientImpl.h: 2010-12-01 Alexey Marinichev Reviewed by James Robinson. [chromium] renderer does not realize hardware compositing is disabled and crashes https://bugs.webkit.org/show_bug.cgi?id=50264 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setRootGraphicsLayer): repaint always (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): null check (WebKit::WebViewImpl::reallocateRenderer): 2010-11-30 Vangelis Kokkevis Reviewed by Darin Fisher. Get the value of the accelerated compositing triggers from the Settings class. This allows setting the triggers via command line flags. https://bugs.webkit.org/show_bug.cgi?id=50301 * public/WebSettings.h: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::allowedCompositingTriggers): * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled): (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled): (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled): (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled): (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled): * src/WebSettingsImpl.h: 2010-12-01 Tony Chang Unreviewed, rolling chromium deps to r67811. * DEPS: 2010-12-01 Andrey Kosyakov Reviewed by Pavel Feldman. Web Inspector: disable cookies tab in network resource view by default, enable for chromium https://bugs.webkit.org/show_bug.cgi?id=50249 * src/js/DevTools.js: 2010-11-30 Ojan Vafai Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test https://bugs.webkit.org/show_bug.cgi?id=50288 2010-11-29 Adam Barth Reviewed by Darin Adler. Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs https://bugs.webkit.org/show_bug.cgi?id=50182 A display-isolated URL can only be displayed (e.g., put in an iframe, hyperlinked to) by documents from that scheme. In a sense, this is a generalization of some of the protections we give file URLs, but instead of lumping them all together into one "local" bucket, this patch creates a separate bucket for each scheme. For a while, I tried using a separate bucket for each origin. That would have played nicely with what Blob URLs are trying to do, but some "chrome" URL pages rely on being able to display other chrome URL pages, even in different origins. For example, the New Tab Page shows thumbnails from the "thumbnail" host. This patch also removes a bunch of unused code. I've also propagated the "deprecated" status of deprecatedCanDisplay to deprecatedShouldTreatURLAsLocal because that method has no other callers and is really asking for uppercase/lowercase bugs. I dream of someday removing these functions. 2010-11-29 Adam Barth Reviewed by Darin Adler. Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs https://bugs.webkit.org/show_bug.cgi?id=50182 This patch adds a Chromium API for registering schemes as display-isolated. In a subsequent patch, I'll change the "chrome" scheme in Chrome to be display isolated instead of local. That will prevent file URLs from linking to chrome URLs. * public/WebSecurityPolicy.h: * src/WebSecurityPolicy.cpp: 2010-11-30 James Robinson Reviewed by Dimitri Glazkov. [chromium] Update yasm entry in DEPS to match downstream https://bugs.webkit.org/show_bug.cgi?id=50274 http://src.chromium.org/viewvc/chrome?view=rev&revision=67540 changed the downstream DEPS rule for yasm to pull unconditionally rather than pulling in each deps_os. This changes the WebKit chromium DEPS to match. * DEPS: 2010-11-29 Vangelis Kokkevis Reviewed by Simon Fraser. Provide more fine grained control to ports over when to turn on accelerated compositing. https://bugs.webkit.org/show_bug.cgi?id=49998 As part of this change, the old hasAcceleratedCompositing method on the ChromeClient has now been replaced by allowedCompositingTriggers which returns a bitfield of all the features which can trigger the compositor. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::allowedCompositingTriggers): * src/ChromeClientImpl.h: 2010-11-30 Jochen Eisinger Reviewed by Darin Fisher. [chromium] pass webframe to web frame client's cookieJar https://bugs.webkit.org/show_bug.cgi?id=50148 * public/WebFrameClient.h: (WebKit::WebFrameClient::cookieJar): * src/ChromiumBridge.cpp: (WebCore::getCookieJar): 2010-11-30 Jochen Eisinger Unreviewed. Roll chromium 67532:67541. * DEPS: 2010-11-29 Adam Barth Reviewed by Darin Adler. Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs https://bugs.webkit.org/show_bug.cgi?id=50182 This patch adds a Chromium API for registering schemes as display-isolated. In a subsequent patch, I'll change the "chrome" scheme in Chrome to be display isolated instead of local. That will prevent file URLs from linking to chrome URLs. * public/WebSecurityPolicy.h: * src/WebSecurityPolicy.cpp: (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated): 2010-11-29 Kent Tamura Reviewed by Darin Fisher. [Chromium] Add substitution parameters to WebKitClient::queryLocalizedString() https://bugs.webkit.org/show_bug.cgi?id=50053 * public/WebKitClient.h: (WebKit::WebKitClient::queryLocalizedString): Add overload functions with substitution string parameters, and remove the integer parameter overload. * src/LocalizedStrings.cpp: (WebCore::query): Add string parameter overloads, and remove the integer parameter overload. (WebCore::multipleFileUploadText): Call the string parameter query(). (WebCore::validationMessageTooLongText): Pass the parameters to query(). (WebCore::validationMessageRangeUnderflowText): ditto. (WebCore::validationMessageRangeOverflowText): ditto. (WebCore::validationMessageStepMismatchText): ditto. 2010-11-29 Dimitri Glazkov Remove Build directory that was erroneously added in r72103. * Build: Removed. 2010-11-29 Andrey Kosyakov Reviewed by Darin Fisher. Web Inspector: [Chromium] Expose extension API to select a node in WebInspector Added WebDevToolsAgent::inspect() https://bugs.webkit.org/show_bug.cgi?id=49727 * public/WebDevToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::inspectNode): * src/WebDevToolsAgentImpl.h: 2010-11-29 Dimitri Glazkov [Chromium] Remove python_24 dependency, because it is no longer necessary. * DEPS: Removed python_24 dependency. 2010-11-29 Bernhard Bauer Reviewed by Jeremy Orlow. Remove databaseFileName from WebIDBFactory https://bugs.webkit.org/show_bug.cgi?id=50150 * WebKit.gyp: * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * src/WebIDBFactory.cpp: Removed. 2010-11-26 Andrei Popescu Reviewed by Jeremy Orlow. IDBDatabase and IDBObjectStore remove* methods should be renamed to delete* https://bugs.webkit.org/show_bug.cgi?id=50113 * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::deleteObjectStore): (WebKit::WebIDBDatabase::removeObjectStore): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::remove): (WebKit::WebIDBObjectStore::deleteFunction): (WebKit::WebIDBObjectStore::deleteIndex): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::deleteObjectStore): * src/IDBDatabaseProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::deleteFunction): (WebCore::IDBObjectStoreProxy::deleteIndex): * src/IDBObjectStoreProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::deleteObjectStore): * src/WebIDBDatabaseImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::deleteFunction): (WebKit::WebIDBObjectStoreImpl::deleteIndex): * src/WebIDBObjectStoreImpl.h: 2010-11-26 Jeremy Orlow Reviewed by Steve Block. Make IDBKeyRange match the spec https://bugs.webkit.org/show_bug.cgi?id=50105 Remove flags and instead add two booleans for being open. Change left to lower and right to upper everywhere. * public/WebIDBKeyRange.h: (WebKit::WebIDBKeyRange::WebIDBKeyRange): * src/WebIDBKeyRange.cpp: (WebKit::WebIDBKeyRange::assign): (WebKit::WebIDBKeyRange::left): (WebKit::WebIDBKeyRange::right): (WebKit::WebIDBKeyRange::lower): (WebKit::WebIDBKeyRange::upper): (WebKit::WebIDBKeyRange::lowerOpen): (WebKit::WebIDBKeyRange::upperOpen): (WebKit::WebIDBKeyRange::flags): 2010-11-25 Jeremy Orlow Reviewed by Steve Block. Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore https://bugs.webkit.org/show_bug.cgi?id=50081 Plumb IDBTransaction.objectStore's exception code. * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::objectStore): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::transaction): * src/IDBTransactionBackendProxy.cpp: (WebCore::IDBTransactionBackendProxy::objectStore): * src/IDBTransactionBackendProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::createObjectStore): (WebKit::WebIDBDatabaseImpl::transaction): * src/WebIDBTransactionImpl.cpp: (WebKit::WebIDBTransactionImpl::objectStore): * src/WebIDBTransactionImpl.h: 2010-11-26 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames https://bugs.webkit.org/show_bug.cgi?id=50102 Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::objectStores): (WebKit::WebIDBDatabase::objectStoreNames): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::objectStoreNames): * src/IDBDatabaseProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::objectStoreNames): * src/WebIDBDatabaseImpl.h: 2010-11-26 Andrei Popescu Reviewed by Jeremy Orlow. IDBFactory::open should not have a description argument. https://bugs.webkit.org/show_bug.cgi?id=50087 * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::description): * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * src/IDBFactoryBackendProxy.cpp: (WebCore::IDBFactoryBackendProxy::open): * src/IDBFactoryBackendProxy.h: * src/WebIDBDatabaseImpl.cpp: * src/WebIDBDatabaseImpl.h: * src/WebIDBFactory.cpp: * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::open): * src/WebIDBFactoryImpl.h: 2010-11-25 Ilya Tikhonovsky Unreviewed. Roll chromium 67004:67404. * DEPS: 2010-11-25 Jeremy Orlow Reviewed by Steve Block. Add exception code to WebIDBTransaction::objectStore https://bugs.webkit.org/show_bug.cgi?id=50030 * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::objectStore): 2010-11-24 MORITA Hajime Reviewed by Kent Tamura. [Chromium][Windows] TestShell flakily crashes with EventSender.contextClick() https://bugs.webkit.org/show_bug.cgi?id=50052 makeStringArrayImpl() assumed wtf::StringImpl data is null-terminated. But it is not. Changed the code to pass the string length explicitly instead of making it computed by v8::String::New(). * src/WebBindings.cpp: (WebKit::makeStringArrayImpl): 2010-11-24 Eric Uhrhane Reviewed by David Levin. [Chromium] Implement FileWriterSync https://bugs.webkit.org/show_bug.cgi?id=49940 Added waitForOperationToComplete, delegating to the bridge. * src/WorkerAsyncFileWriterChromium.cpp: * src/WorkerAsyncFileWriterChromium.h: Added waitForOperationToComplete and some debug-only code to make sure it's working properly. * src/WorkerFileWriterCallbacksBridge.cpp: (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread): (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread): (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread): (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge): (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread): (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread): (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread): (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete): * src/WorkerFileWriterCallbacksBridge.h: 2010-11-24 Kenneth Russell Reviewed by Darin Fisher. [chromium] Disable antialiasing for compositor https://bugs.webkit.org/show_bug.cgi?id=50039 * src/WebViewImpl.cpp: (WebCore::getCompositorContextAttributes): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::graphicsContext3D): 2010-11-24 Satish Sampath Reviewed by Steve Block. Remove API migration code which is no longer used. https://bugs.webkit.org/show_bug.cgi?id=50013 * public/WebSpeechInputControllerMock.h: 2010-11-23 Sheriff Bot Unreviewed, rolling out r72628. http://trac.webkit.org/changeset/72628 https://bugs.webkit.org/show_bug.cgi?id=49994 This patch is causing layout-test failtures on GTK Linux 64-bit Debug (Requested by ctguil on #webkit). * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::parentObject): 2010-11-23 Chris Guillory Reviewed by Dimitri Glazkov. Include the FrameView widget of a RenderWidget in the accessibility tree. https://bugs.webkit.org/show_bug.cgi?id=49106 * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::equals): (WebKit::WebAccessibilityObject::parentObject): 2010-11-23 John Knottenbelt Reviewed by Darin Fisher. [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition. https://bugs.webkit.org/show_bug.cgi?id=49735 Introduce WebKit API types so that the browser implementation can feed position and error updates to the WebCore::GeolocationController. * WebKit.gyp: * public/WebGeolocationError.h: Added. (WebKit::WebGeolocationError::WebGeolocationError): (WebKit::WebGeolocationError::~WebGeolocationError): * public/WebGeolocationPosition.h: Added. (WebKit::WebGeolocationPosition::WebGeolocationPosition): (WebKit::WebGeolocationPosition::~WebGeolocationPosition): * src/WebGeolocationError.cpp: Added. (WebKit::WebGeolocationError::assign): (WebKit::WebGeolocationError::reset): (WebKit::WebGeolocationError::WebGeolocationError): (WebKit::WebGeolocationError::operator=): (WebKit::WebGeolocationError::operator WTF::PassRefPtr): * src/WebGeolocationPosition.cpp: Added. (WebKit::WebGeolocationPosition::assign): (WebKit::WebGeolocationPosition::reset): (WebKit::WebGeolocationPosition::operator=): (WebKit::WebGeolocationPosition::operator PassRefPtr): 2010-11-23 Jonathan Backer Reviewed by Kenneth Russell. Renderer is resizing IOSurfaces when accelerated compositing is disabled. https://bugs.webkit.org/show_bug.cgi?id=49827 - IOSurfaces are only presented when accelerated compositing is enabled. - Slight performance increase (and clean-up for using this path for Linux and Windows). * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): 2010-11-23 Grace Kloba Reviewed by Kenneth Russell. [chromium] Accumulated scroll damage rect should be in the content space https://bugs.webkit.org/show_bug.cgi?id=49842 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::scrollRootLayerRect): Adjust the previous scroll damage with the scroll delta before union it with the new damage rect. 2010-11-18 Darin Fisher Reviewed by Dimitri Glazkov. Add a mechanism for creating a WebURLLoader that is associated with a particular WebFrame. https://bugs.webkit.org/show_bug.cgi?id=49764 This will be used by code that calls webKitClient()->createURLLoader() from within the Chromium source tree. An associated WebURLLoader should be treated like a subresource of the WebFrame's document. * WebKit.gyp: * public/WebFrame.h: * src/AssociatedURLLoader.cpp: Added. (WebKit::AssociatedURLLoader::AssociatedURLLoader): (WebKit::AssociatedURLLoader::~AssociatedURLLoader): (WebKit::AssociatedURLLoader::loadSynchronously): (WebKit::AssociatedURLLoader::loadAsynchronously): (WebKit::AssociatedURLLoader::cancel): (WebKit::AssociatedURLLoader::setDefersLoading): (WebKit::AssociatedURLLoader::PrepareRequest): * src/AssociatedURLLoader.h: Added. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::createAssociatedURLLoader): * src/WebFrameImpl.h: 2010-11-23 Satish Sampath Unreviewed, chromium build fix. * public/WebSpeechInputControllerMock.h: (WebKit::WebSpeechInputControllerMock::setMockRecognitionResult): 2010-11-18 Satish Sampath Reviewed by Jeremy Orlow. For speech input event, send an event object containing all the recognition results and metadata. https://bugs.webkit.org/show_bug.cgi?id=49736 Updated mock object's method to new signature. * public/WebSpeechInputControllerMock.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult): * src/WebSpeechInputControllerMockImpl.h: 2010-11-22 Alexey Marinichev Reviewed by Kenneth Russell. [chromium] Implement Extensions3DChromium::getGraphicsResetStatusARB https://bugs.webkit.org/show_bug.cgi?id=49946 * public/WebGraphicsContext3D.h: added isContextLost() * src/Extensions3DChromium.cpp: (WebCore::Extensions3DChromium::getGraphicsResetStatusARB): * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::isContextLost): * src/GraphicsContext3DInternal.h: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::isContextLost): * src/WebGraphicsContext3DDefaultImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::reallocateRenderer): ensure root layer repaining 2010-11-22 Jay Civelli Reviewed by David Levin. Don't create an external popup menu when there are no items to show. https://bugs.webkit.org/show_bug.cgi?id=49937 * src/ExternalPopupMenu.cpp: (WebKit::ExternalPopupMenu::show): 2010-11-22 Nat Duca Reviewed by Kenneth Russell. [chromium] Send didActivateAcceleratedCompositing when compositor initializes but does not create the shared context3d. https://bugs.webkit.org/show_bug.cgi?id=49930 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2010-11-22 Tony Chang Unreviewed, roll Chromium DEPS to r67004. * DEPS: 2010-11-22 Pavel Feldman Not reviewed. Partially roll out r72282. It should not have modified devtools files. * src/js/devTools.css: 2010-11-19 Ilya Sherman Reviewed by Darin Fisher. Expose default value of maxLength in Chromium API https://bugs.webkit.org/show_bug.cgi?id=49723 * public/WebInputElement.h: Added constant defaultMaximumLength * src/WebInputElement.cpp: 2010-11-18 Zhenyao Mo Reviewed by Kenneth Russell. GraphicsContext3D::reshape is clearing using current clear color instead of transparent https://bugs.webkit.org/show_bug.cgi?id=44064 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Use 0 as clear values. 2010-11-19 Tony Chang Unreviewed, updating Chromium DEPS to try and fix the chromium win build. * DEPS: r66792 2010-11-19 Tony Chang Reviewed by Kent Tamura. [chromium] Enable webkit's TestNetscapePlugIn for DRT on win and linux https://bugs.webkit.org/show_bug.cgi?id=49706 It is enabled simply by copying the plugin into {Debug,Release}/plugins. This change also rolls in a version of Chromium that disables the old plugin. * WebKit.gyp: 2010-11-19 Sheriff Bot Unreviewed, rolling out r72399. http://trac.webkit.org/changeset/72399 https://bugs.webkit.org/show_bug.cgi?id=49805 Broke Chromium build (Requested by antonm_ on #webkit). * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::popupOpened): * src/ChromeClientImpl.h: 2010-11-19 Jay Civelli Reviewed by David Levin. Removing unused code to show popup externally on Mac. https://bugs.webkit.org/show_bug.cgi?id=49747 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::popupOpened): * src/ChromeClientImpl.h: 2010-11-19 Pavel Feldman Not reviewed: flip chromium version to mitigate two-sided patch impact. * DEPS: 2010-11-18 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: provide response code and status text as a part of raw headers data. https://bugs.webkit.org/show_bug.cgi?id=49668 * WebKit.gyp: * public/WebHTTPLoadInfo.h: Renamed from WebKit/chromium/public/WebResourceRawHeaders.h. (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo): (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo): (WebKit::WebHTTPLoadInfo::operator =): * public/WebURLResponse.h: * src/WebHTTPLoadInfo.cpp: Renamed from WebKit/chromium/src/WebResourceRawHeaders.cpp. (WebKit::WebHTTPLoadInfo::initialize): (WebKit::WebHTTPLoadInfo::reset): (WebKit::WebHTTPLoadInfo::assign): (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo): (WebKit::WebHTTPLoadInfo::operator WTF::PassRefPtr): (WebKit::WebHTTPLoadInfo::responseCode): (WebKit::WebHTTPLoadInfo::setResponseCode): (WebKit::WebHTTPLoadInfo::statusText): (WebKit::WebHTTPLoadInfo::setStatusText): (WebKit::addHeader): (WebKit::WebHTTPLoadInfo::addRequestHeader): (WebKit::WebHTTPLoadInfo::addResponseHeader): * src/WebURLResponse.cpp: (WebKit::WebURLResponse::httpLoadInfo): (WebKit::WebURLResponse::setHTTPLoadInfo): 2010-11-18 Kent Tamura Reviewed by Tony Chang. Add more validation message functions https://bugs.webkit.org/show_bug.cgi?id=49716 Add implementations of new functions and symbols for new messages. * public/WebLocalizedString.h: * src/LocalizedStrings.cpp: (WebCore::validationMessageValueMissingForCheckboxText): (WebCore::validationMessageValueMissingForFileText): (WebCore::validationMessageValueMissingForMultipleFileText): (WebCore::validationMessageValueMissingForRadioText): (WebCore::validationMessageValueMissingForSelectText): 2010-11-18 Tony Chang Unreviewed, fix chromium compile. We need ipc and openssl now. * DEPS: 2010-11-18 James Robinson Reviewed by David Levin. [chromium] Update chromium DEPS to r66658 to pick up skia roll https://bugs.webkit.org/show_bug.cgi?id=49754 * DEPS: 2010-11-18 Jeremy Orlow Reviewed by Darin Fisher. [chromium] IndexedDB API cleanup https://bugs.webkit.org/show_bug.cgi?id=49733 Make it so that you can't directly instantiate our "interface" classes. Remove some code for 2 sided merges. * public/WebIDBCursor.h: (WebKit::WebIDBCursor::WebIDBCursor): * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::WebIDBDatabase): * public/WebIDBIndex.h: (WebKit::WebIDBIndex::WebIDBIndex): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::WebIDBObjectStore): * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::WebIDBTransaction): * src/IDBTransactionBackendProxy.cpp: (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy): 2010-11-18 Pavel Feldman Reviewed by Yury Semikhatsky. Chrome DevTools: minify front-end JavaScript. https://bugs.webkit.org/show_bug.cgi?id=49657 * scripts/concatenate_js_files.py: * scripts/jsmin.py: Added. 2010-11-18 Chris Rogers Reviewed by Dimitri Glazkov. Add loadPlatformAudioResource() and decodeAudioFileData() to ChromiumBridge https://bugs.webkit.org/show_bug.cgi?id=49557 * WebKit.gyp: * public/WebAudioBus.h: Added. (WebKit::WebAudioBus::WebAudioBus): * public/WebKitClient.h: (WebKit::WebKitClient::decodeAudioFileData): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::loadPlatformAudioResource): (WebCore::ChromiumBridge::decodeAudioFileData): * src/WebAudioBus.cpp: Added. (WebKit::WebAudioBus::~WebAudioBus): (WebKit::WebAudioBus::initialize): (WebKit::WebAudioBus::numberOfChannels): (WebKit::WebAudioBus::length): (WebKit::WebAudioBus::sampleRate): (WebKit::WebAudioBus::channelData): (WebKit::WebAudioBus::release): 2010-11-17 Sheriff Bot Unreviewed, rolling out r72228. http://trac.webkit.org/changeset/72228 https://bugs.webkit.org/show_bug.cgi?id=49712 Caused many >10 regressions on Win and Linux gpu layout test runs. (Requested by dave_levin on #webkit). * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::bytesPerComponent): (WebKit::componentsPerPixel): (WebKit::imageSizeInBytes): (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): 2010-11-17 Dimitri Glazkov Reviewed by Darin Adler. Converge means of querying a parent node into one way, which is Node::parentNode. https://bugs.webkit.org/show_bug.cgi?id=49686 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::insertStyleText): Changed to use parentNode. (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): Ditto. 2010-11-16 Zhenyao Mo Reviewed by Kenneth Russell. WebGLRenderingContext needs to zero textures and renderbuffers https://bugs.webkit.org/show_bug.cgi?id=49355 * src/WebGraphicsContext3DDefaultImpl.cpp: Don't deal with texture initialization at this level. 2010-11-17 Satish Sampath Reviewed by Jeremy Orlow. Clear the speech input mock explicitly before each test. https://bugs.webkit.org/show_bug.cgi?id=49660 * public/WebSpeechInputControllerMock.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::clearResults): Added method to clear results. * src/WebSpeechInputControllerMockImpl.h: 2010-11-17 Eric Uhrhane Reviewed by David Levin. [Chromium] implementation of async FileWriter for workers https://bugs.webkit.org/show_bug.cgi?id=47681 Tests are in a separate changelist. Added new files. * WebKit.gyp: * src/WorkerAsyncFileSystemChromium.cpp: Added WorkerAsyncFileWriterChromium construction. * src/WorkerAsyncFileWriterChromium.cpp: Added. * src/WorkerAsyncFileWriterChromium.h: Added. This class bridges between the context and main threads for the WorkerAsyncFileWriterChromium. * src/WorkerFileWriterCallbacksBridge.cpp: Added. * src/WorkerFileWriterCallbacksBridge.h: Added. 2010-11-17 John Mellor Reviewed by Darin Fisher. [chromium] Expose frame flattening setting in WebSettings. https://bugs.webkit.org/show_bug.cgi?id=49621 * public/WebSettings.h: * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setFrameFlatteningEnabled): * src/WebSettingsImpl.h: 2010-11-17 Jonathan Backer Reviewed by Kenneth Russell. [Chromium] Resize initiated by renderer. https://bugs.webkit.org/show_bug.cgi?id=49617 To address synchronization issues with resizing, make resize work like DARWIN. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): 2010-11-17 Stuart Morgan Reviewed by Dimitri Glazkov. Fix click count for mouse-up events. - clickCount for mouse up was lost in conversion from NSEvent - clickCount was also lost when disptaching events through the plugin mouse capture event codepath. https://bugs.webkit.org/show_bug.cgi?id=49290 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::handleInputEvent): * src/mac/WebInputEventFactory.mm: (WebKit::WebInputEventFactory::mouseEvent): 2010-11-11 Zhenyao Mo Reviewed by Kenneth Russell. Implement UNPACK_COLORSPACE_CONVERSION_WEBGL https://bugs.webkit.org/show_bug.cgi?id=47196 * src/WebImageDecoder.cpp: (WebKit::WebImageDecoder::init): Add ignoreGammaAndColorProfile parameter. 2010-11-12 Zhenyao Mo Reviewed by Kenneth Russell. Refactor GL backend flags https://bugs.webkit.org/show_bug.cgi?id=49460 * public/WebGraphicsContext3D.h: Remove GL flag queries at this level. * src/GraphicsContext3DChromium.cpp: Ditto. * src/GraphicsContext3DInternal.h: Ditto. * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. * src/WebGraphicsContext3DDefaultImpl.h: Ditto. 2010-11-16 Pavel Feldman Not reviewed. Chromium build fix. * WebKit.gyp: * scripts/concatenate_css_files.py: Renamed from WebKit/chromium/Build/concatenate_css_files.py. * scripts/concatenate_js_files.py: Renamed from WebKit/chromium/Build/concatenate_js_files.py. * scripts/generate_devtools_html.py: Renamed from WebKit/chromium/Build/generate_devtools_html.py. 2010-11-16 Pavel Feldman Reviewed by Yury Semikhatsky. Chrome DevTools: concatenate CSS files, do not link missing JS files in release mode. https://bugs.webkit.org/show_bug.cgi?id=49586 * Build/concatenate_css_files.py: Added. * Build/concatenate_js_files.py: Added. * Build/generate_devtools_html.py: Added. * WebKit.gyp: 2010-11-15 Nat Duca Reviewed by Darin Fisher. [chromium] Make WebWidget actively notify client when compositing enables. https://bugs.webkit.org/show_bug.cgi?id=49396 * public/WebWidgetClient.h: (WebKit::WebWidgetClient::didAcceleratedCompositingEnable): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): (WebKit::WebViewImpl::paint): (WebKit::WebViewImpl::setRootLayerNeedsDisplay): (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2010-11-15 Kenneth Russell Reviewed by James Robinson. [chromium] Remove assumption that GL functions are function pointers https://bugs.webkit.org/show_bug.cgi?id=49486 Added appropriate extension queries and no longer assume that GL function names are function pointers which can be tested. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::reshape): (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap): (WebKit::WebGraphicsContext3DDefaultImpl::getString): * src/WebGraphicsContext3DDefaultImpl.h: 2010-11-15 Ilya Sherman Reviewed by Kent Tamura. Add capability for displaying warnings to autofill popup Warnings are displayed in dark gray italic. https://bugs.webkit.org/show_bug.cgi?id=49291 http://code.google.com/p/chromium/issues/detail?id=58509 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): Updated logic -- can only remove Autocomplete suggestions, which have unique ID 0. (WebKit::AutoFillPopupMenuClient::itemIsEnabled): False for warnings. (WebKit::AutoFillPopupMenuClient::itemStyle): Dark gray italic for warnings. (WebKit::AutoFillPopupMenuClient::menuStyle): Variable name changed. (WebKit::AutoFillPopupMenuClient::itemIsWarning): True for unique ID < 0. (WebKit::AutoFillPopupMenuClient::initialize): Updated cached styles (see above). * src/AutoFillPopupMenuClient.h: Added itemIsEnabled(), variable to cache warning style. * src/WebViewImpl.cpp: Minor cleanup. (WebKit::WebViewImpl::applyAutoFillSuggestions): 2010-11-14 Kent Tamura Reviewed by Dimitri Glazkov. Improve API for form validation message strings https://bugs.webkit.org/show_bug.cgi?id=34945 * public/WebLocalizedString.h: * src/LocalizedStrings.cpp: (WebCore::validationMessageTypeMismatchForEmailText): (WebCore::validationMessageTypeMismatchForMultipleEmailText): (WebCore::validationMessageTypeMismatchForURLText): (WebCore::validationMessageTooLongText): (WebCore::validationMessageRangeUnderflowText): (WebCore::validationMessageRangeOverflowText): (WebCore::validationMessageStepMismatchText): 2010-11-13 Shinichiro Hamaji Reviewed by Kent Tamura. [Chromium] print doesn't work on http://nodejs.org/api.html https://bugs.webkit.org/show_bug.cgi?id=49304 * src/WebFrameImpl.cpp: (WebKit::ChromePrintContext::begin): (WebKit::WebFrameImpl::printBegin): 2010-11-12 James Simonsen Reviewed by Darin Fisher. [Web Timing] Rename interfaces: - Navigation -> PerformanceNavigation - Timing -> PerformanceTiming https://bugs.webkit.org/show_bug.cgi?id=48919 * src/WebPerformance.cpp: (WebKit::WebPerformance::navigationType): 2010-11-12 Zhenyao Mo Reviewed by James Robinson. WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations https://bugs.webkit.org/show_bug.cgi?id=48282 Simple fix for a regression introduced in r71793. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 2010-11-12 Ilya Sherman Reviewed by Eric Seidel. Remove some trailing whitespace https://bugs.webkit.org/show_bug.cgi?id=49433 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::createPopupMenu): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): 2010-11-11 MORITA Hajime Unreviewed another attempt to fx windows build. * src/WebBindings.cpp: (WebKit::makeStringArrayImpl): 2010-11-11 MORITA Hajime Unreviewed attempt to fx windows build. * src/WebBindings.cpp: (WebKit::makeStringArrayImpl): 2010-11-11 MORITA Hajime Reviewed by Kent Tamura. editing/selection/context-menu-on-text.html fails on chromium https://bugs.webkit.org/show_bug.cgi?id=45898 Added makeStringArray(), that is used by DumpRenderTree. * public/WebBindings.h: * src/WebBindings.cpp: (WebKit::makeStringArrayImpl): Added. (WebKit::WebBindings::makeStringArray): Added. 2010-11-11 Tony Gentilcore Reviewed by Nate Chapin. [chromium] Convert WebPerformance doubles to seconds https://bugs.webkit.org/show_bug.cgi?id=49232 This makes them suitable for passing to Time::FromDoubleT(). * src/WebPerformance.cpp: (WebKit::millisecondsToSeconds): (WebKit::WebPerformance::navigationStart): (WebKit::WebPerformance::unloadEventEnd): (WebKit::WebPerformance::redirectStart): (WebKit::WebPerformance::redirectEnd): (WebKit::WebPerformance::fetchStart): (WebKit::WebPerformance::domainLookupStart): (WebKit::WebPerformance::domainLookupEnd): (WebKit::WebPerformance::connectStart): (WebKit::WebPerformance::connectEnd): (WebKit::WebPerformance::requestStart): (WebKit::WebPerformance::requestEnd): (WebKit::WebPerformance::responseStart): (WebKit::WebPerformance::responseEnd): (WebKit::WebPerformance::loadEventStart): (WebKit::WebPerformance::loadEventEnd): 2010-11-11 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: signal IDBFactoryBackendInterface destruction to embedder https://bugs.webkit.org/show_bug.cgi?id=49313 Implement ChromiumBridge::idbShutdown(), passing through to the WebKitClient. * public/WebKitClient.h: (WebKit::WebKitClient::idbShutdown): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::idbShutdown): 2010-11-10 Kenneth Russell Reviewed by James Robinson. [chromium] Clean up gfx::GetGLImplementation calls in WebGraphicsContext3DDefaultImpl https://bugs.webkit.org/show_bug.cgi?id=49336 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::reshape): (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): 2010-11-10 Evan Stade Reviewed by Tony Chang. [chromium] menu key doesn't work when capslock or numslock is on https://bugs.webkit.org/show_bug.cgi?id=49289 Add a special bitmask for the "input" modifier keys (shift, alt, crtl, meta). The Modifier enum has grown to something that might be better termed State, but changing the nomenclature now is difficult. The bitmask gets its name from the related function getWebInputModifiers. * public/WebInputEvent.h: add InputModifiers mask for true modifier keys * src/WebViewImpl.cpp: disregard non-modifier keys (WebKit::WebViewImpl::keyEvent): 2010-11-10 Csaba Osztrogonác Reviewed by David Hyatt. HTML5 Ruby support should be mandatory feature https://bugs.webkit.org/show_bug.cgi?id=49272 Remove Ruby as optional feature. * features.gypi: 2010-11-10 Tony Chang Unreviewed, add libvpx as a chromium dependency. This should fix the chromium linux build. * DEPS: 2010-11-10 Peter Rybin Reviewed by Adam Barth. HTML parser should provide script column position within HTML document to JavaScript engine https://bugs.webkit.org/show_bug.cgi?id=45271 Replaces script line number with TextPosition structure. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScript): (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): (WebKit::WebFrameImpl::executeScriptAndReturnValue): 2010-11-09 Kenneth Russell Reviewed by James Robinson. WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations https://bugs.webkit.org/show_bug.cgi?id=48282 Fixed assumptions in WebGraphicsContext3DDefaultImpl that it was running on top of desktop GL. Tested various WebGL demos on Windows with ANGLE and --in-process-webgl --disable-accelerated-compositing; all are now working. Verified that --use-gl=desktop continues to work in the same configuration. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant): (WebKit::WebGraphicsContext3DDefaultImpl::reshape): (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): * src/WebGraphicsContext3DDefaultImpl.h: 2010-11-09 Kent Tamura Reviewed by Dimitri Glazkov. [Chromium] Add form validation message support to WebLocalizedString.h https://bugs.webkit.org/show_bug.cgi?id=49239 * DEPS: Roll Chromium revision to r65502 to have crrev.com/65502 * public/WebLocalizedString.h: Add new symbols * src/LocalizedStrings.cpp: Call query() with the new symbols in the following functions. (WebCore::validationMessageValueMissingText): (WebCore::validationMessageTypeMismatchText): (WebCore::validationMessagePatternMismatchText): (WebCore::validationMessageTooLongText): (WebCore::validationMessageRangeUnderflowText): (WebCore::validationMessageRangeOverflowText): (WebCore::validationMessageStepMismatchText): 2010-11-09 Tony Chang Unreviewed, rolling chromium DEPS. * DEPS: Roll to r65462. 2010-11-09 Mihai Parparita Unreviewed Chromium Windows build fix. Add isDisplayNone to the PopupMenuStyle constructor call in PopupMenuTest (necessary after r71618). * tests/PopupMenuTest.cpp: (WebKit::TestPopupMenuClient::itemStyle): 2010-11-09 Shinichiro Hamaji Reviewed by Dimitri Glazkov. [Chromium] display:none has no effect on