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

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

Issue 332021: Move page actions over to ExtensionAction2 (Closed)
Patch Set: Review feedback Created 11 years, 2 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_page_actions_module.h
diff --git a/chrome/browser/extensions/extension_page_actions_module.h b/chrome/browser/extensions/extension_page_actions_module.h
index f3ac6f0d86485f9a4241139b9d228cc3aa16c8de..f991d719dfaa362ae80127b675e6cda95d4df100 100644
--- a/chrome/browser/extensions/extension_page_actions_module.h
+++ b/chrome/browser/extensions/extension_page_actions_module.h
@@ -8,19 +8,17 @@
#include "chrome/browser/extensions/extension_function.h"
class TabContents;
-class ExtensionAction;
-class ExtensionActionState;
+class ExtensionAction2;
class PageActionFunction : public SyncExtensionFunction {
protected:
bool SetPageActionEnabled(bool enable);
bool InitCommon(int tab_id);
- bool SetHidden(bool hidden);
+ bool SetVisible(bool visible);
- ExtensionAction* page_action_;
+ ExtensionAction2* page_action_;
TabContents* contents_;
- ExtensionActionState* state_;
};
class EnablePageActionFunction : public PageActionFunction {

Powered by Google App Engine
This is Rietveld 408576698