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

Unified Diff: chrome/browser/extensions/api/extension_action/extension_action_api.h

Issue 472333002: Remove deprecated chrome.pageActions api functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: histograms.xml Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/extension_action/extension_action_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/extension_action/extension_action_api.h
diff --git a/chrome/browser/extensions/api/extension_action/extension_action_api.h b/chrome/browser/extensions/api/extension_action/extension_action_api.h
index 3a9e02893f7773560793073e0e2e398602087a95..ca869907b169ffda2a6ce86302141362b0e41dbf 100644
--- a/chrome/browser/extensions/api/extension_action/extension_action_api.h
+++ b/chrome/browser/extensions/api/extension_action/extension_action_api.h
@@ -467,38 +467,4 @@ class PageActionGetPopupFunction
virtual ~PageActionGetPopupFunction() {}
};
-// Base class for deprecated page actions APIs
-class PageActionsFunction : public ChromeSyncExtensionFunction {
- protected:
- PageActionsFunction();
- virtual ~PageActionsFunction();
- bool SetPageActionEnabled(bool enable);
-};
-
-// Implement chrome.pageActions.enableForTab().
-class EnablePageActionsFunction : public PageActionsFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("pageActions.enableForTab",
- PAGEACTIONS_ENABLEFORTAB)
-
- protected:
- virtual ~EnablePageActionsFunction() {}
-
- // ExtensionFunction:
- virtual bool RunSync() OVERRIDE;
-};
-
-// Implement chrome.pageActions.disableForTab().
-class DisablePageActionsFunction : public PageActionsFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("pageActions.disableForTab",
- PAGEACTIONS_DISABLEFORTAB)
-
- protected:
- virtual ~DisablePageActionsFunction() {}
-
- // ExtensionFunction:
- virtual bool RunSync() OVERRIDE;
-};
-
#endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_ACTION_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/extension_action/extension_action_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698