Index: content/browser/browser_plugin/browser_plugin_guest.h |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h |
index 782816227092dfa9c82eac67210bd12001900ebd..61fea1cb080b70dd6c1bd45b64d9098ac418ea7c 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest.h |
@@ -105,6 +105,10 @@ class CONTENT_EXPORT BrowserPluginGuest |
// Returns a WeakPtr to this BrowserPluginGuest. |
base::WeakPtr<BrowserPluginGuest> AsWeakPtr(); |
+ // Sets the lock state of the pointer. Returns true if |allowed| is true and |
+ // the mouse has been successfully locked. |
+ bool LockMouse(bool allowed); |
+ |
// Called when the embedder WebContents is destroyed to give the |
// BrowserPluginGuest an opportunity to clean up after itself. |
void EmbedderDestroyed(); |
@@ -140,9 +144,6 @@ class CONTENT_EXPORT BrowserPluginGuest |
// Returns the BrowserPluginGuest that created this guest, if any. |
BrowserPluginGuest* GetOpener() const; |
- // Returns whether the mouse pointer was unlocked. |
- bool UnlockMouseIfNecessary(const NativeWebKeyboardEvent& event); |
- |
void UpdateVisibility(); |
void CopyFromCompositingSurface( |