OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 11 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "content/common/cursors/webcursor.h" | 13 #include "content/common/cursors/webcursor.h" |
14 #include "ui/events/event.h" | 14 #include "ui/events/event.h" |
15 #include "ui/events/gestures/gesture_recognizer.h" | 15 #include "ui/events/gestures/gesture_recognizer.h" |
16 #include "ui/events/gestures/gesture_types.h" | 16 #include "ui/events/gestures/gesture_types.h" |
17 #include "ui/gfx/geometry/rect.h" | |
18 #include "ui/gfx/geometry/vector2d_f.h" | |
19 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
| 18 #include "ui/gfx/rect.h" |
| 19 #include "ui/gfx/vector2d_f.h" |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class BrowserPluginGuest; | 22 class BrowserPluginGuest; |
23 class RenderWidgetHost; | 23 class RenderWidgetHost; |
24 class RenderWidgetHostImpl; | 24 class RenderWidgetHostImpl; |
25 struct NativeWebKeyboardEvent; | 25 struct NativeWebKeyboardEvent; |
26 | 26 |
27 // See comments in render_widget_host_view.h about this class and its members. | 27 // See comments in render_widget_host_view.h about this class and its members. |
28 // This version is for the BrowserPlugin which handles a lot of the | 28 // This version is for the BrowserPlugin which handles a lot of the |
29 // functionality in a diffent place and isn't platform specific. | 29 // functionality in a diffent place and isn't platform specific. |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 171 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
172 #if defined(USE_AURA) | 172 #if defined(USE_AURA) |
173 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 173 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
174 #endif | 174 #endif |
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
176 }; | 176 }; |
177 | 177 |
178 } // namespace content | 178 } // namespace content |
179 | 179 |
180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |