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

Unified Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 8970016: refactoring mouse lock to support pepper and WebKit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index c45704e4fb6b4dc89b27d8dd986f5b681a421105..798061f483a2827449048c144efdfc1285f5e539 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -493,7 +493,7 @@ class PluginDelegate {
// PluginInstance::OnLockMouseACK() to notify the instance when the operation
// is completed. The call to OnLockMouseACK() may be synchronous (i.e., it may
// be called when LockMouse() is still on the stack).
yzshen1 2012/01/04 00:50:00 Please remember to change the comment about when/w
- virtual void LockMouse(PluginInstance* instance) = 0;
+ virtual bool LockMouse(PluginInstance* instance) = 0;
// Unlocks the mouse if |instance| currently owns the mouse lock. Whenever an
// plugin instance has lost the mouse lock, it will be notified by

Powered by Google App Engine
This is Rietveld 408576698