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

Side by Side Diff: webkit/activex_shim/iwebbrowser_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/ihtmldocument_impl.h ('k') | webkit/activex_shim/npn_scripting.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_IWEBBROWSER_IMPL_H__
6 #define WEBKIT_ACTIVEX_SHIM_IWEBBROWSER_IMPL_H__
7
8 #include <exdisp.h>
9 #include <mshtml.h>
10 #include "webkit/activex_shim/activex_util.h"
11
12 namespace activex_shim {
13
14 // Dummy implementation of IWebBrowser2 interface.
15 class IWebBrowser2Impl : public IWebBrowser2 {
16 public:
17 // IWebBrowser
18 virtual HRESULT STDMETHODCALLTYPE GoBack() {
19 TRACK_METHOD();
20 return E_NOTIMPL;
21 }
22 virtual HRESULT STDMETHODCALLTYPE GoForward() {
23 TRACK_METHOD();
24 return E_NOTIMPL;
25 }
26 virtual HRESULT STDMETHODCALLTYPE GoHome() {
27 TRACK_METHOD();
28 return E_NOTIMPL;
29 }
30 virtual HRESULT STDMETHODCALLTYPE GoSearch() {
31 TRACK_METHOD();
32 return E_NOTIMPL;
33 }
34 virtual HRESULT STDMETHODCALLTYPE Navigate(BSTR url,
35 VARIANT* flags,
36 VARIANT* target_frame_name,
37 VARIANT* post_data,
38 VARIANT* headers) {
39 TRACK_METHOD();
40 return E_NOTIMPL;
41 }
42 virtual HRESULT STDMETHODCALLTYPE Refresh() {
43 TRACK_METHOD();
44 return E_NOTIMPL;
45 }
46 virtual HRESULT STDMETHODCALLTYPE Refresh2(VARIANT* level) {
47 TRACK_METHOD();
48 return E_NOTIMPL;
49 }
50 virtual HRESULT STDMETHODCALLTYPE Stop() {
51 TRACK_METHOD();
52 return E_NOTIMPL;
53 }
54 virtual HRESULT STDMETHODCALLTYPE get_Application(IDispatch** disp) {
55 TRACK_METHOD();
56 return E_NOTIMPL;
57 }
58 virtual HRESULT STDMETHODCALLTYPE get_Parent(IDispatch** disp) {
59 TRACK_METHOD();
60 return E_NOTIMPL;
61 }
62 virtual HRESULT STDMETHODCALLTYPE get_Container(IDispatch** disp) {
63 TRACK_METHOD();
64 return E_NOTIMPL;
65 }
66 virtual HRESULT STDMETHODCALLTYPE get_Document(IDispatch** disp) {
67 TRACK_METHOD();
68 return E_NOTIMPL;
69 }
70 virtual HRESULT STDMETHODCALLTYPE get_TopLevelContainer(VARIANT_BOOL* b) {
71 TRACK_METHOD();
72 return E_NOTIMPL;
73 }
74 virtual HRESULT STDMETHODCALLTYPE get_Type(BSTR* type) {
75 TRACK_METHOD();
76 return E_NOTIMPL;
77 }
78 virtual HRESULT STDMETHODCALLTYPE get_Left(long* pl) {
79 TRACK_METHOD();
80 return E_NOTIMPL;
81 }
82 virtual HRESULT STDMETHODCALLTYPE put_Left(long left) {
83 TRACK_METHOD();
84 return E_NOTIMPL;
85 }
86 virtual HRESULT STDMETHODCALLTYPE get_Top(long* pl) {
87 TRACK_METHOD();
88 return E_NOTIMPL;
89 }
90 virtual HRESULT STDMETHODCALLTYPE put_Top(long top) {
91 TRACK_METHOD();
92 return E_NOTIMPL;
93 }
94 virtual HRESULT STDMETHODCALLTYPE get_Width(long* pl) {
95 TRACK_METHOD();
96 return E_NOTIMPL;
97 }
98 virtual HRESULT STDMETHODCALLTYPE put_Width(long width) {
99 TRACK_METHOD();
100 return E_NOTIMPL;
101 }
102 virtual HRESULT STDMETHODCALLTYPE get_Height(long* pl) {
103 TRACK_METHOD();
104 return E_NOTIMPL;
105 }
106 virtual HRESULT STDMETHODCALLTYPE put_Height(long height) {
107 TRACK_METHOD();
108 return E_NOTIMPL;
109 }
110 virtual HRESULT STDMETHODCALLTYPE get_LocationName(BSTR* location_name) {
111 TRACK_METHOD();
112 return E_NOTIMPL;
113 }
114 virtual HRESULT STDMETHODCALLTYPE get_LocationURL(BSTR* location_url) {
115 TRACK_METHOD();
116 return E_NOTIMPL;
117 }
118 virtual HRESULT STDMETHODCALLTYPE get_Busy(VARIANT_BOOL* b) {
119 TRACK_METHOD();
120 return E_NOTIMPL;
121 }
122
123 // IWebBrowserApp
124 virtual HRESULT STDMETHODCALLTYPE Quit() {
125 TRACK_METHOD();
126 return E_NOTIMPL;
127 }
128 virtual HRESULT STDMETHODCALLTYPE ClientToWindow(int* pcx, int* pcy) {
129 TRACK_METHOD();
130 return E_NOTIMPL;
131 }
132 virtual HRESULT STDMETHODCALLTYPE PutProperty(BSTR property,
133 VARIANT vt_value) {
134 TRACK_METHOD();
135 return E_NOTIMPL;
136 }
137 virtual HRESULT STDMETHODCALLTYPE GetProperty(BSTR property,
138 VARIANT* pvt_value) {
139 TRACK_METHOD();
140 return E_NOTIMPL;
141 }
142 virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* name) {
143 TRACK_METHOD();
144 return E_NOTIMPL;
145 }
146 virtual HRESULT STDMETHODCALLTYPE get_HWND(SHANDLE_PTR* hwnd) {
147 TRACK_METHOD();
148 return E_NOTIMPL;
149 }
150 virtual HRESULT STDMETHODCALLTYPE get_FullName(BSTR* full_name) {
151 TRACK_METHOD();
152 return E_NOTIMPL;
153 }
154 virtual HRESULT STDMETHODCALLTYPE get_Path(BSTR* path) {
155 TRACK_METHOD();
156 return E_NOTIMPL;
157 }
158 virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* b) {
159 TRACK_METHOD();
160 return E_NOTIMPL;
161 }
162 virtual HRESULT STDMETHODCALLTYPE put_Visible(VARIANT_BOOL value) {
163 TRACK_METHOD();
164 return E_NOTIMPL;
165 }
166 virtual HRESULT STDMETHODCALLTYPE get_StatusBar(VARIANT_BOOL* b) {
167 TRACK_METHOD();
168 return E_NOTIMPL;
169 }
170 virtual HRESULT STDMETHODCALLTYPE put_StatusBar(VARIANT_BOOL value) {
171 TRACK_METHOD();
172 return E_NOTIMPL;
173 }
174 virtual HRESULT STDMETHODCALLTYPE get_StatusText(BSTR* status_text) {
175 TRACK_METHOD();
176 return E_NOTIMPL;
177 }
178 virtual HRESULT STDMETHODCALLTYPE put_StatusText(BSTR status_text) {
179 TRACK_METHOD();
180 return E_NOTIMPL;
181 }
182 virtual HRESULT STDMETHODCALLTYPE get_ToolBar(int* value) {
183 TRACK_METHOD();
184 return E_NOTIMPL;
185 }
186 virtual HRESULT STDMETHODCALLTYPE put_ToolBar(int value) {
187 TRACK_METHOD();
188 return E_NOTIMPL;
189 }
190 virtual HRESULT STDMETHODCALLTYPE get_MenuBar(VARIANT_BOOL* value) {
191 TRACK_METHOD();
192 return E_NOTIMPL;
193 }
194 virtual HRESULT STDMETHODCALLTYPE put_MenuBar(VARIANT_BOOL value) {
195 TRACK_METHOD();
196 return E_NOTIMPL;
197 }
198 virtual HRESULT STDMETHODCALLTYPE get_FullScreen(
199 VARIANT_BOOL* pb_full_screen) {
200 TRACK_METHOD();
201 return E_NOTIMPL;
202 }
203 virtual HRESULT STDMETHODCALLTYPE put_FullScreen(VARIANT_BOOL b_full_screen) {
204 TRACK_METHOD();
205 return E_NOTIMPL;
206 }
207
208 // IWebBrowser2
209 virtual HRESULT STDMETHODCALLTYPE Navigate2(VARIANT* url,
210 VARIANT* flags,
211 VARIANT* target_frame_name,
212 VARIANT* post_data,
213 VARIANT* headers) {
214 TRACK_METHOD();
215 return E_NOTIMPL;
216 }
217 virtual HRESULT STDMETHODCALLTYPE QueryStatusWB(OLECMDID cmd_id,
218 OLECMDF* pcmdf) {
219 TRACK_METHOD();
220 return E_NOTIMPL;
221 }
222 virtual HRESULT STDMETHODCALLTYPE ExecWB(OLECMDID cmd_id,
223 OLECMDEXECOPT cmdexecopt,
224 VARIANT* pva_in,
225 VARIANT* pva_out) {
226 TRACK_METHOD();
227 return E_NOTIMPL;
228 }
229 virtual HRESULT STDMETHODCALLTYPE ShowBrowserBar(VARIANT* pva_clsid,
230 VARIANT* pvar_show,
231 VARIANT* pvar_size) {
232 TRACK_METHOD();
233 return E_NOTIMPL;
234 }
235 virtual HRESULT STDMETHODCALLTYPE get_ReadyState(READYSTATE* pl_ready_state) {
236 TRACK_METHOD();
237 return E_NOTIMPL;
238 }
239 virtual HRESULT STDMETHODCALLTYPE get_Offline(VARIANT_BOOL* pb_offline) {
240 TRACK_METHOD();
241 return E_NOTIMPL;
242 }
243 virtual HRESULT STDMETHODCALLTYPE put_Offline(VARIANT_BOOL b_offline) {
244 TRACK_METHOD();
245 return E_NOTIMPL;
246 }
247 virtual HRESULT STDMETHODCALLTYPE get_Silent(VARIANT_BOOL* pb_silent) {
248 TRACK_METHOD();
249 return E_NOTIMPL;
250 }
251 virtual HRESULT STDMETHODCALLTYPE put_Silent(VARIANT_BOOL b_silent) {
252 TRACK_METHOD();
253 return E_NOTIMPL;
254 }
255 virtual HRESULT STDMETHODCALLTYPE get_RegisterAsBrowser(
256 VARIANT_BOOL* pb_register) {
257 TRACK_METHOD();
258 return E_NOTIMPL;
259 }
260 virtual HRESULT STDMETHODCALLTYPE put_RegisterAsBrowser(
261 VARIANT_BOOL b_register) {
262 TRACK_METHOD();
263 return E_NOTIMPL;
264 }
265 virtual HRESULT STDMETHODCALLTYPE get_RegisterAsDropTarget(
266 VARIANT_BOOL* pb_register) {
267 TRACK_METHOD();
268 return E_NOTIMPL;
269 }
270 virtual HRESULT STDMETHODCALLTYPE put_RegisterAsDropTarget(
271 VARIANT_BOOL b_register) {
272 TRACK_METHOD();
273 return E_NOTIMPL;
274 }
275 virtual HRESULT STDMETHODCALLTYPE get_TheaterMode(VARIANT_BOOL* pb_register) {
276 TRACK_METHOD();
277 return E_NOTIMPL;
278 }
279 virtual HRESULT STDMETHODCALLTYPE put_TheaterMode(VARIANT_BOOL b_register) {
280 TRACK_METHOD();
281 return E_NOTIMPL;
282 }
283 virtual HRESULT STDMETHODCALLTYPE get_AddressBar(VARIANT_BOOL* value) {
284 TRACK_METHOD();
285 return E_NOTIMPL;
286 }
287 virtual HRESULT STDMETHODCALLTYPE put_AddressBar(VARIANT_BOOL value) {
288 TRACK_METHOD();
289 return E_NOTIMPL;
290 }
291 virtual HRESULT STDMETHODCALLTYPE get_Resizable(VARIANT_BOOL* value) {
292 TRACK_METHOD();
293 return E_NOTIMPL;
294 }
295 virtual HRESULT STDMETHODCALLTYPE put_Resizable(VARIANT_BOOL value) {
296 TRACK_METHOD();
297 return E_NOTIMPL;
298 }
299 };
300
301 } // namespace activex_shim
302
303 #endif // #ifndef WEBKIT_ACTIVEX_SHIM_IWEBBROWSER_IMPL_H__
OLDNEW
« no previous file with comments | « webkit/activex_shim/ihtmldocument_impl.h ('k') | webkit/activex_shim/npn_scripting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698