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

Side by Side Diff: chromecast/android/cast_jni_registrar.cc

Issue 2352913002: Remove VIDEO_HOLE from chromecast (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chromecast/android/DEPS ('k') | chromecast/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/android/cast_jni_registrar.h" 5 #include "chromecast/android/cast_jni_registrar.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h" 8 #include "base/android/jni_registrar.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chromecast/android/cast_metrics_helper_android.h" 10 #include "chromecast/android/cast_metrics_helper_android.h"
11 #include "chromecast/base/android/system_time_change_notifier_android.h" 11 #include "chromecast/base/android/system_time_change_notifier_android.h"
12 #include "chromecast/base/chromecast_config_android.h" 12 #include "chromecast/base/chromecast_config_android.h"
13 #include "chromecast/browser/android/cast_window_manager.h" 13 #include "chromecast/browser/android/cast_window_manager.h"
14 #include "components/external_video_surface/component_jni_registrar.h"
15 14
16 namespace chromecast { 15 namespace chromecast {
17 namespace android { 16 namespace android {
18 17
19 namespace { 18 namespace {
20 19
21 static base::android::RegistrationMethod kMethods[] = { 20 static base::android::RegistrationMethod kMethods[] = {
22 { "CastMetricsHelperAndroid", CastMetricsHelperAndroid::RegisterJni }, 21 { "CastMetricsHelperAndroid", CastMetricsHelperAndroid::RegisterJni },
23 { "CastWindowManager", shell::RegisterCastWindowManager }, 22 { "CastWindowManager", shell::RegisterCastWindowManager },
24 { "ChromecastConfigAndroid", ChromecastConfigAndroid::RegisterJni }, 23 { "ChromecastConfigAndroid", ChromecastConfigAndroid::RegisterJni },
25 { "ExternalVideoSurfaceContainer",
26 external_video_surface::RegisterExternalVideoSurfaceJni },
27 { "SystemTimeChangeNotifierAndroid", 24 { "SystemTimeChangeNotifierAndroid",
28 SystemTimeChangeNotifierAndroid::RegisterJni }, 25 SystemTimeChangeNotifierAndroid::RegisterJni },
29 }; 26 };
30 27
31 } // namespace 28 } // namespace
32 29
33 bool RegisterJni(JNIEnv* env) { 30 bool RegisterJni(JNIEnv* env) {
34 return RegisterNativeMethods(env, kMethods, arraysize(kMethods)); 31 return RegisterNativeMethods(env, kMethods, arraysize(kMethods));
35 } 32 }
36 33
37 } // namespace android 34 } // namespace android
38 } // namespace chromecast 35 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/android/DEPS ('k') | chromecast/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698