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 | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 #include "third_party/skia/include/core/SkBitmap.h" | 10 #include "third_party/skia/include/core/SkBitmap.h" |
12 #include "third_party/skia/include/core/SkRegion.h" | 11 #include "third_party/skia/include/core/SkRegion.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
14 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
15 | 14 |
16 #if defined(TOOLKIT_GTK) | 15 #if defined(TOOLKIT_GTK) |
17 #include <gdk/gdk.h> | 16 #include <gdk/gdk.h> |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Return value indicates whether the mouse is locked successfully or not. | 144 // Return value indicates whether the mouse is locked successfully or not. |
146 virtual bool LockMouse() = 0; | 145 virtual bool LockMouse() = 0; |
147 virtual void UnlockMouse() = 0; | 146 virtual void UnlockMouse() = 0; |
148 // Returns true if the mouse pointer is currently locked. | 147 // Returns true if the mouse pointer is currently locked. |
149 virtual bool IsMouseLocked() = 0; | 148 virtual bool IsMouseLocked() = 0; |
150 }; | 149 }; |
151 | 150 |
152 } // namespace content | 151 } // namespace content |
153 | 152 |
154 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ | 153 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_ |
OLD | NEW |