Index: remoting/client/plugin/pepper_input_handler.h |
diff --git a/remoting/client/plugin/pepper_input_handler.h b/remoting/client/plugin/pepper_input_handler.h |
index 48d85c264a448a488c25e4940d03a8d6e18d7129..37dd4c9b00c143f7adbd8ef47c72412a8c3f7c51 100644 |
--- a/remoting/client/plugin/pepper_input_handler.h |
+++ b/remoting/client/plugin/pepper_input_handler.h |
@@ -43,11 +43,15 @@ class PepperInputHandler : public pp::MouseLock { |
// Called when the plugin receives or loses focus. |
void DidChangeFocus(bool has_focus); |
- // Sets the mouse cursor image. Passing NULL image will lock the mouse if |
- // mouse lock is enabled. |
+ // Sets the mouse cursor image. Passing NULL |image| will cause the cursor to |
+ // be hidden. |
+ // Passing NULL |image| will also cause mouse-lock to be entered, if allowed. |
void SetMouseCursor(scoped_ptr<pp::ImageData> image, |
const pp::Point& hotspot); |
+ // Hides the mousr cursor without triggering mouse-lock. |
+ void HideMouseCursor(); |
+ |
// Enable or disable sending mouse input when the plugin does not have input |
// focus. |
void set_send_mouse_input_when_unfocused(bool send) { |