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

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

Issue 11361189: Initial skeleton for System Indicator API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add manifest parsing and integrate with extension action api handlers. Created 8 years, 1 month 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 adae7fc6cf3e825fae7d9215f75f69720c645ceb..1cad26de12b6ce8f1d72342ca39faae556e3cc85 100644
--- a/chrome/browser/extensions/extension_action_manager.h
+++ b/chrome/browser/extensions/extension_action_manager.h
@@ -39,6 +39,8 @@ class ExtensionActionManager : public ProfileKeyedService,
ExtensionAction* GetBrowserAction(
const extensions::Extension& extension) const;
ExtensionAction* GetScriptBadge(const extensions::Extension& extension) const;
+ ExtensionAction* GetSystemIndicator(
+ const extensions::Extension& extension) const;
private:
// Implement content::NotificationObserver.
@@ -56,8 +58,9 @@ class ExtensionActionManager : public ProfileKeyedService,
mutable ExtIdToActionMap page_actions_;
mutable ExtIdToActionMap browser_actions_;
mutable ExtIdToActionMap script_badges_;
+ mutable ExtIdToActionMap system_indicators_;
};
-}
+} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698