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

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

Issue 988633002: [CLEANUP] Rename some methods of ExtensionToolbarModel to be OnFoo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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_bar.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_bar.h b/chrome/browser/ui/toolbar/toolbar_actions_bar.h
index 989702044c6d47c121dff16c18610ddd9d3bf294..f7300a0604e234bfd5899b3ab660abf266ffaf6c 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_bar.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_bar.h
@@ -149,16 +149,18 @@ class ToolbarActionsBar : public extensions::ExtensionToolbarModel::Observer {
using ToolbarActions = ScopedVector<ToolbarActionViewController>;
// ExtensionToolbarModel::Observer:
- void ToolbarExtensionAdded(const extensions::Extension* extension,
- int index) override;
- void ToolbarExtensionRemoved(const extensions::Extension* extension) override;
- void ToolbarExtensionMoved(const extensions::Extension* extension,
- int index) override;
- void ToolbarExtensionUpdated(const extensions::Extension* extension) override;
+ void OnToolbarExtensionAdded(const extensions::Extension* extension,
+ int index) override;
+ void OnToolbarExtensionRemoved(
+ const extensions::Extension* extension) override;
+ void OnToolbarExtensionMoved(const extensions::Extension* extension,
+ int index) override;
+ void OnToolbarExtensionUpdated(
+ const extensions::Extension* extension) override;
bool ShowExtensionActionPopup(const extensions::Extension* extension,
bool grant_active_tab) override;
- void ToolbarVisibleCountChanged() override;
- void ToolbarHighlightModeChanged(bool is_highlighting) override;
+ void OnToolbarVisibleCountChanged() override;
+ void OnToolbarHighlightModeChanged(bool is_highlighting) override;
void OnToolbarModelInitialized() override;
Browser* GetBrowser() override;
« no previous file with comments | « chrome/browser/extensions/extension_toolbar_model_unittest.cc ('k') | chrome/browser/ui/toolbar/toolbar_actions_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698