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

Side by Side Diff: chrome/browser/extensions/api/extension_action/extension_browser_actions_api.h

Issue 10911300: Move ExtensionAction from common/ to browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: proof of concept Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_BROWSER_ACTIONS _API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTIONS _API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTIONS _API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTIONS _API_H_
7 7
8 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h " 8 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h "
9 #include "chrome/browser/extensions/extension_action.h"
9 #include "chrome/browser/extensions/extension_function.h" 10 #include "chrome/browser/extensions/extension_function.h"
10 #include "chrome/common/extensions/extension_action.h"
11 11
12 // 12 //
13 // browserAction.* aliases for supported browserActions APIs. 13 // browserAction.* aliases for supported browserActions APIs.
14 // 14 //
15 15
16 class BrowserActionSetIconFunction : public ExtensionActionSetIconFunction { 16 class BrowserActionSetIconFunction : public ExtensionActionSetIconFunction {
17 public: 17 public:
18 DECLARE_EXTENSION_FUNCTION_NAME("browserAction.setIcon") 18 DECLARE_EXTENSION_FUNCTION_NAME("browserAction.setIcon")
19 19
20 protected: 20 protected:
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 class BrowserActionDisableFunction : public ExtensionActionHideFunction { 100 class BrowserActionDisableFunction : public ExtensionActionHideFunction {
101 public: 101 public:
102 DECLARE_EXTENSION_FUNCTION_NAME("browserAction.disable") 102 DECLARE_EXTENSION_FUNCTION_NAME("browserAction.disable")
103 103
104 protected: 104 protected:
105 virtual ~BrowserActionDisableFunction() {} 105 virtual ~BrowserActionDisableFunction() {}
106 }; 106 };
107 107
108 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTI ONS_API_H_ 108 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTI ONS_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698