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

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

Issue 1111163003: Replace v8::Handle<> with v8::Local<> in bindings/core/v8/* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « Source/bindings/core/v8/V8Initializer.cpp ('k') | Source/bindings/core/v8/V8PerContextData.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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*); 86 v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*);
87 87
88 V8NPObjectMap* v8NPObjectMap() { return &m_v8NPObjectMap; } 88 V8NPObjectMap* v8NPObjectMap() { return &m_v8NPObjectMap; }
89 89
90 void addCustomElementBinding(CustomElementDefinition*, PassOwnPtr<CustomElem entBinding>); 90 void addCustomElementBinding(CustomElementDefinition*, PassOwnPtr<CustomElem entBinding>);
91 91
92 V8DOMActivityLogger* activityLogger() const { return m_activityLogger; } 92 V8DOMActivityLogger* activityLogger() const { return m_activityLogger; }
93 void setActivityLogger(V8DOMActivityLogger* activityLogger) { m_activityLogg er = activityLogger; } 93 void setActivityLogger(V8DOMActivityLogger* activityLogger) { m_activityLogg er = activityLogger; }
94 94
95 v8::Handle<v8::Value> compiledPrivateScript(String); 95 v8::Local<v8::Value> compiledPrivateScript(String);
96 void setCompiledPrivateScript(String, v8::Handle<v8::Value>); 96 void setCompiledPrivateScript(String, v8::Local<v8::Value>);
97 97
98 private: 98 private:
99 V8PerContextData(v8::Local<v8::Context>); 99 V8PerContextData(v8::Local<v8::Context>);
100 100
101 v8::Local<v8::Object> createWrapperFromCacheSlowCase(const WrapperTypeInfo*) ; 101 v8::Local<v8::Object> createWrapperFromCacheSlowCase(const WrapperTypeInfo*) ;
102 v8::Local<v8::Function> constructorForTypeSlowCase(const WrapperTypeInfo*); 102 v8::Local<v8::Function> constructorForTypeSlowCase(const WrapperTypeInfo*);
103 103
104 v8::Isolate* m_isolate; 104 v8::Isolate* m_isolate;
105 105
106 // For each possible type of wrapper, we keep a boilerplate object. 106 // For each possible type of wrapper, we keep a boilerplate object.
(...skipping 16 matching lines...) Expand all
123 123
124 // This is owned by a static hash map in V8DOMActivityLogger. 124 // This is owned by a static hash map in V8DOMActivityLogger.
125 V8DOMActivityLogger* m_activityLogger; 125 V8DOMActivityLogger* m_activityLogger;
126 126
127 V8GlobalValueMap<String, v8::Value, v8::kNotWeak> m_compiledPrivateScript; 127 V8GlobalValueMap<String, v8::Value, v8::kNotWeak> m_compiledPrivateScript;
128 }; 128 };
129 129
130 } // namespace blink 130 } // namespace blink
131 131
132 #endif // V8PerContextData_h 132 #endif // V8PerContextData_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8Initializer.cpp ('k') | Source/bindings/core/v8/V8PerContextData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698