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

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

Issue 10559054: Animate the script badges. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move to extension action Created 8 years, 6 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/page_action_controller.cc
diff --git a/chrome/browser/extensions/page_action_controller.cc b/chrome/browser/extensions/page_action_controller.cc
index d17c34a26a68950c326c26f43b00dfd12c12bc07..0cf970296bf11c1e8e5f98342458f4e036384f84 100644
--- a/chrome/browser/extensions/page_action_controller.cc
+++ b/chrome/browser/extensions/page_action_controller.cc
@@ -22,7 +22,7 @@ PageActionController::PageActionController(TabContents* tab_contents)
PageActionController::~PageActionController() {}
-std::vector<ExtensionAction*> PageActionController::GetCurrentActions() {
+std::vector<ExtensionAction*> PageActionController::GetCurrentActions() const {
ExtensionService* service = GetExtensionService();
if (!service)
return std::vector<ExtensionAction*>();
@@ -75,7 +75,7 @@ LocationBarController::Action PageActionController::OnClicked(
return ACTION_NONE;
}
-ExtensionService* PageActionController::GetExtensionService() {
+ExtensionService* PageActionController::GetExtensionService() const {
return ExtensionSystem::Get(tab_contents_->profile())->extension_service();
}

Powered by Google App Engine
This is Rietveld 408576698