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_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(TOOLKIT_GTK) | 9 #if defined(TOOLKIT_GTK) |
10 #include <gdk/gdk.h> | 10 #include <gdk/gdk.h> |
11 #endif | 11 #endif |
12 | 12 |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "third_party/skia/include/core/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
15 #include "third_party/skia/include/core/SkRegion.h" | 15 #include "third_party/skia/include/core/SkRegion.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
17 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
18 | 18 |
19 #if defined(TOOLKIT_GTK) | |
20 class GdkEventButton; | |
21 #endif | |
22 | |
23 class BrowserAccessibilityManager; | 19 class BrowserAccessibilityManager; |
24 | 20 |
25 namespace gfx { | 21 namespace gfx { |
26 class Rect; | 22 class Rect; |
27 class Size; | 23 class Size; |
28 } | 24 } |
29 | 25 |
30 namespace content { | 26 namespace content { |
31 | 27 |
32 class RenderWidgetHost; | 28 class RenderWidgetHost; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // Return value indicates whether the mouse is locked successfully or not. | 142 // Return value indicates whether the mouse is locked successfully or not. |
147 virtual bool LockMouse() = 0; | 143 virtual bool LockMouse() = 0; |
148 virtual void UnlockMouse() = 0; | 144 virtual void UnlockMouse() = 0; |
149 // Returns true if the mouse pointer is currently locked. | 145 // Returns true if the mouse pointer is currently locked. |
150 virtual bool IsMouseLocked() = 0; | 146 virtual bool IsMouseLocked() = 0; |
151 }; | 147 }; |
152 | 148 |
153 } // namespace content | 149 } // namespace content |
154 | 150 |
155 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 151 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
OLD | NEW |