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" |
(...skipping 16 matching lines...) Expand all Loading... |
27 // | 27 // |
28 // See comments in render_widget_host_view.h about this class and its members. | 28 // See comments in render_widget_host_view.h about this class and its members. |
29 class CONTENT_EXPORT RenderWidgetHostViewChildFrame | 29 class CONTENT_EXPORT RenderWidgetHostViewChildFrame |
30 : public RenderWidgetHostViewBase { | 30 : public RenderWidgetHostViewBase { |
31 public: | 31 public: |
32 explicit RenderWidgetHostViewChildFrame(RenderWidgetHost* widget); | 32 explicit RenderWidgetHostViewChildFrame(RenderWidgetHost* widget); |
33 virtual ~RenderWidgetHostViewChildFrame(); | 33 virtual ~RenderWidgetHostViewChildFrame(); |
34 | 34 |
35 void set_cross_process_frame_connector( | 35 void set_cross_process_frame_connector( |
36 CrossProcessFrameConnector* frame_connector) { | 36 CrossProcessFrameConnector* frame_connector) { |
| 37 LOG(ERROR) << "RWHVCF[" << this << "]::set_cross_process_frame_connector:" |
| 38 << " frame_connector_:" << frame_connector_; |
37 frame_connector_ = frame_connector; | 39 frame_connector_ = frame_connector; |
38 } | 40 } |
39 | 41 |
40 // RenderWidgetHostView implementation. | 42 // RenderWidgetHostView implementation. |
41 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 43 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
42 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 44 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
43 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 45 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
44 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 46 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
45 virtual void Focus() OVERRIDE; | 47 virtual void Focus() OVERRIDE; |
46 virtual bool HasFocus() const OVERRIDE; | 48 virtual bool HasFocus() const OVERRIDE; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // sent through it are routed to the embedding renderer process. | 167 // sent through it are routed to the embedding renderer process. |
166 CrossProcessFrameConnector* frame_connector_; | 168 CrossProcessFrameConnector* frame_connector_; |
167 | 169 |
168 private: | 170 private: |
169 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
170 }; | 172 }; |
171 | 173 |
172 } // namespace content | 174 } // namespace content |
173 | 175 |
174 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |