OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | |
3 * | |
4 * Redistribution and use in source and binary forms, with or without | |
5 * modification, are permitted provided that the following conditions are | |
6 * met: | |
7 * | |
8 * * Redistributions of source code must retain the above copyright | |
9 * notice, this list of conditions and the following disclaimer. | |
10 * * Redistributions in binary form must reproduce the above | |
11 * copyright notice, this list of conditions and the following disclaimer | |
12 * in the documentation and/or other materials provided with the | |
13 * distribution. | |
14 * * Neither the name of Google Inc. nor the names of its | |
15 * contributors may be used to endorse or promote products derived from | |
16 * this software without specific prior written permission. | |
17 * | |
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
29 */ | |
30 | |
31 #include "public/web/WebBindings.h" | |
32 | |
33 namespace blink { | |
34 | |
35 bool WebBindings::construct(NPP npp, NPObject* object, const NPVariant* args, ui
nt32_t argCount, NPVariant* result) | |
36 { | |
37 return false; | |
38 } | |
39 | |
40 NPObject* WebBindings::createObject(NPP npp, NPClass* npClass) | |
41 { | |
42 return nullptr; | |
43 } | |
44 | |
45 bool WebBindings::enumerate(NPP npp, NPObject* object, NPIdentifier** identifier
, uint32_t* identifierCount) | |
46 { | |
47 return false; | |
48 } | |
49 | |
50 bool WebBindings::evaluate(NPP npp, NPObject* object, NPString* script, NPVarian
t* result) | |
51 { | |
52 return false; | |
53 } | |
54 | |
55 NPIdentifier WebBindings::getIntIdentifier(int32_t number) | |
56 { | |
57 return nullptr; | |
58 } | |
59 | |
60 bool WebBindings::getProperty(NPP npp, NPObject* object, NPIdentifier property,
NPVariant* result) | |
61 { | |
62 return false; | |
63 } | |
64 | |
65 NPIdentifier WebBindings::getStringIdentifier(const NPUTF8* string) | |
66 { | |
67 return nullptr; | |
68 } | |
69 | |
70 void WebBindings::getStringIdentifiers(const NPUTF8** names, int32_t nameCount,
NPIdentifier* identifiers) | |
71 { | |
72 } | |
73 | |
74 bool WebBindings::hasMethod(NPP npp, NPObject* object, NPIdentifier method) | |
75 { | |
76 return false; | |
77 } | |
78 | |
79 bool WebBindings::hasProperty(NPP npp, NPObject* object, NPIdentifier property) | |
80 { | |
81 return false; | |
82 } | |
83 | |
84 bool WebBindings::identifierIsString(NPIdentifier identifier) | |
85 { | |
86 return false; | |
87 } | |
88 | |
89 int32_t WebBindings::intFromIdentifier(NPIdentifier identifier) | |
90 { | |
91 return 0; | |
92 } | |
93 | |
94 bool WebBindings::invoke(NPP npp, NPObject* object, NPIdentifier method, const N
PVariant* args, uint32_t argCount, NPVariant* result) | |
95 { | |
96 return false; | |
97 } | |
98 | |
99 bool WebBindings::invokeDefault(NPP npp, NPObject* object, const NPVariant* args
, uint32_t argCount, NPVariant* result) | |
100 { | |
101 return false; | |
102 } | |
103 | |
104 void WebBindings::releaseObject(NPObject* object) | |
105 { | |
106 } | |
107 | |
108 void WebBindings::releaseVariantValue(NPVariant* variant) | |
109 { | |
110 } | |
111 | |
112 bool WebBindings::removeProperty(NPP npp, NPObject* object, NPIdentifier identif
ier) | |
113 { | |
114 return false; | |
115 } | |
116 | |
117 NPObject* WebBindings::retainObject(NPObject* object) | |
118 { | |
119 return nullptr; | |
120 } | |
121 | |
122 void WebBindings::setException(NPObject* object, const NPUTF8* message) | |
123 { | |
124 } | |
125 | |
126 bool WebBindings::setProperty(NPP npp, NPObject* object, NPIdentifier identifier
, const NPVariant* value) | |
127 { | |
128 return false; | |
129 } | |
130 | |
131 NPUTF8* WebBindings::utf8FromIdentifier(NPIdentifier identifier) | |
132 { | |
133 return nullptr; | |
134 } | |
135 | |
136 } // namespace blink | |
OLD | NEW |