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

Side by Side Diff: Source/bindings/core/v8/ScriptState.h

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/bindings/core/v8/ScriptSourceCode.h ('k') | Source/bindings/core/v8/ScriptState.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ScriptState_h 5 #ifndef ScriptState_h
6 #define ScriptState_h 6 #define ScriptState_h
7 7
8 #include "bindings/core/v8/ScopedPersistent.h" 8 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/V8PerContextData.h" 9 #include "bindings/core/v8/V8PerContextData.h"
10 #include "wtf/RefCounted.h" 10 #include "wtf/RefCounted.h"
11 #include <v8.h> 11 #include <v8.h>
12 12
13 namespace WebCore { 13 namespace blink {
14 14
15 class LocalDOMWindow; 15 class LocalDOMWindow;
16 class DOMWrapperWorld; 16 class DOMWrapperWorld;
17 class ExecutionContext; 17 class ExecutionContext;
18 class LocalFrame; 18 class LocalFrame;
19 class ScriptValue; 19 class ScriptValue;
20 20
21 // ScriptState is created when v8::Context is created. 21 // ScriptState is created when v8::Context is created.
22 // ScriptState is destroyed when v8::Context is garbage-collected and 22 // ScriptState is destroyed when v8::Context is garbage-collected and
23 // all V8 proxy objects that have references to the ScriptState are destructed. 23 // all V8 proxy objects that have references to the ScriptState are destructed.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 136 }
137 137
138 private: 138 private:
139 RefPtr<ScriptState> m_scriptState; 139 RefPtr<ScriptState> m_scriptState;
140 ScopedPersistent<v8::Context> m_context; 140 ScopedPersistent<v8::Context> m_context;
141 }; 141 };
142 142
143 } 143 }
144 144
145 #endif // ScriptState_h 145 #endif // ScriptState_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptSourceCode.h ('k') | Source/bindings/core/v8/ScriptState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698