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

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

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 Created 9 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
« no previous file with comments | « webkit/plugins/npapi/plugin_list.h ('k') | webkit/plugins/npapi/webplugin_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PLUGINS_NPAPI_WEBPLUGIN_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
6 #define WEBKIT_PLUGINS_NPAPI_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 "ui/gfx/gl/gpu_preference.h" 12 #include "ui/gfx/gl/gpu_preference.h"
13 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
14 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect.h"
15 #include "webkit/plugins/webkit_plugins_export.h"
15 16
16 // TODO(port): this typedef is obviously incorrect on non-Windows 17 // TODO(port): this typedef is obviously incorrect on non-Windows
17 // platforms, but now a lot of code now accidentally depends on them 18 // platforms, but now a lot of code now accidentally depends on them
18 // existing. #ifdef out these declarations and fix all the users. 19 // existing. #ifdef out these declarations and fix all the users.
19 typedef void* HANDLE; 20 typedef void* HANDLE;
20 21
21 class GURL; 22 class GURL;
22 struct NPObject; 23 struct NPObject;
23 24
24 namespace webkit { 25 namespace webkit {
25 namespace npapi { 26 namespace npapi {
26 27
27 class WebPluginResourceClient; 28 class WebPluginResourceClient;
28 #if defined(OS_MACOSX) 29 #if defined(OS_MACOSX)
29 class WebPluginAcceleratedSurface; 30 class WebPluginAcceleratedSurface;
30 #endif 31 #endif
31 32
32 // Describes the new location for a plugin window. 33 // Describes the new location for a plugin window.
33 struct WebPluginGeometry { 34 struct WEBKIT_PLUGINS_EXPORT WebPluginGeometry {
34 WebPluginGeometry(); 35 WebPluginGeometry();
35 ~WebPluginGeometry(); 36 ~WebPluginGeometry();
36 37
37 bool Equals(const WebPluginGeometry& rhs) const; 38 bool Equals(const WebPluginGeometry& rhs) const;
38 39
39 // On Windows, this is the plugin window in the plugin process. 40 // On Windows, this is the plugin window in the plugin process.
40 // On X11, this is the XID of the plugin-side GtkPlug containing the 41 // On X11, this is the XID of the plugin-side GtkPlug containing the
41 // GtkSocket hosting the actual plugin window. 42 // GtkSocket hosting the actual plugin window.
42 // 43 //
43 // On Mac OS X, all of the plugin types are currently "windowless" 44 // On Mac OS X, all of the plugin types are currently "windowless"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 virtual void DidFinishLoading() = 0; 188 virtual void DidFinishLoading() = 0;
188 virtual void DidFail() = 0; 189 virtual void DidFail() = 0;
189 virtual bool IsMultiByteResponseExpected() = 0; 190 virtual bool IsMultiByteResponseExpected() = 0;
190 virtual int ResourceId() = 0; 191 virtual int ResourceId() = 0;
191 }; 192 };
192 193
193 } // namespace npapi 194 } // namespace npapi
194 } // namespace webkit 195 } // namespace webkit
195 196
196 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ 197 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_list.h ('k') | webkit/plugins/npapi/webplugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698