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

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

Issue 3452030: FBTF: Moves code to the headers. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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
« no previous file with comments | « webkit/glue/plugins/pepper_resource_tracker.cc ('k') | webkit/glue/plugins/webplugin.cc » ('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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_GLUE_WEBPLUGIN_H_
6 #define WEBKIT_GLUE_WEBPLUGIN_H_ 6 #define WEBKIT_GLUE_WEBPLUGIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 namespace webkit_glue { 27 namespace webkit_glue {
28 28
29 class WebPluginDelegate; 29 class WebPluginDelegate;
30 class WebPluginParentView; 30 class WebPluginParentView;
31 class WebPluginResourceClient; 31 class WebPluginResourceClient;
32 32
33 // Describes the new location for a plugin window. 33 // Describes the new location for a plugin window.
34 struct WebPluginGeometry { 34 struct 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"
44 // (window == 0) except for the special case of the GPU plugin, 45 // (window == 0) except for the special case of the GPU plugin,
45 // which currently performs rendering on behalf of the Pepper 3D API 46 // which currently performs rendering on behalf of the Pepper 3D API
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 virtual void DidReceiveData(const char* buffer, int length, 187 virtual void DidReceiveData(const char* buffer, int length,
187 int data_offset) = 0; 188 int data_offset) = 0;
188 virtual void DidFinishLoading() = 0; 189 virtual void DidFinishLoading() = 0;
189 virtual void DidFail() = 0; 190 virtual void DidFail() = 0;
190 virtual bool IsMultiByteResponseExpected() = 0; 191 virtual bool IsMultiByteResponseExpected() = 0;
191 }; 192 };
192 193
193 } // namespace webkit_glue 194 } // namespace webkit_glue
194 195
195 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H_ 196 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_resource_tracker.cc ('k') | webkit/glue/plugins/webplugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698