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

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: rebase, fix thing i accidentally deleted in the last rebase 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 7156245fef00ee8cfd952b6e8b01fb8e9609c6ba..7d4877a0ff0742bd37ecf7a50882a50252c14e40 100644
--- a/chrome/browser/extensions/page_action_controller.cc
+++ b/chrome/browser/extensions/page_action_controller.cc
@@ -23,7 +23,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*>();
@@ -81,7 +81,7 @@ void PageActionController::NotifyChange() {
content::INVALIDATE_TYPE_PAGE_ACTIONS);
}
-ExtensionService* PageActionController::GetExtensionService() {
+ExtensionService* PageActionController::GetExtensionService() const {
return ExtensionSystem::Get(tab_contents_->profile())->extension_service();
}
« no previous file with comments | « chrome/browser/extensions/page_action_controller.h ('k') | chrome/browser/extensions/script_badge_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698