ChromeTabbedActivity启动初始化

ChromeLauncherActivity.

启动ChromeTabbedActivity

ChromeTabbedActivity

ChromeTabbedActivity extends ChromeActivity
ChromeActivity extends AsyncInitializationActivity

AsyncInitializationActivity onCreate()   ---->
ChromeBrowserInitializer.getInstance(this).handlePreNativeStartup(this);

ChromeBrowserInitializer handlePreNativeStartup() ---->

AsyncInitializationActivity setContentViewAndLoadLibrary() --->
mNativeInitializationController.startBackgroundTasks();

NativeInitializationController startBackgroundTasks(), new Thread() ---> 

libraryLoader.ensureInitialized()
catch ProcessInitException, if catch it, throw new RuntimeException(e), browser re-start().

LibraryLoader ensureInitialized() throws ProcessInitException--->

LibraryLoader loadAlreadyLocked() ---> System.load("libchrome_public.so");

你可能感兴趣的:(chromium,java,c++,chrome,android)