Index: chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java b/chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..095c22119f2205b7f293c26f80cf5c2f56b55b7d |
--- /dev/null |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java |
@@ -0,0 +1,49 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.chrome.browser.init; |
+ |
+/** |
+ * Empty implementation of the browser parts for easy extension. |
+ */ |
+public class EmptyBrowserParts implements BrowserParts { |
+ |
+ @Override |
+ public void preInflationStartup() { |
+ } |
+ |
+ @Override |
+ public void setContentViewAndLoadLibrary() { |
+ } |
+ |
+ @Override |
+ public void postInflationStartup() { |
+ } |
+ |
+ @Override |
+ public void maybePreconnect() { |
+ } |
+ |
+ @Override |
+ public void initializeCompositor() { |
+ } |
+ |
+ @Override |
+ public void initializeState() { |
+ } |
+ |
+ @Override |
+ public void finishNativeInitialization() { |
+ } |
+ |
+ @Override |
+ public void onStartupFailure() { |
+ } |
+ |
+ @Override |
+ public boolean isActivityDestroyed() { |
+ return false; |
+ } |
+ |
+} |