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

Side by Side Diff: webkit/activex_shim/ihtmldocument_impl.h

Issue 200031: Take out the activex control. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « webkit/activex_shim/dispatch_object.cc ('k') | webkit/activex_shim/iwebbrowser_impl.h » ('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-2008 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 WEBKIT_ACTIVEX_SHIM_IHTMLDOCUMENT_IMPL_H__
6 #define WEBKIT_ACTIVEX_SHIM_IHTMLDOCUMENT_IMPL_H__
7
8 #include <mshtml.h>
9 #include "webkit/activex_shim/activex_util.h"
10
11 namespace activex_shim {
12
13 // TODO(ruijiang): Right now this is a dummy implementation of IHTMLDocument2.
14 // We should connect it with NPObject directly and implement necessary
15 // functions needed by controls.
16 class IHTMLDocument2Impl : public IHTMLDocument2 {
17 public:
18 // IHTMLDocument
19 virtual HRESULT STDMETHODCALLTYPE get_Script(IDispatch **p) {
20 TRACK_METHOD();
21 return E_NOTIMPL;
22 }
23
24 // IHTMLDocument2
25 virtual HRESULT STDMETHODCALLTYPE get_all(IHTMLElementCollection** p) {
26 TRACK_METHOD();
27 return E_NOTIMPL;
28 }
29 virtual HRESULT STDMETHODCALLTYPE get_body(IHTMLElement** p) {
30 TRACK_METHOD();
31 return E_NOTIMPL;
32 }
33 virtual HRESULT STDMETHODCALLTYPE get_activeElement(IHTMLElement** p) {
34 TRACK_METHOD();
35 return E_NOTIMPL;
36 }
37 virtual HRESULT STDMETHODCALLTYPE get_images(IHTMLElementCollection** p) {
38 TRACK_METHOD();
39 return E_NOTIMPL;
40 }
41 virtual HRESULT STDMETHODCALLTYPE get_applets(IHTMLElementCollection** p) {
42 TRACK_METHOD();
43 return E_NOTIMPL;
44 }
45 virtual HRESULT STDMETHODCALLTYPE get_links(IHTMLElementCollection** p) {
46 TRACK_METHOD();
47 return E_NOTIMPL;
48 }
49 virtual HRESULT STDMETHODCALLTYPE get_forms(IHTMLElementCollection** p) {
50 TRACK_METHOD();
51 return E_NOTIMPL;
52 }
53 virtual HRESULT STDMETHODCALLTYPE get_anchors(IHTMLElementCollection** p) {
54 TRACK_METHOD();
55 return E_NOTIMPL;
56 }
57 virtual HRESULT STDMETHODCALLTYPE put_title(BSTR v) {
58 TRACK_METHOD();
59 return E_NOTIMPL;
60 }
61 virtual HRESULT STDMETHODCALLTYPE get_title(BSTR* p) {
62 TRACK_METHOD();
63 return E_NOTIMPL;
64 }
65 virtual HRESULT STDMETHODCALLTYPE get_scripts(IHTMLElementCollection** p) {
66 TRACK_METHOD();
67 return E_NOTIMPL;
68 }
69 virtual HRESULT STDMETHODCALLTYPE put_designMode(BSTR v) {
70 TRACK_METHOD();
71 return E_NOTIMPL;
72 }
73 virtual HRESULT STDMETHODCALLTYPE get_designMode(BSTR* p) {
74 TRACK_METHOD();
75 return E_NOTIMPL;
76 }
77 virtual HRESULT STDMETHODCALLTYPE get_selection(IHTMLSelectionObject** p) {
78 TRACK_METHOD();
79 return E_NOTIMPL;
80 }
81 virtual HRESULT STDMETHODCALLTYPE get_readyState(BSTR* p) {
82 TRACK_METHOD();
83 return E_NOTIMPL;
84 }
85 virtual HRESULT STDMETHODCALLTYPE get_frames(IHTMLFramesCollection2** p) {
86 TRACK_METHOD();
87 return E_NOTIMPL;
88 }
89 virtual HRESULT STDMETHODCALLTYPE get_embeds(IHTMLElementCollection** p) {
90 TRACK_METHOD();
91 return E_NOTIMPL;
92 }
93 virtual HRESULT STDMETHODCALLTYPE get_plugins(IHTMLElementCollection** p) {
94 TRACK_METHOD();
95 return E_NOTIMPL;
96 }
97 virtual HRESULT STDMETHODCALLTYPE put_alinkColor(VARIANT v) {
98 TRACK_METHOD();
99 return E_NOTIMPL;
100 }
101 virtual HRESULT STDMETHODCALLTYPE get_alinkColor(VARIANT* p) {
102 TRACK_METHOD();
103 return E_NOTIMPL;
104 }
105 virtual HRESULT STDMETHODCALLTYPE put_bgColor(VARIANT v) {
106 TRACK_METHOD();
107 return E_NOTIMPL;
108 }
109 virtual HRESULT STDMETHODCALLTYPE get_bgColor(VARIANT* p) {
110 TRACK_METHOD();
111 return E_NOTIMPL;
112 }
113 virtual HRESULT STDMETHODCALLTYPE put_fgColor(VARIANT v) {
114 TRACK_METHOD();
115 return E_NOTIMPL;
116 }
117 virtual HRESULT STDMETHODCALLTYPE get_fgColor(VARIANT* p) {
118 TRACK_METHOD();
119 return E_NOTIMPL;
120 }
121 virtual HRESULT STDMETHODCALLTYPE put_linkColor(VARIANT v) {
122 TRACK_METHOD();
123 return E_NOTIMPL;
124 }
125 virtual HRESULT STDMETHODCALLTYPE get_linkColor(VARIANT* p) {
126 TRACK_METHOD();
127 return E_NOTIMPL;
128 }
129 virtual HRESULT STDMETHODCALLTYPE put_vlinkColor(VARIANT v) {
130 TRACK_METHOD();
131 return E_NOTIMPL;
132 }
133 virtual HRESULT STDMETHODCALLTYPE get_vlinkColor(VARIANT* p) {
134 TRACK_METHOD();
135 return E_NOTIMPL;
136 }
137 virtual HRESULT STDMETHODCALLTYPE get_referrer(BSTR* p) {
138 TRACK_METHOD();
139 return E_NOTIMPL;
140 }
141 virtual HRESULT STDMETHODCALLTYPE get_location(IHTMLLocation** p) {
142 TRACK_METHOD();
143 return E_NOTIMPL;
144 }
145 virtual HRESULT STDMETHODCALLTYPE get_lastModified(BSTR* p) {
146 TRACK_METHOD();
147 return E_NOTIMPL;
148 }
149 virtual HRESULT STDMETHODCALLTYPE put_URL(BSTR v) {
150 TRACK_METHOD();
151 return E_NOTIMPL;
152 }
153 virtual HRESULT STDMETHODCALLTYPE get_URL(BSTR* p) {
154 TRACK_METHOD();
155 return E_NOTIMPL;
156 }
157 virtual HRESULT STDMETHODCALLTYPE put_domain(BSTR v) {
158 TRACK_METHOD();
159 return E_NOTIMPL;
160 }
161 virtual HRESULT STDMETHODCALLTYPE get_domain(BSTR* p) {
162 TRACK_METHOD();
163 return E_NOTIMPL;
164 }
165 virtual HRESULT STDMETHODCALLTYPE put_cookie(BSTR v) {
166 TRACK_METHOD();
167 return E_NOTIMPL;
168 }
169 virtual HRESULT STDMETHODCALLTYPE get_cookie(BSTR* p) {
170 TRACK_METHOD();
171 return E_NOTIMPL;
172 }
173 virtual HRESULT STDMETHODCALLTYPE put_expando(VARIANT_BOOL v) {
174 TRACK_METHOD();
175 return E_NOTIMPL;
176 }
177 virtual HRESULT STDMETHODCALLTYPE get_expando(VARIANT_BOOL* p) {
178 TRACK_METHOD();
179 return E_NOTIMPL;
180 }
181 virtual HRESULT STDMETHODCALLTYPE put_charset(BSTR v) {
182 TRACK_METHOD();
183 return E_NOTIMPL;
184 }
185 virtual HRESULT STDMETHODCALLTYPE get_charset(BSTR* p) {
186 TRACK_METHOD();
187 return E_NOTIMPL;
188 }
189 virtual HRESULT STDMETHODCALLTYPE put_defaultCharset(BSTR v) {
190 TRACK_METHOD();
191 return E_NOTIMPL;
192 }
193 virtual HRESULT STDMETHODCALLTYPE get_defaultCharset(BSTR* p) {
194 TRACK_METHOD();
195 return E_NOTIMPL;
196 }
197 virtual HRESULT STDMETHODCALLTYPE get_mimeType(BSTR* p) {
198 TRACK_METHOD();
199 return E_NOTIMPL;
200 }
201 virtual HRESULT STDMETHODCALLTYPE get_fileSize(BSTR* p) {
202 TRACK_METHOD();
203 return E_NOTIMPL;
204 }
205 virtual HRESULT STDMETHODCALLTYPE get_fileCreatedDate(BSTR* p) {
206 TRACK_METHOD();
207 return E_NOTIMPL;
208 }
209 virtual HRESULT STDMETHODCALLTYPE get_fileModifiedDate(BSTR* p) {
210 TRACK_METHOD();
211 return E_NOTIMPL;
212 }
213 virtual HRESULT STDMETHODCALLTYPE get_fileUpdatedDate(BSTR* p) {
214 TRACK_METHOD();
215 return E_NOTIMPL;
216 }
217 virtual HRESULT STDMETHODCALLTYPE get_security(BSTR* p) {
218 TRACK_METHOD();
219 return E_NOTIMPL;
220 }
221 virtual HRESULT STDMETHODCALLTYPE get_protocol(BSTR* p) {
222 TRACK_METHOD();
223 return E_NOTIMPL;
224 }
225 virtual HRESULT STDMETHODCALLTYPE get_nameProp(BSTR* p) {
226 TRACK_METHOD();
227 return E_NOTIMPL;
228 }
229 virtual HRESULT STDMETHODCALLTYPE write(SAFEARRAY* psarray) {
230 TRACK_METHOD();
231 return E_NOTIMPL;
232 }
233 virtual HRESULT STDMETHODCALLTYPE writeln(SAFEARRAY* psarray) {
234 TRACK_METHOD();
235 return E_NOTIMPL;
236 }
237 virtual HRESULT STDMETHODCALLTYPE open(BSTR url,
238 VARIANT name,
239 VARIANT features,
240 VARIANT replace,
241 IDispatch** pom_window_result) {
242 TRACK_METHOD();
243 return E_NOTIMPL;
244 }
245 virtual HRESULT STDMETHODCALLTYPE close() {
246 TRACK_METHOD();
247 return E_NOTIMPL;
248 }
249 virtual HRESULT STDMETHODCALLTYPE clear() {
250 TRACK_METHOD();
251 return E_NOTIMPL;
252 }
253 virtual HRESULT STDMETHODCALLTYPE queryCommandSupported(BSTR cmd_id,
254 VARIANT_BOOL* ret) {
255 TRACK_METHOD();
256 return E_NOTIMPL;
257 }
258 virtual HRESULT STDMETHODCALLTYPE queryCommandEnabled(BSTR cmd_id,
259 VARIANT_BOOL* ret) {
260 TRACK_METHOD();
261 return E_NOTIMPL;
262 }
263 virtual HRESULT STDMETHODCALLTYPE queryCommandState(BSTR cmd_id,
264 VARIANT_BOOL* ret) {
265 TRACK_METHOD();
266 return E_NOTIMPL;
267 }
268 virtual HRESULT STDMETHODCALLTYPE queryCommandIndeterm(BSTR cmd_id,
269 VARIANT_BOOL* ret) {
270 TRACK_METHOD();
271 return E_NOTIMPL;
272 }
273 virtual HRESULT STDMETHODCALLTYPE queryCommandText(BSTR cmd_id,
274 BSTR* pcmd_text) {
275 TRACK_METHOD();
276 return E_NOTIMPL;
277 }
278 virtual HRESULT STDMETHODCALLTYPE queryCommandValue(BSTR cmd_id,
279 VARIANT* pcmd_value) {
280 TRACK_METHOD();
281 return E_NOTIMPL;
282 }
283 virtual HRESULT STDMETHODCALLTYPE execCommand(BSTR cmd_id,
284 VARIANT_BOOL show_ui,
285 VARIANT value,
286 VARIANT_BOOL* ret) {
287 TRACK_METHOD();
288 return E_NOTIMPL;
289 }
290 virtual HRESULT STDMETHODCALLTYPE execCommandShowHelp(BSTR cmd_id,
291 VARIANT_BOOL* ret) {
292 TRACK_METHOD();
293 return E_NOTIMPL;
294 }
295 virtual HRESULT STDMETHODCALLTYPE createElement(BSTR e_tag,
296 IHTMLElement** new_elem) {
297 TRACK_METHOD();
298 return E_NOTIMPL;
299 }
300 virtual HRESULT STDMETHODCALLTYPE put_onhelp(VARIANT v) {
301 TRACK_METHOD();
302 return E_NOTIMPL;
303 }
304 virtual HRESULT STDMETHODCALLTYPE get_onhelp(VARIANT* p) {
305 TRACK_METHOD();
306 return E_NOTIMPL;
307 }
308 virtual HRESULT STDMETHODCALLTYPE put_onclick(VARIANT v) {
309 TRACK_METHOD();
310 return E_NOTIMPL;
311 }
312 virtual HRESULT STDMETHODCALLTYPE get_onclick(VARIANT* p) {
313 TRACK_METHOD();
314 return E_NOTIMPL;
315 }
316 virtual HRESULT STDMETHODCALLTYPE put_ondblclick(VARIANT v) {
317 TRACK_METHOD();
318 return E_NOTIMPL;
319 }
320 virtual HRESULT STDMETHODCALLTYPE get_ondblclick(VARIANT* p) {
321 TRACK_METHOD();
322 return E_NOTIMPL;
323 }
324 virtual HRESULT STDMETHODCALLTYPE put_onkeyup(VARIANT v) {
325 TRACK_METHOD();
326 return E_NOTIMPL;
327 }
328 virtual HRESULT STDMETHODCALLTYPE get_onkeyup(VARIANT* p) {
329 TRACK_METHOD();
330 return E_NOTIMPL;
331 }
332 virtual HRESULT STDMETHODCALLTYPE put_onkeydown(VARIANT v) {
333 TRACK_METHOD();
334 return E_NOTIMPL;
335 }
336 virtual HRESULT STDMETHODCALLTYPE get_onkeydown(VARIANT* p) {
337 TRACK_METHOD();
338 return E_NOTIMPL;
339 }
340 virtual HRESULT STDMETHODCALLTYPE put_onkeypress(VARIANT v) {
341 TRACK_METHOD();
342 return E_NOTIMPL;
343 }
344 virtual HRESULT STDMETHODCALLTYPE get_onkeypress(VARIANT* p) {
345 TRACK_METHOD();
346 return E_NOTIMPL;
347 }
348 virtual HRESULT STDMETHODCALLTYPE put_onmouseup(VARIANT v) {
349 TRACK_METHOD();
350 return E_NOTIMPL;
351 }
352 virtual HRESULT STDMETHODCALLTYPE get_onmouseup(VARIANT* p) {
353 TRACK_METHOD();
354 return E_NOTIMPL;
355 }
356 virtual HRESULT STDMETHODCALLTYPE put_onmousedown(VARIANT v) {
357 TRACK_METHOD();
358 return E_NOTIMPL;
359 }
360 virtual HRESULT STDMETHODCALLTYPE get_onmousedown(VARIANT* p) {
361 TRACK_METHOD();
362 return E_NOTIMPL;
363 }
364 virtual HRESULT STDMETHODCALLTYPE put_onmousemove(VARIANT v) {
365 TRACK_METHOD();
366 return E_NOTIMPL;
367 }
368 virtual HRESULT STDMETHODCALLTYPE get_onmousemove(VARIANT* p) {
369 TRACK_METHOD();
370 return E_NOTIMPL;
371 }
372 virtual HRESULT STDMETHODCALLTYPE put_onmouseout(VARIANT v) {
373 TRACK_METHOD();
374 return E_NOTIMPL;
375 }
376 virtual HRESULT STDMETHODCALLTYPE get_onmouseout(VARIANT* p) {
377 TRACK_METHOD();
378 return E_NOTIMPL;
379 }
380 virtual HRESULT STDMETHODCALLTYPE put_onmouseover(VARIANT v) {
381 TRACK_METHOD();
382 return E_NOTIMPL;
383 }
384 virtual HRESULT STDMETHODCALLTYPE get_onmouseover(VARIANT* p) {
385 TRACK_METHOD();
386 return E_NOTIMPL;
387 }
388 virtual HRESULT STDMETHODCALLTYPE put_onreadystatechange(VARIANT v) {
389 TRACK_METHOD();
390 return E_NOTIMPL;
391 }
392 virtual HRESULT STDMETHODCALLTYPE get_onreadystatechange(VARIANT* p) {
393 TRACK_METHOD();
394 return E_NOTIMPL;
395 }
396 virtual HRESULT STDMETHODCALLTYPE put_onafterupdate(VARIANT v) {
397 TRACK_METHOD();
398 return E_NOTIMPL;
399 }
400 virtual HRESULT STDMETHODCALLTYPE get_onafterupdate(VARIANT* p) {
401 TRACK_METHOD();
402 return E_NOTIMPL;
403 }
404 virtual HRESULT STDMETHODCALLTYPE put_onrowexit(VARIANT v) {
405 TRACK_METHOD();
406 return E_NOTIMPL;
407 }
408 virtual HRESULT STDMETHODCALLTYPE get_onrowexit(VARIANT* p) {
409 TRACK_METHOD();
410 return E_NOTIMPL;
411 }
412 virtual HRESULT STDMETHODCALLTYPE put_onrowenter(VARIANT v) {
413 TRACK_METHOD();
414 return E_NOTIMPL;
415 }
416 virtual HRESULT STDMETHODCALLTYPE get_onrowenter(VARIANT* p) {
417 TRACK_METHOD();
418 return E_NOTIMPL;
419 }
420 virtual HRESULT STDMETHODCALLTYPE put_ondragstart(VARIANT v) {
421 TRACK_METHOD();
422 return E_NOTIMPL;
423 }
424 virtual HRESULT STDMETHODCALLTYPE get_ondragstart(VARIANT* p) {
425 TRACK_METHOD();
426 return E_NOTIMPL;
427 }
428 virtual HRESULT STDMETHODCALLTYPE put_onselectstart(VARIANT v) {
429 TRACK_METHOD();
430 return E_NOTIMPL;
431 }
432 virtual HRESULT STDMETHODCALLTYPE get_onselectstart(VARIANT* p) {
433 TRACK_METHOD();
434 return E_NOTIMPL;
435 }
436 virtual HRESULT STDMETHODCALLTYPE elementFromPoint(
437 long x,
438 long y,
439 IHTMLElement** element_hit) {
440 TRACK_METHOD();
441 return E_NOTIMPL;
442 }
443 virtual HRESULT STDMETHODCALLTYPE get_parentWindow(IHTMLWindow2** p) {
444 TRACK_METHOD();
445 return E_NOTIMPL;
446 }
447 virtual HRESULT STDMETHODCALLTYPE get_styleSheets(
448 IHTMLStyleSheetsCollection** p) {
449 TRACK_METHOD();
450 return E_NOTIMPL;
451 }
452 virtual HRESULT STDMETHODCALLTYPE put_onbeforeupdate(VARIANT v) {
453 TRACK_METHOD();
454 return E_NOTIMPL;
455 }
456 virtual HRESULT STDMETHODCALLTYPE get_onbeforeupdate(VARIANT* p) {
457 TRACK_METHOD();
458 return E_NOTIMPL;
459 }
460 virtual HRESULT STDMETHODCALLTYPE put_onerrorupdate(VARIANT v) {
461 TRACK_METHOD();
462 return E_NOTIMPL;
463 }
464 virtual HRESULT STDMETHODCALLTYPE get_onerrorupdate(VARIANT* p) {
465 TRACK_METHOD();
466 return E_NOTIMPL;
467 }
468 virtual HRESULT STDMETHODCALLTYPE toString(BSTR* str) {
469 TRACK_METHOD();
470 return E_NOTIMPL;
471 }
472 virtual HRESULT STDMETHODCALLTYPE createStyleSheet(
473 BSTR href,
474 long index,
475 IHTMLStyleSheet** new_style_sheet) {
476 TRACK_METHOD();
477 return E_NOTIMPL;
478 }
479 };
480
481 } // namespace activex_shim
482
483 #endif // #ifndef WEBKIT_ACTIVEX_SHIM_IHTMLDOCUMENT_IMPL_H__
OLDNEW
« no previous file with comments | « webkit/activex_shim/dispatch_object.cc ('k') | webkit/activex_shim/iwebbrowser_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698