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

Side by Side Diff: base/android/jni_generator/jni_generator.py

Issue 10702083: Add ContentViewDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 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 | Annotate | Revision Log
« no previous file with comments | « android_webview/native/webview_native.gyp ('k') | base/android/jni_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # TODO (qinmin): Need to refactor this file as base should not know about 6 # TODO (qinmin): Need to refactor this file as base should not know about
7 # higher level concepts. Currently this file has knowledge about higher level 7 # higher level concepts. Currently this file has knowledge about higher level
8 # java classes. 8 # java classes.
9 9
10 """Extracts native methods from a Java file and generates the JNI bindings. 10 """Extracts native methods from a Java file and generates the JNI bindings.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 'Lcom/google/android/apps/chrome/PageInfoViewer', 155 'Lcom/google/android/apps/chrome/PageInfoViewer',
156 'Lcom/google/android/apps/chrome/Tab', 156 'Lcom/google/android/apps/chrome/Tab',
157 'Lcom/google/android/apps/chrome/database/SQLiteCursor', 157 'Lcom/google/android/apps/chrome/database/SQLiteCursor',
158 'Lcom/google/android/apps/chrome/infobar/InfoBarContainer', 158 'Lcom/google/android/apps/chrome/infobar/InfoBarContainer',
159 'Lcom/google/android/apps/chrome/infobar/InfoBarContainer$NativeInfoBar', 159 'Lcom/google/android/apps/chrome/infobar/InfoBarContainer$NativeInfoBar',
160 ('Lcom/google/android/apps/chrome/preferences/ChromeNativePreferences$' 160 ('Lcom/google/android/apps/chrome/preferences/ChromeNativePreferences$'
161 'PasswordListObserver'), 161 'PasswordListObserver'),
162 'Lorg/chromium/android_webview/AwContents', 162 'Lorg/chromium/android_webview/AwContents',
163 'Lorg/chromium/android_webview/AwContentsClient', 163 'Lorg/chromium/android_webview/AwContentsClient',
164 'Lorg/chromium/android_webview/AwHttpAuthHandler', 164 'Lorg/chromium/android_webview/AwHttpAuthHandler',
165 'Lorg/chromium/android_webview/AwContentsIoThreadClient',
165 'Lorg/chromium/android_webview/AwWebContentsDelegate', 166 'Lorg/chromium/android_webview/AwWebContentsDelegate',
167 'Lorg/chromium/android_webview/InterceptedRequestData',
166 'Lorg/chromium/base/SystemMessageHandler', 168 'Lorg/chromium/base/SystemMessageHandler',
167 'Lorg/chromium/chrome/browser/ChromeBrowserProvider$BookmarkNode', 169 'Lorg/chromium/chrome/browser/ChromeBrowserProvider$BookmarkNode',
168 'Lorg/chromium/chrome/browser/ChromeWebContentsDelegateAndroid', 170 'Lorg/chromium/chrome/browser/ChromeWebContentsDelegateAndroid',
169 'Lorg/chromium/chrome/browser/FindMatchRectsDetails', 171 'Lorg/chromium/chrome/browser/FindMatchRectsDetails',
170 'Lorg/chromium/chrome/browser/FindNotificationDetails', 172 'Lorg/chromium/chrome/browser/FindNotificationDetails',
171 'Lorg/chromium/chrome/browser/JavascriptAppModalDialog', 173 'Lorg/chromium/chrome/browser/JavascriptAppModalDialog',
172 'Lorg/chromium/chrome/browser/ProcessUtils', 174 'Lorg/chromium/chrome/browser/ProcessUtils',
173 'Lorg/chromium/chrome/browser/SelectFileDialog', 175 'Lorg/chromium/chrome/browser/SelectFileDialog',
174 'Lorg/chromium/chrome/browser/component/web_contents_delegate_android/WebC ontentsDelegateAndroid', 176 'Lorg/chromium/chrome/browser/component/web_contents_delegate_android/WebC ontentsDelegateAndroid',
175 'Lorg/chromium/content/browser/ContentVideoView', 177 'Lorg/chromium/content/browser/ContentVideoView',
176 'Lorg/chromium/content/browser/ContentViewClient', 178 'Lorg/chromium/content/browser/ContentViewClient',
177 'Lorg/chromium/content/browser/ContentViewCore', 179 'Lorg/chromium/content/browser/ContentViewCore',
178 'Lorg/chromium/content/browser/DeviceOrientation', 180 'Lorg/chromium/content/browser/DeviceOrientation',
179 'Lorg/chromium/content/browser/FindNotificationDetails', 181 'Lorg/chromium/content/browser/FindNotificationDetails',
180 'Lorg/chromium/content/browser/InterceptedRequestData',
181 'Lorg/chromium/content/browser/JavaInputStream', 182 'Lorg/chromium/content/browser/JavaInputStream',
182 'Lorg/chromium/content/browser/LocationProvider', 183 'Lorg/chromium/content/browser/LocationProvider',
183 'Lorg/chromium/content/browser/SandboxedProcessArgs', 184 'Lorg/chromium/content/browser/SandboxedProcessArgs',
184 'Lorg/chromium/content/browser/SandboxedProcessConnection', 185 'Lorg/chromium/content/browser/SandboxedProcessConnection',
185 'Lorg/chromium/content/app/SandboxedProcessService', 186 'Lorg/chromium/content/app/SandboxedProcessService',
186 'Lorg/chromium/content/browser/TouchPoint', 187 'Lorg/chromium/content/browser/TouchPoint',
187 'Lorg/chromium/content/browser/WaitableNativeEvent', 188 'Lorg/chromium/content/browser/WaitableNativeEvent',
188 'Lorg/chromium/content/browser/WebContentsObserverAndroid', 189 'Lorg/chromium/content/browser/WebContentsObserverAndroid',
189 'Lorg/chromium/content/common/DeviceInfo', 190 'Lorg/chromium/content/common/DeviceInfo',
190 'Lorg/chromium/content/common/SurfaceTextureListener', 191 'Lorg/chromium/content/common/SurfaceTextureListener',
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 input_file = options.input_file 985 input_file = options.input_file
985 output_file = None 986 output_file = None
986 if options.output_dir: 987 if options.output_dir:
987 root_name = os.path.splitext(os.path.basename(input_file))[0] 988 root_name = os.path.splitext(os.path.basename(input_file))[0]
988 output_file = os.path.join(options.output_dir, root_name) + '_jni.h' 989 output_file = os.path.join(options.output_dir, root_name) + '_jni.h'
989 GenerateJNIHeader(input_file, output_file, options.namespace) 990 GenerateJNIHeader(input_file, output_file, options.namespace)
990 991
991 992
992 if __name__ == '__main__': 993 if __name__ == '__main__':
993 sys.exit(main(sys.argv)) 994 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « android_webview/native/webview_native.gyp ('k') | base/android/jni_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698