| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/gfx/size.h" | 10 #include "base/gfx/size.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 class PaintObserver; | 21 class PaintObserver; |
| 22 class RenderProcessHost; | 22 class RenderProcessHost; |
| 23 class RenderWidgetHostView; | 23 class RenderWidgetHostView; |
| 24 class WebInputEvent; | 24 class WebInputEvent; |
| 25 class WebKeyboardEvent; | 25 class WebKeyboardEvent; |
| 26 class WebMouseEvent; | 26 class WebMouseEvent; |
| 27 class WebMouseWheelEvent; | 27 class WebMouseWheelEvent; |
| 28 class WebCursor; | 28 class WebCursor; |
| 29 struct ViewHostMsg_PaintRect_Params; | 29 struct ViewHostMsg_PaintRect_Params; |
| 30 struct ViewHostMsg_ScrollRect_Params; | 30 struct ViewHostMsg_ScrollRect_Params; |
| 31 struct WebPluginGeometry; | |
| 32 | 31 |
| 33 // This class manages the browser side of a browser<->renderer HWND connection. | 32 // This class manages the browser side of a browser<->renderer HWND connection. |
| 34 // The HWND lives in the browser process, and windows events are sent over | 33 // The HWND lives in the browser process, and windows events are sent over |
| 35 // IPC to the corresponding object in the renderer. The renderer paints into | 34 // IPC to the corresponding object in the renderer. The renderer paints into |
| 36 // shared memory, which we transfer to a backing store and blit to the screen | 35 // shared memory, which we transfer to a backing store and blit to the screen |
| 37 // when Windows sends us a WM_PAINT message. | 36 // when Windows sends us a WM_PAINT message. |
| 38 // | 37 // |
| 39 // How Shutdown Works | 38 // How Shutdown Works |
| 40 // | 39 // |
| 41 // There are two situations in which this object, a RenderWidgetHost, can be | 40 // There are two situations in which this object, a RenderWidgetHost, can be |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 bool view_being_painted_; | 339 bool view_being_painted_; |
| 341 | 340 |
| 342 // Used for UMA histogram logging to measure the time for a repaint view | 341 // Used for UMA histogram logging to measure the time for a repaint view |
| 343 // operation to finish. | 342 // operation to finish. |
| 344 base::TimeTicks repaint_start_time_; | 343 base::TimeTicks repaint_start_time_; |
| 345 | 344 |
| 346 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 347 }; | 346 }; |
| 348 | 347 |
| 349 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 348 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |