| Index: content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| index d9e32c92c8b81208799128aca192fbdcdc109173..2fc48dfd7ee82aa5fcf6e7317bf12d1291ba43ed 100644
|
| --- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| +++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| @@ -64,6 +64,7 @@ bool RenderWidgetHostViewChildFrame::IsShowing() {
|
| }
|
|
|
| gfx::Rect RenderWidgetHostViewChildFrame::GetViewBounds() const {
|
| + LOG(ERROR) << "RWHVCF[" << this << "]::GetViewBounds:";
|
| gfx::Rect rect;
|
| if (frame_connector_)
|
| rect = frame_connector_->ChildFrameRect();
|
| @@ -90,6 +91,7 @@ void RenderWidgetHostViewChildFrame::SetBackgroundOpaque(bool opaque) {
|
| }
|
|
|
| gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const {
|
| + LOG(ERROR) << "RWHVCF[" << this << "]::GetPhysicalBackingSize:";
|
| gfx::Size size;
|
| if (frame_connector_)
|
| size = frame_connector_->ChildFrameRect().size();
|
| @@ -152,12 +154,14 @@ void RenderWidgetHostViewChildFrame::TextInputStateChanged(
|
| void RenderWidgetHostViewChildFrame::RenderProcessGone(
|
| base::TerminationStatus status,
|
| int error_code) {
|
| + LOG(ERROR) << "RWHVCF[" << this << "]::RenderProcessGone:";
|
| if (frame_connector_)
|
| frame_connector_->RenderProcessGone();
|
| Destroy();
|
| }
|
|
|
| void RenderWidgetHostViewChildFrame::Destroy() {
|
| + LOG(ERROR) << "RWHVCF[" << this << "]::Destroy:";
|
| if (frame_connector_) {
|
| frame_connector_->set_view(NULL);
|
| frame_connector_ = NULL;
|
| @@ -205,6 +209,7 @@ void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id,
|
| void RenderWidgetHostViewChildFrame::AcceleratedSurfaceBuffersSwapped(
|
| const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
|
| int gpu_host_id) {
|
| + LOG(ERROR) << "RWHVCF[" << this << "]::AcceleratedSurfaceBuffersSwapped:";
|
| if (frame_connector_)
|
| frame_connector_->ChildFrameBuffersSwapped(params, gpu_host_id);
|
| }
|
| @@ -217,6 +222,7 @@ void RenderWidgetHostViewChildFrame::AcceleratedSurfacePostSubBuffer(
|
| void RenderWidgetHostViewChildFrame::OnSwapCompositorFrame(
|
| uint32 output_surface_id,
|
| scoped_ptr<cc::CompositorFrame> frame) {
|
| + LOG(ERROR) << "RWHVCF[" << this << "]::OnSwapCompositorFrame:";
|
| if (frame_connector_) {
|
| frame_connector_->ChildFrameCompositorFrameSwapped(
|
| output_surface_id,
|
|
|