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

Side by Side Diff: Source/bindings/core/v8/ScriptPromisePropertyBase.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
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 ScriptPromisePropertyBase_h 5 #ifndef ScriptPromisePropertyBase_h
6 #define ScriptPromisePropertyBase_h 6 #define ScriptPromisePropertyBase_h
7 7
8 #include "bindings/core/v8/ScopedPersistent.h" 8 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/ScriptPromise.h" 9 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/ScriptPromiseProperties.h" 10 #include "bindings/core/v8/ScriptPromiseProperties.h"
11 #include "core/dom/ContextLifecycleObserver.h" 11 #include "core/dom/ContextLifecycleObserver.h"
12 #include "wtf/RefCounted.h" 12 #include "wtf/RefCounted.h"
13 #include <v8.h> 13 #include <v8.h>
14 14
15 namespace WebCore { 15 namespace blink {
16 16
17 class ExecutionContext; 17 class ExecutionContext;
18 18
19 class ScriptPromisePropertyBase : public RefCountedWillBeRefCountedGarbageCollec ted<ScriptPromisePropertyBase>, public ContextLifecycleObserver { 19 class ScriptPromisePropertyBase : public RefCountedWillBeRefCountedGarbageCollec ted<ScriptPromisePropertyBase>, public ContextLifecycleObserver {
20 public: 20 public:
21 virtual ~ScriptPromisePropertyBase(); 21 virtual ~ScriptPromisePropertyBase();
22 22
23 enum Name { 23 enum Name {
24 #define P(Name) Name 24 #define P(Name) Name
25 SCRIPT_PROMISE_PROPERTIES(P) 25 SCRIPT_PROMISE_PROPERTIES(P)
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 v8::Isolate* m_isolate; 61 v8::Isolate* m_isolate;
62 Name m_name; 62 Name m_name;
63 State m_state; 63 State m_state;
64 64
65 // FIXME: When isolated worlds are supported replace this with a 65 // FIXME: When isolated worlds are supported replace this with a
66 // set of wrappers. 66 // set of wrappers.
67 ScopedPersistent<v8::Object> m_mainWorldWrapper; 67 ScopedPersistent<v8::Object> m_mainWorldWrapper;
68 }; 68 };
69 69
70 } // namespace WebCore 70 } // namespace blink
71 71
72 #endif // ScriptPromisePropertyBase_h 72 #endif // ScriptPromisePropertyBase_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptPromiseProperty.h ('k') | Source/bindings/core/v8/ScriptPromisePropertyBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698