1. 24 Feb, 2011 2 commits
  2. 17 Feb, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-02-17 W. James MacLean <wjmaclean@chromium.org> · 1fba36e2
      commit-queue@webkit.org authored
              Reviewed by James Robinson.
      
              [chromium] Add command-line flag to enable composite to offscreen texture.
              https://bugs.webkit.org/show_bug.cgi?id=52311
      
              Add plumbing to allow command-line switch to enable offscreen compositing. Function
              LayerRendererChromium::copyOffscreenTextureToDisplay used for now to mimic
              normal renderer operation.
      
              Existing functionality not changed; offscreen compositing will be tested via GPU test framework.
      
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::setRootLayer):
              (WebCore::LayerRendererChromium::setCompositeOffscreen):
              (WebCore::LayerRendererChromium::copyOffscreenTextureToDisplay):
              (WebCore::LayerRendererChromium::useRenderSurface):
              (WebCore::LayerRendererChromium::setScissorToRect):
              * platform/graphics/chromium/LayerRendererChromium.h:
              (WebCore::LayerRendererChromium::isCompositingOffscreen):
      2011-02-17  W. James MacLean  <wjmaclean@chromium.org>
      
              Reviewed by James Robinson.
      
              [chromium] Add command-line flag to enable composite to offscreen texture.
              https://bugs.webkit.org/show_bug.cgi?id=52311
      
              Add plumbing to allow command-line switch to enable offscreen compositing. Function
              LayerRendererChromium::copyOffscreenTextureToDisplay used for now to mimic
              normal renderer operation.
      
              * public/WebSettings.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::WebSettingsImpl):
              (WebKit::WebSettingsImpl::setCompositeToTextureEnabled):
              * src/WebSettingsImpl.h:
              (WebKit::WebSettingsImpl::compositeToTextureEnabled):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::doComposite):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1fba36e2
  3. 15 Feb, 2011 1 commit
    • kbr@google.com's avatar
      2011-02-15 Kenneth Russell <kbr@google.com> · 7bf42ee7
      kbr@google.com authored
              Reviewed by Darin Fisher.
      
              Allow controlling minimum DOMTimer interval on a per-page basis
              https://bugs.webkit.org/show_bug.cgi?id=54312
      
              Implemented new method setMinimumTimerInterval in
              LayoutTestController for all ports.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setMinimumTimerIntervalCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setMinimumTimerInterval):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::reset):
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setMinimumTimerInterval):
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetWebViewToConsistentStateBeforeTesting):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setMinimumTimerInterval):
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::resetSettings):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::setMinimumTimerInterval):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (resetWebViewToConsistentStateBeforeTesting):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setMinimumTimerInterval):
      2011-02-15  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Allow controlling minimum DOMTimer interval on a per-page basis
              https://bugs.webkit.org/show_bug.cgi?id=54312
      
              * fast/dom/timer-increase-min-interval-and-reset-part-1-expected.txt: Added.
              * fast/dom/timer-increase-min-interval-and-reset-part-1.html: Added.
              * fast/dom/timer-increase-min-interval-and-reset-part-2-expected.txt: Added.
              * fast/dom/timer-increase-min-interval-and-reset-part-2.html: Added.
                - Chained tests (the assumption is that the run-webkit-tests
                  harness will run them sequentially, which is a reasonably good
                  assumption) which verify that the minimum timer interval is
                  reset between tests.
              * fast/dom/timer-increase-min-interval-expected.txt: Added.
              * fast/dom/timer-increase-min-interval.html: Added.
                - Verifies that increasing the minimum timer interval causes
                  fast timers to run slowly.
              * fast/dom/timer-increase-then-decrease-min-interval-expected.txt: Added.
              * fast/dom/timer-increase-then-decrease-min-interval.html: Added.
                - Verifies that decreasing the minimum timer interval causes
                  previously slowed-down timers to be reevaluated immediately.
      2011-02-15  Kenneth Russell  <kbr@google.com>
      
              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  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Allow controlling minimum DOMTimer interval on a per-page basis
              https://bugs.webkit.org/show_bug.cgi?id=54312
      
              Added needed methods to implement LayoutTestController's new
              setMinimumTimerInterval method.
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (DumpRenderTreeSupportQt::defaultMinimumTimerInterval):
              (DumpRenderTreeSupportQt::setMinimumTimerInterval):
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      2011-02-15  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Allow controlling minimum DOMTimer interval on a per-page basis
              https://bugs.webkit.org/show_bug.cgi?id=54312
      
              Added needed methods to implement LayoutTestController's new
              setMinimumTimerInterval method.
      
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              (DumpRenderTreeSupportGtk::defaultMinimumTimerInterval):
              (DumpRenderTreeSupportGtk::setMinimumTimerInterval):
              * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      2011-02-15  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Allow controlling minimum DOMTimer interval on a per-page basis
              https://bugs.webkit.org/show_bug.cgi?id=54312
      
              Added needed methods to implement LayoutTestController's new
              setMinimumTimerInterval method. Includes whitespace-only change to
              WebKit.idl to trigger proper rebuild on bots; will be removed in
              subsequent checkin.
      
              * Interfaces/IWebViewPrivate.idl:
              * Interfaces/WebKit.idl:
              * WebView.cpp:
              (WebView::initWithFrame):
              (WebView::defaultMinimumTimerInterval):
              (WebView::setMinimumTimerInterval):
              * WebView.h:
      2011-02-15  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Allow controlling minimum DOMTimer interval on a per-page basis
              https://bugs.webkit.org/show_bug.cgi?id=54312
      
              Added needed methods to implement LayoutTestController's new
              setMinimumTimerInterval method.
      
              * WebView/WebView.mm:
              (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
              (+[WebView _defaultMinimumTimerInterval]):
              (-[WebView _setMinimumTimerInterval:]):
              * WebView/WebViewPrivate.h:
      2011-02-15  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Allow controlling minimum DOMTimer interval on a per-page basis
              https://bugs.webkit.org/show_bug.cgi?id=54312
      
              Renamed DOMTimer::minTimerInterval and setMinTimerInterval to
              defaultMinTimerInterval and setDefaultMinTimerInterval, made them
              private and exposed them via Settings::defaultMinDOMTimerInterval
              and setDefaultMinDOMTimerInterval. Added new
              Settings::setMinDOMTimerInterval and minDOMTimerInterval.
      
              The storage for the minimum timer interval currently lives in the
              Page, though this could be moved to the Settings object if
              desired. The accessor methods on the Page are private and exposed
              to Settings by making Settings a friend, so the abstraction
              barrier is clear at the API level.
      
              Adjusting the interval both upward and downward may cause the fire
              times of the active timers on the page to be adjusted, if they
              would be affected by the clamping value. This is needed to reduce
              latency when bringing a tab to the foreground, in particular if
              the minimum timer interval was decreased from a very high value to
              a very low value.
      
              A new method, setMinimumTimerInterval, has been added to
              LayoutTestController, implemented in all ports of DumpRenderTree,
              and used in new layout tests.
      
              Ideally changing the page's minimum timer interval would affect
              dedicated workers, but this is too much to do in an initial patch,
              so a FIXME has been added.
      
              Tested with:
                - The new layout tests on the WebKit Mac and Chromium (Mac,
                  Linux) DRT ports.
                - Hooked up the new API in Chromium and ran some simple manual
                  tests.
      
              Tests: fast/dom/timer-increase-min-interval-and-reset-part-1.html
                     fast/dom/timer-increase-min-interval-and-reset-part-2.html
                     fast/dom/timer-increase-min-interval.html
                     fast/dom/timer-increase-then-decrease-min-interval.html
      
              * WebCore.exp.in:
              * dom/Document.cpp:
              (WebCore::Document::minimumTimerInterval):
              * dom/Document.h:
              * dom/ScriptExecutionContext.cpp:
              (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
              (WebCore::ScriptExecutionContext::minimumTimerInterval):
              * dom/ScriptExecutionContext.h:
              * page/DOMTimer.cpp:
              (WebCore::DOMTimer::DOMTimer):
              (WebCore::DOMTimer::fired):
              (WebCore::DOMTimer::adjustMinimumTimerInterval):
              (WebCore::DOMTimer::intervalClampedToMinimum):
              * page/DOMTimer.h:
              (WebCore::DOMTimer::defaultMinTimerInterval):
              (WebCore::DOMTimer::setDefaultMinTimerInterval):
              * page/Page.cpp:
              (WebCore::Page::Page):
              (WebCore::Page::setMinimumTimerInterval):
              (WebCore::Page::minimumTimerInterval):
              * page/Page.h:
              * page/Settings.cpp:
              (WebCore::Settings::setDefaultMinDOMTimerInterval):
              (WebCore::Settings::defaultMinDOMTimerInterval):
              (WebCore::Settings::setMinDOMTimerInterval):
              (WebCore::Settings::minDOMTimerInterval):
              * page/Settings.h:
              * platform/Timer.h:
              (WebCore::TimerBase::augmentFireInterval):
              (WebCore::TimerBase::augmentRepeatInterval):
      2011-02-15  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Allow controlling minimum DOMTimer interval on a per-page basis
              https://bugs.webkit.org/show_bug.cgi?id=54312
      
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::WebPage):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7bf42ee7
  4. 12 Feb, 2011 1 commit
    • zmo@google.com's avatar
      2011-02-11 Zhenyao Mo <zmo@google.com> · 25ef79dc
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              [chromium] Allow turning off multisampling through web preference settings
              https://bugs.webkit.org/show_bug.cgi?id=54321
      
              * public/WebSettings.h: Add a flag for multisampling setting.
              * src/WebSettingsImpl.cpp: Ditto.
              (WebKit::WebSettingsImpl::setOpenGLMultisamplingEnabled):
              * src/WebSettingsImpl.h: Ditto.
      2011-02-11  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              [chromium] Allow turning off multisampling through web preference settings
              https://bugs.webkit.org/show_bug.cgi?id=54321
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::create): Disable multisampling in WebGL if web reference says so.
              * page/Settings.cpp: Add a flag for multisampling preference.
              (WebCore::Settings::Settings):
              (WebCore::Settings::setOpenGLMultisamplingEnabled):
              * page/Settings.h: Ditto.
              (WebCore::Settings::openGLMultisamplingEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25ef79dc
  5. 07 Feb, 2011 1 commit
    • morrita@google.com's avatar
      2011-02-03 MORITA Hajime <morrita@google.com> · d4f3e77a
      morrita@google.com authored
              Reviewed by Darin Fisher.
      
              [Chromium] Should implement EditorClientImpl::requestCheckingOfString()
              https://bugs.webkit.org/show_bug.cgi?id=51013
      
              Unskipped passed test.
      
              * platform/chromium/test_expectations.txt:
      2011-02-03  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Darin Fisher.
      
              [Chromium] Should implement EditorClientImpl::requestCheckingOfString()
              https://bugs.webkit.org/show_bug.cgi?id=51013
      
              - Added WebTextCheckingCompletion to receive the checked result asynchronously.
              - Added WebViewClient::requestCheckingOfText() and related classes.
              - Implemented EditorClientImpl::requestCheckingOfString().
      
              * WebKit.gyp:
              * public/WebSettings.h:
              * public/WebTextCheckingCompletion.h: Added.
              (WebKit::WebTextCheckingCompletion::~WebTextCheckingCompletion):
              * public/WebTextCheckingResult.h: Added.
              (WebKit::WebTextCheckingResult::error):
              (WebKit::WebTextCheckingResult::position):
              (WebKit::WebTextCheckingResult::length):
              (WebKit::WebTextCheckingResult::WebTextCheckingResult):
              * public/WebViewClient.h:
              (WebKit::WebViewClient::requestCheckingOfText): Gave an implementation
              * src/AssertMatchingEnums.cpp:
              * src/EditorClientImpl.cpp:
              (WebKit::EditorClientImpl::requestCheckingOfString):
              * src/EditorClientImpl.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setAsynchronousSpellCheckingEnabled):
              * src/WebSettingsImpl.h:
              * src/WebTextCheckingCompletionImpl.cpp: Added.
              (WebKit::toCoreResults):
              (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
              * src/WebTextCheckingCompletionImpl.h: Added.
              (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
      2011-02-03  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Darin Fisher.
      
              [Chromium] Should implement EditorClientImpl::requestCheckingOfString()
              https://bugs.webkit.org/show_bug.cgi?id=51013
      
              Gave DRT implementation for requestTextCheck().
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::setAsynchronousSpellCheckingEnabled): Implemented.
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (invokeFinishLastTextCheck): Added.
              (WebViewHost::requestTextCheck): Added.
              (WebViewHost::finishLastTextCheck): Added.
              * DumpRenderTree/chromium/WebViewHost.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4f3e77a
  6. 21 Jan, 2011 1 commit
    • crogers@google.com's avatar
      2011-01-21 Chris Rogers <crogers@google.com> · 181d9870
      crogers@google.com authored
              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  Chris Rogers  <crogers@google.com>
      
              Reviewed by Darin Fisher.
      
              Add run-time enable support for the web audio API
              https://bugs.webkit.org/show_bug.cgi?id=52741
      
              * WebPreferenceKeysPrivate.h:
              * WebView.cpp:
              (WebView::notifyPreferencesChanged):
      2011-01-21  Chris Rogers  <crogers@google.com>
      
              Reviewed by Darin Fisher.
      
              Add run-time enable support for the web audio API
              https://bugs.webkit.org/show_bug.cgi?id=52741
      
              * WebView/WebPreferenceKeysPrivate.h:
              * WebView/WebPreferences.mm:
              (-[WebPreferences webAudioEnabled]):
              (-[WebPreferences setWebAudioEnabled:]):
              * WebView/WebPreferencesPrivate.h:
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      2011-01-21  Chris Rogers  <crogers@google.com>
      
              Reviewed by Darin Fisher.
      
              Add run-time enable support for the web audio API
              https://bugs.webkit.org/show_bug.cgi?id=52741
      
              No new tests since audio API is not yet implemented.
      
              * WebCore.exp.in:
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setWebkitAudioContextEnabled):
              (WebCore::RuntimeEnabledFeatures::webkitAudioContextEnabled):
              * page/DOMWindow.idl:
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setWebAudioEnabled):
              * page/Settings.h:
              (WebCore::Settings::webAudioEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      181d9870
  7. 16 Jan, 2011 1 commit
  8. 14 Jan, 2011 1 commit
  9. 01 Dec, 2010 1 commit
    • vangelis@chromium.org's avatar
      2010-11-30 Vangelis Kokkevis <vangelis@chromium.org> · 27b033fd
      vangelis@chromium.org authored
              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-11-30  Vangelis Kokkevis  <vangelis@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Adds accelerated compositing trigger flags to Settings to allow
              ports to set them via command line flags, etc.
              https://bugs.webkit.org/show_bug.cgi?id=50301
      
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setAcceleratedCompositingFor3DTransformsEnabled):
              (WebCore::Settings::setAcceleratedCompositingForVideoEnabled):
              (WebCore::Settings::setAcceleratedCompositingForPluginsEnabled):
              (WebCore::Settings::setAcceleratedCompositingForCanvasEnabled):
              (WebCore::Settings::setAcceleratedCompositingForAnimationEnabled):
              * page/Settings.h:
              (WebCore::Settings::acceleratedCompositingFor3DTransformsEnabled):
              (WebCore::Settings::acceleratedCompositingForVideoEnabled):
              (WebCore::Settings::acceleratedCompositingForPluginsEnabled):
              (WebCore::Settings::acceleratedCompositingForCanvasEnabled):
              (WebCore::Settings::acceleratedCompositingForAnimationEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27b033fd
  10. 17 Nov, 2010 1 commit
  11. 23 Sep, 2010 2 commits
    • tony@chromium.org's avatar
      2010-09-23 Tony Chang <tony@chromium.org> · 9d30d12c
      tony@chromium.org authored
              Reviewed by David Levin.
      
              [chromium] add caretBrowsingEnabled to WebSettings and DRT
              https://bugs.webkit.org/show_bug.cgi?id=46388
      
              * public/WebSettings.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setCaretBrowsingEnabled):
              * src/WebSettingsImpl.h:
      2010-09-23  Tony Chang  <tony@chromium.org>
      
              Reviewed by David Levin.
      
              [chromium] add caretBrowsingEnabled to WebSettings and DRT
              https://bugs.webkit.org/show_bug.cgi?id=46388
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::overridePreference):
              * DumpRenderTree/chromium/WebPreferences.cpp:
              (WebPreferences::reset):
              (WebPreferences::applyTo):
              * DumpRenderTree/chromium/WebPreferences.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d30d12c
    • japhet@chromium.org's avatar
      2010-09-23 Nate Chapin <japhet@chromium.org> · f5d746be
      japhet@chromium.org authored
              Reviewed by Darin Fisher.
              
              Implement <a ping> (disabled by default).
              https://bugs.webkit.org/show_bug.cgi?id=30458
              
              Tests: http/tests/navigation/ping-cross-origin-from-https.html
                     http/tests/navigation/ping-cross-origin.html
                     http/tests/navigation/ping-same-origin.html
      
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              (WebCore::HTMLAnchorElement::sendPings):
              * html/HTMLAnchorElement.h:
              * html/HTMLAttributeNames.in:
              * loader/PingLoader.cpp:
              (WebCore::PingLoader::sendPing): Set ping-specific headers.
              (WebCore::PingLoader::PingLoader):
              * loader/PingLoader.h:
              (WebCore::PingLoader::timeout): Ensure pings eventually timeout, since
                  the normal cancel mechanism can't stop them.
              * page/Settings.cpp:
              * page/Settings.h: Add hyperlinkAuditingEnabled.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5d746be
  12. 24 Aug, 2010 1 commit
  13. 28 Jul, 2010 1 commit
  14. 16 Jul, 2010 1 commit
    • mnaganov@chromium.org's avatar
      2010-07-16 Mikhail Naganov <mnaganov@chromium.org> · df0fa0d5
      mnaganov@chromium.org authored
      	Reviewed by Pavel Feldman.
      
      	Make JS memory stats available via 'Performance' object (Web Timing).
      	This statistics is populated only if 'WebKitMemoryInfoEnabled'
      	preference is set.
      
      	'console.memory' is kept until Web Timing object becomes visible by
      	default (currently it is hidden under compile-time flag).  These stats
      	are guarded with the same preference.
      
      	https://bugs.webkit.org/show_bug.cgi?id=41617
      
      	* bindings/js/JSConsoleCustom.cpp:
      	* bindings/v8/custom/V8ConsoleCustom.cpp:
      	* page/Console.cpp:
      	(WebCore::Console::disconnectFrame):
      	(WebCore::Console::memory):
      	* page/Console.h:
      	* page/Console.idl:
      	* page/MemoryInfo.cpp:
      	(WebCore::MemoryInfo::MemoryInfo):
      	* page/MemoryInfo.h:
      	(WebCore::MemoryInfo::create):
      	* page/Performance.cpp:
      	(WebCore::Performance::disconnectFrame):
      	(WebCore::Performance::memory):
      	* page/Performance.h:
      	* page/Performance.idl:
      	* page/Settings.cpp:
      	(WebCore::Settings::Settings):
      	* page/Settings.h:
      	(WebCore::Settings::setMemoryInfoEnabled):
      	(WebCore::Settings::memoryInfoEnabled):
      
      	* public/WebSettings.h:
      	* src/WebSettingsImpl.cpp:
      	(WebKit::WebSettingsImpl::setMemoryInfoEnabled):
      	* src/WebSettingsImpl.h:
      
      	* WebKit.order:
      	* WebView/WebPreferenceKeysPrivate.h:
      	* WebView/WebPreferences.mm:
      	(+[WebPreferences initialize]):
      	(-[WebPreferences memoryInfoEnabled]):
      	(-[WebPreferences setMemoryInfoEnabled:]):
      	* WebView/WebPreferencesPrivate.h:
      	* WebView/WebView.mm:
      	(-[WebView _preferencesChangedNotification:]):
      
      	* Interfaces/IWebPreferencesPrivate.idl:
      	* WebPreferenceKeysPrivate.h:
      	* WebPreferences.cpp:
      	(WebPreferences::initializeDefaultSettings):
      	(WebPreferences::memoryInfoEnabled):
      	(WebPreferences::setMemoryInfoEnabled):
      	* WebPreferences.h:
      	* WebView.cpp:
      	(WebView::notifyPreferencesChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df0fa0d5
  15. 08 Jun, 2010 1 commit
    • tonikitoo@webkit.org's avatar
      Refactor platform dependent editing behavior code out of Settings · 3ba5cd53
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=39854
      
      [ Re-landing of r60816 with the m_editor initialized before m_selectionController in Frame constructor. ]
      
      Reviewed by Ojan Vafai and Darin Adler.
      Patch by Antonio Gomes <tonikitoo@webkit.org>
      
      WebCore:
      
      As per discussion in bug 36627, the following was suggested by Darin Adler: "before the addition of any
      new EditingBehavior, I think we need to add functions to translate the overall behavior policy into specific
      behaviors rather than directly saying 'behavior == Mac' or 'behavior == Windows'. Helper functions that
      expression the different rules in plain language.".
      
      Patch is a first step of an incremental approach to address this request. It does not yet replace all
      direct use of Editing{Mac,Windows}Behaviors, but adds infra for that and replaces some of them.
      
      No behavior change, so no new tests.
      
      * GNUmakefile.am:
      * WebCore.pro:
      * WebCore/WebCore.gypi
      * WebCore/WebCore.vcproj/WebCore.vcproj
      * WebCore/WebCore.xcodeproj/project.pbxproj
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h: Moved out EditingBehavior enum to WebCore/editing/EditingBehaviorTypes.h,
      and renamed to EditingBehaviorTypes.
      (WebCore::Settings::setEditingBehaviorType): Renamed from setEditingBehavior.
      (WebCore::Settings::editingBehaviorType): Renamed from editingBehavior.
      * editing/EditingBehavior.h: Added.
      (WebCore::EditingBehavior::EditingBehavior): Class to work as a central point for
      editing behavior that might have to be handled differently in the different platforms/ports.
      Class should be not used or instantiated directly, but rather implicitly constructed
      through the Editor class.
      (WebCore::EditingBehavior::shouldMoveCaretToHorizontalBoundaryWhenPastTopOrBottom):
      (WebCore::EditingBehavior::shouldConsiderSelectionAsDirectional):
      (WebCore::EditingBehavior::shouldCenterAlignWhenSelectionIsRevealed):
      * editing/EditingBehaviorTypes.h: Added.
      (WebCore::):
      * editing/Editor.cpp:
      (WebCore::Editor::behavior): Getter for EditingBehavior class.
      * editing/Editor.h:
      * editing/EditorCommand.cpp:
      (WebCore::executeToggleStyle):
      (WebCore::SelectionController::setIsDirectional):
      (WebCore::SelectionController::positionForPlatform):
      (WebCore::SelectionController::modify):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleMousePressEventSingleClick):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::positionForPointWithInlineChildren):
      
      - Call sites will look like:
      if (frame->editor()->behavior().shouldThisIfThat()))
         // do something
      
      WebKit:
      
      EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
      EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
      
      WebKit/chromium:
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::setEditingBehavior):
      
      WebKit/gtk:
      * webkit/webkitprivate.cpp:
      (WebKit::core):
      * webkit/webkitprivate.h:
      * webkit/webkitwebview.cpp:
      (webkit_web_view_update_settings):
      (webkit_web_view_settings_notify):
      
      WebKit/mac:
      * WebView/WebFrame.mm:
      (core):
      * WebView/WebFrameInternal.h:
      * WebView/WebView.mm:
      (-[WebView _preferencesChangedNotification:]):
      
      WebKit/qt:
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::setEditingBehavior):
      
      WebKit/win:
      * WebView.cpp:
      (WebView::notifyPreferencesChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ba5cd53
  16. 07 Jun, 2010 2 commits
    • tonikitoo@webkit.org's avatar
      Revert "Refactor platform dependent editing behavior code out of Settings" · 475c5965
      tonikitoo@webkit.org authored
      This reverts commit r60816: Crashed all bots.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      475c5965
    • tonikitoo@webkit.org's avatar
      Refactor platform dependent editing behavior code out of Settings · afde8e51
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=39854
      
      Reviewed by Ojan Vafai and Darin Adler.
      Patch by Antonio Gomes <tonikitoo@webkit.org>
      
      WebCore:
      
      As per discussion in bug 36627, the following was suggested by Darin Adler: "before the addition of any
      new EditingBehavior, I think we need to add functions to translate the overall behavior policy into specific
      behaviors rather than directly saying 'behavior == Mac' or 'behavior == Windows'. Helper functions that
      expression the different rules in plain language.".
      
      Patch is a first step of an incremental approach to address this request. It does not yet replace all
      direct use of Editing{Mac,Windows}Behaviors, but adds infra for that and replaces some of them.
      
      No behavior change, so no new tests.
      
      * GNUmakefile.am:
      * WebCore.pro:
      * WebCore/WebCore.gypi
      * WebCore/WebCore.vcproj/WebCore.vcproj
      * WebCore/WebCore.xcodeproj/project.pbxproj
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h: Moved out EditingBehavior enum to WebCore/editing/EditingBehaviorTypes.h,
      and renamed to EditingBehaviorTypes.
      (WebCore::Settings::setEditingBehaviorType): Renamed from setEditingBehavior.
      (WebCore::Settings::editingBehaviorType): Renamed from editingBehavior.
      * editing/EditingBehavior.h: Added.
      (WebCore::EditingBehavior::EditingBehavior): Class to work as a central point for
      editing behavior that might have to be handled differently in the different platforms/ports.
      Class should be not used or instantiated directly, but rather implicitly constructed
      through the Editor class.
      (WebCore::EditingBehavior::shouldMoveCaretToHorizontalBoundaryWhenPastTopOrBottom):
      (WebCore::EditingBehavior::shouldConsiderSelectionAsDirectional):
      (WebCore::EditingBehavior::shouldCenterAlignWhenSelectionIsRevealed):
      * editing/EditingBehaviorTypes.h: Added.
      (WebCore::):
      * editing/Editor.cpp:
      (WebCore::Editor::behavior): Getter for EditingBehavior class.
      * editing/Editor.h:
      * editing/EditorCommand.cpp:
      (WebCore::executeToggleStyle):
      (WebCore::SelectionController::setIsDirectional):
      (WebCore::SelectionController::positionForPlatform):
      (WebCore::SelectionController::modify):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleMousePressEventSingleClick):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::positionForPointWithInlineChildren):
      
      - Call sites will look like:
      if (frame->editor()->behavior().shouldThisIfThat()))
         // do something
      
      WebKit:
      
      EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
      EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
      
      WebKit/chromium:
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::setEditingBehavior):
      
      WebKit/gtk:
      * webkit/webkitprivate.cpp:
      (WebKit::core):
      * webkit/webkitprivate.h:
      * webkit/webkitwebview.cpp:
      (webkit_web_view_update_settings):
      (webkit_web_view_settings_notify):
      
      WebKit/mac:
      * WebView/WebFrame.mm:
      (core):
      * WebView/WebFrameInternal.h:
      * WebView/WebView.mm:
      (-[WebView _preferencesChangedNotification:]):
      
      WebKit/qt:
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::setEditingBehavior):
      
      WebKit/win:
      * WebView.cpp:
      (WebView::notifyPreferencesChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afde8e51
  17. 01 Jun, 2010 1 commit
  18. 29 May, 2010 1 commit
  19. 20 May, 2010 1 commit
    • mrobinson@webkit.org's avatar
      2010-05-20 Martin Robinson <mrobinson@webkit.org> · 255a8cf1
      mrobinson@webkit.org authored
              Reviewed by Ojan Vafai.
      
              Expose the editing behavior setting in DRT to test all editing code paths
              https://bugs.webkit.org/show_bug.cgi?id=38603
      
              * editing/selection/extend-selection-after-double-click.html: Use the new DRT support for changing editing behavior.
              * editing/selection/extend-selection-after-double-click-expected.txt: Update expected results to reflect both behaviors.
      2010-05-20  Martin Robinson  <mrobinson@webkit.org>
      
              Reviewed by Ojan Vafai.
      
              Expose the editing behavior setting in DRT to test all editing code paths
              https://bugs.webkit.org/show_bug.cgi?id=38603
      
              * public/WebSettings.h:
              (WebKit::WebSettings::): Added an enum for EditingBehavior types.
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setEditingBehavior): Added.
              * src/WebSettingsImpl.h:
      2010-05-20  Martin Robinson  <mrobinson@webkit.org>
      
              Reviewed by Ojan Vafai.
      
              Expose the editing behavior setting in DRT to test all editing code paths
              https://bugs.webkit.org/show_bug.cgi?id=38603
      
              * WebView/WebFrame.mm:
              (core):
              * WebView/WebFrameInternal.h: Added a conversion method from the API enum to the WebCore enum.
              * WebView/WebPreferenceKeysPrivate.h: Added a preference key for the new setting.
              * WebView/WebPreferences.mm:
              (+[WebPreferences initialize]): Initialize the EditingBehavior to Mac style.
              (-[WebPreferences editingBehavior]): Added.
              (-[WebPreferences setEditingBehavior:]): Added.
              * WebView/WebPreferencesPrivate.h: Added the new API points to the private API.
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]): Set the editing behavior via the WebPreferences setting.
      2010-05-20  Martin Robinson  <mrobinson@webkit.org>
      
              Reviewed by Ojan Vafai.
      
              Expose the editing behavior setting in DRT to test all editing code paths
              https://bugs.webkit.org/show_bug.cgi?id=38603
      
              Expose the EditingBehavior setting in the Windows API.
      
              * Interfaces/IWebPreferences.idl: Add the API point for setting the editing behavior.
              * WebPreferenceKeysPrivate.h: Add a key for the editing behavior setting.
              * WebPreferences.cpp:
              (WebPreferences::editingBehavior): Added.
              (WebPreferences::setEditingBehavior): Added.
              * WebPreferences.h: Add method declarations.
              * WebView.cpp:
              (WebView::notifyPreferencesChanged): Update the WebCore setting based on the WebPreferences setting.
      2010-05-20  Martin Robinson  <mrobinson@webkit.org>
      
              Reviewed by Ojan Vafai.
      
              Expose the editing behavior setting in DRT to test all editing code paths
              https://bugs.webkit.org/show_bug.cgi?id=38603
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setEditingBehaviorCallback): Added.
              (LayoutTestController::staticFunctions): Expose the setEditingBehaviorCallback function.
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp: Add callback method for setting editing behavior.
              * DumpRenderTree/chromium/LayoutTestController.h: Declaration for this method.
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setEditingBehavior): Implementation of editing behavior control.
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setEditingBehavior): Ditto
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control.
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              (LayoutTestController::setEditingBehavior): Add slot for controlling editor behavior.
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setEditingBehavior): Implementation of editing behavior control.
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      255a8cf1
  20. 03 May, 2010 1 commit
    • abarth@webkit.org's avatar
      2010-05-03 Abhishek Arya <inferno@chromium.org> · 616e41e4
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Tests that javascript cannot access clipboard.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * editing/execCommand/clipboard-access-expected.txt: Added.
              * editing/execCommand/clipboard-access.html: Added.
              * editing/execCommand/script-tests/clipboard-access.js: Added.
              (enabled):
              (whenEnabled):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Test: editing/execCommand/clipboard-access.html
      
              * WebCore.base.exp:
              * editing/EditorCommand.cpp:
              (WebCore::supportedCopyCut):
              (WebCore::supportedPaste):
              (WebCore::createCommandMap):
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setJavaScriptCanAccessClipboard):
              * page/Settings.h:
              (WebCore::Settings::javaScriptCanAccessClipboard):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * public/WebSettings.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
              * src/WebSettingsImpl.h:
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * webkit/webkitwebsettings.cpp:
              (webkit_web_settings_class_init):
              (webkit_web_settings_set_property):
              (webkit_web_settings_get_property):
              (webkit_web_settings_copy):
              * webkit/webkitwebview.cpp:
              (webkit_web_view_update_settings):
              (webkit_web_view_settings_notify):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * WebView/WebPreferenceKeysPrivate.h:
              * WebView/WebPreferences.mm:
              (+[WebPreferences initialize]):
              (-[WebPreferences javaScriptCanAccessClipboard]):
              (-[WebPreferences setJavaScriptCanAccessClipboard:]):
              * WebView/WebPreferencesPrivate.h:
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply):
              * Api/qwebsettings.h:
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * Interfaces/IWebPreferencesPrivate.idl:
              * WebPreferenceKeysPrivate.h:
              * WebPreferences.cpp:
              (WebPreferences::initializeDefaultSettings):
              (WebPreferences::javaScriptCanAccessClipboard):
              (WebPreferences::setJavaScriptCanAccessClipboard):
              * WebPreferences.h:
              * WebView.cpp:
              (WebView::notifyPreferencesChanged):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is enabled in test framework.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setJavaScriptCanAccessClipboardCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              (LayoutTestController::overridePreference):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::resetWebSettings):
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::WebPage):
              (WebCore::WebPage::resetSettings):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      616e41e4
  21. 22 Apr, 2010 2 commits
    • abarth@webkit.org's avatar
      2010-04-22 Adam Barth <abarth@webkit.org> · bf00db5b
      abarth@webkit.org authored
              Unreviewed, rolling out r58069.
              http://trac.webkit.org/changeset/58069
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Broke compile on Windows.
      
              * editing/execCommand/clipboard-access-expected.txt: Removed.
              * editing/execCommand/clipboard-access.html: Removed.
              * editing/execCommand/script-tests/clipboard-access.js: Removed.
      2010-04-22  Adam Barth  <abarth@webkit.org>
      
              Unreviewed, rolling out r58069.
              http://trac.webkit.org/changeset/58069
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Broke compile on Windows.
      
              * WebCore.base.exp:
              * editing/EditorCommand.cpp:
              (WebCore::supportedPaste):
              (WebCore::createCommandMap):
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              * page/Settings.h:
      2010-04-22  Adam Barth  <abarth@webkit.org>
      
              Unreviewed, rolling out r58069.
              http://trac.webkit.org/changeset/58069
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Broke compile on Windows.
      
              * public/WebSettings.h:
              * src/WebSettingsImpl.cpp:
              * src/WebSettingsImpl.h:
      2010-04-22  Adam Barth  <abarth@webkit.org>
      
              Unreviewed, rolling out r58069.
              http://trac.webkit.org/changeset/58069
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Broke compile on Windows.
      
              * webkit/webkitwebsettings.cpp:
              (webkit_web_settings_class_init):
              (webkit_web_settings_set_property):
              (webkit_web_settings_get_property):
              (webkit_web_settings_copy):
              * webkit/webkitwebview.cpp:
              (webkit_web_view_update_settings):
              (webkit_web_view_settings_notify):
      2010-04-22  Adam Barth  <abarth@webkit.org>
      
              Unreviewed, rolling out r58069.
              http://trac.webkit.org/changeset/58069
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Broke compile on Windows.
      
              * WebView/WebPreferenceKeysPrivate.h:
              * WebView/WebPreferences.mm:
              (+[WebPreferences initialize]):
              * WebView/WebPreferencesPrivate.h:
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      2010-04-22  Adam Barth  <abarth@webkit.org>
      
              Unreviewed, rolling out r58069.
              http://trac.webkit.org/changeset/58069
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Broke compile on Windows.
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply):
              * Api/qwebsettings.h:
      2010-04-22  Adam Barth  <abarth@webkit.org>
      
              Unreviewed, rolling out r58069.
              http://trac.webkit.org/changeset/58069
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Broke compile on Windows.
      
              * Interfaces/IWebPreferencesPrivate.idl:
              * WebPreferenceKeysPrivate.h:
              * WebPreferences.cpp:
              (WebPreferences::initializeDefaultSettings):
              * WebPreferences.h:
              * WebView.cpp:
              (WebView::notifyPreferencesChanged):
      2010-04-22  Adam Barth  <abarth@webkit.org>
      
              Unreviewed, rolling out r58069.
              http://trac.webkit.org/changeset/58069
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Broke compile on Windows.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::overridePreference):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::resetWebSettings):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::WebPage):
              (WebCore::WebPage::resetSettings):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf00db5b
    • abarth@webkit.org's avatar
      2010-04-22 Abhishek Arya <inferno@chromium.org> · dfeb70e5
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Manual test to verify that javascript cannot access clipboard.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * editing/execCommand/clipboard-access-expected.txt: Added.
              * editing/execCommand/clipboard-access.html: Added.
              * editing/execCommand/script-tests/clipboard-access.js: Added.
              (enabled):
              (whenEnabled):
              (runTest):
      2010-04-22  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Test: editing/execCommand/clipboard-access.html
      
              * WebCore.base.exp:
              * editing/EditorCommand.cpp:
              (WebCore::supportedCopyCut):
              (WebCore::supportedPaste):
              (WebCore::createCommandMap):
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setJavaScriptCanAccessClipboard):
              * page/Settings.h:
              (WebCore::Settings::javaScriptCanAccessClipboard):
      2010-04-22  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * public/WebSettings.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
              * src/WebSettingsImpl.h:
      2010-04-22  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * webkit/webkitwebsettings.cpp:
              (webkit_web_settings_class_init):
              (webkit_web_settings_set_property):
              (webkit_web_settings_get_property):
              (webkit_web_settings_copy):
              * webkit/webkitwebview.cpp:
              (webkit_web_view_update_settings):
              (webkit_web_view_settings_notify):
      2010-04-22  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * WebView/WebPreferenceKeysPrivate.h:
              * WebView/WebPreferences.mm:
              (+[WebPreferences initialize]):
              (-[WebPreferences javaScriptCanAccessClipboard]):
              (-[WebPreferences setJavaScriptCanAccessClipboard:]):
              * WebView/WebPreferencesPrivate.h:
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      2010-04-22  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply):
              * Api/qwebsettings.h:
      2010-04-22  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * Interfaces/IWebPreferencesPrivate.idl:
              * WebPreferenceKeysPrivate.h:
              * WebPreferences.cpp:
              (WebPreferences::initializeDefaultSettings):
              (WebPreferences::javaScriptCanAccessClipboard):
              (WebPreferences::setJavaScriptCanAccessClipboard):
              * WebPreferences.h:
              * WebView.cpp:
              (WebView::notifyPreferencesChanged):
      2010-04-22  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is enabled in test framework.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setJavaScriptCanAccessClipboardCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              (LayoutTestController::overridePreference):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::resetWebSettings):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::WebPage):
              (WebCore::WebPage::resetSettings):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dfeb70e5
  22. 15 Apr, 2010 1 commit
  23. 08 Mar, 2010 1 commit
    • eric@webkit.org's avatar
      2010-03-08 Eric Uhrhane <ericu@chromium.org> · a156b6ff
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Remove the now-redundant Settings fields for the Database
              https://bugs.webkit.org/show_bug.cgi?id=35763
      
              No new tests; this code isn't called.
      
              * WebCore.base.exp:
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              * page/Settings.h:
      2010-03-08  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by David Levin.
      
              Remove the now-redundant Settings fields for the Database
              https://bugs.webkit.org/show_bug.cgi?id=35763
      
              No new tests; this code isn't called.
      
              * public/WebSettings.h:
              * src/WebSettingsImpl.cpp:
              * src/WebSettingsImpl.h:
      2010-03-08  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by David Levin.
      
              Remove the now-redundant Settings fields for the Database
              https://bugs.webkit.org/show_bug.cgi?id=35763
      
              No new tests; this code isn't called.
      
              * webkit/webkitwebview.cpp: Remove the calls into Settings.
              (DNDContentsRequest::webkit_web_view_update_settings):
              (DNDContentsRequest::webkit_web_view_settings_notify):
      2010-03-08  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by David Levin.
      
              Remove the now-redundant Settings fields for the Database
              https://bugs.webkit.org/show_bug.cgi?id=35763
      
              No new tests; this code isn't called.
      
              * WebView/WebView.mm: Remove the call into Settings.
              (-[WebView _preferencesChangedNotification:]):
      2010-03-08  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by David Levin.
      
              Remove the now-redundant Settings fields for the Database
              https://bugs.webkit.org/show_bug.cgi?id=35763
      
              No new tests; this code isn't called.
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply): Remove the call into Settings.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a156b6ff
  24. 23 Feb, 2010 1 commit
  25. 17 Feb, 2010 1 commit
    • eric@webkit.org's avatar
      2010-02-16 Chris Evans <cevans@chromium.org> · e85e237b
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Add a new setting which gives the option of assigning every file:///
              to its own unique domain.
      
              https://bugs.webkit.org/show_bug.cgi?id=34778
      
              Test: Pending in forthcoming separate change due to non-trivial
              dependencies.
      
              * dom/Document.cpp:
              (WebCore::Document::initSecurityContext): Place file:/// URI documents
              into their own unique domains if the new setting requires it.
              * page/Settings.h:
              * page/Settings.cpp:
              (WebCore::Settings::setAllowFileAccessFromFileURLs): Simple setter.
              * page/SecurityOrigin.h:
              * page/SecurityOrigin.cpp:
              (WebCore::SecurityOrigin::makeUnique): Add simple ability to force an
              origin to be considered unique.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e85e237b
  26. 14 Feb, 2010 1 commit
  27. 29 Jan, 2010 1 commit
    • darin@chromium.org's avatar
      2010-01-29 Darin Fisher <darin@chromium.org> · 6d318000
      darin@chromium.org authored
              Reviewed by Adam Barth.
      
              Add FrameLoaderClient::allowImages method to allow the client to
              overrule image loading policy on a per frame basis.
      
              https://bugs.webkit.org/show_bug.cgi?id=34225
      
              For completeness, this patch also adds Settings::areImagesEnabled.
              This is different from loadsImagesAutomatically as is explained in
              Settings.h.
      
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::requestImage):
              * loader/FrameLoaderClient.h:
              (WebCore::FrameLoaderClient::allowImages):
              * loader/ImageDocument.cpp:
              (WebCore::ImageTokenizer::writeRawData):
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setImagesEnabled):
              * page/Settings.h:
              (WebCore::Settings::areImagesEnabled):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d318000
  28. 03 Dec, 2009 1 commit
    • eric@webkit.org's avatar
      2009-12-03 Jonathan Dixon <joth@chromium.org> · 4dcdf42a
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
              https://bugs.webkit.org/show_bug.cgi?id=32066
      
              Adds geolocationEnabled in Settings for runtime control of geolocaiton features. This defaults to ON
              as it is intended as a development and testing aid, not a user control. To completely remove geolocation
              from a given port, the compile time ENABLE_GEOLOCATION should still be used.
              Adding placeholder GeolocationServiceChromium implementation, as this is required to allows
              ENABLE_GEOLOCATION to be defined (in turn required for testing), even though this patch does not
              make that the default just yet.
      
              * WebCore.gypi:
              * page/Settings.cpp:
              (WebCore::Settings::Settings): Add new m_geolocationEnabled flag default value
              (WebCore::Settings::setGeolocationEnabled): Setter for  m_geolocationEnabled flag
              * page/Settings.h:
              (WebCore::Settings::geolocationEnabled):  Add m_geolocationEnabled flag
              * platform/chromium/GeolocationServiceChromium.cpp: Added.
              (WebCore::GeolocationServiceChromium::GeolocationServiceChromium): Place holder GeolocationServiceChromium)
              (WebCore::createGeolocationService): factory function, only required when ENABLED(GEOLOCATION) is true
      2009-12-03  Jonathan Dixon  <joth@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
              https://bugs.webkit.org/show_bug.cgi?id=32066
      
              Add the plumbing to map WebSettings through to WebCore::Settings
      
              * features.gypi:
              * public/WebSettings.h: Add setGeolocationEnabled API to interface
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled
              * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4dcdf42a
  29. 25 Nov, 2009 1 commit
  30. 10 Nov, 2009 1 commit
    • eric@webkit.org's avatar
      2009-11-10 Yaar Schnitman <yaar@chromium.org> · 34b114c9
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl
      
              https://bugs.webkit.org/show_bug.cgi?id=31276
      
              * src/WebScriptController.cpp: Added.
              (WebKit::WebScriptController::registerExtension):
              (WebKit::WebScriptController::enableV8SingleThreadMode):
              (WebKit::WebScriptController::flushConsoleMessages):
              * src/WebSearchableFormData.cpp: Added.
              (WebCore::GetFormEncoding):
              (WebCore::IsHTTPFormSubmit):
              (WebCore::GetButtonToActivate):
              (WebCore::IsSelectInDefaultState):
              (WebCore::IsInDefaultState):
              (WebCore::HasSuitableTextElement):
              (WebKit::WebSearchableFormData::WebSearchableFormData):
              * src/WebSecurityOrigin.cpp: Added.
              (WebKit::WebSecurityOrigin::reset):
              (WebKit::WebSecurityOrigin::assign):
              (WebKit::WebSecurityOrigin::protocol):
              (WebKit::WebSecurityOrigin::host):
              (WebKit::WebSecurityOrigin::port):
              (WebKit::WebSecurityOrigin::isEmpty):
              (WebKit::WebSecurityOrigin::toString):
              (WebKit::WebSecurityOrigin::databaseIdentifier):
              (WebKit::WebSecurityOrigin::WebSecurityOrigin):
              (WebKit::WebSecurityOrigin::operator=):
              (WebKit::WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>):
              * src/WebSecurityPolicy.cpp: Added.
              (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
              (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
              (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
              (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
              * src/WebSettingsImpl.cpp: Added.
              (WebKit::WebSettingsImpl::WebSettingsImpl):
              (WebKit::WebSettingsImpl::setStandardFontFamily):
              (WebKit::WebSettingsImpl::setFixedFontFamily):
              (WebKit::WebSettingsImpl::setSerifFontFamily):
              (WebKit::WebSettingsImpl::setSansSerifFontFamily):
              (WebKit::WebSettingsImpl::setCursiveFontFamily):
              (WebKit::WebSettingsImpl::setFantasyFontFamily):
              (WebKit::WebSettingsImpl::setDefaultFontSize):
              (WebKit::WebSettingsImpl::setDefaultFixedFontSize):
              (WebKit::WebSettingsImpl::setMinimumFontSize):
              (WebKit::WebSettingsImpl::setMinimumLogicalFontSize):
              (WebKit::WebSettingsImpl::setDefaultTextEncodingName):
              (WebKit::WebSettingsImpl::setJavaScriptEnabled):
              (WebKit::WebSettingsImpl::setWebSecurityEnabled):
              (WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically):
              (WebKit::WebSettingsImpl::setLoadsImagesAutomatically):
              (WebKit::WebSettingsImpl::setPluginsEnabled):
              (WebKit::WebSettingsImpl::setDOMPasteAllowed):
              (WebKit::WebSettingsImpl::setDeveloperExtrasEnabled):
              (WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit):
              (WebKit::WebSettingsImpl::setUsesEncodingDetector):
              (WebKit::WebSettingsImpl::setTextAreasAreResizable):
              (WebKit::WebSettingsImpl::setJavaEnabled):
              (WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows):
              (WebKit::WebSettingsImpl::setUserStyleSheetLocation):
              (WebKit::WebSettingsImpl::setUsesPageCache):
              (WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled):
              (WebKit::WebSettingsImpl::setXSSAuditorEnabled):
              (WebKit::WebSettingsImpl::setLocalStorageEnabled):
              (WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive):
              (WebKit::WebSettingsImpl::setFontRenderingModeNormal):
              (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
              (WebKit::WebSettingsImpl::setDatabasesEnabled):
              (WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs):
              (WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded):
              (WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled):
              (WebKit::WebSettingsImpl::setExperimentalWebGLEnabled):
              * src/WebSettingsImpl.h: Added.
              (WebKit::WebSettingsImpl::~WebSettingsImpl):
              * src/WebSharedWorkerImpl.cpp: Added.
              (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
              (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
              (WebKit::WebSharedWorkerImpl::isStarted):
              (WebKit::WebSharedWorkerImpl::connect):
              (WebKit::WebSharedWorkerImpl::connectTask):
              (WebKit::WebSharedWorkerImpl::startWorkerContext):
              (WebKit::WebSharedWorkerImpl::terminateWorkerContext):
              (WebKit::WebSharedWorkerImpl::clientDestroyed):
              (WebKit::WebSharedWorkerImpl::client):
              (WebKit::WebSharedWorker::create):
              * src/WebSharedWorkerImpl.h: Added.
              (WebKit::WebSharedWorkerImpl::commonClient):
              * src/WebStorageAreaImpl.cpp: Added.
              (WebKit::WebStorageAreaImpl::WebStorageAreaImpl):
              (WebKit::WebStorageAreaImpl::~WebStorageAreaImpl):
              (WebKit::WebStorageAreaImpl::length):
              (WebKit::WebStorageAreaImpl::key):
              (WebKit::WebStorageAreaImpl::getItem):
              (WebKit::WebStorageAreaImpl::setItem):
              (WebKit::WebStorageAreaImpl::removeItem):
              (WebKit::WebStorageAreaImpl::clear):
              * src/WebStorageAreaImpl.h: Added.
              (WebKit::WebStorageAreaImpl::currentStorageEventURL):
              (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL):
              (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL):
              * src/WebStorageEventDispatcherImpl.cpp: Added.
              (WebKit::WebStorageEventDispatcher::create):
              (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
              (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
              * src/WebStorageEventDispatcherImpl.h: Added.
              * src/WebStorageNamespaceImpl.cpp: Added.
              (WebKit::WebStorageNamespace::createLocalStorageNamespace):
              (WebKit::WebStorageNamespace::createSessionStorageNamespace):
              (WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl):
              (WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl):
              (WebKit::WebStorageNamespaceImpl::createStorageArea):
              (WebKit::WebStorageNamespaceImpl::copy):
              (WebKit::WebStorageNamespaceImpl::close):
              * src/WebStorageNamespaceImpl.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34b114c9