2012-11-26 Lucas Forschler Merge r134327 2012-11-12 Roger Fong Web Inspector: Fix docking behaviour on Windows. https://bugs.webkit.org/show_bug.cgi?id=101978 Reviewed by Brian Weinstein. There are a number of problems with docking behaviour on Windows. For starters, it does not ever constrain the inspector's size properly while docked. It also does not properly set the whether or not the inspector can be docked/undocked. This patch fixes both issues. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorFrontendClient::frontendLoaded): (WebInspectorFrontendClient::attachWindow): Call restoreAttachedWindowHeight so that when first loading or reattaching the inspector, we resize the inspector window properly. 2012-08-02 Lucas Forschler Merge 122676 2012-07-14 Eric Carlson Enable AVCF hardware video decoding https://bugs.webkit.org/show_bug.cgi?id=90015 Reviewed by Anders Carlsson. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::graphicsDeviceAdapter): New, return the view's graphics adapter. * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebView.cpp: (WebView::graphicsDeviceAdapter): New, return the layer tree host's graphics adapter. * WebView.h: (WebCore): (WebView): 2012-05-15 Lucas Forschler Merge 116687 2012-05-10 Anders Carlsson Rename the missing plug-in indicator to the unavailable plug-in indicator https://bugs.webkit.org/show_bug.cgi?id=86136 Reviewed by Sam Weinig. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::shouldUnavailablePluginMessageBeButton): (WebChromeClient::unavailablePluginButtonClicked): * WebCoreSupport/WebChromeClient.h: (WebChromeClient): 2012-05-04 Nate Chapin Don't require FrameLoaderClient to manufacture a commitData() call for empty documents. https://bugs.webkit.org/show_bug.cgi?id=85533 Reviewed by Alexey Proskuryakov. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::finishedLoading): 2012-04-27 Jon Lee Migrate permission functions to Notification from NotificationCenter https://bugs.webkit.org/show_bug.cgi?id=80485 Reviewed by Jian Li. * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: (WebDesktopNotificationsDelegate::requestPermission): * WebCoreSupport/WebDesktopNotificationsDelegate.h: (WebDesktopNotificationsDelegate): Add stub implementation of requestPermission. 2012-04-23 Jon Honeycutt FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more information about the form being submitted https://bugs.webkit.org/show_bug.cgi?id=84297 Reviewed by Andy Estes. * WebFrame.h: Fix function stub for new parameter. 2012-05-01 Ryosuke Niwa *Command.h files shouldn't be exported to WebKit layer https://bugs.webkit.org/show_bug.cgi?id=74778 Reviewed by Eric Seidel. * WebView.cpp: 2012-04-20 Emil A Eklund [win] Update windows platform code to use pixel snapped values https://bugs.webkit.org/show_bug.cgi?id=84283 Reviewed by Eric Seidel. * AccessibleBase.cpp: (AccessibleBase::accLocation): 2012-04-18 Vivek Galatage Web Inspector: Disabling Inspector causes build failure on Windows https://bugs.webkit.org/show_bug.cgi?id=83557 Reviewed by Pavel Feldman. The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard. This change brings all such API calls under the guard. * WebCoreSupport/WebInspectorClient.cpp: * WebInspector.cpp: * WebNodeHighlight.cpp: (WebNodeHighlight::WebNodeHighlight): (WebNodeHighlight::update): * WebNodeHighlight.h: (WebNodeHighlight): * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector): * WebView.h: (WebView): 2012-04-11 Sheriff Bot Unreviewed, rolling out r113836. http://trac.webkit.org/changeset/113836 https://bugs.webkit.org/show_bug.cgi?id=83705 Broke all the WebKit2 inspector tests (Requested by andersca on #webkit). * WebCoreSupport/WebInspectorClient.cpp: (registerWindowClass): * WebInspector.cpp: (WebInspector::setTimelineProfilingEnabled): * WebNodeHighlight.cpp: (WebNodeHighlight::WebNodeHighlight): (WebNodeHighlight::update): * WebNodeHighlight.h: (WebNodeHighlight): * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector): * WebView.h: (WebView): 2012-04-11 Vivek Galatage Web Inspector: Disabling Inspector causes build failure on Windows https://bugs.webkit.org/show_bug.cgi?id=83557 Reviewed by Pavel Feldman. The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard. This change brings all such API calls under the guard. * WebCoreSupport/WebInspectorClient.cpp: * WebInspector.cpp: * WebNodeHighlight.cpp: (WebNodeHighlight::WebNodeHighlight): (WebNodeHighlight::update): * WebNodeHighlight.h: (WebNodeHighlight): * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector): * WebView.h: (WebView): 2012-03-30 Mark Pilgrim GEOLOCATION should be implemented as Page Supplement https://bugs.webkit.org/show_bug.cgi?id=82228 Reviewed by Adam Barth. Geolocation is now a Supplement in Page so the interface has changed for setting up the page's geolocation client initially and accessing the controller later. * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): 2012-03-29 Sheriff Bot Unreviewed, rolling out r112553. http://trac.webkit.org/changeset/112553 https://bugs.webkit.org/show_bug.cgi?id=82638 It made all tests crash on Qt WK2 (Requested by Ossy_away on #webkit). * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): 2012-03-29 Caio Marcelo de Oliveira Filho HashMap<>::add should return a more descriptive object https://bugs.webkit.org/show_bug.cgi?id=71063 Reviewed by Ryosuke Niwa. Update code to use AddResult instead of a pair. * WebKitCOMAPI.cpp: (classFactory): 2012-03-29 Mark Pilgrim GEOLOCATION should be implemented as Page Supplement https://bugs.webkit.org/show_bug.cgi?id=82228 Reviewed by Adam Barth. Geolocation is now a Supplement in Page so the interface has changed for setting up the page's geolocation client initially and accessing the controller later. * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): 2012-03-28 Nate Chapin Remove dispatchDidLoadMainResource callback, since no port implements it. https://bugs.webkit.org/show_bug.cgi?id=82539 Reviewed by Alexey Proskuryakov. * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: (WebFrameLoaderClient): 2012-03-26 Adam Barth FrameLoader::shouldAllowNavigation uses Frame for context rather than Document https://bugs.webkit.org/show_bug.cgi?id=81020 Reviewed by Eric Seidel. Update call site to new function name. * WebFrame.cpp: (WebFrame::dispatchWillSubmitForm): 2012-03-22 Anders Carlsson ASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/ https://bugs.webkit.org/show_bug.cgi?id=81953 Reviewed by Sam Weinig. Update for changes to WebCore. * FullscreenVideoController.cpp: (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles): 2012-03-20 Steve Falkenburg Move WTF-related Windows project files out of JavaScriptCore https://bugs.webkit.org/show_bug.cgi?id=80680 Reviewed by Jessie Berlin. * WebKit.vcproj/WebKit.sln: 2012-03-20 Gyuyoung Kim Convert hasSpellingMarker to use Internals interface. https://bugs.webkit.org/show_bug.cgi?id=81300 Reviewed by Ryosuke Niwa. Remove hasSpellingMarker interface support, since it can support in the cross-port way through the Internals interface. * Interfaces/IWebFramePrivate.idl: 2012-03-19 Adam Barth Remove support for "magic" iframe https://bugs.webkit.org/show_bug.cgi?id=81590 Reviewed by Eric Seidel. Remove FrameLoaderClient methods that no longer exist. * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: (WebFrameLoaderClient): 2012-03-19 Anders Carlsson Fix Windows build. * FullscreenVideoController.cpp: (FullscreenVideoController::LayerClient::platformCALayerDeviceScaleFactor): 2012-03-13 Jon Lee Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS https://bugs.webkit.org/show_bug.cgi?id=80922 Reviewed by Jian Li. You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API. LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the new API. Therefore, APIs that are common between the two will have: #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to the new API, the defines will begin to split. This allows ports to decide which set of APIs to include. Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::WebChromeClient): * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: * WebCoreSupport/WebDesktopNotificationsDelegate.h: 2012-03-13 Adam Barth && Benjamin Poulain Always enable ENABLE(CLIENT_BASED_GEOLOCATION) https://bugs.webkit.org/show_bug.cgi?id=78853 Reviewed by Adam Barth. * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebCoreSupport/WebGeolocationClient.cpp: (WebGeolocationClient::lastPosition): * WebGeolocationPosition.cpp: (WebGeolocationPosition::initWithTimestamp): (core): * WebGeolocationPosition.h: (WebGeolocationPosition): (WebGeolocationPosition::impl): * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): 2012-03-12 Jessie Berlin More Windows build fixing. * MarshallingHelpers.cpp: * WebDatabaseManager.cpp: 2012-03-09 Jon Lee Rename NotificationPresenter to NotificationClient https://bugs.webkit.org/show_bug.cgi?id=80488 Reviewed by Kentaro Hara. Refactor to use renamed WebCore::NotificationClient. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::notificationPresenter): * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: (WebDesktopNotificationsDelegate::checkPermission): * WebCoreSupport/WebDesktopNotificationsDelegate.h: (WebDesktopNotificationsDelegate): 2012-03-09 Emil A Eklund Add roundedPoint to HitTestResult and change platform code to use it https://bugs.webkit.org/show_bug.cgi?id=80715 Reviewed by James Robinson. Change ports to use roundedPoint to avoid exposing subpixel types to platform code. * WebView.cpp: (WebView::handleContextMenuEvent): 2012-03-08 Steve Falkenburg Separate WTF parts of JavaScriptCoreGenerated into WTFGenerated for Windows build https://bugs.webkit.org/show_bug.cgi?id=80657 Preparation for WTF separation from JavaScriptCore. The "Generated" vcproj files on Windows are necessary so Visual Studio can calculate correct dependencies for generated files. Reviewed by Jessie Berlin. * WebKit.vcproj/WebKit.sln: Add WTFGenerated, update dependent projects. 2012-03-03 Benjamin Poulain Remove the redundant method KURL::protocolInHTTPFamily() https://bugs.webkit.org/show_bug.cgi?id=80216 Reviewed by Anders Carlsson. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidFailToStartPlugin): * WebHistory.cpp: (WebHistory::visitedURL): 2012-02-26 Hajime Morrita Move ChromeClient::showContextMenu() to ContextMenuClient https://bugs.webkit.org/show_bug.cgi?id=79427 Reviewed by Adam Barth. * WebCoreSupport/WebChromeClient.h: (WebChromeClient): 2012-02-24 Shinya Kawanaka SpellCheckRequest needs to know the context where the spellcheck happened. https://bugs.webkit.org/show_bug.cgi?id=79320 Reviewed by Hajime Morita. * WebCoreSupport/WebEditorClient.h: (WebEditorClient::requestCheckingOfString): (WebEditorClient): 2012-02-21 Ryosuke Niwa Remove the remaining uses of CSSStyleDeclaration in Editor https://bugs.webkit.org/show_bug.cgi?id=78939 Reviewed by Enrica Casucci. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::shouldApplyStyle): * WebCoreSupport/WebEditorClient.h: (WebEditorClient): 2012-02-22 Ryosuke Niwa Remove the remaining uses of CSSStyleDeclaration in Editor https://bugs.webkit.org/show_bug.cgi?id=78939 Reviewed by Enrica Casucci. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::shouldApplyStyle): * WebCoreSupport/WebEditorClient.h: (WebEditorClient): 2012-02-17 Kalev Lember Remove unused parameters from WTF threading API https://bugs.webkit.org/show_bug.cgi?id=78389 Reviewed by Adam Roben. waitForThreadCompletion() had an out param 'void **result' to get the 'void *' returned by ThreadFunction. However, the implementation in ThreadingWin.cpp ignored the out param, not filling it in. This had led to a situation where none of the client code made use of the param and just ignored it. To clean this up, the patch changes the signature of ThreadFunction to return void instead of void* and drops the the unused 'void **result' parameter from waitForThreadCompletion. Also, all client code is updated for the API change. As mentioned in https://bugs.webkit.org/show_bug.cgi?id=78389 , even though the change only affects internal API, Safari is using it directly and we'll need to keep the old versions around for ABI compatibility. For this, the patch adds compatibility wrappers with the old ABI. * WebKit.vcproj/WebKit_Cairo.def: Add the new functions. * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto. 2012-02-15 Sadrul Habib Chowdhury Notify ChromeClient when touch-event handlers are installed/removed. https://bugs.webkit.org/show_bug.cgi?id=77440 Reviewed by Darin Fisher and Ryosuke Niwa. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::numTouchEventHandlersChanged): 2012-02-14 Alexey Proskuryakov [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets https://bugs.webkit.org/show_bug.cgi?id=78541 Reviewed by Kent Tamura. * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default value of the preference 2012-02-11 Nikolas Zimmermann Convert svg/animations to use SMIL methods for driving the timeline https://bugs.webkit.org/show_bug.cgi?id=78422 Reviewed by Dirk Schulze. Remove SVG animation sampling functionality provided for DRT, which no longer uses it. Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: * WebFrame.h: 2012-02-13 Andy Estes Fix the Windows build. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createPasteboardStrategy): * WebCoreSupport/WebPlatformStrategies.h: (WebPlatformStrategies): 2012-02-12 Andy Estes [Windows] Add API to enable inverted color drawing on a WebView https://bugs.webkit.org/show_bug.cgi?id=77382 Reviewed by Adam Roben. Add a new private WebPreference key called "WebKitShouldInvertColors" and add private cover methods to get and set the preference. When this preference changes on a WebPreference object, all WebViews listening to that object will repaint to reflect the new value. * Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors() cover methods for WebKitShouldInvertColorsPreferenceKey. * WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey. * WebPreferences.cpp: (WebPreferences::shouldInvertColors): (WebPreferences::setShouldInvertColors): * WebPreferences.h: (WebPreferences): * WebView.cpp: (WebView::setShouldInvertColors): If m_shouldInvertColors changes, update the value on the WebView and in m_layerTreeHost, then repaint the view. (WebView::notifyPreferencesChanged): (WebView::setAcceleratedCompositing): When creating a new layer tree host, tell it whether it should be inverting colors. * WebView.h: 2012-02-07 MORITA Hajime Replacement text should be available from the marker. https://bugs.webkit.org/show_bug.cgi?id=77934 Reviewed by Kent Tamura. * WebKit.vcproj/WebKit_Cairo.def: * WebKit.vcproj/WebKit_Cairo_debug.def: 2012-02-02 Jon Lee Clear shown notifications when context is no longer active https://bugs.webkit.org/show_bug.cgi?id=77363 Reviewed by Darin Adler. * WebCoreSupport/WebDesktopNotificationsDelegate.h: (WebDesktopNotificationsDelegate): Add previously missing virtual functions. * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: (WebDesktopNotificationsDelegate::notificationControllerDestroyed): (WebDesktopNotificationsDelegate::cancelRequestsForPermission): 2012-02-01 Anders Carlsson Another attempt to fix the Windows build. * FullscreenVideoController.cpp: (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles): 2012-01-26 Andy Estes [Windows] Optionally invert colors when drawing to a WebView's backing store. https://bugs.webkit.org/show_bug.cgi?id=77168 Reviewed by Sam Weinig. * WebView.cpp: (WebView::WebView): Initialize m_shouldInvertColors to false. (WebView::paintIntoBackingStore): If m_shouldInvertColors is true, draw an opaque white quad using the CompositeDifference blend mode. This blend operation instructs CoreGraphics to take the difference between the source pixel (white) and the background pixel, resulting in an inverted pixel. * WebView.h: Define m_shouldInvertColors. 2012-01-23 Simon Fraser Show layer borders for scrollbar layers https://bugs.webkit.org/show_bug.cgi?id=76888 Reviewed by Beth Dakin. Update for new signature of GraphicsLayerClient::showDebugBorders() and GraphicsLayerClient::showRepaintCounter(). * WebView.cpp: (WebView::showDebugBorders): (WebView::showRepaintCounter): * WebView.h: 2012-01-23 David Levin [windows] Convert usages of GetDC to HWndDC Part 2. https://bugs.webkit.org/show_bug.cgi?id=76750 Reviewed by Adam Roben. * FullscreenVideoController.cpp: (createCompatibleDCForWindow): Moved out the code which creates a DC for a window to keep the same scope for the DC lifetime. (FullscreenVideoController::draw): Switch to using OwnPtr since createCompatibleDCForWindow returns a PassOwnPtr. * WebNodeHighlight.cpp: (WebNodeHighlight::update): Cleaned up leaks from calling GetDC without release. Note that there is a potential leak of hdc that previously existed and still does in an early exit scenario. (This could be easily fixed by using OwnPtr but I was trying to keep this patch focused.) * WebView.cpp: (WebView::scrollBackingStore): Typical conversion. (WebView::updateBackingStore): Reduced the scope of windowDC to be right where it is being used. (WebView::performLayeredWindowUpdate): Typical conversion. (WebView::paintIntoBackingStore): Ditto. 2012-01-23 David Levin [windows] Convert usages of GetDC to HWndDC Part 1. https://bugs.webkit.org/show_bug.cgi?id=76744 Reviewed by Adam Roben. * WebIconDatabase.cpp: (createDIB): Changed GetDC to HWndDC and removed ReleaseDC. 2012-01-07 Andreas Kling Windows build fix. * DOMHTMLClasses.cpp: (DOMHTMLDocument::forms): (DOMHTMLSelectElement::options): 2012-01-06 Jessie Berlin Windows build fix. * Interfaces/IWebViewPrivate.idl: 2012-01-05 Adam Roben Add WebKitTestRunnerLauncher to WebKit.sln. It builds just after WebKitTestRunner. Part of NRWT fails to launch Apple's Windows port of DumpRenderTree/WebKitTestRunner Reviewed by Steve Falkenburg. * WebKit.vcproj/WebKit.sln: 2012-01-05 Adam Roben Add DumpRenderTreeLauncher to WebKit.sln. It builds just after DumpRenderTree. Part of NRWT fails to launch Apple's Windows port of DumpRenderTree/WebKitTestRunner Reviewed by Steve Falkenburg. * WebKit.vcproj/WebKit.sln: 2012-01-04 Adam Roben Add ImageDiffLauncher to WebKit.sln It builds just after ImageDiff. Part of ImageDiff.exe can't be run without first munging PATH Reviewed by Anders Carlsson. * WebKit.vcproj/WebKit.sln: 2012-01-04 Adam Roben Add MiniBrowserLauncher to WebKit.sln It builds just after MiniBrowser. Part of MiniBrowser fails to launch when double-clicked Reviewed by Anders Carlsson. * WebKit.vcproj/WebKit.sln: Added MiniBrowserLauncher. 2012-01-04 Adam Roben Add WinLauncherLauncher to WebKit.sln It builds just after WinLauncher. Part of WinLauncher fails to launch when double-clicked Reviewed by Anders Carlsson. * WebKit.vcproj/WebKit.sln: Added WinLauncherLauncher. 2011-12-21 Jessie Berlin Expose to Windows the way to allow a scheme access to Local Storage and Databases while Private Browsing is enabled. https://bugs.webkit.org/show_bug.cgi?id=75056 Reviewed by Sam Weinig. Add the Windows WebKit API that corresponds to the Mac one added in r99439. * WebView.cpp: (WebView::registerURLSchemeAsSecure): (WebView::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing): (WebView::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing): * WebView.h: 2011-12-20 Pavel Feldman Web Inspector: reproducible crash after closing web inspector and browser window (iCab) https://bugs.webkit.org/show_bug.cgi?id=74255 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::~WebInspectorClient): (WebInspectorFrontendClient::destroyInspectorView): * WebCoreSupport/WebInspectorClient.h: 2011-12-19 Sam Weinig More PlatformEvent cleanup https://bugs.webkit.org/show_bug.cgi?id=74831 Reviewed by Dan Bernstein. * WebView.cpp: (WebView::handleMouseEvent): Update to use new names, access style. 2011-12-16 Ryosuke Niwa Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step https://bugs.webkit.org/show_bug.cgi?id=74748 Reviewed by Eric Seidel. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::registerUndoStep): (WebEditorClient::registerRedoStep): * WebCoreSupport/WebEditorClient.h: 2011-12-16 Sam Weinig Give PlatformEvents a base class https://bugs.webkit.org/show_bug.cgi?id=74685 Reviewed by Anders Carlsson. Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent and PlatformGestureEvent and move Type enumeration and modifiers down to it. * AccessibleBase.cpp: (AccessibleBase::get_accKeyboardShortcut): * WebDropSource.cpp: (generateMouseEvent): * WebView.cpp: (WebView::keyUp): (WebView::handleEditingKeyboardEvent): (WebView::keyDown): (WebView::keyPress): 2011-12-16 Ryosuke Niwa Only EditCommandComposition should implement unapply and reapply https://bugs.webkit.org/show_bug.cgi?id=74490 Reviewed by Eric Seidel. * WebCoreSupport/WebEditorClient.cpp: (WebEditorUndoCommand::WebEditorUndoCommand): (WebEditorUndoCommand::execute): (WebEditorClient::registerCommandForUndo): (WebEditorClient::registerCommandForRedo): * WebCoreSupport/WebEditorClient.h: 2011-12-14 Jing Zhao Opening two popup menus by dispatchEvent() makes problems. https://bugs.webkit.org/show_bug.cgi?id=73304 Reviewed by Kent Tamura. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::hasOpenedPopup): Not implemented. * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup(). 2011-12-14 Sam Weinig Remove whitespace from InheritedPropertySheets attributes in vsprops files to appease the Visual Studio project migrator. Reviewed by Adam Roben. * WebKit.vcproj/InterfacesDebug.vsprops: * WebKit.vcproj/InterfacesDebugAll.vsprops: * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: * WebKit.vcproj/InterfacesProduction.vsprops: * WebKit.vcproj/InterfacesRelease.vsprops: * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: * WebKit.vcproj/WebKitGUIDDebug.vsprops: * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: * WebKit.vcproj/WebKitGUIDProduction.vsprops: * WebKit.vcproj/WebKitGUIDRelease.vsprops: * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: * WebKit.vcproj/WebKitLibDebug.vsprops: * WebKit.vcproj/WebKitLibDebugAll.vsprops: * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: * WebKit.vcproj/WebKitLibProduction.vsprops: * WebKit.vcproj/WebKitLibRelease.vsprops: * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: 2011-12-07 Mary Wu Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline https://bugs.webkit.org/show_bug.cgi?id=73986 Reviewed by Kenneth Rohde Christiansen. * WebView.cpp: (WebView::initWithFrame): 2011-12-05 Eric Carlson WebKit/mac part of: Add WebKit preferences for text track settings https://bugs.webkit.org/show_bug.cgi?id=73721 Reviewed by John Sullivan. * Interfaces/IWebPreferences.idl: Declare getters and setters for new properties. * WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions, and shouldDisplayTextDescriptions properties. * WebPreferences.cpp: (WebPreferences::setShouldDisplaySubtitles): Added. (WebPreferences::shouldDisplaySubtitles): Ditto. (WebPreferences::setShouldDisplayCaptions): Ditto. (WebPreferences::shouldDisplayCaptions): Ditto. (WebPreferences::setShouldDisplayTextDescriptions): Ditto. (WebPreferences::shouldDisplayTextDescriptions): Ditto. * WebPreferences.h: Declare new methods. * WebView.cpp: (WebView::notifyPreferencesChanged): Updates WebCore settings from WebKit prefs. 2011-12-02 Steve Falkenburg Reviewed by Darin Adler. Changes to localStorageDatabasePath don't have any effect on Windows https://bugs.webkit.org/show_bug.cgi?id=73606 * WebView.cpp: (WebView::notifyPreferencesChanged): Propagate local storage path change to m_page's settings. 2011-11-30 Alexey Proskuryakov Remove an unneeded argument from FrameLoaderClient::download https://bugs.webkit.org/show_bug.cgi?id=73486 Reviewed by Andreas Kling. * WebFrame.cpp: (WebFrame::download): * WebFrame.h: Updated for the change. 2011-11-26 Pavel Feldman Web Inspector: remove disconnectFromBackend from the protocol. https://bugs.webkit.org/show_bug.cgi?id=73127 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::inspectorDestroyed): (WebInspectorClient::closeInspectorFrontend): * WebCoreSupport/WebInspectorClient.h: 2011-11-26 Sheriff Bot Unreviewed, rolling out r101193. http://trac.webkit.org/changeset/101193 https://bugs.webkit.org/show_bug.cgi?id=73158 Breaks Windows and Qt minimal. (Requested by pfeldman on #webkit). * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::inspectorDestroyed): (WebInspectorFrontendClient::disconnectFromBackend): * WebCoreSupport/WebInspectorClient.h: 2011-11-26 Pavel Feldman Web Inspector: remove disconnectFromBackend from the protocol. https://bugs.webkit.org/show_bug.cgi?id=73127 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::inspectorDestroyed): (WebInspectorClient::closeInspectorFrontend): * WebCoreSupport/WebInspectorClient.h: 2011-11-22 Pavel Feldman Web Inspector: remove Inspector::bringToFront from the protocol. https://bugs.webkit.org/show_bug.cgi?id=72937 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::bringFrontendToFront): * WebCoreSupport/WebInspectorClient.h: 2011-11-21 Pavel Feldman Not reviewed: an attempt to fix windows build. * WebInspector.cpp: (WebInspector::isJavaScriptProfilingEnabled): (WebInspector::setJavaScriptProfilingEnabled): 2011-06-20 Pavel Feldman Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu. https://bugs.webkit.org/show_bug.cgi?id=62985 Both: inspector protocol and WebCore/InspectorController have a number of unnecessary methods for plumbing the menu action handlers through the WebKit and WebCore. I intend to remove this menu support from the protocol and WebCore/InspectorController API. I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port. WebKit/win and WebKit2 to follow. Reviewed by Yury Semikhatsky. * WebInspector.cpp: (WebInspector::createInstance): (WebInspector::WebInspector): (WebInspector::webViewClosed): (WebInspector::showConsole): (WebInspector::isDebuggingJavaScript): (WebInspector::toggleDebuggingJavaScript): (WebInspector::isProfilingJavaScript): (WebInspector::toggleProfilingJavaScript): (WebInspector::isJavaScriptProfilingEnabled): (WebInspector::setJavaScriptProfilingEnabled): (WebInspector::isTimelineProfilingEnabled): (WebInspector::setTimelineProfilingEnabled): * WebInspector.h: * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector): * WebView.h: 2011-10-17 Antonio Gomes Pass a Frame* parameter in EditorClient::respondToChangedSelection https://bugs.webkit.org/show_bug.cgi?id=70248 Reviewed by Ryosuke Niwa. * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter. (WebEditorClient::respondToChangedSelection): * WebCoreSupport/WebEditorClient.h: 2011-11-15 Jochen Eisinger Rename ReferrerPolicy to clarify its meaning https://bugs.webkit.org/show_bug.cgi?id=72420 Reviewed by Nate Chapin. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): 2011-11-15 Anders Carlsson HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen https://bugs.webkit.org/show_bug.cgi?id=72397 Reviewed by Dan Bernstein. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::rootViewToScreen): (WebChromeClient::screenToRootView): * WebCoreSupport/WebChromeClient.h: 2011-11-14 Anders Carlsson HostWindow invalidation functions should use root view coordinates https://bugs.webkit.org/show_bug.cgi?id=72338 Reviewed by Dan Bernstein. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::invalidateRootView): (WebChromeClient::invalidateContentsAndRootView): * WebCoreSupport/WebChromeClient.h: 2011-11-07 Adam Barth Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp https://bugs.webkit.org/show_bug.cgi?id=71755 Reviewed by Eric Seidel. * WebView.cpp: (WebView::addOriginAccessWhitelistEntry): (WebView::removeOriginAccessWhitelistEntry): (WebView::resetOriginAccessWhitelists): 2011-11-07 Adam Barth Move DomainRelaxationForbidden scheme registry to SchemeRegistry https://bugs.webkit.org/show_bug.cgi?id=71750 Reviewed by Eric Seidel. * WebView.cpp: (WebView::setDomainRelaxationForbiddenForURLScheme): 2011-11-07 Beth Dakin https://bugs.webkit.org/show_bug.cgi?id=71490 Support uiStateTransitionProgress for scrollbars -and corresponding- Reviewed by Sam Weinig. Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter. * WebScrollBar.cpp: (WebScrollBar::handleMouseEvent): 2011-11-02 Darin Adler Change remaining callers of releaseRef to call leakRef https://bugs.webkit.org/show_bug.cgi?id=71422 Reviewed by Darin Fisher. * WebCache.cpp: (WebCache::statistics): * WebDatabaseManager.cpp: (WebDatabaseManager::origins): (WebDatabaseManager::databasesWithOrigin): * WebHistoryItem.cpp: (WebHistoryItem::redirectURLs): * WebKitClassFactory.cpp: (leakRefFromCreateInstance): (WebKitClassFactory::CreateInstance): * WebScriptWorld.cpp: (WebScriptWorld::standardWorld): Use leakRef. 2011-11-02 Jon Lee Expand DragController to provide more information about the dragging session https://bugs.webkit.org/show_bug.cgi?id=71324 Reviewed by Darin Adler. * WebView.cpp: (WebView::DragEnter): Minor refactoring because operation is stored in new DragSession struct. (WebView::DragOver): Ditto. 2011-11-02 Tom Sepez XSSAuditor is silent https://bugs.webkit.org/show_bug.cgi?id=70973 Reviewed by Adam Barth. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::didDetectXSS): * WebCoreSupport/WebFrameLoaderClient.h: 2011-10-28 Jochen Eisinger Rename a number of methods mentioning JavaScript to just Script instead https://bugs.webkit.org/show_bug.cgi?id=71105 Reviewed by Adam Barth. * WebFrame.cpp: (WebFrame::dispatchDidClearWindowObjectInWorld): * WebView.cpp: (WebView::notifyPreferencesChanged): 2011-10-24 Geoffrey Garen Build fix: removed some cases of threadsafeCopy() that I missed in my previous patch. * WebDatabaseManager.cpp: (DidModifyOriginData::dispatchToMainThread): * WebDownloadCFNet.cpp: (WebDownload::initToResumeWithBundle): * WebIconDatabase.cpp: (WebIconDatabase::didImportIconURLForPageURL): 2011-10-24 Ryosuke Niwa threadsafeCopy has been renamed to isolatedCopy. * WebDatabaseManager.cpp: (DidModifyOriginData::dispatchToMainThread): 2011-10-24 Adam Barth Attempt to fix Windows build by updating to the new interface. * DOMEventsClasses.cpp: (DOMEvent::createInstance): 2011-10-18 Adam Barth Always enable ENABLE(XPATH) https://bugs.webkit.org/show_bug.cgi?id=70217 Reviewed by Eric Seidel. * Interfaces/DOMWindow.idl: 2011-10-14 Julien Chaffraix Remove layerX / layerY from the Windows API https://bugs.webkit.org/show_bug.cgi?id=70051 Reviewed by Darin Adler. Renamed layerX to unused1 and layerY to unused2 to keep the binary compatibility. * DOMEventsClasses.cpp: (DOMUIEvent::unused1): (DOMUIEvent::unused2): * DOMEventsClasses.h: (DOMKeyboardEvent::unused1): (DOMKeyboardEvent::unused2): (DOMMouseEvent::unused1): (DOMMouseEvent::unused2): (DOMWheelEvent::unused1): (DOMWheelEvent::unused2): * Interfaces/DOMEvents.idl: 2011-10-11 Simon Fraser Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms https://bugs.webkit.org/show_bug.cgi?id=68134 Reviewed by Darin Adler. Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled. Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method that reads the setting, and returns the mock theme if set. All callers now use theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build. * WebScrollBar.cpp: (WebScrollBar::requestedWidth): (WebScrollBar::requestedHeight): * WebView.cpp: (WebView::WebViewWndProc): 2011-10-03 Anders Carlsson Remove custom scrollbar painting hooks https://bugs.webkit.org/show_bug.cgi?id=69163 Reviewed by Alexey Proskuryakov. Remove now unused WebPreferences and ChromeClient overrides. * Interfaces/IWebPreferences.idl: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::unused3): (WebPreferences::unused4): * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): 2011-09-23 Adam Roben Remove WebKitAPITest WebKit part of WebKitAPITest and TestWebKitAPI have duplicate functionality (and names!) Reviewed by Anders Carlsson. * WebKit.vcproj/WebKit.sln: Removed WebKitAPITest.vcproj. Changed WebKitLauncherWin, which formerly depended on WebKitAPITest, to now depend on DumpRenderTree, which WebKitAPITest depended on. 2011-09-24 Adam Barth Always enable ENABLE(OFFLINE_WEB_APPLICATIONS) https://bugs.webkit.org/show_bug.cgi?id=68767 Reviewed by Eric Seidel. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::reachedApplicationCacheOriginQuota): * WebCoreSupport/WebChromeClient.h: 2011-09-22 Adam Roben Remove FindSafari from all our .sln files It isn't used anymore, so there's no point in building it. Part of Remove FindSafari Reviewed by Steve Falkenburg. * WebKit.vcproj/WebKit.sln: Also relinearized the build order while I was at it. 2011-09-22 Adam Roben Add testRegExp.vcproj to WebKit.sln Fixes Windows bots don't build testRegExp.vcproj Reviewed by Brian Weinstein. * WebKit.vcproj/WebKit.sln: Added testRegExp. Made it build just after jsc, just like it does when built as part of JavaScriptCore.sln. 2011-09-21 Steve Falkenburg Branch builds don't launch on Windows when run against trunk WebKit https://bugs.webkit.org/show_bug.cgi?id=68546 Reviewed by Darin Adler. * Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily in IDL for binary compatibility between branch and trunk. 2011-09-21 Andras Becsi [Qt] Remove Qt specific code from css/SelectorChecker.cpp https://bugs.webkit.org/show_bug.cgi?id=67702 Reviewed by Csaba Osztrogonác. * WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype. (WebPlatformStrategies::isLinkVisited): * WebCoreSupport/WebPlatformStrategies.h: Ditto. 2011-09-17 Mihai Parparita FrameLoaderClient BackForwardList-related methods are unsued https://bugs.webkit.org/show_bug.cgi?id=68293 Reviewed by Darin Adler. Remove FrameLoaderClient methods that were added by r51629, since only the old (since-deleted) Android port needed them. * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: 2011-09-15 Adam Barth Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE) https://bugs.webkit.org/show_bug.cgi?id=68205 Reviewed by Eric Seidel. * ForEachCoClass.h: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebDatabaseManager.cpp: * WebDatabaseManager.h: * WebSecurityOrigin.cpp: (WebSecurityOrigin::usage): (WebSecurityOrigin::quota): (WebSecurityOrigin::setQuota): * WebView.cpp: (WebView::initWithFrame): (WebView::notifyPreferencesChanged): 2011-09-15 Kentaro Hara A single line must not be split into two pages. https://bugs.webkit.org/show_bug.cgi?id=65005 Reviewed by David Hyatt. When the document width of a page is overflowed, the last line of the page can be split into the next page. This is the regression caused by r88737. r88737 tried to fix rounding errors in rendering calculations by expanding and shrinking a page using one common method, resizePageRectsKeepingRatio(), but overlooked the case where a document width gets overflowed. Test: printing/single-line-must-not-be-split-into-two-pages.html * WebFrame.cpp: (WebFrame::setPrinting): Passes an original page size to setPrinting(). (WebFrame::setInPrintingMode): Ditto. * WebFrame.h: 2011-09-06 Ryosuke Niwa Rename confirmCompositionWithoutDisturbingSelection to cancelComposition https://bugs.webkit.org/show_bug.cgi?id=67569 Reviewed by Antonio Gomes. * WebView.cpp: (WebView::resetIME): 2011-08-29 Alexey Proskuryakov DumpRenderTree should begin each test with an empty cookie store https://bugs.webkit.org/show_bug.cgi?id=63545 Reviewed by Darin Adler. * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): (WebCookieManager::setCookieStorage): Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage() returns an unretained reference, which we cannot provide any more, but it should not be a practical issue. * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated to use currentCFHTTPCookieStorage() instead of currentCookieStorage(). 2011-08-30 Kaustubh Atrawalkar The unused ScrollView* argument can and should be removed from scrollRectIntoView. https://bugs.webkit.org/show_bug.cgi?id=67117 Reviewed by Darin Adler. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::scrollRectIntoView): 2011-08-29 Ryosuke Niwa Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement https://bugs.webkit.org/show_bug.cgi?id=67152 Reviewed by Darin Adler. Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl to HTMLTextFormControlElement. * DOMHTMLClasses.cpp: (DOMHTMLInputElement::isUserEdited): (DOMHTMLTextAreaElement::isUserEdited): 2011-08-29 Sheriff Bot Unreviewed, rolling out r93987, r93992, r93995, r93998, and r93999. http://trac.webkit.org/changeset/93987 http://trac.webkit.org/changeset/93992 http://trac.webkit.org/changeset/93995 http://trac.webkit.org/changeset/93998 http://trac.webkit.org/changeset/93999 https://bugs.webkit.org/show_bug.cgi?id=67147 Many failing tests (Requested by ap on #webkit). * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): (WebCookieManager::setCookieStorage): * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): 2011-08-29 Alexey Proskuryakov Windows build fix. * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated for new function name and signature: currentCFHTTPCookieStorage(). 2011-08-26 Alexey Proskuryakov DumpRenderTree should begin each test with an empty cookie store https://bugs.webkit.org/show_bug.cgi?id=63545 Reviewed by Darin Adler. * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): (WebCookieManager::setCookieStorage): Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage() returns an unretained reference, which we cannot provide any more, but it should not be a practical issue. 2011-08-17 Adam Roben Make WebCore keep track of the current device scale factor Fixes WebCore requires every WebKit port to keep track of the device scale factor Reviewed by Darin Adler. * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: Removed deviceScaleFactor. 2011-08-15 Dmitry Titov FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters https://bugs.webkit.org/show_bug.cgi?id=66165 Reviewed by Darin Fisher. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::transferLoadingResourceFromPage): * WebCoreSupport/WebFrameLoaderClient.h: 2011-08-15 Adam Roben Touch a file to trigger a Windows build I'm trying to ferret out some issues with our Debug builder. * WebView.cpp: Sorted #includes. 2011-08-10 Adam Roben Clear up scale factor terminology WebKit by and large deals with two scale factors: one intrinsic to the device on which the software is running, and one that is per-Page and can be controlled via API calls. This patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the code use those names. It should introduce no behavior changes. Fixes WebKit uses multiple conflicting names to refer to the device scale factor Reviewed by Simon Fraser. * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: 2011-08-13 Dan Bernstein Changed the value of WebKitShowsToolTipOverTruncatedTextPreferenceKey to match the naming everywhere else. Reviewed by Joseph Pecoraro. * WebPreferenceKeysPrivate.h: 2011-08-13 Dan Bernstein Build fix. * WebView.cpp: (WebView::notifyPreferencesChanged): 2011-08-12 Dan Bernstein Add an option to automatically show tooltips (with the full text) over truncated text https://bugs.webkit.org/show_bug.cgi?id=66178 Reviewed by Simon Fraser. * Interfaces/IWebPreferencesPrivate.idl: Added accessors. * WebPreferenceKeysPrivate.h: Defined a preference key. * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Added a default value of false for the ShowsToolTipOverTruncatedText preference. (WebPreferences::showsToolTipOverTruncatedText): Added this getter. (WebPreferences::setShowsToolTipOverTruncatedText): Added this setter. * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): Added call to Settings::setShowsToolTipOverTruncatedText(). 2011-08-05 Brent Fulgham WebView::performLayeredWindowUpdate() crashes with NULL pointer when using layered window updates. https://bugs.webkit.org/show_bug.cgi?id=60618 Reviewed by Adam Roben. During resize operations, the backing store will be destroyed if the window's size (either height or width) is set to zero. The bug was identified when a user first resized a WebView to zero dimensions, then attempted to perform a MoveWindow. The paint message triggered by the MoveWindow attempted to use the layered window update logic, which encountered the nulled backing store. * WebView.cpp: (WebView::performLayeredWindowUpdate): Add an early return when there is no backing store to blend with. 2011-08-05 Anders Carlsson Remove PluginHalter https://bugs.webkit.org/show_bug.cgi?id=65729 Reviewed by Darin Adler. Remove plug-in halter and associated classes. * Interfaces/IWebPluginHalterDelegate.idl: Removed. * Interfaces/IWebPreferencesPrivate.idl: * Interfaces/IWebViewPrivate.idl: * Interfaces/WebKit.idl: * WebCoreSupport/WebPluginHalterClient.cpp: Removed. * WebCoreSupport/WebPluginHalterClient.h: Removed. * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.vcproj: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): * WebPreferences.h: * WebView.cpp: (WebView::close): (WebView::initWithFrame): (WebView::notifyPreferencesChanged): (WebView::unused1): (WebView::unused2): (WebView::unused3): (WebView::unused4): (WebView::unused5): * WebView.h: 2011-08-04 Jeff Miller Add support for setting and getting whether AVFoundation is enabled to IWebPreferences https://bugs.webkit.org/show_bug.cgi?id=65718 Reviewed by Adam Roben. * Interfaces/IWebPreferences.idl: Added setAVFoundationEnabled() and avFoundationEnabled(). * WebPreferenceKeysPrivate.h: Added WebKitAVFoundationEnabledPreferenceKey. * WebPreferences.cpp: (WebPreferences::avFoundationEnabled): Added. (WebPreferences::setAVFoundationEnabled): Added. * WebPreferences.h: Added setAVFoundationEnabled() and avFoundationEnabled(). * WebView.cpp: (WebView::notifyPreferencesChanged): Keep settings for AVFoundation being enabled in sync. 2011-08-03 Kent Tamura [Windows] Fix build without ENABLE_VIDEO. * WebView.cpp: (WebView::enterFullscreenForNode): 2011-08-03 Kent Tamura Fix incorrect checks for HTMLMediaElement https://bugs.webkit.org/show_bug.cgi?id=65590 Reviewed by Dimitri Glazkov.