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

Unified Diff: content/renderer/render_view_mouse_lock_dispatcher.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/render_view_impl.cc ('k') | content/renderer/render_view_mouse_lock_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_mouse_lock_dispatcher.h
diff --git a/content/renderer/render_view_mouse_lock_dispatcher.h b/content/renderer/render_view_mouse_lock_dispatcher.h
deleted file mode 100644
index 7eb423a27cd7c45e291506a4a18e847a2ee35292..0000000000000000000000000000000000000000
--- a/content/renderer/render_view_mouse_lock_dispatcher.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_
-#define CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "content/public/renderer/render_view_observer.h"
-#include "content/renderer/mouse_lock_dispatcher.h"
-
-namespace content {
-class RenderViewImpl;
-
-// RenderViewMouseLockDispatcher is owned by RenderViewImpl.
-class RenderViewMouseLockDispatcher : public MouseLockDispatcher,
- public RenderViewObserver {
- public:
- explicit RenderViewMouseLockDispatcher(RenderViewImpl* render_view_impl);
- ~RenderViewMouseLockDispatcher() override;
-
- private:
- // MouseLockDispatcher implementation.
- void SendLockMouseRequest(bool unlocked_by_target) override;
- void SendUnlockMouseRequest() override;
-
- // RenderViewObserver implementation.
- bool OnMessageReceived(const IPC::Message& message) override;
- void OnDestruct() override;
-
- void OnLockMouseACK(bool succeeded);
-
- RenderViewImpl* render_view_impl_;
-
- DISALLOW_COPY_AND_ASSIGN(RenderViewMouseLockDispatcher);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_view_mouse_lock_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698