summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins/PluginView.h
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2010-03-25 23:15:06 -0700
committerGrace Kloba <klobag@google.com>2010-03-26 11:44:07 -0700
commit74f79778892548221468d075f949acb3d4064368 (patch)
treeed5c1b1dde1c5a1b9e33bfc5ff3b1ad28410fc3c /WebCore/plugins/PluginView.h
parent9b1bc61a6de534695c552094070e02a7b6331620 (diff)
downloadexternal_webkit-74f79778892548221468d075f949acb3d4064368.zip
external_webkit-74f79778892548221468d075f949acb3d4064368.tar.gz
external_webkit-74f79778892548221468d075f949acb3d4064368.tar.bz2
In Android, as we always remap the plugin from page
space to view space, we do want to update when the rect in the page space changed. This should fix the bug where the plugin is inside a fixed position. So even its page coordinate changed when scrolling, its window coordinate didn't change. We missed the update. Fix http://b/issue?id=2542934
Diffstat (limited to 'WebCore/plugins/PluginView.h')
-rw-r--r--WebCore/plugins/PluginView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/plugins/PluginView.h b/WebCore/plugins/PluginView.h
index 41e563c..f14eb3d 100644
--- a/WebCore/plugins/PluginView.h
+++ b/WebCore/plugins/PluginView.h
@@ -410,6 +410,9 @@ private:
IntRect m_clipRect; // The clip rect to apply to a windowed plug-in
IntRect m_windowRect; // Our window rect.
+#ifdef ANDROID_PLUGINS
+ IntRect m_pageRect; // The rect in page coordinate system.
+#endif
bool m_loadManually;
RefPtr<PluginStream> m_manualStream;