OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "content/public/renderer/render_view_observer.h" | 10 #include "content/public/renderer/render_view_observer.h" |
12 #include "content/renderer/mouse_lock_dispatcher.h" | 11 #include "content/renderer/mouse_lock_dispatcher.h" |
13 | 12 |
14 class RenderViewImpl; | 13 class RenderViewImpl; |
15 | 14 |
16 // RenderViewMouseLockDispatcher is owned by RenderViewImpl. | 15 // RenderViewMouseLockDispatcher is owned by RenderViewImpl. |
17 class RenderViewMouseLockDispatcher : public MouseLockDispatcher, | 16 class RenderViewMouseLockDispatcher : public MouseLockDispatcher, |
(...skipping 11 matching lines...) Expand all Loading... |
29 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 28 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
30 | 29 |
31 void OnMsgLockMouseACK(bool succeeded); | 30 void OnMsgLockMouseACK(bool succeeded); |
32 | 31 |
33 RenderViewImpl* render_view_impl_; | 32 RenderViewImpl* render_view_impl_; |
34 | 33 |
35 DISALLOW_COPY_AND_ASSIGN(RenderViewMouseLockDispatcher); | 34 DISALLOW_COPY_AND_ASSIGN(RenderViewMouseLockDispatcher); |
36 }; | 35 }; |
37 | 36 |
38 #endif // CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_ | 37 #endif // CONTENT_RENDERER_RENDER_VIEW_MOUSE_LOCK_DISPATCHER_H_ |
OLD | NEW |