| 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 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 
| 6 | 6 | 
| 7 #include "content/browser/frame_host/cross_process_frame_connector.h" | 7 #include "content/browser/frame_host/cross_process_frame_connector.h" | 
| 8 #include "content/browser/renderer_host/render_widget_host_impl.h" | 8 #include "content/browser/renderer_host/render_widget_host_impl.h" | 
| 9 #include "content/common/gpu/gpu_messages.h" | 9 #include "content/common/gpu/gpu_messages.h" | 
| 10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" | 
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 158 void RenderWidgetHostViewChildFrame::TextInputTypeChanged( | 158 void RenderWidgetHostViewChildFrame::TextInputTypeChanged( | 
| 159     ui::TextInputType type, | 159     ui::TextInputType type, | 
| 160     ui::TextInputMode input_mode, | 160     ui::TextInputMode input_mode, | 
| 161     bool can_compose_inline) { | 161     bool can_compose_inline) { | 
| 162   NOTREACHED(); | 162   NOTREACHED(); | 
| 163 } | 163 } | 
| 164 | 164 | 
| 165 void RenderWidgetHostViewChildFrame::RenderProcessGone( | 165 void RenderWidgetHostViewChildFrame::RenderProcessGone( | 
| 166     base::TerminationStatus status, | 166     base::TerminationStatus status, | 
| 167     int error_code) { | 167     int error_code) { | 
|  | 168   if (frame_connector_) | 
|  | 169     frame_connector_->RenderProcessGone(); | 
| 168 } | 170 } | 
| 169 | 171 | 
| 170 void RenderWidgetHostViewChildFrame::Destroy() { | 172 void RenderWidgetHostViewChildFrame::Destroy() { | 
| 171   frame_connector_ = NULL; | 173   frame_connector_ = NULL; | 
| 172 | 174 | 
| 173   host_->SetView(NULL); | 175   host_->SetView(NULL); | 
| 174   host_ = NULL; | 176   host_ = NULL; | 
| 175   base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); | 177   base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); | 
| 176 } | 178 } | 
| 177 | 179 | 
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 358     gfx::NativeViewAccessible accessible_parent) { | 360     gfx::NativeViewAccessible accessible_parent) { | 
| 359 } | 361 } | 
| 360 | 362 | 
| 361 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() | 363 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() | 
| 362     const { | 364     const { | 
| 363   return NULL; | 365   return NULL; | 
| 364 } | 366 } | 
| 365 #endif // defined(OS_WIN) && defined(USE_AURA) | 367 #endif // defined(OS_WIN) && defined(USE_AURA) | 
| 366 | 368 | 
| 367 }  // namespace content | 369 }  // namespace content | 
| OLD | NEW | 
|---|