OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 9 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "content/public/browser/readback_types.h" | 11 #include "content/public/browser/readback_types.h" |
| 12 #include "ui/gfx/geometry/rect.h" |
12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
13 #include "ui/gfx/rect.h" | |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class CrossProcessFrameConnector; | 16 class CrossProcessFrameConnector; |
17 class RenderWidgetHost; | 17 class RenderWidgetHost; |
18 class RenderWidgetHostImpl; | 18 class RenderWidgetHostImpl; |
19 | 19 |
20 // RenderWidgetHostViewChildFrame implements the view for a RenderWidgetHost | 20 // RenderWidgetHostViewChildFrame implements the view for a RenderWidgetHost |
21 // associated with content being rendered in a separate process from | 21 // associated with content being rendered in a separate process from |
22 // content that is embedding it. This is not a platform-specific class; rather, | 22 // content that is embedding it. This is not a platform-specific class; rather, |
23 // the embedding renderer process implements the platform containing the | 23 // the embedding renderer process implements the platform containing the |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // sent through it are routed to the embedding renderer process. | 150 // sent through it are routed to the embedding renderer process. |
151 CrossProcessFrameConnector* frame_connector_; | 151 CrossProcessFrameConnector* frame_connector_; |
152 | 152 |
153 private: | 153 private: |
154 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 154 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
155 }; | 155 }; |
156 | 156 |
157 } // namespace content | 157 } // namespace content |
158 | 158 |
159 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 159 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |