| 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_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 class Rect; | 23 class Rect; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 class WebMouseEvent; | 27 class WebMouseEvent; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace content { | 30 namespace content { |
| 31 | 31 |
| 32 class RenderProcessHost; | 32 class RenderProcessHost; |
| 33 class RenderWidgetHostImpl; | |
| 34 class RenderWidgetHostIterator; | 33 class RenderWidgetHostIterator; |
| 35 class RenderWidgetHostView; | 34 class RenderWidgetHostView; |
| 36 struct ScreenInfo; | 35 struct ScreenInfo; |
| 37 | 36 |
| 38 // A RenderWidgetHost manages the browser side of a browser<->renderer | 37 // A RenderWidgetHost manages the browser side of a browser<->renderer |
| 39 // HWND connection. The HWND lives in the browser process, and | 38 // HWND connection. The HWND lives in the browser process, and |
| 40 // windows events are sent over IPC to the corresponding object in the | 39 // windows events are sent over IPC to the corresponding object in the |
| 41 // renderer. The renderer paints into shared memory, which we | 40 // renderer. The renderer paints into shared memory, which we |
| 42 // transfer to a backing store and blit to the screen when Windows | 41 // transfer to a backing store and blit to the screen when Windows |
| 43 // sends us a WM_PAINT message. | 42 // sends us a WM_PAINT message. |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // Get the screen info corresponding to this render widget. | 254 // Get the screen info corresponding to this render widget. |
| 256 virtual void GetScreenInfo(ScreenInfo* result) = 0; | 255 virtual void GetScreenInfo(ScreenInfo* result) = 0; |
| 257 | 256 |
| 258 // Sends a compositor proto to the render widget. | 257 // Sends a compositor proto to the render widget. |
| 259 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0; | 258 virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0; |
| 260 }; | 259 }; |
| 261 | 260 |
| 262 } // namespace content | 261 } // namespace content |
| 263 | 262 |
| 264 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ | 263 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |