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

Unified Diff: webkit/glue/webplugin_impl.h

Issue 549025: Set disabled style on GPU window and plugin intermediate window so mouse mess... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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/webplugin.cc ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.h
===================================================================
--- webkit/glue/webplugin_impl.h (revision 36167)
+++ webkit/glue/webplugin_impl.h (working copy)
@@ -87,6 +87,12 @@
// WebPlugin implementation:
void SetWindow(gfx::PluginWindowHandle window);
+
+ // Whether input events should be sent to the delegate.
+ virtual void SetAcceptsInputEvents(bool accepts) {
+ accepts_input_events_ = accepts;
+ }
+
void WillDestroyWindow(gfx::PluginWindowHandle window);
#if defined(OS_WIN)
void SetWindowlessPumpEvent(HANDLE pump_messages_event) { }
@@ -252,6 +258,7 @@
bool windowless_;
gfx::PluginWindowHandle window_;
+ bool accepts_input_events_;
base::WeakPtr<WebPluginPageDelegate> page_delegate_;
WebKit::WebFrame* webframe_;
@@ -280,8 +287,7 @@
bool ignore_response_error_;
// The current plugin geometry and clip rectangle.
- gfx::Rect window_rect_;
- gfx::Rect clip_rect_;
+ WebPluginGeometry geometry_;
// The mime type of the plugin.
std::string mime_type_;
« no previous file with comments | « webkit/glue/webplugin.cc ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698