| 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 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/gfx/native_widget_types.h" | 10 #include "base/gfx/native_widget_types.h" |
| 11 #include "base/gfx/point.h" | 11 #include "base/gfx/point.h" |
| 12 #include "base/gfx/rect.h" | 12 #include "base/gfx/rect.h" |
| 13 #include "base/gfx/size.h" | 13 #include "base/gfx/size.h" |
| 14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
| 15 #include "base/shared_memory.h" | 15 #include "base/shared_memory.h" |
| 16 #include "chrome/common/ipc_channel.h" | 16 #include "chrome/common/ipc_channel.h" |
| 17 #include "chrome/renderer/render_process.h" | 17 #include "chrome/renderer/render_process.h" |
| 18 #include "skia/ext/platform_canvas.h" | 18 #include "skia/ext/platform_canvas.h" |
| 19 #include "skia/include/SkBitmap.h" | 19 #include "third_party/skia/include/core/SkBitmap.h" |
| 20 | 20 |
| 21 #include "webkit/api/public/WebRect.h" | 21 #include "webkit/api/public/WebRect.h" |
| 22 #include "webkit/glue/webwidget_delegate.h" | 22 #include "webkit/glue/webwidget_delegate.h" |
| 23 #include "webkit/glue/webcursor.h" | 23 #include "webkit/glue/webcursor.h" |
| 24 | 24 |
| 25 class RenderThreadBase; | 25 class RenderThreadBase; |
| 26 struct WebPluginGeometry; | 26 struct WebPluginGeometry; |
| 27 | 27 |
| 28 // RenderWidget provides a communication bridge between a WebWidget and | 28 // RenderWidget provides a communication bridge between a WebWidget and |
| 29 // a RenderWidgetHost, the latter of which lives in a different process. | 29 // a RenderWidgetHost, the latter of which lives in a different process. |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 294 |
| 295 // While we are waiting for the browser to update window sizes, | 295 // While we are waiting for the browser to update window sizes, |
| 296 // we track the pending size temporarily. | 296 // we track the pending size temporarily. |
| 297 int pending_window_rect_count_; | 297 int pending_window_rect_count_; |
| 298 WebKit::WebRect pending_window_rect_; | 298 WebKit::WebRect pending_window_rect_; |
| 299 | 299 |
| 300 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 300 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 301 }; | 301 }; |
| 302 | 302 |
| 303 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ | 303 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |