Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: chromecast/browser/android/cast_window_android.cc

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/shell/browser/android/cast_window_android.h" 5 #include "chromecast/browser/android/cast_window_android.h"
6 6
7 #include "base/message_loop/message_loop_proxy.h" 7 #include "base/message_loop/message_loop_proxy.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "chromecast/shell/browser/android/cast_window_manager.h" 9 #include "chromecast/browser/android/cast_window_manager.h"
10 #include "content/public/browser/devtools_agent_host.h" 10 #include "content/public/browser/devtools_agent_host.h"
11 #include "content/public/browser/navigation_controller.h" 11 #include "content/public/browser/navigation_controller.h"
12 #include "content/public/browser/navigation_entry.h" 12 #include "content/public/browser/navigation_entry.h"
13 #include "content/public/browser/render_view_host.h" 13 #include "content/public/browser/render_view_host.h"
14 #include "content/public/common/renderer_preferences.h" 14 #include "content/public/common/renderer_preferences.h"
15 #include "jni/CastWindowAndroid_jni.h" 15 #include "jni/CastWindowAndroid_jni.h"
16 16
17 namespace chromecast { 17 namespace chromecast {
18 namespace shell { 18 namespace shell {
19 19
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 contents->GetRenderViewHost()->Blur(); 164 contents->GetRenderViewHost()->Blur();
165 } 165 }
166 166
167 void CastWindowAndroid::RenderProcessGone(base::TerminationStatus status) { 167 void CastWindowAndroid::RenderProcessGone(base::TerminationStatus status) {
168 LOG(ERROR) << "Render process gone: status=" << status; 168 LOG(ERROR) << "Render process gone: status=" << status;
169 Destroy(); 169 Destroy();
170 } 170 }
171 171
172 } // namespace shell 172 } // namespace shell
173 } // namespace chromecast 173 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/android/cast_window_android.h ('k') | chromecast/browser/android/cast_window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698