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 |
19 class BrowserAccessibilityManager; | 23 class BrowserAccessibilityManager; |
20 | 24 |
21 namespace gfx { | 25 namespace gfx { |
22 class Rect; | 26 class Rect; |
23 class Size; | 27 class Size; |
24 } | 28 } |
25 | 29 |
26 namespace content { | 30 namespace content { |
27 | 31 |
28 class RenderWidgetHost; | 32 class RenderWidgetHost; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // Return value indicates whether the mouse is locked successfully or not. | 146 // Return value indicates whether the mouse is locked successfully or not. |
143 virtual bool LockMouse() = 0; | 147 virtual bool LockMouse() = 0; |
144 virtual void UnlockMouse() = 0; | 148 virtual void UnlockMouse() = 0; |
145 // Returns true if the mouse pointer is currently locked. | 149 // Returns true if the mouse pointer is currently locked. |
146 virtual bool IsMouseLocked() = 0; | 150 virtual bool IsMouseLocked() = 0; |
147 }; | 151 }; |
148 | 152 |
149 } // namespace content | 153 } // namespace content |
150 | 154 |
151 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 155 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
OLD | NEW |