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

Unified Diff: chrome/browser/extensions/extension_toolbar_model.cc

Issue 469973005: Add tests for the BrowserActionsContainer in overflow mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Peter's Created 6 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/extensions/extension_toolbar_model.cc
diff --git a/chrome/browser/extensions/extension_toolbar_model.cc b/chrome/browser/extensions/extension_toolbar_model.cc
index ab59e4f329c56432fa776b746300c9272dcc89dc..37e40534b67a74c67a3df885c60271f4d2633092 100644
--- a/chrome/browser/extensions/extension_toolbar_model.cc
+++ b/chrome/browser/extensions/extension_toolbar_model.cc
@@ -692,4 +692,9 @@ void ExtensionToolbarModel::StopHighlighting() {
}
}
+void ExtensionToolbarModel::SetVisibleIconCountForTest(size_t visible_icons) {
+ SetVisibleIconCount(visible_icons);
+ FOR_EACH_OBSERVER(Observer, observers_, ToolbarVisibleCountChanged());
+}
+
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698