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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_model.h

Issue 2155293002: Show the Cast toolbar icon ephemerally when Cast is in use (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Mark's comment, trybot failures, rebase Created 4 years, 4 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/ui/toolbar/toolbar_actions_model.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_model.h b/chrome/browser/ui/toolbar/toolbar_actions_model.h
index b8b99d536d65d794271752be8f3c83fc5d9e60fa..c5fc84c7972fff1109330abdb36d8fc92339ab2b 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_model.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_model.h
@@ -258,12 +258,11 @@ class ToolbarActionsModel
bool HasItem(const ToolbarItem& item) const;
// Adds |item| to the toolbar. If the item has an existing preference for
- // toolbar position, that will be used to determine its location. If
- // |is_component| is true, the item will be given a default postion of 0,
- // otherwise the default is at the end of the visible items. If the toolbar is
- // in highlighting mode, the item will not be visible until highlighting mode
- // is exited.
- void AddItem(const ToolbarItem& item, bool is_component);
+ // toolbar position, that will be used to determine its location. Otherwise
+ // it will be placed at the end of the visible items. If the toolbar is in
+ // highlighting mode, the item will not be visible until highlighting mode is
+ // exited.
+ void AddItem(const ToolbarItem& item);
// Removes |item| from the toolbar. If the toolbar is in highlighting mode,
// the item is also removed from the highlighted list (if present).
« no previous file with comments | « chrome/browser/ui/toolbar/media_router_contextual_menu.cc ('k') | chrome/browser/ui/toolbar/toolbar_actions_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698