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 #include "base/basictypes.h" |
10 #include <gdk/gdk.h> | |
11 #endif | |
12 | |
13 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
14 #include "third_party/skia/include/core/SkBitmap.h" | 11 #include "third_party/skia/include/core/SkBitmap.h" |
15 #include "third_party/skia/include/core/SkRegion.h" | 12 #include "third_party/skia/include/core/SkRegion.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
17 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
18 | 15 |
| 16 #if defined(TOOLKIT_GTK) |
| 17 #include <gdk/gdk.h> |
| 18 #endif |
| 19 |
19 class BrowserAccessibilityManager; | 20 class BrowserAccessibilityManager; |
20 | 21 |
21 namespace gfx { | 22 namespace gfx { |
22 class Rect; | 23 class Rect; |
23 class Size; | 24 class Size; |
24 } | 25 } |
25 | 26 |
26 namespace content { | 27 namespace content { |
27 | 28 |
28 class RenderWidgetHost; | 29 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. | 143 // Return value indicates whether the mouse is locked successfully or not. |
143 virtual bool LockMouse() = 0; | 144 virtual bool LockMouse() = 0; |
144 virtual void UnlockMouse() = 0; | 145 virtual void UnlockMouse() = 0; |
145 // Returns true if the mouse pointer is currently locked. | 146 // Returns true if the mouse pointer is currently locked. |
146 virtual bool IsMouseLocked() = 0; | 147 virtual bool IsMouseLocked() = 0; |
147 }; | 148 }; |
148 | 149 |
149 } // namespace content | 150 } // namespace content |
150 | 151 |
151 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 152 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
OLD | NEW |