1. 27 Feb, 2013 1 commit
  2. 23 Feb, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Source/WebCore: Move setAutofilled from TestRunner to WebCore · d3b19280
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110521
      
      Patch by Jason Anderssen <janderssen@gmail.com> on 2013-02-23
      Reviewed by Benjamin Poulain.
      
      * testing/Internals.cpp:
      (WebCore):
      (WebCore::Internals::setAutofilled):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit/efl: Move setAutofilled from TestRunner to WebCore
      https://bugs.webkit.org/show_bug.cgi?id=110521
      
      Patch by Jason Anderssen <janderssen@gmail.com> on 2013-02-23
      Reviewed by Benjamin Poulain.
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      * WebCoreSupport/DumpRenderTreeSupportEfl.h:
      
      Source/WebKit/gtk: Move setAutofilled from TestRunner to WebCore
      https://bugs.webkit.org/show_bug.cgi?id=110521
      
      Patch by Jason Anderssen <janderssen@gmail.com> on 2013-02-23
      Reviewed by Benjamin Poulain.
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      (DumpRenderTreeSupportGtk):
      
      Source/WebKit/qt: Move setAutofilled from TestRunner to WebCore
      https://bugs.webkit.org/show_bug.cgi?id=110521
      
      Patch by Jason Anderssen <janderssen@gmail.com> on 2013-02-23
      Reviewed by Benjamin Poulain.
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      * WebCoreSupport/DumpRenderTreeSupportQt.h:
      
      Tools: Move setAutofilled from TestRunner to WebCore
      https://bugs.webkit.org/show_bug.cgi?id=110521
      
      Patch by Jason Anderssen <janderssen@gmail.com> on 2013-02-23
      Reviewed by Benjamin Poulain.
      
      * DumpRenderTree/TestRunner.cpp:
      (TestRunner::staticFunctions):
      * DumpRenderTree/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
      (WebTestRunner::TestRunner::TestRunner):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/efl/TestRunnerEfl.cpp:
      * DumpRenderTree/gtk/TestRunnerGtk.cpp:
      * DumpRenderTree/mac/TestRunnerMac.mm:
      * DumpRenderTree/qt/TestRunnerQt.cpp:
      * DumpRenderTree/qt/TestRunnerQt.h:
      (TestRunnerQt):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      * DumpRenderTree/wx/TestRunnerWx.cpp:
      
      LayoutTests: Moved setAutofilled from TestRunner to WebCore
      https://bugs.webkit.org/show_bug.cgi?id=110521
      
      Patch by Jason Anderssen <janderssen@gmail.com> on 2013-02-23
      Reviewed by Benjamin Poulain.
      
      * fast/forms/input-autofilled.html:
      * fast/forms/reset-autofilled.html:
      * platform/wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3b19280
  3. 21 Feb, 2013 2 commits
    • tony@chromium.org's avatar
      Autogenerate Settings that call setNeedsRecalcStyleInAllFrames when set · 2d54e365
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109989
      
      Reviewed by Ryosuke Niwa.
      
      .:
      
      Add setters to export symbols.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Start generating the code for settings that call m_page->setNeedsRecalcStyleInAllFrames()
      when the value is changed. This allows us to generate 10 more settings. As a follow up, we
      can remove some methods from DRT/WTR after this.
      
      No new tests, this is a build refactor and should not impact any test results.
      
      * page/Settings.cpp:
      (WebCore::Settings::Settings): Remove member variables. Add SETTINGS_SETTER_BODIES macro that
      has the generated setter bodies.
      * page/Settings.h:
      (Settings): Remove code that is now generated.
      * page/Settings.in: Add new entries with setNeedsStyleRecalcWhenSetting=1
      * page/make_settings.pl:
      (defaultItemFactory): Add setNeedsStyleRecalcWhenSetting flag.
      (generateSettingsMacrosHeader): Print macro for setter bodies.
      (printConditionalMacros): Add setter body code.
      (printGettersAndSetters): Pass in setNeedsStyleRecalcWhenSetting so we know whether to inline the
      setter in the header or not.
      (printGetterAndSetter): Ditto.
      (printSetterBodies): Print macro for setter bodies.
      (printSetterBody): Print setter body for a single setting.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d54e365
    • mrobinson@webkit.org's avatar
      [GTK] Move feature overriding to the configure phase · 3e4076e3
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110293
      
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      Rework the feature overrides logic so all feature defines go into a
      header rather than the command line. This has a few benefits. Most
      notably, we can reuse the header in the gyp build. Another nice result
      is that changes to the configuration automatically result in a full
      rebuild and Debug and Release builds can have different configurations.
      
      All feature define processing happens now during the configuration phase,
      instead of when running autogen.sh. This means that we need to distribute
      the feature processing script.
      
      * GNUmakefile.am: Read feature defines from WebKitFeatures.txt when kicking
      off a build. Also include generate-feature-defines-files in the distribution.
      * Source/autotools/SetupAutoconfHeader.m4: Remove an extra ENABLE_3D_RENDERING
      from the autoconf header, as it is already provided by the feature configuration.
      * Source/autotools/SetupWebKitFeatures.m4: Added.
      * Source/autotools/webkitfeature.m4: Removed. The functionality has been moved
      to SetupWebKitFeatures.m4.
      * autogen.sh: Remove the call to override-feature-defines.
      * configure.ac: Now include SetupWebKitFeatures.
      
      Source/WebCore:
      
      * GNUmakefile.am: No longer include GNUmakefile.features.am. We don't
      have to process the result of this file or do any modification of
      feature_defines_override, because this variable is gone.
      
      Tools:
      
      * Scripts/webkitdirs.pm:
      (runAutogenForAutotoolsProjectIfNecessary): Rename the feature file to
      WebKitFeatureOverrides.txt to better match the other filenames used in
      the new feature processing.
      * gtk/generate-feature-defines-files: Added. A script which takes as an argument
      the default features, overrides them with the contents of WebKitFeatureOverrrides.txt
      and writes WebKitFeatures.txt and WebKitFeatures.h.
      * gtk/override-feature-defines: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e4076e3
  4. 19 Feb, 2013 2 commits
  5. 18 Feb, 2013 1 commit
  6. 15 Feb, 2013 2 commits
    • kov@webkit.org's avatar
      Unreviewed build fix. · 2f8a5858
      kov@webkit.org authored
      * Source/autotools/SetupLibtool.m4: Move AR_FLAGS definition so it comes before dolt
      and libtool initialization, thus having an effect once again.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f8a5858
    • allan.jensen@digia.com's avatar
      Simplify hitTestResultAtPoint and nodesFromRect APIs · eb0e1f9f
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95720
      
      .:
      
      Reviewed by Julien Chaffraix.
      
      Update exported symbols.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Reviewed by Julien Chaffraix.
      
      The existing API was overloaded and could be simplified by passing all the bool arguments in
      a HitTestRequest argument. This should also help clarify the call as the enum values explicitely
      state what they do.
      
      * WebCore.exp.in:
      * WebCore.order:
      * dom/Document.cpp:
      (WebCore::Document::nodesFromRect):
      * dom/Document.h:
      (Document):
      * page/ContextMenuController.cpp:
      (WebCore::ContextMenuController::createContextMenu):
      * page/DragController.cpp:
      (WebCore::DragController::canProcessDrag):
      (WebCore::DragController::startDrag):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::hitTestResultAtPoint):
      (WebCore::EventHandler::handleMousePressEvent):
      (WebCore::EventHandler::handleGestureEvent):
      (WebCore::EventHandler::handleGestureForTextSelectionOrContextMenu):
      (WebCore::EventHandler::bestClickableNodeForTouchPoint):
      (WebCore::EventHandler::bestContextMenuNodeForTouchPoint):
      (WebCore::EventHandler::bestZoomableAreaForTouchPoint):
      (WebCore::EventHandler::handleTouchEvent):
      * page/EventHandler.h:
      (WebCore):
      (EventHandler):
      * page/FocusController.cpp:
      (WebCore::updateFocusCandidateIfNeeded):
      * page/Frame.cpp:
      (WebCore::Frame::visiblePositionForPoint):
      (WebCore::Frame::documentAtPoint):
      * page/TouchDisambiguation.cpp:
      (WebCore::findGoodTouchTargets):
      * rendering/HitTestRequest.h:
      (WebCore::HitTestRequest::allowsFrameScrollbars):
      * testing/Internals.cpp:
      (WebCore::Internals::nodesFromRect):
      
      Source/WebKit/blackberry:
      
      Reviewed by Julien Chaffraix.
      
      Update calls to new API.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::contextNode):
      (BlackBerry::WebKit::WebPagePrivate::nodeForZoomUnderPoint):
      (BlackBerry::WebKit::WebPagePrivate::handleMouseEvent):
      (BlackBerry::WebKit::WebPage::nodeAtDocumentPoint):
      (BlackBerry::WebKit::WebPagePrivate::hitTestResult):
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::visiblePositionForPointIgnoringClipping):
      
      Source/WebKit/chromium:
      
      Reviewed by Julien Chaffraix.
      
      Update calls to new API.
      
      * src/ContextMenuClientImpl.cpp:
      (WebKit::selectMisspelledWord):
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::characterIndexForPoint):
      * src/WebPluginContainerImpl.cpp:
      (WebKit::WebPluginContainerImpl::isRectTopmost):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::handleMouseDown):
      (WebKit::WebViewImpl::computeBlockBounds):
      (WebKit::WebViewImpl::bestTouchLinkNode):
      (WebKit::WebViewImpl::hitTestResultForWindowPos):
      
      Source/WebKit/efl:
      
      Reviewed by Julien Chaffraix.
      
      Update calls to new API.
      
      * ewk/ewk_frame.cpp:
      (ewk_frame_hit_test_new):
      
      Source/WebKit/mac:
      
      Reviewed by Julien Chaffraix.
      
      Update calls to new API.
      
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::actionDictionary):
      * WebView/WebFrame.mm:
      (-[WebFrame elementAtPoint:]):
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView elementAtPoint:allowShadowContent:]):
      
      Source/WebKit/qt:
      
      Reviewed by Julien Chaffraix.
      
      Update calls to new API.
      
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
      * WebCoreSupport/QWebFrameAdapter.cpp:
      (QWebFrameAdapter::hitTestContent):
      * WebCoreSupport/QWebPageAdapter.cpp:
      (QWebPageAdapter::TouchAdjuster::findCandidatePointForTouch):
      (QWebPageAdapter::handleSoftwareInputPanel):
      (QWebPageAdapter::updatePositionDependentMenuActions):
      
      Source/WebKit/win:
      
      Reviewed by Julien Chaffraix.
      
      Update calls to new API.
      
      * WebActionPropertyBag.cpp:
      (WebActionPropertyBag::Read):
      * WebKit.vcproj/WebKitExports.def.in:
      * WebView.cpp:
      (WebView::handleContextMenuEvent):
      (WebView::elementAtPoint):
      
      Source/WebKit/wx:
      
      Reviewed by Julien Chaffraix.
      
      Update calls to new API.
      
      * WebFrame.cpp:
      (WebKit::WebFrame::HitTest):
      
      Source/WebKit2:
      
      Reviewed by Julien Chaffraix and Maciej Stachowiak.
      
      Update calls to new API and update exported symbols.
      
      * WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp:
      (WebKit::InjectedBundleNavigationAction::InjectedBundleNavigationAction):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::hitTest):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::handleContextMenuEvent):
      (WebKit::WebPage::highlightPotentialActivation):
      (WebKit::WebPage::findZoomableAreaForPoint):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::WebPage::characterIndexForPoint):
      (WebKit::WebPage::performDictionaryLookupAtLocation):
      (WebKit::WebPage::shouldDelayWindowOrderingEvent):
      (WebKit::WebPage::acceptsFirstMouse):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb0e1f9f
  7. 14 Feb, 2013 1 commit
    • caseq@chromium.org's avatar
      Web Inspector: expose did{Begin,Cancel}Frame() and {will,did}Composite() on WebDebToolsAgent · d50549ee
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109192
      
      Reviewed by Pavel Feldman.
      
      .:
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      - remove frame and compositing instrumentation methods from InspectorInstrumentation;
      - expose those methods on InspectorController instead.
      
      * WebCore.exp.in:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::didBeginFrame):
      (WebCore):
      (WebCore::InspectorController::didCancelFrame):
      (WebCore::InspectorController::willComposite):
      (WebCore::InspectorController::didComposite):
      * inspector/InspectorController.h:
      (InspectorController):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore):
      * inspector/InspectorInstrumentation.h:
      (InspectorInstrumentation):
      * testing/Internals.cpp:
      (WebCore::Internals::emitInspectorDidBeginFrame):
      (WebCore::Internals::emitInspectorDidCancelFrame):
      
      Source/WebKit/blackberry:
      
      - invoke frame instrumentation methods on InspectorController, not on InspectorInstrumentation.
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::instrumentBeginFrame):
      (BlackBerry::WebKit::BackingStorePrivate::instrumentCancelFrame):
      
      Source/WebKit/chromium:
      
      - expose frame and compositing insturmentation methods on WebDevToolsAgent;
      - temporarily route them from WebViewImpl to WebDevToolsAgent;
      
      * public/WebDevToolsAgent.h:
      (WebDevToolsAgent):
      * src/WebDevToolsAgentImpl.cpp:
      (WebKit::WebDevToolsAgentImpl::didBeginFrame):
      (WebKit):
      (WebKit::WebDevToolsAgentImpl::didCancelFrame):
      (WebKit::WebDevToolsAgentImpl::willComposite):
      (WebKit::WebDevToolsAgentImpl::didComposite):
      * src/WebDevToolsAgentImpl.h:
      (WebDevToolsAgentImpl):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::instrumentBeginFrame):
      (WebKit::WebViewImpl::instrumentCancelFrame):
      (WebKit::WebViewImpl::didBeginFrame):
      (WebKit::WebViewImpl::willCommit):
      
      Source/WebKit/win:
      
      * WebKit.vcproj/WebKitExports.def.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d50549ee
  8. 13 Feb, 2013 3 commits
  9. 12 Feb, 2013 2 commits
    • commit-queue@webkit.org's avatar
      [GTK] Remove the GLib unicode backend · f9b3c2e3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109627
      
      Patch by Martin Robinson <mrobinson@igalia.com> on 2013-02-12
      Reviewed by Benjamin Poulain.
      
      .:
      
      Remove references to the GLib unicode backend from configuration.
      
      * Source/autotools/FindDependencies.m4:
      * Source/autotools/ReadCommandLineArguments.m4:
      * Source/autotools/SetupAutoconfHeader.m4:
      * Source/autotools/SetupAutomake.m4:
      
      Source/WebCore:
      
      Remove references to the GLib unicode backend from WebCore.
      
      * GNUmakefile.list.am: Update the source list.
      * platform/text/gtk/TextBreakIteratorGtk.cpp: Removed.
      * platform/text/gtk/TextCodecGtk.cpp: Removed.
      * platform/text/gtk/TextCodecGtk.h: Removed.
      
      Source/WTF:
      
      Remove references to the GLib unicode backend from WTF.
      
      * GNUmakefile.list.am: Remove GLib unicode files from the source list.
      * wtf/unicode/glib/UnicodeGLib.cpp: Removed.
      * wtf/unicode/glib/UnicodeGLib.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9b3c2e3
    • mrobinson@webkit.org's avatar
      [GTK] Remove the enable-debug-feature configuration option · afae6164
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109539
      
      Reviewed by Philippe Normand.
      
      Remove the --enable-debug-feature option from configuration. It doesn't
      do anything that --enable-debug doesn't.
      
      * Source/autotools/PrintBuildConfiguration.m4: Remove references to --enable-debug-features.
      * Source/autotools/ReadCommandLineArguments.m4: Ditto.
      * Source/autotools/SetupAutoconfHeader.m4: Ditto.
      * Source/autotools/SetupAutomake.m4: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afae6164
  10. 11 Feb, 2013 2 commits
    • eric.carlson@apple.com's avatar
      [Mac] Track language selection should be sticky · b54d1c88
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=109466
      
      Reviewed by Dean Jackson.
      
      .: 
      
      * Source/autotools/symbols.filter: Export PageGroup::captionPreferences and Page::initGroup.
      
      Source/WebCore: 
      
      Choosing a text track from the caption menu should make that track's language the
      preferred caption language. Turning captions off from the menu should disable captions
      in videos loaded subsequently.
      
      OS X has system support for these settings, so changes made by DRT should not change the
      settings on the user's system. Add support for all other ports in DRT only.
      
      Test: media/track/track-user-preferences.html
      
      * WebCore.exp.in: Export PageGroup::captionPreferences().
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::HTMLMediaElement): Use page()->group().captionPreferences().
      (WebCore::HTMLMediaElement::attach): Ditto.
      (WebCore::HTMLMediaElement::detach): Ditto.
      (WebCore::HTMLMediaElement::userPrefersCaptions): Ditto.
      (WebCore::HTMLMediaElement::configureTextTrackGroup): Ditto. Update for 
          preferredLanguageFromList change.
      (WebCore::HTMLMediaElement::toggleTrackAtIndex): Set user prefs for captions visible and
          caption language as appropriate.
      
      * html/shadow/MediaControlElements.cpp:
      (WebCore::MediaControlClosedCaptionsTrackListElement::defaultEventHandler): Remove unneeded comment.
      (WebCore::MediaControlTextTrackContainerElement::updateSizes):  Use page()->group().captionPreferences().
      
      * html/shadow/MediaControlsApple.cpp:
      (WebCore::MediaControlsApple::closedCaptionTracksChanged): Update caption menu button visibility.
      
      * page/CaptionUserPreferences.h:
      (WebCore::CaptionUserPreferences::userPrefersCaptions): Support "testing" mode.
      (WebCore::CaptionUserPreferences::setUserPrefersCaptions): Ditto.
      (WebCore::CaptionUserPreferences::registerForPreferencesChangedCallbacks): Ditto.
      (WebCore::CaptionUserPreferences::unregisterForPreferencesChangedCallbacks): Ditto.
      (WebCore::CaptionUserPreferences::setPreferredLanguage): Ditto.
      (WebCore::CaptionUserPreferences::preferredLanguages): Ditto.
      (WebCore::CaptionUserPreferences::testingMode): Ditto.
      (WebCore::CaptionUserPreferences::setTestingMode): Ditto.
      (WebCore::CaptionUserPreferences::CaptionUserPreferences): Ditto.
      
      * page/CaptionUserPreferencesMac.h:
      * page/CaptionUserPreferencesMac.mm:
      (WebCore::CaptionUserPreferencesMac::userPrefersCaptions): Support "testing" mode.
      (WebCore::CaptionUserPreferencesMac::setUserPrefersCaptions): Ditto.
      (WebCore::CaptionUserPreferencesMac::userHasCaptionPreferences): Ditto.
      (WebCore::CaptionUserPreferencesMac::registerForPreferencesChangedCallbacks): Change name from
          registerForCaptionPreferencesChangedCallbacks. Support "testing" mode.
      (WebCore::CaptionUserPreferencesMac::unregisterForPreferencesChangedCallbacks):  Change name from
          unregisterForCaptionPreferencesChangedCallbacks. Support "testing" mode.
      (WebCore::CaptionUserPreferencesMac::captionsStyleSheetOverride): Support "testing" mode.
      (WebCore::CaptionUserPreferencesMac::captionFontSizeScale): Ditto.
      (WebCore::CaptionUserPreferencesMac::setPreferredLanguage): Ditto.
      (WebCore::CaptionUserPreferencesMac::preferredLanguages): Ditto. Return the platform override when set.
      
      * page/PageGroup.cpp:
      (WebCore::PageGroup::registerForCaptionPreferencesChangedCallbacks): Remove because it is already
          available from the caption preference object.
      (WebCore::PageGroup::unregisterForCaptionPreferencesChangedCallbacks): Ditto.
      (WebCore::PageGroup::userPrefersCaptions): Ditto.
      (WebCore::PageGroup::userHasCaptionPreferences): Ditto.
      (WebCore::PageGroup::captionFontSizeScale): Ditto.
      * page/PageGroup.h:
      
      * platform/Language.cpp:
      (WebCore::preferredLanguageFromList): Take the list of preferred languages instead of assuming
          the system list.
      * platform/Language.h:
      
      * testing/Internals.cpp:
      (WebCore::Internals::resetToConsistentState): Disable caption testing mode.
      (WebCore::Internals::Internals): Enable caption testing mode so the user's system
          preferences are not modified.
      
      LayoutTests: 
      
      * media/track/track-user-preferences-expected.txt: Added.
      * media/track/track-user-preferences.html: Added.
      
      * platform/chromium/TestExpectations: Skip new test, it depends on the track menu.
      * platform/efl/TestExpectations: Ditto.
      * platform/gtk/TestExpectations: Ditto.
      * platform/qt/TestExpectations: Ditto.
      * platform/win/TestExpectations: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b54d1c88
    • benjamin@webkit.org's avatar
      Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings · eee9a0db
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109349
      
      Reviewed by Sam Weinig.
      
      .: 
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: 
      
      Expose setMinimumTimerInterval() and implement the backup/restore to keep
      a consistent state between tests.
      
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup):
      (WebCore::InternalSettings::Backup::restoreTo):
      (WebCore::InternalSettings::setMinimumTimerInterval):
      (WebCore):
      * testing/InternalSettings.h:
      (Backup):
      (InternalSettings):
      * testing/InternalSettings.idl:
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      (DumpRenderTreeSupportGtk):
      
      Source/WebKit/mac: 
      
      * WebView/WebView.mm:
      * WebView/WebViewPrivate.h:
      
      Source/WebKit/qt: 
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      * WebCoreSupport/DumpRenderTreeSupportQt.h:
      
      Source/WebKit2: 
      
      * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      * WebProcess/InjectedBundle/InjectedBundle.h:
      (InjectedBundle):
      
      Tools: 
      
      Get rid of TestRunner's setMinimumTimerInterval and all the related functions.
      
      This also fixes an oddity:
      TestRunners were initialized with a minimum timer interval of 10 milliseconds instead
      of using the default value. All with the same copy of an outdated comment.
      
      * DumpRenderTree/TestRunner.cpp:
      (TestRunner::staticFunctions):
      * DumpRenderTree/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
      * DumpRenderTree/chromium/TestRunner/public/WebPreferences.h:
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
      (WebTestRunner::TestRunner::TestRunner):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp:
      (WebTestRunner::WebPreferences::reset):
      (WebTestRunner::WebPreferences::applyTo):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::reset):
      * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
      (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
      * DumpRenderTree/efl/TestRunnerEfl.cpp:
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (resetDefaultsToConsistentValues):
      * DumpRenderTree/gtk/TestRunnerGtk.cpp:
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetWebViewToConsistentStateBeforeTesting):
      * DumpRenderTree/mac/TestRunnerMac.mm:
      * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
      (WebCore::WebPage::resetSettings):
      * DumpRenderTree/qt/TestRunnerQt.cpp:
      * DumpRenderTree/qt/TestRunnerQt.h:
      (TestRunner):
      * DumpRenderTree/win/DumpRenderTree.cpp:
      (resetWebViewToConsistentStateBeforeTesting):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      * DumpRenderTree/wx/TestRunnerWx.cpp:
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
      (WTR::InjectedBundle::beginTesting):
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      * WebKitTestRunner/InjectedBundle/TestRunner.h:
      (TestRunner):
      
      LayoutTests: 
      
      Update the tests to use InternalSettings.
      
      * fast/dom/timer-increase-min-interval-and-reset-part-1.html:
      * fast/dom/timer-increase-min-interval-repeating.html:
      * fast/dom/timer-increase-min-interval.html:
      * fast/dom/timer-increase-then-decrease-min-interval-repeating.html:
      * fast/dom/timer-increase-then-decrease-min-interval.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eee9a0db
  11. 10 Feb, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Rename ENABLE(GLIB_SUPPORT) to USE(GLIB) · 245e4846
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=104266
      
      Patch by Jae Hyun Park <jae.park08@gmail.com> on 2013-02-10
      Reviewed by Philippe Normand.
      
      Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
      the existing macro naming conventions.
      
      From Platform.h
      USE() - use a particular third-party library or optional OS service
      ENABLE() - turn on a specific feature of WebKit
      
      .:
      
      * Source/autotools/SetupAutoconfHeader.m4:
      * Source/cmake/OptionsEfl.cmake:
      
      Source/WebCore:
      
      No new tests, no new functionality.
      
      * WebCore.pri:
      
      Source/WebKit/gtk:
      
      * gyp/Configuration.gypi:
      
      Source/WebKit/mac:
      
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:]):
      (-[WebView _close]):
      * WebView/WebViewData.h:
      * WebView/WebViewInternal.h:
      
      Source/WTF:
      
      * WTF.pri:
      * wtf/Platform.h:
      * wtf/gobject/GOwnPtr.cpp:
      * wtf/gobject/GOwnPtr.h:
      * wtf/gobject/GRefPtr.cpp:
      * wtf/gobject/GRefPtr.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      245e4846
  12. 09 Feb, 2013 1 commit
  13. 08 Feb, 2013 4 commits
    • benjamin@webkit.org's avatar
      Move workerThreadCount from TestRunner to WebCore Internals · b9181b30
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109239
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-02-08
      Reviewed by Darin Adler.
      
      .: 
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: 
      
      Add the new read-only property workerThreadCount.
      
      * testing/Internals.cpp:
      (WebCore::Internals::workerThreadCount):
      (WebCore):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit: 
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/efl: 
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      * WebCoreSupport/DumpRenderTreeSupportEfl.h:
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      (DumpRenderTreeSupportGtk):
      
      Source/WebKit/mac: 
      
      Get rid of WebWorkersPrivate, which was only needed for DRT.
      
      * WebKit.exp:
      * Workers/WebWorkersPrivate.h: Removed.
      * Workers/WebWorkersPrivate.mm: Removed.
      
      Source/WebKit/qt: 
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      * WebCoreSupport/DumpRenderTreeSupportQt.h:
      
      Source/WebKit/win: 
      
      * WebKit.vcproj/WebKitExports.def.in:
      
      Source/WebKit2: 
      
      * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      * WebProcess/InjectedBundle/InjectedBundle.h:
      (InjectedBundle):
      * WebProcess/WebPage/WebFrame.cpp: Remove a useless #include.
      
      Tools: 
      
      * DumpRenderTree/TestRunner.cpp:
      (TestRunner::staticValues):
      * DumpRenderTree/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
      (WebTestRunner::TestRunner::TestRunner):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/efl/TestRunnerEfl.cpp:
      * DumpRenderTree/gtk/TestRunnerGtk.cpp:
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (TestRunner::webHistoryItemCount):
      * DumpRenderTree/qt/TestRunnerQt.cpp:
      * DumpRenderTree/qt/TestRunnerQt.h:
      (TestRunner):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      * DumpRenderTree/wx/TestRunnerWx.cpp:
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      * WebKitTestRunner/InjectedBundle/TestRunner.h:
      
      LayoutTests: 
      
      Update the tests testRunner->internals.
      
      * fast/workers/resources/dedicated-worker-lifecycle.js:
      (runTests.worker.onmessage):
      (runTests):
      (orphanedWorkerExited.worker.onmessage):
      (orphanedWorkerExited):
      * fast/workers/resources/worker-lifecycle.js:
      (runTests.worker.onmessage):
      (runTests):
      * fast/workers/resources/worker-util.js:
      (.return):
      (waitUntilThreadCountMatches):
      * fast/workers/worker-close-more.html:
      * http/tests/workers/resources/worker-util.js:
      (.return):
      (waitUntilThreadCountMatches):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9181b30
    • dino@apple.com's avatar
      Only a fool would cut and paste from a terminal showing truncated git logs. · 68374c82
      dino@apple.com authored
      I am that fool.
      
      Export the full symbol for InlineBox::nodeAtPoint.
      
      * Source/autotools/symbols.filter:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68374c82
    • dino@apple.com's avatar
      Snapshotted plug-in should use shadow root · 0a8f1f24
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=108284
      
      Unreviewed GTK+ build fix.
      
      * Source/autotools/symbols.filter: Export InlineBox symbols.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a8f1f24
    • mrobinson@webkit.org's avatar
      [GTK] Split configure.ac into reusable portions · 38e753c5
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109246
      
      Reviewed by Philippe Normand.
      
      Split up configure.ac into sections based on different "phases"
      of configuration. This should make it easier to find what you are
      looking for as well as creating a "right" place to put things.
      A nice side effect of this is that we can share the different
      modules with a gyp build.
      
      * Source/autotools/CheckSystemAndBasicDependencies.m4: Added.
      * Source/autotools/FindDependencies.m4: Added.
      * Source/autotools/PrintBuildConfiguration.m4: Added.
      * Source/autotools/ReadCommandLineArguments.m4: Added.
      * Source/autotools/SetupAutoconfHeader.m4: Added.
      * Source/autotools/SetupAutomake.m4: Added.
      * Source/autotools/SetupCompilerFlags.m4: Added.
      * Source/autotools/SetupLibtool.m4: Added.
      * Source/autotools/Versions.m4: Added.
      * configure.ac:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38e753c5
  14. 07 Feb, 2013 1 commit
  15. 04 Feb, 2013 1 commit
    • benjamin@webkit.org's avatar
      Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from... · 99308baf
      benjamin@webkit.org authored
      Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
      https://bugs.webkit.org/show_bug.cgi?id=108741
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-02-04
      Reviewed by Tony Chang.
      
      .: 
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: 
      
      Move suspendAnimations and resumeAnimations to group all the animation related
      code together.
      
      Add support for numberOfActiveAnimations, similarily to the feature previously defined
      in TestRunner.
      
      * testing/Internals.cpp:
      (WebCore::Internals::numberOfActiveAnimations):
      (WebCore):
      (WebCore::Internals::suspendAnimations):
      (WebCore::Internals::resumeAnimations):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit/efl: 
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      * WebCoreSupport/DumpRenderTreeSupportEfl.h:
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      (DumpRenderTreeSupportGtk):
      
      Source/WebKit/mac: 
      
      * WebView/WebFrame.mm:
      * WebView/WebFramePrivate.h:
      
      Source/WebKit/qt: 
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      * WebCoreSupport/DumpRenderTreeSupportQt.h:
      
      Source/WebKit/win: 
      
      * WebKit.vcproj/WebKitExports.def.in:
      
      Source/WebKit2: 
      
      Suspending and resuming application has been useless for a one. Someone just
      "forgot" WebKit2.
      
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
      * WebProcess/WebPage/WebFrame.cpp:
      * WebProcess/WebPage/WebFrame.h:
      (WebFrame):
      
      Tools: 
      
      Remove all support for suspendAnimation(), resumeAnimation() and numberOfActiveAnimations().
      
      * DumpRenderTree/TestRunner.cpp:
      (TestRunner::staticFunctions):
      * DumpRenderTree/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
      (WebTestRunner::TestRunner::TestRunner):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/efl/TestRunnerEfl.cpp:
      * DumpRenderTree/gtk/TestRunnerGtk.cpp:
      * DumpRenderTree/mac/TestRunnerMac.mm:
      * DumpRenderTree/qt/TestRunnerQt.cpp:
      * DumpRenderTree/qt/TestRunnerQt.h:
      (TestRunner):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      * DumpRenderTree/wx/TestRunnerWx.cpp:
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      * WebKitTestRunner/InjectedBundle/TestRunner.h:
      (TestRunner):
      
      LayoutTests: 
      
      Update the tests to use WebCore Internals instead of the TestRunner.
      
      * animations/animation-controller-drt-api.html:
      * transitions/hang-with-bad-transition-list.html:
      * transitions/remove-transition-style.html:
      * transitions/repeated-firing-background-color.html:
      * transitions/zero-duration-with-non-zero-delay-end.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99308baf
  16. 01 Feb, 2013 2 commits
    • benjamin@webkit.org's avatar
      Clean the String->AtomicString conversion for AnimationController::pauseAnimationAtTime · d19a49c4
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=108558
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-02-01
      Reviewed by Dean Jackson.
      
      .: 
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: 
      
      This is a step torward killing the implicit conversion from String to AtomicString.
      
      The animation name are AtomicString. The API is changed all the way to the callers
      to take an AtomicString. When needed, we use explicit conversion.
      
      * WebCore.exp.in:
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::pauseAnimationAtTime):
      (WebCore::AnimationController::pauseAnimationAtTime):
      * page/animation/AnimationController.h:
      (AnimationController):
      * page/animation/AnimationControllerPrivate.h:
      (AnimationControllerPrivate):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::pauseAnimationAtTime):
      We should not null check the name. Getting a null name from the HashMap would be
      an error from the tests, and the HashMap would never return a value anyway.
      * testing/Internals.cpp:
      (WebCore::Internals::pauseAnimationAtTimeOnPseudoElement):
      
      Source/WebKit2: 
      
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
      (WKBundleFramePauseAnimationOnElementWithId):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::pauseAnimationOnElementWithId):
      * WebProcess/WebPage/WebFrame.h:
      (WebFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d19a49c4
    • zandobersek@gmail.com's avatar
      [GTK] Add WTFURL source files to the build · 050d2e2f
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=108215
      
      Reviewed by Benjamin Poulain.
      
      .: 
      
      * Source/autotools/symbols.filter: Force the export of the KURL::string() symbol.
      This is required when using the WTFURL backend but otherwise doesn't affect the build.
      
      Source/WebCore: 
      
      * platform/KURLWTFURL.cpp:
      (WebCore): Only use the stub implementation of the fileSystemPath method for the
      Apple ports, other ports should for now still rely on their platform-specific implementations.
      
      Source/WTF: 
      
      The WTFURL implementation sources are all still guarded by the USE(WTFURL) guard,
      meaning that the GTK port still uses the default KURL backend. To use the WTFURL
      backend instead, one would have to define WTF_USE_WTFURL in Platform.h.
      
      * GNUmakefile.am: List the directories from which source headers will be included.
      Plenty of WTFURL code currently just includes the required header by name rather
      than specifying the header path as relative to Source/WTF. In the future all the inclusions
      should probaby be changed to include the header through the path relative to Source/WTF.
      * GNUmakefile.list.am: Add build targets for the WTFURL source files.
      * wtf/url/api/ParsedURL.cpp: Specify the complete path to the required headers and
      reorder the inclusions.
      * wtf/url/src/URLCanon.h: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      050d2e2f
  17. 30 Jan, 2013 1 commit
  18. 29 Jan, 2013 2 commits
    • shinyak@chromium.org's avatar
      [Chromium] Cannot copy text when selecting readonly (or disabled) input elements · f803a768
      shinyak@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106287
      
      Reviewed by Hajime Morita.
      
      .:
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      When an input element is disabled or readonly, its inner element is not editable. So its rootEditableElement
      does not exist. In WebViewImpl::caretOrSelectionRange, if rootEditableElement does not exist, it uses
      a document element. However, the inner element and document element have a different tree scope, the selection range
      cannot be gotten correctly.
      
      We should use ShadowRoot instead of document so that we can stay in the same tree scope.
      
      * WebCore.exp.in:
      * editing/FrameSelection.cpp:
      (WebCore::FrameSelection::rootEditableElementOrTreeScopeRootNode): Added. Returns ShadowRoot so that we can
      stay in the same tree scope.
      (WebCore):
      * editing/FrameSelection.h:
      (FrameSelection):
      * editing/TextIterator.cpp:
      (WebCore::TextIterator::getLocationAndLengthFromRange):
      * editing/TextIterator.h:
      (TextIterator):
      
      Source/WebKit/chromium:
      
      When an input element is disabled or readonly, its inner element is not editable. So its rootEditableElement
      does not exist. In WebViewImpl::caretOrSelectionRange, if rootEditableElement does not exist, it uses
      a document element. However, the inner element and document element have a different tree scope, selection range
      cannot be gotten correctly.
      
      We should use ShadowRoot instead of document so that we can stay in the same tree scope.
      
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::caretOrSelectionRange):
      * tests/WebViewTest.cpp:
      * tests/data/selection_disabled.html: Added.
      * tests/data/selection_readonly.html: Added.
      
      Source/WebKit/win:
      
      * WebKit.vcproj/WebKitExports.def.in:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f803a768
    • japhet@chromium.org's avatar
      .: Enable reuse of cached main resources · 3e317182
      japhet@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Adam Barth.
      
      * Source/autotools/symbols.filter: Expose MemoryCache::resourceForURL().
      
      Source/WebCore: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Adam Barth.
      
      Test: http/tests/cache/cached-main-resource.html
      
      * WebCore.exp.in:
      * dom/Document.cpp:
      (WebCore::Document::hasManifest): Returns true if the <html> element has a non-empty manifest attribute.
      (WebCore):
      * dom/Document.h:
      (Document):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadedResourceFromMemoryCache): Don't send delegate callbacks for cache hit here, since
          MainResourceLoader will take care of it.
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::MainResourceLoader):
      (WebCore::MainResourceLoader::receivedError):
      (WebCore::MainResourceLoader::willSendRequest):
      (WebCore::MainResourceLoader::responseReceived): Don't try to cache loads from the application cache.
      (WebCore::MainResourceLoader::didFinishLoading): Don't try to cache loads from the application cache.
      (WebCore::MainResourceLoader::load): Ensure we create a resource load identifier for cache hits. Also,
          ensure we correctly popualate fragment identifiers in the ResourceRequest reported to DocumentLoader.
      (WebCore::MainResourceLoader::identifier):
      * loader/MainResourceLoader.h: Rename m_substituteDataLoadIdentifier to m_identifierForLoadWithoutResourceLoader
          to better describe when it is used.
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::didAddClient): Synthesize redirect notifications for cache hits if necessary.
      (WebCore::CachedRawResource::willSendRequest): Note the redirects we received.
      (WebCore::CachedRawResource::canReuse): Don't reuse a resource if the redirect chain included a "Cache-control: no-store".
      * loader/cache/CachedRawResource.h:
      (CachedRawResource):
      (RedirectPair):
      (WebCore::CachedRawResource::RedirectPair::RedirectPair):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::addClientToSet): Don't return cached data for a main resource synchronously
      * loader/cache/CachedResource.h:
      (WebCore::CachedResource::canReuse):
      (CachedResource):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::requestResource): Leave cahce reuse of main resources off for chromium for now.
      (WebCore::CachedResourceLoader::determineRevalidationPolicy): Permit cache reuse for main resources.
      * testing/Internals.cpp:
      (WebCore::Internals::isPreloaded):
      (WebCore):
      (WebCore::Internals::isLoadingFromMemoryCache):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit/win: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Adam Barth.
      
      * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
      
      LayoutTests: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667.
      
      Reviewed by Adam Barth.
      
      * http/tests/cache/cached-main-resource-expected.txt: Added.
      * http/tests/cache/cached-main-resource.html: Added.
      * http/tests/cache/resources/cacheable-iframe.php: Added.
      * http/tests/inspector/resource-har-pages-expected.txt:
      * http/tests/loading/redirect-methods-expected.txt:
      * http/tests/misc/favicon-loads-with-images-disabled-expected.txt:
      * http/tests/misc/link-rel-icon-beforeload-expected.txt:
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e317182
  19. 23 Jan, 2013 1 commit
  20. 18 Jan, 2013 1 commit
    • dominicc@chromium.org's avatar
      Unreviewed, rolling out r140005. · 7a319e5a
      dominicc@chromium.org authored
      http://trac.webkit.org/changeset/140005
      https://bugs.webkit.org/show_bug.cgi?id=107235
      
      broke downstream Chromium interactive_ui_tests (Requested by
      dominicc on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-18
      
      .:
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * dom/Document.cpp:
      * dom/Document.h:
      (WebCore::Document::documentElement):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadedResourceFromMemoryCache):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::MainResourceLoader):
      (WebCore::MainResourceLoader::receivedError):
      (WebCore::MainResourceLoader::willSendRequest):
      (WebCore::MainResourceLoader::responseReceived):
      (WebCore::MainResourceLoader::didFinishLoading):
      (WebCore::MainResourceLoader::load):
      (WebCore::MainResourceLoader::identifier):
      * loader/MainResourceLoader.h:
      (MainResourceLoader):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::didAddClient):
      (WebCore::CachedRawResource::willSendRequest):
      (WebCore::CachedRawResource::canReuse):
      * loader/cache/CachedRawResource.h:
      (CachedRawResource):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::addClientToSet):
      * loader/cache/CachedResource.h:
      (CachedResource):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::determineRevalidationPolicy):
      * testing/Internals.cpp:
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit/win:
      
      * WebKit.vcproj/WebKitExports.def.in:
      
      LayoutTests:
      
      * http/tests/cache/cached-main-resource-expected.txt: Removed.
      * http/tests/cache/cached-main-resource.html: Removed.
      * http/tests/cache/resources/cacheable-iframe.php: Removed.
      * http/tests/inspector/resource-har-pages-expected.txt:
      * http/tests/loading/redirect-methods-expected.txt:
      * http/tests/misc/favicon-loads-with-images-disabled-expected.txt:
      * http/tests/misc/link-rel-icon-beforeload-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a319e5a
  21. 17 Jan, 2013 1 commit
    • japhet@chromium.org's avatar
      .: Enable reuse of cached main resources · 88239e33
      japhet@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Antti Koivisto.
      
      * Source/autotools/symbols.filter: Expose MemoryCache::resourceForURL().
      
      Source/WebCore: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Antti Koivisto.
      
      Test: http/tests/cache/cached-main-resource.html
      
      * WebCore.exp.in:
      * dom/Document.cpp:
      (WebCore::Document::hasManifest): Returns true if the <html> element has a non-empty manifest attribute.
      * dom/Document.h:
      (Document):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadedResourceFromMemoryCache): Don't send delegate callbacks for cache hit here, since
          MainResourceLoader will take care of it.
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::MainResourceLoader):
      (WebCore::MainResourceLoader::receivedError):
      (WebCore::MainResourceLoader::willSendRequest):
      (WebCore::MainResourceLoader::responseReceived): Don't try to cache loads from the application cache.
      (WebCore::MainResourceLoader::didFinishLoading): Don't try to cache loads from the application cache.
      (WebCore::MainResourceLoader::load): Ensure we create a resource load identifier for cache hits. Also,
          ensure we correctly popualate fragment identifiers in the ResourceRequest reported to DocumentLoader.
      (WebCore::MainResourceLoader::identifier):
      * loader/MainResourceLoader.h: Rename m_substituteDataLoadIdentifier to m_identifierForLoadWithoutResourceLoader
          to better describe when it is used.
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::didAddClient): Synthesize redirect notifications for cache hits if necessary.
      (WebCore::CachedRawResource::willSendRequest): Note the redirects we received.
      (WebCore::CachedRawResource::canReuse): Don't reuse a resource if the redirect chain included a "Cache-control: no-store".
      * loader/cache/CachedRawResource.h:
      (CachedRawResource):
      (RedirectPair):
      (WebCore::CachedRawResource::RedirectPair::RedirectPair):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::addClientToSet):: Don't return cached data for a main resource synchronously
      * loader/cache/CachedResource.h:
      (WebCore::CachedResource::canReuse):
      (CachedResource):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::determineRevalidationPolicy): Permit cache reuse for main resources.
      * testing/Internals.cpp:
      (WebCore::Internals::isLoadingFromMemoryCache):
      (WebCore):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit/win: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Antti Koivisto.
      
      * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
      
      LayoutTests: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667.
      
      Reviewed by Antti Koivisto.
      
      * http/tests/cache/cached-main-resource-expected.txt: Added.
      * http/tests/cache/cached-main-resource.html: Added.
      * http/tests/cache/resources/cacheable-iframe.php: Added.
      * http/tests/inspector/resource-har-pages-expected.txt:
      * http/tests/loading/redirect-methods-expected.txt:
      * http/tests/misc/favicon-loads-with-images-disabled-expected.txt:
      * http/tests/misc/link-rel-icon-beforeload-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88239e33
  22. 14 Jan, 2013 2 commits
    • leviw@chromium.org's avatar
      Source/WebCore: Rolling out r139683. It broke a bunch of webkit_unit_tests. · db5f5c2b
      leviw@chromium.org authored
      Source/WebKit/win: Rolling out r139683. It broke a bunch of webkit_unit_tests. 
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db5f5c2b
    • japhet@chromium.org's avatar
      .: Enable reuse of cached main resources · c4b1de86
      japhet@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Antti Koivisto.
      
      * Source/autotools/symbols.filter: Expose MemoryCache::resourceForURL().
      
      Source/WebCore: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Antti Koivisto.
      
      Test: http/tests/cache/cached-main-resource.html
      
      * WebCore.exp.in:
      * dom/Document.cpp:
      (WebCore::Document::hasManifest): Returns true if the <html> element has a non-empty manifest attribute.
      * dom/Document.h:
      (Document):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadedResourceFromMemoryCache): Don't send delegate callbacks for cache hit here, since
          MainResourceLoader will take care of it.
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::MainResourceLoader):
      (WebCore::MainResourceLoader::receivedError):
      (WebCore::MainResourceLoader::willSendRequest):
      (WebCore::MainResourceLoader::responseReceived): Don't try to cache loads from the application cache.
      (WebCore::MainResourceLoader::didFinishLoading): Don't try to cache loads from the application cache.
      (WebCore::MainResourceLoader::load): Ensure we create a resource load identifier for cache hits. Also,
          ensure we correctly popualate fragment identifiers in the ResourceRequest reported to DocumentLoader.
      (WebCore::MainResourceLoader::identifier):
      * loader/MainResourceLoader.h: Rename m_substituteDataLoadIdentifier to m_identifierForLoadWithoutResourceLoader
          to better describe when it is used.
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::didAddClient): Synthesize redirect notifications for cache hits if necessary.
      (WebCore::CachedRawResource::willSendRequest): Note the redirects we received.
      (WebCore::CachedRawResource::canReuse): Don't reuse a resource if the redirect chain included a "Cache-control: no-store".
      * loader/cache/CachedRawResource.h:
      (CachedRawResource):
      (RedirectPair):
      (WebCore::CachedRawResource::RedirectPair::RedirectPair):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::addClientToSet):: Don't return cached data for a main resource synchronously
      * loader/cache/CachedResource.h:
      (WebCore::CachedResource::canReuse):
      (CachedResource):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::determineRevalidationPolicy): Permit cache reuse for main resources.
      * testing/Internals.cpp:
      (WebCore::Internals::isLoadingFromMemoryCache):
      (WebCore):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit/win: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667
      
      Reviewed by Antti Koivisto.
      
      * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
      
      LayoutTests: Enable reuse of cached main resources
      https://bugs.webkit.org/show_bug.cgi?id=105667.
      
      Reviewed by Antti Koivisto.
      
      * http/tests/cache/cached-main-resource-expected.txt: Added.
      * http/tests/cache/cached-main-resource.html: Added.
      * http/tests/cache/resources/cacheable-iframe.php: Added.
      * http/tests/inspector/resource-har-pages-expected.txt:
      * http/tests/loading/redirect-methods-expected.txt:
      * http/tests/misc/favicon-loads-with-images-disabled-expected.txt:
      * http/tests/misc/link-rel-icon-beforeload-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4b1de86
  23. 11 Jan, 2013 1 commit
    • carlosgc@webkit.org's avatar
      [GTK] Add API to set the web extensions directory to WebKit2 GTK+ · 3c42ac31
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106462
      
      Reviewed by Xan Lopez.
      
      .:
      
      * Source/autotools/symbols.filter: Update
      WebGtkExtensionManager::initialize symbol.
      
      Source/WebKit2:
      
      * UIProcess/API/gtk/WebKitWebContext.cpp:
      (webkit_web_context_set_web_extensions_directory): Set
      the given directory as injected bundle initialization user data.
      * UIProcess/API/gtk/WebKitWebContext.h:
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbol.
      * UIProcess/API/gtk/tests/TestWebExtensions.cpp:
      (beforeAll): Update the test to use
      webkit_web_context_set_web_extensions_directory()
      instead of setting the WEBKIT_WEB_EXTENSIONS_PATH env var.
      * WebProcess/gtk/WebGtkExtensionManager.cpp:
      (WebKit::WebGtkExtensionManager::scanModules): Append the given
      additional web extensions directory to the list of directories to
      scan for modules.
      (WebKit::WebGtkExtensionManager::initialize): Get the additional
      web extensions directory from initialization user data and pass it
      to scanModules().
      * WebProcess/gtk/WebGtkExtensionManager.h:
      (WebGtkExtensionManager): Add userData parameter.
      * WebProcess/gtk/WebGtkInjectedBundleMain.cpp:
      (WKBundleInitialize): Pass initialization user data to
      WebGtkExtensionManager.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c42ac31
  24. 10 Jan, 2013 2 commits
    • zandobersek@gmail.com's avatar
      [Autotools] Add the AM_WEBKIT_FEATURE_CONDITIONAL macro · 9f55fb29
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106576
      
      Reviewed by Martin Robinson.
      
      Replace the AC_CHECK_WEBKIT_FEATURE_ENABLED with the new macro.
      The former was executing actions based on the passed-in feature being
      enabled in the (possibly overridden) GNUmakefile.features.am, the actions
      usually affecting the Automake conditional value that was set up afterwards.
      The new macro does this directly, setting up an Automake conditional of the
      same name as the feature that was checked.
      
      * Source/autotools/webkitfeature.m4:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f55fb29
    • commit-queue@webkit.org's avatar
      [GTK] Add support for loading web process extensions · d127870e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105631
      
      Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-01-10
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      * GNUmakefile.am: Add webkit2_web_extension_h_api.
      * Source/autotools/symbols.filter: Export WebGtkExtensionManager
      symbols required by the injected bundle lib.
      
      Source/WebKit2:
      
      * GNUmakefile.am: Link to libWebCoreDOM.la and build injected
      bundle lib.
      * GNUmakefile.list.am: Add new files to compilation.
      * UIProcess/API/gtk/WebKitWebContext.cpp:
      (injectedBundleDirectory): Helper funtion to get the injected
      bundle directory.
      (injectedBundleFilename): Helper funtion to get the injected undle
      library full path.
      (createDefaultWebContext): Create the WebContext with an injected
      bundle path.
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_page_id): Return the identifier of the web
      page associated to the web view.
      * UIProcess/API/gtk/WebKitWebView.h:
      * UIProcess/API/gtk/docs/webkit2gtk-docs.sgml: Add new chapter for
      web extensions.
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
      * UIProcess/API/gtk/docs/webkit2gtk.types: Add new types.
      * UIProcess/API/gtk/tests/GNUmakefile.am: Add new files to compilation.
      * UIProcess/API/gtk/tests/TestMain.cpp:
      (main):
      * UIProcess/API/gtk/tests/TestWebExtensions.cpp: Added.
      (testWebExtension):
      (beforeAll):
      (afterAll):
      * UIProcess/API/gtk/tests/WebExtensionTest.cpp: Added.
      (methodCallCallback):
      (webkit_web_extension_initialize):
      * UIProcess/API/gtk/tests/WebKitTestBus.cpp: Added.
      (WebKitTestBus::WebKitTestBus):
      (WebKitTestBus::run):
      (WebKitTestBus::~WebKitTestBus):
      (WebKitTestBus::connection):
      (onNameAppeared):
      (WebKitTestBus::createProxy):
      * UIProcess/API/gtk/tests/WebKitTestBus.h: Added.
      (WebKitTestBus):
      * WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp: Added.
      (_WebKitWebExtensionPrivate):
      (webkitWebExtensionPageCreated): Create a WebKitWebPage for the
      newly crated page and emit WebKitWebExtension::page-created
      signals.
      (webkitWebExtensionPageDestroy): Remove the page from the map.
      (didCreatePage): Call webkitWebExtensionPageCreated().
      (willDestroyPage): Call webkitWebExtensionPageDestroy().
      (webkitWebExtensionCreate): Create a new WebKitWebExtension and
      initialize the injected bundle client.
      (webkit_web_extension_get_page): Return the WebKitWebPage for the
      given page identifier.
      * WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h: Added.
      (_WebKitWebExtension):
      (_WebKitWebExtensionClass):
      * WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionDefines.h: Added.
      * WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionPrivate.h: Added.
      * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp: Added.
      (_WebKitWebPagePrivate):
      (webkit_web_page_class_init):
      (webkitWebPageCreate): Create a new WebKitWebPage.
      (webkit_web_page_get_dom_document): Return the WebKitDOMDocument
      loaded in the WebKitWebPage.
      * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h: Added.
      (_WebKitWebPage):
      (_WebKitWebPageClass):
      * WebProcess/InjectedBundle/API/gtk/WebKitWebPagePrivate.h: Added.
      * WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h: Added.
      * WebProcess/gtk/WebGtkExtensionManager.cpp: Added.
      (WebKit::WebGtkExtensionManager::shared): Return the global shared
      instance.
      (WebKit::WebGtkExtensionManager::WebGtkExtensionManager):
      (WebKit::WebGtkExtensionManager::appendModuleDirectories): Add
      directories to scan for modules.
      (WebKit::WebGtkExtensionManager::scanModules): Scan for modules.
      (WebKit::WebGtkExtensionManager::initialize): Load and initialize
      the modules found.
      * WebProcess/gtk/WebGtkExtensionManager.h: Added.
      * WebProcess/gtk/WebGtkInjectedBundleMain.cpp: Added.
      (WKBundleInitialize): Initialize WebGtkExtensionManager.
      
      Tools:
      
      * MiniBrowser/gtk/GNUmakefile.am:
      * MiniBrowser/gtk/main.c:
      (main): Set WEBKIT_INJECTED_BUNDLE env var to use the injected
      bundle lib from build dir.
      * Scripts/webkitpy/style/checker.py: Add exceptions for GTK+ API
      located in WebProcess/InjectedBundle/API/gtk.
      * gtk/generate-gtkdoc:
      (get_webkit2_options): Scan also files in
      WebProcess/InjectedBundle/API/gtk to generate API docs.
      (get_webkit2_options.injected_bundle_src_path): Helper function to
      build paths in WebProcess/InjectedBundle/API/gtk.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d127870e
  25. 09 Jan, 2013 1 commit
    • morrita@google.com's avatar
      [Shadow DOM] Distribution related code on ElementShadow should be minimized. · 71524812
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106294
      
      Reviewed by Dimitri Glazkov.
      
      .:
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      This change moves ElementShadow::m_selectFeatures,
      m_shouldCollectSelectFeatureSet and related methods to
      ContentDistributor.
      
      There are also some renaming and small refactorings for better fit
      on new place:
      
      - shouldCollectSelectFeatureSet is renamed needsSelectorRuleSet for conciseness.
      - setShouldCollectSelectFeatureSet() which used recursion morphed into
        iterative willAffectSelector().
      - ensureDistributionFromDocument() becomes a static method.
      
      No new tests. Refactoring.
      
      * WebCore.exp.in:
      * dom/Element.cpp:
      (WebCore::Element::shouldInvalidateDistributionWhenAttributeChanged):
      * dom/ElementShadow.cpp:
      (WebCore::ElementShadow::addShadowRoot):
      (WebCore::ElementShadow::removeAllShadowRoots):
      * dom/ElementShadow.h:
      (ElementShadow):
      (WebCore::ElementShadow::invalidateDistribution):
      (WebCore::ElementShadow::ensureDistribution):
      (WebCore::ElementShadow::didAffectSelector):
      (WebCore::ElementShadow::willAffectSelector):
      (WebCore::ElementShadow::containingShadow):
      (WebCore):
      * html/shadow/ContentDistributor.cpp:
      (WebCore::ScopeContentDistribution::registerInsertionPoint):
      (WebCore::ScopeContentDistribution::unregisterInsertionPoint):
      (WebCore::ContentDistributor::ContentDistributor):
      (WebCore::ContentDistributor::ensureDistribution):
      (WebCore):
      (WebCore::ContentDistributor::ensureDistributionFromDocument):
      (WebCore::ContentDistributor::invalidateDistribution):
      (WebCore::ContentDistributor::ensureSelectFeatureSet):
      (WebCore::ContentDistributor::collectSelectFeatureSetFrom):
      (WebCore::ContentDistributor::didAffectSelector):
      (WebCore::ContentDistributor::willAffectSelector):
      (WebCore::ContentDistributor::didShadowBoundaryChange):
      * html/shadow/ContentDistributor.h:
      (ScopeContentDistribution):
      (WebCore::ContentDistributor::needsSelectFeatureSet):
      (WebCore::ContentDistributor::setNeedsSelectFeatureSet):
      (ContentDistributor):
      (WebCore::ContentDistributor::setValidity):
      (WebCore::ContentDistributor::needsInvalidation):
      * html/shadow/HTMLContentElement.cpp:
      (WebCore::HTMLContentElement::parseAttribute):
      * html/shadow/HTMLContentElement.h:
      * html/shadow/HTMLShadowElement.cpp:
      (WebCore::HTMLShadowElement::olderShadowRoot):
      * html/shadow/InsertionPoint.cpp:
      (WebCore::InsertionPoint::getDistributedNodes):
      (WebCore::InsertionPoint::insertedInto):
      (WebCore::InsertionPoint::removedFrom):
      * html/shadow/InsertionPoint.h:
      (WebCore::InsertionPoint::canAffectSelector):
      * testing/Internals.cpp:
      (WebCore::Internals::hasSelectorForIdInShadow):
      (WebCore::Internals::hasSelectorForClassInShadow):
      (WebCore::Internals::hasSelectorForAttributeInShadow):
      (WebCore::Internals::hasSelectorForPseudoClassInShadow):
      
      Source/WebKit/win:
      
      * WebKit.vcproj/WebKit.def.in:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71524812
  26. 08 Jan, 2013 1 commit