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

Unified Diff: webkit/glue/webplugin_impl.h

Issue 159907: linux: fix windowless Flash when scrolling (Closed)
Patch Set: address review comments Created 11 years, 4 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
Index: webkit/glue/webplugin_impl.h
diff --git a/webkit/glue/webplugin_impl.h b/webkit/glue/webplugin_impl.h
index 04d0e892261074ffbf331014a7817cd006868e7c..84ead6fb5cfb066e0074f350c5453342da3e64ff 100644
--- a/webkit/glue/webplugin_impl.h
+++ b/webkit/glue/webplugin_impl.h
@@ -278,8 +278,8 @@ class WebPluginImpl : public WebPlugin,
// Calculates the bounds of the plugin widget based on the frame
// rect passed in.
void CalculateBounds(const WebCore::IntRect& frame_rect,
- WebCore::IntRect* window_rect,
- WebCore::IntRect* clip_rect,
+ gfx::Rect* window_rect,
+ gfx::Rect* clip_rect,
std::vector<gfx::Rect>* cutout_rects);
void HandleURLRequest(const char *method,
@@ -367,6 +367,10 @@ class WebPluginImpl : public WebPlugin,
// Indicates if this is the first geometry update received by the plugin.
bool first_geometry_update_;
+ // The current plugin geometry and clip rectangle.
+ gfx::Rect window_rect_;
+ gfx::Rect clip_rect_;
+
// The mime type of the plugin.
std::string mime_type_;

Powered by Google App Engine
This is Rietveld 408576698