OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 15 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
16 #include "gfx/native_widget_types.h" | |
17 #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" |
18 #include "views/controls/native/native_view_host.h" | 18 #include "views/controls/native/native_view_host.h" |
19 #include "views/event.h" | 19 #include "views/event.h" |
20 #include "views/view.h" | 20 #include "views/view.h" |
21 #include "webkit/glue/webcursor.h" | 21 #include "webkit/glue/webcursor.h" |
22 | 22 |
23 class RenderWidgetHost; | 23 class RenderWidgetHost; |
24 struct NativeWebKeyboardEvent; | 24 struct NativeWebKeyboardEvent; |
25 | 25 |
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. |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 169 |
170 // The touch-event. Its touch-points are updated as necessary. A new | 170 // The touch-event. Its touch-points are updated as necessary. A new |
171 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is | 171 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is |
172 // removed from the list on an ET_TOUCH_RELEASED event. | 172 // removed from the list on an ET_TOUCH_RELEASED event. |
173 WebKit::WebTouchEvent touch_event_; | 173 WebKit::WebTouchEvent touch_event_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
176 }; | 176 }; |
177 | 177 |
178 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 178 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
OLD | NEW |