Title: [118714] trunk/Source
Revision
118714
Author
[email protected]
Date
2012-05-28 18:50:07 -0700 (Mon, 28 May 2012)

Log Message

Rename FrameLoaderClient::shadowDOMAllowed() to allowShadowDOM()
https://bugs.webkit.org/show_bug.cgi?id=87101

Reviewed by Kentaro Hara.

Source/WebCore:

No new tests. No behavior change.

* bindings/generic/ContextEnabledFeatures.cpp:
(WebCore::ContextEnabledFeatures::shadowDOMEnabled):
* loader/FrameLoaderClient.h:
(WebCore::FrameLoaderClient::allowShadowDOM):

Source/WebKit/chromium:

* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::allowShadowDOM):
* src/FrameLoaderClientImpl.h:
(FrameLoaderClientImpl):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (118713 => 118714)


--- trunk/Source/WebCore/ChangeLog	2012-05-29 01:24:45 UTC (rev 118713)
+++ trunk/Source/WebCore/ChangeLog	2012-05-29 01:50:07 UTC (rev 118714)
@@ -1,3 +1,17 @@
+2012-05-28  MORITA Hajime  <[email protected]>
+
+        Rename FrameLoaderClient::shadowDOMAllowed() to allowShadowDOM()
+        https://bugs.webkit.org/show_bug.cgi?id=87101
+
+        Reviewed by Kentaro Hara.
+
+        No new tests. No behavior change.
+
+        * bindings/generic/ContextEnabledFeatures.cpp:
+        (WebCore::ContextEnabledFeatures::shadowDOMEnabled):
+        * loader/FrameLoaderClient.h:
+        (WebCore::FrameLoaderClient::allowShadowDOM):
+
 2012-05-28  David Barton  <[email protected]>
 
         mathml/presentation/mo-stretch.html and mroot-pref-width.html tests fail on Mac

Modified: trunk/Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp (118713 => 118714)


--- trunk/Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp	2012-05-29 01:24:45 UTC (rev 118713)
+++ trunk/Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp	2012-05-29 01:50:07 UTC (rev 118714)
@@ -46,7 +46,7 @@
     if (!window)
         return false;
     if (Frame* frame = window->frame())
-        return frame->loader()->client()->shadowDOMAllowed(RuntimeEnabledFeatures::shadowDOMEnabled());
+        return frame->loader()->client()->allowShadowDOM(RuntimeEnabledFeatures::shadowDOMEnabled());
     return false;
 }
 #endif

Modified: trunk/Source/WebCore/loader/FrameLoaderClient.h (118713 => 118714)


--- trunk/Source/WebCore/loader/FrameLoaderClient.h	2012-05-29 01:24:45 UTC (rev 118713)
+++ trunk/Source/WebCore/loader/FrameLoaderClient.h	2012-05-29 01:50:07 UTC (rev 118714)
@@ -311,7 +311,7 @@
         virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin*, const KURL&) { return enabledPerSettings; }
         virtual bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, const KURL&) { return enabledPerSettings; }
 
-        virtual bool shadowDOMAllowed(bool enabledAsRuntimeFeatures) { return enabledAsRuntimeFeatures; }
+        virtual bool allowShadowDOM(bool enabledAsRuntimeFeatures) { return enabledAsRuntimeFeatures; }
         virtual bool allowStyleScoped(bool enabledAsRuntimeFeatures) { return enabledAsRuntimeFeatures; }
 #if ENABLE(PAGE_POPUP)
         virtual bool allowPagePopup() { return false; }

Modified: trunk/Source/WebKit/chromium/ChangeLog (118713 => 118714)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-05-29 01:24:45 UTC (rev 118713)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-05-29 01:50:07 UTC (rev 118714)
@@ -1,3 +1,15 @@
+2012-05-28  MORITA Hajime  <[email protected]>
+
+        Rename FrameLoaderClient::shadowDOMAllowed() to allowShadowDOM()
+        https://bugs.webkit.org/show_bug.cgi?id=87101
+
+        Reviewed by Kentaro Hara.
+
+        * src/FrameLoaderClientImpl.cpp:
+        (WebKit::FrameLoaderClientImpl::allowShadowDOM):
+        * src/FrameLoaderClientImpl.h:
+        (FrameLoaderClientImpl):
+
 2012-05-28  Rob Flack  <[email protected]>
 
         [chromium] Only increase size of Combo Box Options when displayed on touch screen

Modified: trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp (118713 => 118714)


--- trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp	2012-05-29 01:24:45 UTC (rev 118713)
+++ trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp	2012-05-29 01:50:07 UTC (rev 118714)
@@ -239,7 +239,7 @@
     return enabledPerSettings;
 }
 
-bool FrameLoaderClientImpl::shadowDOMAllowed(bool enabledAsRuntimeFeature)
+bool FrameLoaderClientImpl::allowShadowDOM(bool enabledAsRuntimeFeature)
 {
     WebViewImpl* webview = m_webFrame->viewImpl();
     if (webview && webview->permissionClient())

Modified: trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.h (118713 => 118714)


--- trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.h	2012-05-29 01:24:45 UTC (rev 118713)
+++ trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.h	2012-05-29 01:50:07 UTC (rev 118714)
@@ -199,7 +199,7 @@
     virtual bool allowImage(bool enabledPerSettings, const WebCore::KURL& imageURL);
     virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, WebCore::SecurityOrigin*, const WebCore::KURL&);
     virtual bool allowRunningInsecureContent(bool enabledPerSettings, WebCore::SecurityOrigin*, const WebCore::KURL&);
-    virtual bool shadowDOMAllowed(bool enabledAsRuntimeFeature) OVERRIDE;
+    virtual bool allowShadowDOM(bool enabledAsRuntimeFeature) OVERRIDE;
     virtual bool allowStyleScoped(bool enabledAsRuntimeFeature) OVERRIDE;
     virtual void didNotAllowScript();
     virtual void didNotAllowPlugins();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to