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

Side by Side Diff: chrome/browser/component/web_contents_delegate_android/component_jni_registrar.cc

Issue 10831060: Refactor the Android port to allow access to the chrome layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gyp fixes Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/component/web_contents_delegate_android/component_jni_r egistrar.h"
6
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "chrome/browser/component/web_contents_delegate_android/web_contents_de legate_android.h"
10
11 namespace web_contents_delegate_android {
12
13 static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
14 { "WebContentsDelegateAndroid", RegisterWebContentsDelegateAndroid },
15 };
16
17 bool RegisterJni(JNIEnv* env) {
18 return RegisterNativeMethods(env, kComponentRegisteredMethods,
Jói 2012/08/21 12:17:08 I think our coding guide says all one line or one
Leandro Graciá Gil 2012/08/21 16:17:42 Done.
19 arraysize(kComponentRegisteredMethods));
20 }
21
22 } // namespace web_contents_delegate_android
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698