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

Unified Diff: ui/app_list/views/contents_switcher_view.h

Issue 380613002: Experimental app list: Added a current page indicator to the launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: ui/app_list/views/contents_switcher_view.h
diff --git a/ui/app_list/views/contents_switcher_view.h b/ui/app_list/views/contents_switcher_view.h
index 3f1bbf40ea17bdbbf39d4335ba5565ba9e51ab47..ef996bf070d5004a8a872d13f112c2d2c7736457 100644
--- a/ui/app_list/views/contents_switcher_view.h
+++ b/ui/app_list/views/contents_switcher_view.h
@@ -27,6 +27,9 @@ class ContentsSwitcherView : public views::View, public views::ButtonListener {
// is ignored if it is 0.
void AddSwitcherButton(int resource_id, int page_index);
+ // Changes the launcher page indicator to the selected page.
+ void SelectedPageChanged(int old_selected, int new_selected);
+
private:
// Overridden from views::View:
virtual gfx::Size GetPreferredSize() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698