OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H_ |
6 #define CHROME_RENDERER_RENDER_WIDGET_H_ | 6 #define CHROME_RENDERER_RENDER_WIDGET_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "app/surface/transport_dib.h" | 11 #include "app/surface/transport_dib.h" |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
14 #include "base/shared_memory.h" | |
15 #include "chrome/renderer/paint_aggregator.h" | 14 #include "chrome/renderer/paint_aggregator.h" |
16 #include "chrome/renderer/render_process.h" | 15 #include "chrome/renderer/render_process.h" |
17 #include "gfx/native_widget_types.h" | 16 #include "gfx/native_widget_types.h" |
18 #include "gfx/point.h" | |
19 #include "gfx/rect.h" | 17 #include "gfx/rect.h" |
20 #include "gfx/size.h" | 18 #include "gfx/size.h" |
21 #include "ipc/ipc_channel.h" | 19 #include "ipc/ipc_channel.h" |
22 #include "skia/ext/platform_canvas.h" | |
23 #include "third_party/WebKit/WebKit/chromium/public/WebCompositionUnderline.h" | 20 #include "third_party/WebKit/WebKit/chromium/public/WebCompositionUnderline.h" |
24 #include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h" | 21 #include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h" |
25 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" |
26 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" | 23 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" |
27 #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h" | 24 #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h" |
28 #include "third_party/WebKit/WebKit/chromium/public/WebWidgetClient.h" | 25 #include "third_party/WebKit/WebKit/chromium/public/WebWidgetClient.h" |
29 #include "third_party/skia/include/core/SkBitmap.h" | 26 #include "third_party/skia/include/core/SkBitmap.h" |
30 #include "webkit/glue/webcursor.h" | 27 #include "webkit/glue/webcursor.h" |
31 | 28 |
32 class RenderThreadBase; | 29 class RenderThreadBase; |
33 struct ViewHostMsg_ShowPopup_Params; | 30 struct ViewHostMsg_ShowPopup_Params; |
34 | 31 |
| 32 namespace gfx { |
| 33 class Point; |
| 34 } |
| 35 |
| 36 namespace skia { |
| 37 class PlatformCanvas; |
| 38 } |
| 39 |
35 namespace WebKit { | 40 namespace WebKit { |
36 struct WebPopupMenuInfo; | 41 struct WebPopupMenuInfo; |
37 } | 42 } |
38 | 43 |
39 namespace webkit_glue { | 44 namespace webkit_glue { |
40 struct WebPluginGeometry; | 45 struct WebPluginGeometry; |
41 } | 46 } |
42 | 47 |
43 // RenderWidget provides a communication bridge between a WebWidget and | 48 // RenderWidget provides a communication bridge between a WebWidget and |
44 // a RenderWidgetHost, the latter of which lives in a different process. | 49 // a RenderWidgetHost, the latter of which lives in a different process. |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 // Indicates if the next sequence of Char events should be suppressed or not. | 324 // Indicates if the next sequence of Char events should be suppressed or not. |
320 bool suppress_next_char_events_; | 325 bool suppress_next_char_events_; |
321 | 326 |
322 // Set to true if painting to the window is handled by the GPU process. | 327 // Set to true if painting to the window is handled by the GPU process. |
323 bool is_gpu_rendering_active_; | 328 bool is_gpu_rendering_active_; |
324 | 329 |
325 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 330 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
326 }; | 331 }; |
327 | 332 |
328 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ | 333 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |