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

Unified Diff: Source/bindings/core/v8/WindowProxy.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/V8WindowShell.cpp ('k') | Source/bindings/core/v8/WindowProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/WindowProxy.h
diff --git a/Source/bindings/core/v8/V8WindowShell.h b/Source/bindings/core/v8/WindowProxy.h
similarity index 90%
rename from Source/bindings/core/v8/V8WindowShell.h
rename to Source/bindings/core/v8/WindowProxy.h
index 2b1be0bd68a11458e5e8f9614d3985144d44a348..5d91607e5a4ebf1fe0ea4190bf045e6a149f7052 100644
--- a/Source/bindings/core/v8/V8WindowShell.h
+++ b/Source/bindings/core/v8/WindowProxy.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef V8WindowShell_h
-#define V8WindowShell_h
+#ifndef WindowProxy_h
+#define WindowProxy_h
#include "bindings/core/v8/DOMWrapperWorld.h"
#include "bindings/core/v8/ScopedPersistent.h"
@@ -51,11 +51,11 @@ class LocalFrame;
class HTMLDocument;
class SecurityOrigin;
-// V8WindowShell represents all the per-global object state for a LocalFrame that
+// WindowProxy represents all the per-global object state for a LocalFrame that
// persist between navigations.
-class V8WindowShell {
+class WindowProxy {
public:
- static PassOwnPtr<V8WindowShell> create(LocalFrame*, DOMWrapperWorld&, v8::Isolate*);
+ static PassOwnPtr<WindowProxy> create(LocalFrame*, DOMWrapperWorld&, v8::Isolate*);
v8::Local<v8::Context> context() const { return m_scriptState ? m_scriptState->context() : v8::Local<v8::Context>(); }
ScriptState* scriptState() const { return m_scriptState.get(); }
@@ -82,7 +82,7 @@ public:
DOMWrapperWorld& world() { return *m_world; }
private:
- V8WindowShell(LocalFrame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
+ WindowProxy(LocalFrame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
bool initialize();
enum GlobalDetachmentBehavior {
@@ -106,7 +106,7 @@ private:
void createContext();
bool installDOMWindow();
- static V8WindowShell* enteredIsolatedWorldContext();
+ static WindowProxy* enteredIsolatedWorldContext();
LocalFrame* m_frame;
v8::Isolate* m_isolate;
@@ -118,4 +118,4 @@ private:
} // namespace blink
-#endif // V8WindowShell_h
+#endif // WindowProxy_h
« no previous file with comments | « Source/bindings/core/v8/V8WindowShell.cpp ('k') | Source/bindings/core/v8/WindowProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698