OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_MANIFEST_HANDLERS_ICONS_HANDLER_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_ICONS_HANDLER_H_ |
6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_ICONS_HANDLER_H_ | 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_ICONS_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/common/extensions/extension_icon_set.h" | |
11 #include "extensions/common/extension.h" | 10 #include "extensions/common/extension.h" |
| 11 #include "extensions/common/extension_icon_set.h" |
12 #include "extensions/common/extension_resource.h" | 12 #include "extensions/common/extension_resource.h" |
13 #include "extensions/common/manifest_handler.h" | 13 #include "extensions/common/manifest_handler.h" |
14 | 14 |
15 namespace extensions { | 15 namespace extensions { |
16 | 16 |
17 struct IconsInfo : public Extension::ManifestData { | 17 struct IconsInfo : public Extension::ManifestData { |
18 // Max size (both dimensions) for browser and page actions. | 18 // Max size (both dimensions) for browser and page actions. |
19 static const int kPageActionIconMaxSize; | 19 static const int kPageActionIconMaxSize; |
20 static const int kBrowserActionIconMaxSize; | 20 static const int kBrowserActionIconMaxSize; |
21 | 21 |
(...skipping 29 matching lines...) Expand all Loading... |
51 std::string* error, | 51 std::string* error, |
52 std::vector<InstallWarning>* warnings) const OVERRIDE; | 52 std::vector<InstallWarning>* warnings) const OVERRIDE; |
53 | 53 |
54 private: | 54 private: |
55 virtual const std::vector<std::string> Keys() const OVERRIDE; | 55 virtual const std::vector<std::string> Keys() const OVERRIDE; |
56 }; | 56 }; |
57 | 57 |
58 } // namespace extensions | 58 } // namespace extensions |
59 | 59 |
60 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_ICONS_HANDLER_H_ | 60 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_ICONS_HANDLER_H_ |
OLD | NEW |