OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_AP
I_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_AP
I_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_AP
I_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_AP
I_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h
" | 8 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h
" |
10 #include "chrome/browser/extensions/extension_function.h" | 9 #include "chrome/browser/extensions/extension_function.h" |
11 | 10 |
12 // Base class for deprecated page actions APIs | 11 // Base class for deprecated page actions APIs |
13 class PageActionsFunction : public SyncExtensionFunction { | 12 class PageActionsFunction : public SyncExtensionFunction { |
14 protected: | 13 protected: |
15 PageActionsFunction(); | 14 PageActionsFunction(); |
16 virtual ~PageActionsFunction(); | 15 virtual ~PageActionsFunction(); |
17 bool SetPageActionEnabled(bool enable); | 16 bool SetPageActionEnabled(bool enable); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 94 |
96 class PageActionGetPopupFunction : public ExtensionActionGetPopupFunction { | 95 class PageActionGetPopupFunction : public ExtensionActionGetPopupFunction { |
97 public: | 96 public: |
98 DECLARE_EXTENSION_FUNCTION_NAME("pageAction.getPopup") | 97 DECLARE_EXTENSION_FUNCTION_NAME("pageAction.getPopup") |
99 | 98 |
100 protected: | 99 protected: |
101 virtual ~PageActionGetPopupFunction() {} | 100 virtual ~PageActionGetPopupFunction() {} |
102 }; | 101 }; |
103 | 102 |
104 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS
_API_H_ | 103 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS
_API_H_ |
OLD | NEW |