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

Unified Diff: Source/bindings/v8/V8DOMWindowShell.h

Issue 17035010: Revert "Rename DOMWindow interface to Window" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/v8/V8Binding.cpp ('k') | Source/bindings/v8/V8DOMWindowShell.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8DOMWindowShell.h
diff --git a/Source/bindings/v8/V8WindowShell.h b/Source/bindings/v8/V8DOMWindowShell.h
similarity index 91%
rename from Source/bindings/v8/V8WindowShell.h
rename to Source/bindings/v8/V8DOMWindowShell.h
index c9fa1cce4c74a3e272344ce090a82eb04f475e51..9e529189f87f4b090da1e742375cd7e6b4cc8d3d 100644
--- a/Source/bindings/v8/V8WindowShell.h
+++ b/Source/bindings/v8/V8DOMWindowShell.h
@@ -1,10 +1,10 @@
/*
* Copyright (C) 2009 Google Inc. All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
- *
+ *
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
@@ -14,7 +14,7 @@
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,21 +28,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef V8WindowShell_h
-#define V8WindowShell_h
+#ifndef V8DOMWindowShell_h
+#define V8DOMWindowShell_h
#include "bindings/v8/DOMWrapperWorld.h"
#include "bindings/v8/ScopedPersistent.h"
#include "bindings/v8/V8PerContextData.h"
#include "bindings/v8/WrapperTypeInfo.h"
#include "weborigin/SecurityOrigin.h"
+#include <v8.h>
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
#include "wtf/text/AtomicString.h"
-#include <v8.h>
namespace WebCore {
@@ -52,9 +52,9 @@ class HTMLDocument;
// V8WindowShell represents all the per-global object state for a Frame that
// persist between navigations.
-class V8WindowShell {
+class V8DOMWindowShell {
public:
- static PassOwnPtr<V8WindowShell> create(Frame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
+ static PassOwnPtr<V8DOMWindowShell> create(Frame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
v8::Local<v8::Context> context() const { return v8::Local<v8::Context>::New(m_context.get()); }
@@ -80,7 +80,7 @@ public:
DOMWrapperWorld* world() { return m_world.get(); }
private:
- V8WindowShell(Frame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
+ V8DOMWindowShell(Frame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
void disposeContext();
@@ -96,7 +96,7 @@ private:
void createContext();
bool installDOMWindow();
- static V8WindowShell* enteredIsolatedWorldContext();
+ static V8DOMWindowShell* enteredIsolatedWorldContext();
Frame* m_frame;
RefPtr<DOMWrapperWorld> m_world;
@@ -111,4 +111,4 @@ private:
} // namespace WebCore
-#endif // V8WindowShell_h
+#endif // V8DOMWindowShell_h
« no previous file with comments | « Source/bindings/v8/V8Binding.cpp ('k') | Source/bindings/v8/V8DOMWindowShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698