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

Unified Diff: content/renderer/render_view.h

Issue 7863003: Mouse lock implementation, including the renderer side and the Windows version of the browser side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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: content/renderer/render_view.h
diff --git a/content/renderer/render_view.h b/content/renderer/render_view.h
index cadbc815714686b42bfccf13767c8f849e41a4b5..2ef5eb38fbd08914914ab7656bb2e21582a169d0 100644
--- a/content/renderer/render_view.h
+++ b/content/renderer/render_view.h
@@ -125,6 +125,7 @@ class WebGeolocationServiceInterface;
class WebIconURL;
class WebImage;
class WebInputElement;
+class WebInputEvent;
class WebKeyboardEvent;
class WebMediaPlayer;
class WebMediaPlayerClient;
@@ -623,6 +624,8 @@ class RenderView : public RenderWidget,
virtual gfx::Point GetScrollOffset();
virtual void DidHandleKeyEvent();
virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event);
+ virtual bool OnBeforeHandleInputEvent(
+ const WebKit::WebInputEvent& event) OVERRIDE;
virtual void OnSetFocus(bool enable);
virtual void OnWasHidden();
virtual void OnWasRestored(bool needs_repainting);
@@ -803,8 +806,10 @@ class RenderView : public RenderWidget,
const std::vector<GURL>& links,
const std::vector<FilePath>& local_paths,
const FilePath& local_directory_name);
+ void OnLockMouseACK(bool succeeded);
void OnMediaPlayerActionAt(const gfx::Point& location,
const WebKit::WebMediaPlayerAction& action);
+ void OnMouseLockLost();
void OnMoveOrResizeStarted();
void OnNavigate(const ViewMsg_Navigate_Params& params);
void OnPaste();

Powered by Google App Engine
This is Rietveld 408576698