summaryrefslogtreecommitdiffstats
path: root/content/port
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-11 19:12:36 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-11 19:12:36 +0000
commit3e076a8cc7a0f858b6ba3f563fca6716f889e1fe (patch)
tree02093584c074ae513f486683f585b82969901a3b /content/port
parente9c180b08c7464bfa37268175f9dac862c7eaac7 (diff)
downloadchromium_src-3e076a8cc7a0f858b6ba3f563fca6716f889e1fe.zip
chromium_src-3e076a8cc7a0f858b6ba3f563fca6716f889e1fe.tar.gz
chromium_src-3e076a8cc7a0f858b6ba3f563fca6716f889e1fe.tar.bz2
Initial NPAPI plugin support in Win Aura.
Scrolling jank is noticable because the plugin moves at a different time than the content is updated. There are also a couple of other functions in RenderWidgetHostViewWin that enumerate plugin Windows that need to be shared, but I'm leaving these for a future change. The code in render_widget_host_view_base.cc is all moved from render_widget_host_view_win.cc with the exception of the lines between the USE_AURA ifdef. Review URL: https://codereview.chromium.org/10905122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156090 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r--content/port/browser/render_widget_host_view_port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 6d3f56b..8c60c76 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -73,7 +73,9 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
virtual void WasHidden() = 0;
// Moves all plugin windows as described in the given list.
+ // |scroll_offset| is the scroll offset of the render view.
virtual void MovePluginWindows(
+ const gfx::Point& scroll_offset,
const std::vector<webkit::npapi::WebPluginGeometry>& moves) = 0;
// Take focus from the associated View component.