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

Unified Diff: sky/engine/public/web/WebWidgetClient.h

Issue 770223002: Remove lots of code from the WebWidget/WebView/WebFrame layer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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: sky/engine/public/web/WebWidgetClient.h
diff --git a/sky/engine/public/web/WebWidgetClient.h b/sky/engine/public/web/WebWidgetClient.h
index 470d3a9e3383a74c20ed18a6b778ea43c1a66b27..982eef7fcf5e5f321c7a89f9c25e0e432874ff7c 100644
--- a/sky/engine/public/web/WebWidgetClient.h
+++ b/sky/engine/public/web/WebWidgetClient.h
@@ -133,21 +133,6 @@ public:
// reset the input method by cancelling any ongoing composition.
virtual void resetInputMethod() { }
- // Requests to lock the mouse cursor. If true is returned, the success
- // result will be asynchronously returned via a single call to
- // WebWidget::didAcquirePointerLock() or
- // WebWidget::didNotAcquirePointerLock().
- // If false, the request has been denied synchronously.
- virtual bool requestPointerLock() { return false; }
-
- // Cause the pointer lock to be released. This may be called at any time,
- // including when a lock is pending but not yet acquired.
- // WebWidget::didLosePointerLock() is called when unlock is complete.
- virtual void requestPointerUnlock() { }
-
- // Returns true iff the pointer is locked to this widget.
- virtual bool isPointerLocked() { return false; }
-
// Called when a gesture event is handled.
virtual void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled) { }

Powered by Google App Engine
This is Rietveld 408576698