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

Side by Side Diff: blimp/client/android/blimp_jni_registrar.cc

Issue 1422363008: Add a basic UI to the Android Blimp client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made sure to clear old control data Created 5 years, 1 month 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 | « blimp/client/DEPS ('k') | blimp/client/android/java/res/drawable-hdpi/btn_reload.png » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "blimp/client/android/blimp_jni_registrar.h" 5 #include "blimp/client/android/blimp_jni_registrar.h"
6 6
7 #include "base/android/jni_registrar.h" 7 #include "base/android/jni_registrar.h"
8 #include "blimp/client/android/blimp_library_loader.h" 8 #include "blimp/client/android/blimp_library_loader.h"
9 #include "blimp/client/android/blimp_view.h" 9 #include "blimp/client/android/blimp_view.h"
10 #include "blimp/client/android/toolbar.h"
10 11
11 namespace { 12 namespace {
12 13
13 base::android::RegistrationMethod kBlimpRegistrationMethods[] = { 14 base::android::RegistrationMethod kBlimpRegistrationMethods[] = {
14 {"BlimpLibraryLoader", blimp::RegisterBlimpLibraryLoaderJni}, 15 {"BlimpLibraryLoader", blimp::RegisterBlimpLibraryLoaderJni},
16 {"Toolbar", blimp::Toolbar::RegisterJni},
15 {"BlimpView", blimp::BlimpView::RegisterJni}, 17 {"BlimpView", blimp::BlimpView::RegisterJni},
16 }; 18 };
17 19
18 } // namespace 20 } // namespace
19 21
20 namespace blimp { 22 namespace blimp {
21 23
22 bool RegisterBlimpJni(JNIEnv* env) { 24 bool RegisterBlimpJni(JNIEnv* env) {
23 return base::android::RegisterNativeMethods( 25 return base::android::RegisterNativeMethods(
24 env, kBlimpRegistrationMethods, arraysize(kBlimpRegistrationMethods)); 26 env, kBlimpRegistrationMethods, arraysize(kBlimpRegistrationMethods));
25 } 27 }
26 28
27 } // namespace blimp 29 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/DEPS ('k') | blimp/client/android/java/res/drawable-hdpi/btn_reload.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698