diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 01:13:45 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 01:13:45 +0000 |
commit | 83d0e2ba3c024eda4291c505300217e7ad8d7ba0 (patch) | |
tree | 709637ef3a06d70fed44ecc9ad5892ef14e1da59 /webkit/glue/webplugin.h | |
parent | b6757a4e8d6140ca93381e283bf55664f87d424a (diff) | |
download | chromium_src-83d0e2ba3c024eda4291c505300217e7ad8d7ba0.zip chromium_src-83d0e2ba3c024eda4291c505300217e7ad8d7ba0.tar.gz chromium_src-83d0e2ba3c024eda4291c505300217e7ad8d7ba0.tar.bz2 |
Revert all of my patches from today.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19328 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin.h')
-rw-r--r-- | webkit/glue/webplugin.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/webkit/glue/webplugin.h b/webkit/glue/webplugin.h index 2debf9a..d6a5b75 100644 --- a/webkit/glue/webplugin.h +++ b/webkit/glue/webplugin.h @@ -25,9 +25,7 @@ struct NPObject; // Describes the new location for a plugin window. struct WebPluginGeometry { - // 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::NativeView window; gfx::Rect window_rect; // Clip rect (include) and cutouts (excludes), relative to // window_rect origin. @@ -56,11 +54,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::PluginWindowHandle window) = 0; + virtual void SetWindow(gfx::NativeView window) = 0; // Called by the plugin delegate to let it know that the window is being // destroyed. - virtual void WillDestroyWindow(gfx::PluginWindowHandle window) = 0; + virtual void WillDestroyWindow(gfx::NativeView 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 |