OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.blimp.core.settings; |
| 6 |
| 7 import org.chromium.blimp_public.BlimpClientContextDelegate; |
| 8 |
| 9 /** |
| 10 * BlimpPreferencesDelegate provides functionalities needed by preferences UX. |
| 11 */ |
| 12 public interface BlimpPreferencesDelegate { |
| 13 /** |
| 14 * @return The {@link BlimpClientContextDelegate} that contains embedder fun
ctionalities. |
| 15 */ |
| 16 BlimpClientContextDelegate getDelegate(); |
| 17 |
| 18 /** |
| 19 * Initialize setting page. |
| 20 * Setup all helper objects that the setting page needs, such as IdentitySou
rce in native code. |
| 21 */ |
| 22 void initSettingsPage(AboutBlimpPreferences preferences); |
| 23 |
| 24 /** |
| 25 * Start authentication flow and connection to engine. |
| 26 */ |
| 27 void connect(); |
| 28 } |
OLD | NEW |