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

Unified Diff: chrome/browser/chooser_controller/chooser_controller.h

Issue 2192953002: Chooser spinner should disappear as soon as one device shows up (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chooser spinner should disappear as soon as one device shows up Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chooser_controller/chooser_controller.h
diff --git a/chrome/browser/chooser_controller/chooser_controller.h b/chrome/browser/chooser_controller/chooser_controller.h
index c5a3609b5377cd44fff62e24534b980e7b021967..bfbdc951a95cf01d805c5622ca9dc248da0be259 100644
--- a/chrome/browser/chooser_controller/chooser_controller.h
+++ b/chrome/browser/chooser_controller/chooser_controller.h
@@ -52,6 +52,10 @@ class ChooserController {
// Called when refreshing options is in progress or complete.
virtual void OnRefreshStateChanged(bool refreshing) = 0;
+ // Called when refreshing options is still in progress but found at least
+ // one option. Only need to be called when the first option is added.
+ virtual void OnOptionAvailableDuringRefresh() = 0;
Reilly Grant (use Gerrit) 2016/07/28 22:03:04 This method seems unnecessary. If OnOptionAdded()
juncai 2016/07/29 00:45:21 Good point! Removed this function. Done.
+
protected:
virtual ~View() {}
};
« no previous file with comments | « chrome/browser/chooser_controller/OWNERS ('k') | chrome/browser/chooser_controller/mock_chooser_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698