summaryrefslogtreecommitdiffstats
path: root/content/port
diff options
context:
space:
mode:
authormazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 21:39:30 +0000
committermazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 21:39:30 +0000
commit4e721741ebb5f584d23483bf1f5577dea2539f3c (patch)
treeb952663a8fbddad65d4bb69062c0da762394e438 /content/port
parentbb986abf62f8a4bc98537b008c205c83f6940e34 (diff)
downloadchromium_src-4e721741ebb5f584d23483bf1f5577dea2539f3c.zip
chromium_src-4e721741ebb5f584d23483bf1f5577dea2539f3c.tar.gz
chromium_src-4e721741ebb5f584d23483bf1f5577dea2539f3c.tar.bz2
Differentiate invisible cursor mode and disabled mouse events mode.
I made the cursor visibility and the mouse events enable state work as follows. - Typing keys just hides the cursor and mouse events are not disabled (mouse hover state is not cleared) - Scrolling a web page when the cursor is invisible disables mouse events. - Touch events disable mouse events. BUG=154979 TBR=jln@chromium.org Review URL: https://codereview.chromium.org/11888003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180528 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r--content/port/browser/render_widget_host_view_port.h3
1 files changed, 3 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 953296c..d126c3d 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -147,6 +147,9 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
const gfx::Rect& end_rect,
WebKit::WebTextDirection end_direction) {}
+ // Notifies the view that the scroll offset has changed.
+ virtual void ScrollOffsetChanged() {}
+
// Allocate a backing store for this view.
virtual BackingStore* AllocBackingStore(const gfx::Size& size) = 0;