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

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: adding web_contents_delegate_android component. 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 chrome {
12 namespace component {
13 namespace web_contents_delegate_android {
14
15 static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
16 { "WebContentsDelegateAndroid", RegisterWebContentsDelegateAndroid },
17 };
18
19 bool RegisterJni(JNIEnv* env) {
20 return RegisterNativeMethods(env, kComponentRegisteredMethods,
21 arraysize(kComponentRegisteredMethods));
22 }
23
24 } // namespace web_contents_delegate_android
25 } // namespace android
26 } // namespace chrome
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698