[email protected] | 9f4f332 | 2012-01-18 22:29:56 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 4 | |
[email protected] | 2cff005 | 2011-03-18 16:51:44 | [diff] [blame] | 5 | #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 | #define CONTENT_RENDERER_RENDER_WIDGET_H_ | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 7 | |
[email protected] | aa4117f | 2011-12-09 22:19:21 | [diff] [blame] | 8 | #include <deque> |
[email protected] | 0e241b4b | 2012-08-18 09:06:27 | [diff] [blame] | 9 | #include <map> |
[email protected] | 010ea08a | 2009-10-11 20:21:32 | [diff] [blame] | 10 | |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 11 | #include "base/basictypes.h" |
[email protected] | f3112a5 | 2011-09-30 23:47:49 | [diff] [blame] | 12 | #include "base/compiler_specific.h" |
[email protected] | 3b63f8f4 | 2011-03-28 01:54:15 | [diff] [blame] | 13 | #include "base/memory/ref_counted.h" |
[email protected] | 8704f89b | 2011-04-15 00:30:05 | [diff] [blame] | 14 | #include "base/memory/scoped_ptr.h" |
[email protected] | bffc830 | 2014-01-23 20:52:16 | [diff] [blame] | 15 | #include "base/observer_list.h" |
[email protected] | abb52216 | 2013-06-28 01:54:16 | [diff] [blame] | 16 | #include "base/time/time.h" |
17 | #include "base/timer/timer.h" | ||||
[email protected] | c1e6cc06 | 2013-08-24 03:35:35 | [diff] [blame] | 18 | #include "cc/debug/rendering_stats_instrumentation.h" |
[email protected] | f3112a5 | 2011-09-30 23:47:49 | [diff] [blame] | 19 | #include "content/common/content_export.h" |
[email protected] | c2809346d | 2014-03-20 00:11:03 | [diff] [blame^] | 20 | #include "content/common/cursors/webcursor.h" |
[email protected] | ed7defa | 2013-03-12 21:29:59 | [diff] [blame] | 21 | #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
[email protected] | 9017d785 | 2013-11-21 17:47:35 | [diff] [blame] | 22 | #include "content/common/input/synthetic_gesture_params.h" |
[email protected] | 921f159 | 2011-03-18 00:41:02 | [diff] [blame] | 23 | #include "content/renderer/paint_aggregator.h" |
[email protected] | 4f86bdb | 2012-11-10 19:11:19 | [diff] [blame] | 24 | #include "ipc/ipc_listener.h" |
25 | #include "ipc/ipc_sender.h" | ||||
[email protected] | 5c30b5e0 | 2013-05-30 03:46:08 | [diff] [blame] | 26 | #include "third_party/WebKit/public/platform/WebRect.h" |
[email protected] | 2255a933 | 2013-06-17 05:12:31 | [diff] [blame] | 27 | #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
28 | #include "third_party/WebKit/public/web/WebPopupType.h" | ||||
29 | #include "third_party/WebKit/public/web/WebTextDirection.h" | ||||
30 | #include "third_party/WebKit/public/web/WebTextInputInfo.h" | ||||
[email protected] | 5d0bbdfa9 | 2013-12-10 00:35:51 | [diff] [blame] | 31 | #include "third_party/WebKit/public/web/WebTouchAction.h" |
[email protected] | 0e45bd0 | 2013-07-12 20:20:02 | [diff] [blame] | 32 | #include "third_party/WebKit/public/web/WebWidget.h" |
[email protected] | 2255a933 | 2013-06-17 05:12:31 | [diff] [blame] | 33 | #include "third_party/WebKit/public/web/WebWidgetClient.h" |
[email protected] | d65adb1 | 2010-04-28 17:26:49 | [diff] [blame] | 34 | #include "third_party/skia/include/core/SkBitmap.h" |
[email protected] | b256eca | 2013-07-11 10:57:40 | [diff] [blame] | 35 | #include "ui/base/ime/text_input_mode.h" |
[email protected] | ad26ef4 | 2011-06-17 07:59:45 | [diff] [blame] | 36 | #include "ui/base/ime/text_input_type.h" |
[email protected] | a09d53ce | 2014-01-31 00:46:42 | [diff] [blame] | 37 | #include "ui/base/ui_base_types.h" |
[email protected] | 08397d5 | 2011-02-05 01:53:38 | [diff] [blame] | 38 | #include "ui/gfx/native_widget_types.h" |
[email protected] | db4fc1e | 2013-09-06 20:01:51 | [diff] [blame] | 39 | #include "ui/gfx/range/range.h" |
[email protected] | 08397d5 | 2011-02-05 01:53:38 | [diff] [blame] | 40 | #include "ui/gfx/rect.h" |
[email protected] | 990278ff | 2012-11-13 02:12:55 | [diff] [blame] | 41 | #include "ui/gfx/vector2d.h" |
[email protected] | a2b5ded | 2013-05-20 21:32:53 | [diff] [blame] | 42 | #include "ui/gfx/vector2d_f.h" |
[email protected] | d353541f | 2012-05-03 22:45:41 | [diff] [blame] | 43 | #include "ui/surface/transport_dib.h" |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 44 | |
[email protected] | aa4117f | 2011-12-09 22:19:21 | [diff] [blame] | 45 | struct ViewHostMsg_UpdateRect_Params; |
[email protected] | 0fdd501 | 2013-05-29 08:05:56 | [diff] [blame] | 46 | struct ViewMsg_Resize_Params; |
[email protected] | aa4117f | 2011-12-09 22:19:21 | [diff] [blame] | 47 | class ViewHostMsg_UpdateRect; |
48 | |||||
[email protected] | 48495594 | 2010-08-19 16:13:18 | [diff] [blame] | 49 | namespace IPC { |
50 | class SyncMessage; | ||||
51 | } | ||||
52 | |||||
[email protected] | 180ef24 | 2013-11-07 06:50:46 | [diff] [blame] | 53 | namespace blink { |
[email protected] | 41d8685 | 2012-11-07 12:23:24 | [diff] [blame] | 54 | class WebGestureEvent; |
[email protected] | 0dea165 | 2012-12-14 00:09:09 | [diff] [blame] | 55 | class WebInputEvent; |
[email protected] | f56c787 | 2013-06-18 12:31:57 | [diff] [blame] | 56 | class WebKeyboardEvent; |
[email protected] | 6a8ddba5 | 2010-09-05 04:38:06 | [diff] [blame] | 57 | class WebMouseEvent; |
[email protected] | 2d0f2e9 | 2011-10-03 09:02:24 | [diff] [blame] | 58 | class WebTouchEvent; |
[email protected] | 52647690 | 2011-10-06 20:34:06 | [diff] [blame] | 59 | } |
60 | |||||
[email protected] | ba91a79 | 2013-02-06 09:48:28 | [diff] [blame] | 61 | namespace cc { class OutputSurface; } |
62 | |||||
[email protected] | db4fc1e | 2013-09-06 20:01:51 | [diff] [blame] | 63 | namespace gfx { |
[email protected] | 4de6d169 | 2011-10-12 08:45:44 | [diff] [blame] | 64 | class Range; |
65 | } | ||||
66 | |||||
[email protected] | e9ff79c | 2012-10-19 21:31:26 | [diff] [blame] | 67 | namespace content { |
[email protected] | b2e4c7013 | 2013-10-03 02:07:51 | [diff] [blame] | 68 | class ExternalPopupMenu; |
[email protected] | adab233 | 2013-07-25 18:04:32 | [diff] [blame] | 69 | class PepperPluginInstanceImpl; |
[email protected] | bffc830 | 2014-01-23 20:52:16 | [diff] [blame] | 70 | class RenderFrameImpl; |
[email protected] | ba91a79 | 2013-02-06 09:48:28 | [diff] [blame] | 71 | class RenderWidgetCompositor; |