| 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 "chromecast/browser/android/cast_window_android.h" | 5 #include "chromecast/browser/android/cast_window_android.h" |
| 6 | 6 |
| 7 #include "base/single_thread_task_runner.h" | 7 #include "base/single_thread_task_runner.h" |
| 8 #include "base/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
| 9 #include "chromecast/browser/android/cast_window_manager.h" | 9 #include "chromecast/browser/android/cast_window_manager.h" |
| 10 #include "chromecast/browser/cast_content_window.h" | 10 #include "chromecast/browser/cast_content_window.h" |
| 11 #include "content/public/browser/devtools_agent_host.h" | 11 #include "content/public/browser/devtools_agent_host.h" |
| 12 #include "content/public/browser/navigation_controller.h" | 12 #include "content/public/browser/navigation_controller.h" |
| 13 #include "content/public/browser/navigation_entry.h" | 13 #include "content/public/browser/navigation_entry.h" |
| 14 #include "content/public/browser/render_process_host.h" | 14 #include "content/public/browser/render_process_host.h" |
| 15 #include "content/public/browser/render_view_host.h" | 15 #include "content/public/browser/render_view_host.h" |
| 16 #include "content/public/browser/render_widget_host.h" | 16 #include "content/public/browser/render_widget_host.h" |
| 17 #include "content/public/browser/render_widget_host_view.h" | 17 #include "content/public/browser/render_widget_host_view.h" |
| 18 #include "content/public/common/renderer_preferences.h" | 18 #include "content/public/common/renderer_preferences.h" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 contents->GetRenderViewHost()->GetWidget()->Focus(); | 150 contents->GetRenderViewHost()->GetWidget()->Focus(); |
| 151 } | 151 } |
| 152 | 152 |
| 153 void CastWindowAndroid::RenderProcessGone(base::TerminationStatus status) { | 153 void CastWindowAndroid::RenderProcessGone(base::TerminationStatus status) { |
| 154 LOG(ERROR) << "Render process gone: status=" << status; | 154 LOG(ERROR) << "Render process gone: status=" << status; |
| 155 Destroy(); | 155 Destroy(); |
| 156 } | 156 } |
| 157 | 157 |
| 158 } // namespace shell | 158 } // namespace shell |
| 159 } // namespace chromecast | 159 } // namespace chromecast |
| OLD | NEW |