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

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

Issue 2721533003: //third_party/WebKit/Source/bindings: include v8 as a user, not system, header (Closed)
Patch Set: . Created 3 years, 9 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
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 <memory>
9
8 #include "bindings/core/v8/ScopedPersistent.h" 10 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/V8PerContextData.h" 11 #include "bindings/core/v8/V8PerContextData.h"
10 #include "core/CoreExport.h" 12 #include "core/CoreExport.h"
13 #include "v8/include/v8-debug.h"
14 #include "v8/include/v8.h"
11 #include "wtf/RefCounted.h" 15 #include "wtf/RefCounted.h"
12 #include <memory>
13 #include <v8-debug.h>
14 #include <v8.h>
15 16
16 namespace blink { 17 namespace blink {
17 18
18 class LocalDOMWindow; 19 class LocalDOMWindow;
19 class DOMWrapperWorld; 20 class DOMWrapperWorld;
20 class ExecutionContext; 21 class ExecutionContext;
21 class LocalFrame; 22 class LocalFrame;
22 class ScriptValue; 23 class ScriptValue;
23 24
24 // ScriptState is an abstraction class that holds all information about script 25 // ScriptState is an abstraction class that holds all information about script
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 212 }
212 213
213 private: 214 private:
214 RefPtr<ScriptState> m_scriptState; 215 RefPtr<ScriptState> m_scriptState;
215 ScopedPersistent<v8::Context> m_context; 216 ScopedPersistent<v8::Context> m_context;
216 }; 217 };
217 218
218 } // namespace blink 219 } // namespace blink
219 220
220 #endif // ScriptState_h 221 #endif // ScriptState_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h ('k') | third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698