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

Side by Side Diff: webkit/plugins/npapi/webplugin.h

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_WEBPLUGIN_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
6 #define WEBKIT_GLUE_WEBPLUGIN_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "gfx/native_widget_types.h" 12 #include "gfx/native_widget_types.h"
13 #include "gfx/rect.h" 13 #include "gfx/rect.h"
14 14
15 // TODO(port): this typedef is obviously incorrect on non-Windows 15 // TODO(port): this typedef is obviously incorrect on non-Windows
16 // platforms, but now a lot of code now accidentally depends on them 16 // platforms, but now a lot of code now accidentally depends on them
17 // existing. #ifdef out these declarations and fix all the users. 17 // existing. #ifdef out these declarations and fix all the users.
18 typedef void* HANDLE; 18 typedef void* HANDLE;
19 19
20 class GURL; 20 class GURL;
21 struct NPObject; 21 struct NPObject;
22 22
23 namespace WebKit { 23 namespace WebKit {
24 class WebFrame; 24 class WebFrame;
25 } 25 }
26 26
27 namespace webkit_glue { 27 namespace webkit {
28 namespace npapi {
28 29
29 class WebPluginDelegate; 30 class WebPluginDelegate;
30 class WebPluginParentView; 31 class WebPluginParentView;
31 class WebPluginResourceClient; 32 class WebPluginResourceClient;
32 #if defined(OS_MACOSX) 33 #if defined(OS_MACOSX)
33 class WebPluginAcceleratedSurface; 34 class WebPluginAcceleratedSurface;
34 #endif 35 #endif
35 36
36 // Describes the new location for a plugin window. 37 // Describes the new location for a plugin window.
37 struct WebPluginGeometry { 38 struct WebPluginGeometry {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 uint32 last_modified, 189 uint32 last_modified,
189 bool request_is_seekable) = 0; 190 bool request_is_seekable) = 0;
190 virtual void DidReceiveData(const char* buffer, int length, 191 virtual void DidReceiveData(const char* buffer, int length,
191 int data_offset) = 0; 192 int data_offset) = 0;
192 virtual void DidFinishLoading() = 0; 193 virtual void DidFinishLoading() = 0;
193 virtual void DidFail() = 0; 194 virtual void DidFail() = 0;
194 virtual bool IsMultiByteResponseExpected() = 0; 195 virtual bool IsMultiByteResponseExpected() = 0;
195 virtual int ResourceId() = 0; 196 virtual int ResourceId() = 0;
196 }; 197 };
197 198
198 } // namespace webkit_glue 199 } // namespace npapi
200 } // namespace webkit
199 201
200 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H_ 202 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/quickdraw_drawing_manager_mac.cc ('k') | webkit/plugins/npapi/webplugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698