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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitializationActivity.java

Issue 2860313002: 🔍 More SearchActivity tests (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.init; 5 package org.chromium.chrome.browser.init;
6 6
7 import android.annotation.SuppressLint; 7 import android.annotation.SuppressLint;
8 import android.annotation.TargetApi; 8 import android.annotation.TargetApi;
9 import android.app.Activity; 9 import android.app.Activity;
10 import android.content.Context; 10 import android.content.Context;
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 } 271 }
272 272
273 private void abortLaunch() { 273 private void abortLaunch() {
274 super.onCreate(null); 274 super.onCreate(null);
275 ApiCompatibilityUtils.finishAndRemoveTask(this); 275 ApiCompatibilityUtils.finishAndRemoveTask(this);
276 } 276 }
277 277
278 /** 278 /**
279 * Call to begin loading the library, if it was delayed. 279 * Call to begin loading the library, if it was delayed.
280 */ 280 */
281 protected void beginLoadingLibrary() { 281 protected void startNativeInitialization() {
282 assert shouldDelayBrowserStartup(); 282 assert shouldDelayBrowserStartup();
283 ChromeBrowserInitializer.getInstance(this).handlePreNativeStartup(this); 283 ChromeBrowserInitializer.getInstance(this).handlePreNativeStartup(this);
284 } 284 }
285 285
286 /** 286 /**
287 * Creates an {@link ActivityWindowAndroid} to delegate calls to, if the Act ivity requires it. 287 * Creates an {@link ActivityWindowAndroid} to delegate calls to, if the Act ivity requires it.
288 */ 288 */
289 @Nullable 289 @Nullable
290 protected ActivityWindowAndroid createWindowAndroid() { 290 protected ActivityWindowAndroid createWindowAndroid() {
291 return null; 291 return null;
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 getDecorView().setVisibility(View.GONE); 649 getDecorView().setVisibility(View.GONE);
650 } 650 }
651 getViewTreeObserver().removeOnPreDrawListener(mPreDrawLi stener); 651 getViewTreeObserver().removeOnPreDrawListener(mPreDrawLi stener);
652 } 652 }
653 }); 653 });
654 return true; 654 return true;
655 } 655 }
656 }; 656 };
657 } 657 }
658 } 658 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698