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

Unified Diff: content/renderer/render_view_impl.h

Issue 1980133002: Implement pointer lock API for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « content/renderer/mouse_lock_dispatcher_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 10d9ebe4ead69633007cd75d57d3fdb87564f89f..636f1c2e4aa6cc06c114a0570881027266c8fceb 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -39,7 +39,6 @@
#include "content/public/common/top_controls_state.h"
#include "content/public/common/web_preferences.h"
#include "content/public/renderer/render_view.h"
-#include "content/renderer/mouse_lock_dispatcher.h"
#include "content/renderer/render_frame_impl.h"
#include "content/renderer/render_widget.h"
#include "content/renderer/render_widget_owner_delegate.h"
@@ -121,7 +120,6 @@ namespace content {
class HistoryController;
class HistoryEntry;
-class MouseLockDispatcher;
class PageState;
class RenderViewImplTest;
class RenderViewObserver;
@@ -194,10 +192,6 @@ class CONTENT_EXPORT RenderViewImpl
send_content_state_immediately_ = value;
}
- MouseLockDispatcher* mouse_lock_dispatcher() {
- return mouse_lock_dispatcher_;
- }
-
HistoryController* history_controller() {
return history_controller_.get();
}
@@ -293,9 +287,6 @@ class CONTENT_EXPORT RenderViewImpl
// Most methods are handled by RenderWidget.
void didFocus() override;
void show(blink::WebNavigationPolicy policy) override;
- bool requestPointerLock() override;
- void requestPointerUnlock() override;
- bool isPointerLocked() override;
void didHandleGestureEvent(const blink::WebGestureEvent& event,
bool event_cancelled) override;
void onMouseDown(const blink::WebNode& mouse_down_node) override;
@@ -900,9 +891,6 @@ class CONTENT_EXPORT RenderViewImpl
// initialized.
SpeechRecognitionDispatcher* speech_recognition_dispatcher_;
- // Mouse Lock dispatcher attached to this view.
- MouseLockDispatcher* mouse_lock_dispatcher_;
-
std::unique_ptr<HistoryController> history_controller_;
#if defined(OS_ANDROID)
@@ -946,9 +934,6 @@ class CONTENT_EXPORT RenderViewImpl
// is fine.
base::ObserverList<RenderViewObserver> observers_;
- // Wraps the |webwidget_| as a MouseLockDispatcher::LockTarget interface.
- std::unique_ptr<MouseLockDispatcher::LockTarget> webwidget_mouse_lock_target_;
-
// This field stores drag/drop related info for the event that is currently
// being handled. If the current event results in starting a drag/drop
// session, this info is sent to the browser along with other drag/drop info.
« no previous file with comments | « content/renderer/mouse_lock_dispatcher_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698