Index: blimp/client/core/android/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java |
diff --git a/blimp/client/core/android/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java b/blimp/client/core/android/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..71277e638e78bb9c43146442e84bff7dbb1bb429 |
--- /dev/null |
+++ b/blimp/client/core/android/java/src/org/chromium/blimp/core/common/BlimpClientContextInternal.java |
@@ -0,0 +1,30 @@ |
+// Copyright 2016 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.blimp.core.common; |
+ |
+import org.chromium.blimp_public.BlimpClientContextDelegate; |
+ |
+/** |
+ * BlimpClientContextInternal is a Blimp internal interface used for decoupling internal build |
+ * components from blimp/client/core/context target. |
+ * This interface can depends on any Blimp targets except context_java. |
+ * |
+ * For example, classes can't depends on BlimpClientContextImpl can get the |
+ * {@link BlimpClientContextDelegate} through this interface. |
+ */ |
+public interface BlimpClientContextInternal { |
David Trainor- moved to gerrit
2016/08/29 05:12:24
The Java AboutBlimpPreferences class still uses Bl
xingliu
2016/08/30 04:47:42
Changed it to BlimpPreferencesDelegate.
|
+ /** |
+ * @return The {@link BlimpClientContextDelegate} that contains embedder functionalities. |
+ */ |
+ BlimpClientContextDelegate getDelegate(); |
+ |
+ /** |
+ * Initialize setting page. |
+ * Setup all helper objects that the setting page needs, such as IdentitySource in native code. |
+ * |
+ * @param nativeBlimpSettingsAndroid Native pointer of AboutBlimpPreferences. |
+ */ |
+ void initSettingsPage(long nativeBlimpSettingsAndroid); |
+} |