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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
18 #include "cc/debug/rendering_stats_instrumentation.h" | 18 #include "cc/debug/rendering_stats_instrumentation.h" |
19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
| 20 #include "content/common/cursors/webcursor.h" |
20 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 21 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
21 #include "content/common/input/synthetic_gesture_params.h" | 22 #include "content/common/input/synthetic_gesture_params.h" |
22 #include "content/renderer/paint_aggregator.h" | 23 #include "content/renderer/paint_aggregator.h" |
23 #include "ipc/ipc_listener.h" | 24 #include "ipc/ipc_listener.h" |
24 #include "ipc/ipc_sender.h" | 25 #include "ipc/ipc_sender.h" |
25 #include "third_party/WebKit/public/platform/WebRect.h" | 26 #include "third_party/WebKit/public/platform/WebRect.h" |
26 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 27 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
27 #include "third_party/WebKit/public/web/WebPopupType.h" | 28 #include "third_party/WebKit/public/web/WebPopupType.h" |
28 #include "third_party/WebKit/public/web/WebTextDirection.h" | 29 #include "third_party/WebKit/public/web/WebTextDirection.h" |
29 #include "third_party/WebKit/public/web/WebTextInputInfo.h" | 30 #include "third_party/WebKit/public/web/WebTextInputInfo.h" |
30 #include "third_party/WebKit/public/web/WebTouchAction.h" | 31 #include "third_party/WebKit/public/web/WebTouchAction.h" |
31 #include "third_party/WebKit/public/web/WebWidget.h" | 32 #include "third_party/WebKit/public/web/WebWidget.h" |
32 #include "third_party/WebKit/public/web/WebWidgetClient.h" | 33 #include "third_party/WebKit/public/web/WebWidgetClient.h" |
33 #include "third_party/skia/include/core/SkBitmap.h" | 34 #include "third_party/skia/include/core/SkBitmap.h" |
34 #include "ui/base/ime/text_input_mode.h" | 35 #include "ui/base/ime/text_input_mode.h" |
35 #include "ui/base/ime/text_input_type.h" | 36 #include "ui/base/ime/text_input_type.h" |
36 #include "ui/base/ui_base_types.h" | 37 #include "ui/base/ui_base_types.h" |
37 #include "ui/gfx/native_widget_types.h" | 38 #include "ui/gfx/native_widget_types.h" |
38 #include "ui/gfx/range/range.h" | 39 #include "ui/gfx/range/range.h" |
39 #include "ui/gfx/rect.h" | 40 #include "ui/gfx/rect.h" |
40 #include "ui/gfx/vector2d.h" | 41 #include "ui/gfx/vector2d.h" |
41 #include "ui/gfx/vector2d_f.h" | 42 #include "ui/gfx/vector2d_f.h" |
42 #include "ui/surface/transport_dib.h" | 43 #include "ui/surface/transport_dib.h" |
43 #include "webkit/common/cursors/webcursor.h" | |
44 | 44 |
45 struct ViewHostMsg_UpdateRect_Params; | 45 struct ViewHostMsg_UpdateRect_Params; |
46 struct ViewMsg_Resize_Params; | 46 struct ViewMsg_Resize_Params; |
47 class ViewHostMsg_UpdateRect; | 47 class ViewHostMsg_UpdateRect; |
48 | 48 |
49 namespace IPC { | 49 namespace IPC { |
50 class SyncMessage; | 50 class SyncMessage; |
51 } | 51 } |
52 | 52 |
53 namespace blink { | 53 namespace blink { |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 | 801 |
802 ui::MenuSourceType context_menu_source_type_; | 802 ui::MenuSourceType context_menu_source_type_; |
803 gfx::Point touch_editing_context_menu_location_; | 803 gfx::Point touch_editing_context_menu_location_; |
804 | 804 |
805 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 805 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
806 }; | 806 }; |
807 | 807 |
808 } // namespace content | 808 } // namespace content |
809 | 809 |
810 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 810 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |