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

Unified Diff: Source/bindings/core/v8/ScriptController.h

Issue 451013003: Rename V8WindowShell to WindowProxy (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « Source/bindings/core/v8/PageScriptDebugServer.cpp ('k') | Source/bindings/core/v8/ScriptController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptController.h
diff --git a/Source/bindings/core/v8/ScriptController.h b/Source/bindings/core/v8/ScriptController.h
index ddae150b67f23197585b5c07734335ecc31ba51d..931275d5dcc4d264063616ee006d2bceb5ae7b8d 100644
--- a/Source/bindings/core/v8/ScriptController.h
+++ b/Source/bindings/core/v8/ScriptController.h
@@ -56,7 +56,7 @@ class LocalFrame;
class ScriptState;
class ScriptSourceCode;
class SecurityOrigin;
-class V8WindowShell;
+class WindowProxy;
class Widget;
typedef WTF::Vector<v8::Extension*> V8Extensions;
@@ -77,8 +77,8 @@ public:
~ScriptController();
bool initializeMainWorld();
- V8WindowShell* windowShell(DOMWrapperWorld&);
- V8WindowShell* existingWindowShell(DOMWrapperWorld&);
+ WindowProxy* windowProxy(DOMWrapperWorld&);
+ WindowProxy* existingWindowProxy(DOMWrapperWorld&);
// Evaluate JavaScript in the main world.
void executeScriptInMainWorld(const String&, ExecuteScriptPolicy = DoNotExecuteScriptWhenScriptsDisabled);
@@ -124,7 +124,7 @@ public:
TextPosition eventHandlerPosition() const;
- void clearWindowShell();
+ void clearWindowProxy();
void updateDocument();
void namedItemAdded(HTMLDocument*, const AtomicString&);
@@ -150,7 +150,7 @@ public:
v8::Isolate* isolate() const { return m_isolate; }
private:
- typedef HashMap<int, OwnPtr<V8WindowShell> > IsolatedWorldMap;
+ typedef HashMap<int, OwnPtr<WindowProxy> > IsolatedWorldMap;
typedef HashMap<Widget*, NPObject*> PluginObjectMap;
v8::Local<v8::Value> evaluateScriptInMainWorld(const ScriptSourceCode&, AccessControlStatus, ExecuteScriptPolicy);
@@ -159,7 +159,7 @@ private:
const String* m_sourceURL;
v8::Isolate* m_isolate;
- OwnPtr<V8WindowShell> m_windowShell;
+ OwnPtr<WindowProxy> m_windowProxy;
IsolatedWorldMap m_isolatedWorlds;
// A mapping between Widgets and their corresponding script object.
« no previous file with comments | « Source/bindings/core/v8/PageScriptDebugServer.cpp ('k') | Source/bindings/core/v8/ScriptController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698