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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "base/timer.h" | 17 #include "base/timer.h" |
18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
19 #include "content/renderer/paint_aggregator.h" | 19 #include "content/renderer/paint_aggregator.h" |
20 #include "ipc/ipc_channel.h" | 20 #include "ipc/ipc_channel.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" | |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidgetClient.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidgetClient.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" |
26 #include "third_party/skia/include/core/SkBitmap.h" | 26 #include "third_party/skia/include/core/SkBitmap.h" |
27 #include "ui/base/ime/text_input_type.h" | 27 #include "ui/base/ime/text_input_type.h" |
28 #include "ui/gfx/native_widget_types.h" | 28 #include "ui/gfx/native_widget_types.h" |
29 #include "ui/gfx/rect.h" | 29 #include "ui/gfx/rect.h" |
30 #include "ui/gfx/size.h" | 30 #include "ui/gfx/size.h" |
31 #include "ui/gfx/surface/transport_dib.h" | 31 #include "ui/surface/transport_dib.h" |
32 #include "webkit/glue/webcursor.h" | 32 #include "webkit/glue/webcursor.h" |
33 | 33 |
34 struct ViewHostMsg_UpdateRect_Params; | 34 struct ViewHostMsg_UpdateRect_Params; |
35 class ViewHostMsg_UpdateRect; | 35 class ViewHostMsg_UpdateRect; |
36 | 36 |
37 namespace IPC { | 37 namespace IPC { |
38 class SyncMessage; | 38 class SyncMessage; |
39 } | 39 } |
40 | 40 |
41 namespace WebKit { | 41 namespace WebKit { |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 // Set to true if we should invert all pixels. | 519 // Set to true if we should invert all pixels. |
520 bool invert_; | 520 bool invert_; |
521 | 521 |
522 // The Skia paint object for inverting. | 522 // The Skia paint object for inverting. |
523 scoped_ptr<SkPaint> invert_paint_; | 523 scoped_ptr<SkPaint> invert_paint_; |
524 | 524 |
525 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 525 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
526 }; | 526 }; |
527 | 527 |
528 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 528 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |