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_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ |
6 #define CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ | 6 #define CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Returns true if the extension needs a verbose install message because | 58 // Returns true if the extension needs a verbose install message because |
59 // of its page action. | 59 // of its page action. |
60 static bool IsVerboseInstallMessage(const Extension* extension); | 60 static bool IsVerboseInstallMessage(const Extension* extension); |
61 | 61 |
62 // Empty implies the key wasn't present. | 62 // Empty implies the key wasn't present. |
63 ExtensionIconSet default_icon; | 63 ExtensionIconSet default_icon; |
64 std::string default_title; | 64 std::string default_title; |
65 GURL default_popup_url; | 65 GURL default_popup_url; |
66 // action id -- only used with legacy page actions API. | 66 // action id -- only used with legacy page actions API. |
67 std::string id; | 67 std::string id; |
| 68 bool open_in_sidebar; |
68 }; | 69 }; |
69 | 70 |
70 } // namespace extensions | 71 } // namespace extensions |
71 | 72 |
72 #endif // CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ | 73 #endif // CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ |
OLD | NEW |