summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins/PluginView.cpp
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2010-01-20 08:53:00 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-01-20 08:53:00 -0800
commit9dabd572bcca8e38d72ee40eaf442a9bb0790508 (patch)
tree3f05712e2467690c62b0a7e92e800cdc8fb6d011 /WebCore/plugins/PluginView.cpp
parentd9b562d65e56e563079a5a7778a41c98aa6cf1b5 (diff)
parent1f15f3a9f6dc2a169bbd160e2e1abb161f9927d9 (diff)
downloadexternal_webkit-9dabd572bcca8e38d72ee40eaf442a9bb0790508.zip
external_webkit-9dabd572bcca8e38d72ee40eaf442a9bb0790508.tar.gz
external_webkit-9dabd572bcca8e38d72ee40eaf442a9bb0790508.tar.bz2
am 1f15f3a9: Changing plugin setwindow() to use page coordinate instead of frame as it is what Flash expects. For other port like Mac, it passes the window coordinate to the plugin. In Android, plugin always sees the full page and we use the visible screen rect to ind
Merge commit '1f15f3a9f6dc2a169bbd160e2e1abb161f9927d9' into eclair-mr2-plus-aosp * commit '1f15f3a9f6dc2a169bbd160e2e1abb161f9927d9': Changing plugin setwindow() to use page coordinate
Diffstat (limited to 'WebCore/plugins/PluginView.cpp')
-rw-r--r--WebCore/plugins/PluginView.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/WebCore/plugins/PluginView.cpp b/WebCore/plugins/PluginView.cpp
index 129a21c..89713b5 100644
--- a/WebCore/plugins/PluginView.cpp
+++ b/WebCore/plugins/PluginView.cpp
@@ -131,15 +131,8 @@ void PluginView::setFrameRect(const IntRect& rect)
if (m_element->document()->printing())
return;
-#if defined(ANDROID_PLUGINS)
- if (m_isStarted && (rect != frameRect())) {
- Widget::setFrameRect(rect);
- setNPWindowRect(rect); // only call when it changes
- }
-#else
if (rect != frameRect())
Widget::setFrameRect(rect);
-#endif
updatePluginWidget();