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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkDelegate.java

Issue 1440623004: [Enhanced Bookmark]Rewrite initialization logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added another class: EBUIState. All EB will be remaned to B this month. Created 5 years 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.enhancedbookmarks; 5 package org.chromium.chrome.browser.enhancedbookmarks;
6 6
7 import android.support.v4.widget.DrawerLayout; 7 import android.support.v4.widget.DrawerLayout;
8 8
9 import org.chromium.chrome.browser.favicon.LargeIconBridge; 9 import org.chromium.chrome.browser.favicon.LargeIconBridge;
10 import org.chromium.chrome.browser.snackbar.SnackbarManager; 10 import org.chromium.chrome.browser.snackbar.SnackbarManager;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 */ 124 */
125 void removeUIObserver(EnhancedBookmarkUIObserver observer); 125 void removeUIObserver(EnhancedBookmarkUIObserver observer);
126 126
127 /** 127 /**
128 * @return Enhanced bookmark data model associated with this UI. 128 * @return Enhanced bookmark data model associated with this UI.
129 */ 129 */
130 EnhancedBookmarksModel getModel(); 130 EnhancedBookmarksModel getModel();
131 131
132 /** 132 /**
133 * @return Current UIState of Enhanced Bookmark main UI. If no mode is store d, 133 * @return Current UIState of Enhanced Bookmark main UI. If no mode is store d,
134 * {@link UIState#STATE_LOADING} is returned. 134 * {@link EnhancedBookmarkUIState#STATE_LOADING} is returned.
135 */ 135 */
136 int getCurrentState(); 136 int getCurrentState();
137 137
138 /** 138 /**
139 * @return LargeIconBridge instance. By sharing the instance, we can also sh are the cache. 139 * @return LargeIconBridge instance. By sharing the instance, we can also sh are the cache.
140 */ 140 */
141 LargeIconBridge getLargeIconBridge(); 141 LargeIconBridge getLargeIconBridge();
142 142
143 /** 143 /**
144 * @return SnackbarManager instance. 144 * @return SnackbarManager instance.
145 */ 145 */
146 SnackbarManager getSnackbarManager(); 146 SnackbarManager getSnackbarManager();
147 } 147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698