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

Unified Diff: chrome/browser/extensions/extension_action_manager.h

Issue 415813003: Improve extension icon prediction (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: chrome/browser/extensions/extension_action_manager.h
diff --git a/chrome/browser/extensions/extension_action_manager.h b/chrome/browser/extensions/extension_action_manager.h
index b78e8a2bd8600e9674b291cd08ac3f9fa19ad13e..c547eda58235973601a39c3ada4acbfd9ed4df00 100644
--- a/chrome/browser/extensions/extension_action_manager.h
+++ b/chrome/browser/extensions/extension_action_manager.h
@@ -41,6 +41,11 @@ class ExtensionActionManager : public KeyedService,
ExtensionAction* GetSystemIndicator(
const extensions::Extension& extension) const;
+ // Gets the best fit ExtensionAction for the given |extension|.
+ // Excludes system indicators.
+ ExtensionAction* GetBestFitAction(
+ const extensions::Extension& extension) const;
+
private:
// Implement ExtensionRegistryObserver.
virtual void OnExtensionUnloaded(content::BrowserContext* browser_context,

Powered by Google App Engine
This is Rietveld 408576698