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

Unified Diff: webkit/glue/webplugin.h

Issue 146009: linux plugins: eliminate GtkWidget* from plugin process (Closed)
Patch Set: retry Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl_gtk.cc ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin.h
diff --git a/webkit/glue/webplugin.h b/webkit/glue/webplugin.h
index d6a5b75a0aeaca21667dd59154ffd216784008ff..2debf9aa52d1b2e376c78bf2045dd4e4c7350afb 100644
--- a/webkit/glue/webplugin.h
+++ b/webkit/glue/webplugin.h
@@ -25,7 +25,9 @@ struct NPObject;
// Describes the new location for a plugin window.
struct WebPluginGeometry {
- gfx::NativeView window;
+ // On Windows, this is the plugin window in the plugin process.
+ // On X11, this is the browser process's hosting window (the GtkSocket).
+ gfx::PluginWindowHandle window;
gfx::Rect window_rect;
// Clip rect (include) and cutouts (excludes), relative to
// window_rect origin.
@@ -54,11 +56,11 @@ class WebPlugin {
// windowed (i.e. handle is not NULL) or windowless (handle is NULL). This
// tells the WebPlugin to send mouse/keyboard events to the plugin delegate,
// as well as the information about the HDC for paint operations.
- virtual void SetWindow(gfx::NativeView window) = 0;
+ virtual void SetWindow(gfx::PluginWindowHandle window) = 0;
// Called by the plugin delegate to let it know that the window is being
// destroyed.
- virtual void WillDestroyWindow(gfx::NativeView window) = 0;
+ virtual void WillDestroyWindow(gfx::PluginWindowHandle window) = 0;
#if defined(OS_WIN)
// The pump_messages_event is a event handle which is valid only for
// windowless plugins and is used in NPP_HandleEvent calls to pump messages
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl_gtk.cc ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698