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

Unified Diff: public/web/WebFrame.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
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 950dad8e023f6ad2e25a0f222b95800744b5e085..5026eae2bdf298cc67b53264fbb3608ba63d617c 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -286,11 +286,6 @@ public:
virtual void setIsolatedWorldContentSecurityPolicy(
int worldID, const WebString&) = 0;
- // Associates an isolated world with human-readable name which is useful for
- // extension debugging.
- virtual void setIsolatedWorldHumanReadableName(
- int worldID, const WebString&) = 0;
-
// Logs to the console associated with this frame.
virtual void addMessageToConsole(const WebConsoleMessage&) = 0;
@@ -306,11 +301,6 @@ public:
virtual v8::Handle<v8::Value> executeScriptAndReturnValue(
const WebScriptSource&) = 0;
- // ONLY FOR TESTS: Same as above but sets a fake UserGestureIndicator before
- // execution.
- virtual v8::Handle<v8::Value> executeScriptAndReturnValueForTests(
- const WebScriptSource&);
-
// worldID must be > 0 (as 0 represents the main world).
// worldID must be < EmbedderWorldIdLimit, high number used internally.
virtual void executeScriptInIsolatedWorld(
@@ -615,21 +605,6 @@ public:
// default behavior will be restored.
virtual void setTickmarks(const WebVector<WebRect>&) = 0;
- // OrientationChange event ---------------------------------------------
-
- // Notify the frame that the screen orientation has changed.
- virtual void sendOrientationChangeEvent() = 0;
-
- // FIXME: this is only there for backward compatibility, it will be removed.
- // Orientation is the interface orientation in degrees.
- // Some examples are:
- // 0 is straight up; -90 is when the device is rotated 90 clockwise;
- // 90 is when rotated counter clockwise.
- void sendOrientationChangeEvent(int orientation)
- {
- sendOrientationChangeEvent();
- }
-
// Events --------------------------------------------------------------
// Dispatches a message event on the current DOMWindow in this WebFrame.

Powered by Google App Engine
This is Rietveld 408576698