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

Side by Side Diff: Source/bindings/core/v8/V8HiddenValue.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/V8GarbageCollected.h ('k') | Source/bindings/core/v8/V8HiddenValue.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 V8HiddenValue_h 5 #ifndef V8HiddenValue_h
6 #define V8HiddenValue_h 6 #define V8HiddenValue_h
7 7
8 #include "bindings/core/v8/ScopedPersistent.h" 8 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/ScriptPromiseProperties.h" 9 #include "bindings/core/v8/ScriptPromiseProperties.h"
10 #include <v8.h> 10 #include <v8.h>
11 11
12 namespace WebCore { 12 namespace blink {
13 13
14 class ScriptWrappable; 14 class ScriptWrappable;
15 15
16 #define V8_HIDDEN_VALUES(V) \ 16 #define V8_HIDDEN_VALUES(V) \
17 V(arrayBufferData) \ 17 V(arrayBufferData) \
18 V(privateScriptObjectIsInitialized) \ 18 V(privateScriptObjectIsInitialized) \
19 V(customElementAttached) \ 19 V(customElementAttached) \
20 V(customElementAttributeChanged) \ 20 V(customElementAttributeChanged) \
21 V(customElementCreated) \ 21 V(customElementCreated) \
22 V(customElementDetached) \ 22 V(customElementDetached) \
(...skipping 30 matching lines...) Expand all
53 static bool setHiddenValue(v8::Isolate*, v8::Handle<v8::Object>, v8::Handle< v8::String>, v8::Handle<v8::Value>); 53 static bool setHiddenValue(v8::Isolate*, v8::Handle<v8::Object>, v8::Handle< v8::String>, v8::Handle<v8::Value>);
54 static bool deleteHiddenValue(v8::Isolate*, v8::Handle<v8::Object>, v8::Hand le<v8::String>); 54 static bool deleteHiddenValue(v8::Isolate*, v8::Handle<v8::Object>, v8::Hand le<v8::String>);
55 static v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate*, ScriptWrappable*, v8::Handle<v8::String>); 55 static v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate*, ScriptWrappable*, v8::Handle<v8::String>);
56 56
57 private: 57 private:
58 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; 58 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name;
59 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); 59 V8_HIDDEN_VALUES(V8_DECLARE_FIELD);
60 #undef V8_DECLARE_FIELD 60 #undef V8_DECLARE_FIELD
61 }; 61 };
62 62
63 } // namespace WebCore 63 } // namespace blink
64 64
65 #endif // V8HiddenValue_h 65 #endif // V8HiddenValue_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8GarbageCollected.h ('k') | Source/bindings/core/v8/V8HiddenValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698