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

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

Issue 10696173: Revert "Revert 146000 - Split out ContentViewCore from ContentView for embedders." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase number deux Created 8 years, 5 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 | « no previous file | base/android/jni_generator/jni_generator_tests.py » ('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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 'Lcom/google/android/apps/chrome/PageInfoViewer', 154 'Lcom/google/android/apps/chrome/PageInfoViewer',
155 'Lcom/google/android/apps/chrome/Tab', 155 'Lcom/google/android/apps/chrome/Tab',
156 'Lcom/google/android/apps/chrome/database/SQLiteCursor', 156 'Lcom/google/android/apps/chrome/database/SQLiteCursor',
157 'Lcom/google/android/apps/chrome/infobar/InfoBarContainer', 157 'Lcom/google/android/apps/chrome/infobar/InfoBarContainer',
158 'Lcom/google/android/apps/chrome/infobar/InfoBarContainer$NativeInfoBar', 158 'Lcom/google/android/apps/chrome/infobar/InfoBarContainer$NativeInfoBar',
159 ('Lcom/google/android/apps/chrome/preferences/ChromeNativePreferences$' 159 ('Lcom/google/android/apps/chrome/preferences/ChromeNativePreferences$'
160 'PasswordListObserver'), 160 'PasswordListObserver'),
161 'Lorg/chromium/base/SystemMessageHandler', 161 'Lorg/chromium/base/SystemMessageHandler',
162 'Lorg/chromium/chrome/browser/JSModalDialog', 162 'Lorg/chromium/chrome/browser/JSModalDialog',
163 'Lorg/chromium/chrome/browser/SelectFileDialog', 163 'Lorg/chromium/chrome/browser/SelectFileDialog',
164 'Lorg/chromium/content/browser/ChromeVideoView', 164 'Lorg/chromium/content/browser/ContentVideoView',
165 'Lorg/chromium/content/browser/ContentView',
166 ('Lorg/chromium/content/browser/ContentView$'
167 'FindResultReceivedListener$FindNotificationDetails'),
168 'Lorg/chromium/content/browser/ContentViewClient', 165 'Lorg/chromium/content/browser/ContentViewClient',
166 'Lorg/chromium/content/browser/ContentViewCore',
169 'Lorg/chromium/content/browser/ContentHttpAuthHandler', 167 'Lorg/chromium/content/browser/ContentHttpAuthHandler',
170 'Lorg/chromium/content/browser/DeviceOrientation', 168 'Lorg/chromium/content/browser/DeviceOrientation',
171 'Lorg/chromium/content/browser/FileChooserParams', 169 'Lorg/chromium/content/browser/FileChooserParams',
170 'Lorg/chromium/content/browser/FindNotificationDetails',
172 'Lorg/chromium/content/browser/InterceptedRequestData', 171 'Lorg/chromium/content/browser/InterceptedRequestData',
173 'Lorg/chromium/content/browser/JavaInputStream', 172 'Lorg/chromium/content/browser/JavaInputStream',
174 'Lorg/chromium/content/browser/LocationProvider', 173 'Lorg/chromium/content/browser/LocationProvider',
175 'Lorg/chromium/content/browser/SandboxedProcessArgs', 174 'Lorg/chromium/content/browser/SandboxedProcessArgs',
176 'Lorg/chromium/content/browser/SandboxedProcessConnection', 175 'Lorg/chromium/content/browser/SandboxedProcessConnection',
177 'Lorg/chromium/content/app/SandboxedProcessService', 176 'Lorg/chromium/content/app/SandboxedProcessService',
178 'Lorg/chromium/content/browser/TouchPoint', 177 'Lorg/chromium/content/browser/TouchPoint',
179 'Lorg/chromium/content/browser/WaitableNativeEvent', 178 'Lorg/chromium/content/browser/WaitableNativeEvent',
180 'Lorg/chromium/content/common/DeviceInfo', 179 'Lorg/chromium/content/common/DeviceInfo',
181 'Lorg/chromium/content/common/SurfaceTextureListener', 180 'Lorg/chromium/content/common/SurfaceTextureListener',
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 CheckFilenames(input_files, output_files) 993 CheckFilenames(input_files, output_files)
995 if options.jar_file: 994 if options.jar_file:
996 # CheckFileNames guarantees same length for inputs and outputs 995 # CheckFileNames guarantees same length for inputs and outputs
997 out_dirs = map(os.path.dirname, output_files) 996 out_dirs = map(os.path.dirname, output_files)
998 input_files = ExtractInputFiles(options.jar_file, input_files, out_dirs) 997 input_files = ExtractInputFiles(options.jar_file, input_files, out_dirs)
999 GenerateJNIHeaders(input_files, output_files, options.namespace) 998 GenerateJNIHeaders(input_files, output_files, options.namespace)
1000 999
1001 1000
1002 if __name__ == '__main__': 1001 if __name__ == '__main__':
1003 sys.exit(main(sys.argv)) 1002 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | base/android/jni_generator/jni_generator_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698