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

Side by Side Diff: webkit/port/bindings/v8/NPV8Object.h

Issue 141022: Delete the upstreamed files: V8NPUtils.h V8NPUtils.cpp NPV8Object.h NPV8Object.cpp. (Closed)
Patch Set: rebased on tip of tree Created 11 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
« no previous file with comments | « no previous file | webkit/port/bindings/v8/NPV8Object.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef np_v8object_h
6 #define np_v8object_h
7
8 #include "bindings/npruntime.h"
9 #include <v8.h>
10
11 namespace WebCore {
12 class DOMWindow;
13 }
14
15 extern NPClass* npScriptObjectClass;
16
17 // A V8NPObject is a NPObject which carries additional V8-specific
18 // information. It is allocated and deallocated by AllocV8NPObject()
19 // and FreeV8NPObject() methods.
20 struct V8NPObject {
21 NPObject object;
22 v8::Persistent<v8::Object> v8Object;
23 WebCore::DOMWindow* rootObject;
24 };
25
26 struct PrivateIdentifier {
27 union {
28 const NPUTF8* string;
29 int32_t number;
30 } value;
31 bool isString;
32 };
33
34 NPObject* npCreateV8ScriptObject(NPP npp, v8::Handle<v8::Object>, WebCore::DOMWi ndow*);
35
36 #endif // np_v8object_h
OLDNEW
« no previous file with comments | « no previous file | webkit/port/bindings/v8/NPV8Object.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698