Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Unified Diff: public/web/WebLocalFrame.h

Issue 595713002: Move local frame-only methods out of WebFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebLocalFrame.h
diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h
index 6c2a035221c3d360a986fe88ea4702e616a4ee44..5b37f60c4d9e44dc59c82a9cd5b7e0b813f632c2 100644
--- a/public/web/WebLocalFrame.h
+++ b/public/web/WebLocalFrame.h
@@ -36,9 +36,9 @@ public:
virtual void addStyleSheetByURL(const WebString& url) = 0;
virtual void navigateToSandboxedMarkup(const WebData& markup) = 0;
+ // FIXME: No clue. What is this for? Probably <a ping>...
virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL) = 0;
-
jamesr 2014/09/23 02:39:16 i think 2 blank lines between sections is delibera
dcheng 2014/09/23 03:04:11 Done.
// Navigation State -------------------------------------------------------
// Returns true if the current frame's load event has not completed.
@@ -48,6 +48,20 @@ public:
// primarily for use in layout tests. You probably want isLoading()
// instead.
virtual bool isResourceLoadInProgress() const = 0;
+
+ // Orientation Changes ----------------------------------------------------
+
+ // Notify the frame that the screen orientation has changed.
+ virtual void sendOrientationChangeEvent() = 0;
+
+ // Scripting --------------------------------------------------------------
+ // ONLY FOR TESTS: Forwards to executeScriptAndReturnValue, but sets a fake
+ // UserGestureIndicator before execution.
+ virtual v8::Handle<v8::Value> executeScriptAndReturnValueForTests(const WebScriptSource&) = 0;
+
+ // Associates an isolated world with human-readable name which is useful for
+ // extension debugging.
+ virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&) = 0;
};
} // namespace blink
« no previous file with comments | « public/web/WebFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698