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

Side by Side Diff: chrome/common/extensions/api/icons/icons_handler.h

Issue 12578008: Move CrxFile, FileReader, ExtensionResource to src/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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) 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_API_ICONS_ICONS_HANDLER_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_API_ICONS_ICONS_HANDLER_H_
6 #define CHROME_COMMON_EXTENSIONS_API_ICONS_ICONS_HANDLER_H_ 6 #define CHROME_COMMON_EXTENSIONS_API_ICONS_ICONS_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
11 #include "chrome/common/extensions/extension_icon_set.h" 11 #include "chrome/common/extensions/extension_icon_set.h"
12 #include "chrome/common/extensions/extension_resource.h"
13 #include "chrome/common/extensions/manifest_handler.h" 12 #include "chrome/common/extensions/manifest_handler.h"
13 #include "extensions/common/extension_resource.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
22 // The icons for the extension. 22 // The icons for the extension.
23 ExtensionIconSet icons; 23 ExtensionIconSet icons;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 std::string* error, 76 std::string* error,
77 std::vector<InstallWarning>* warnings) const OVERRIDE; 77 std::vector<InstallWarning>* warnings) const OVERRIDE;
78 78
79 private: 79 private:
80 virtual const std::vector<std::string> Keys() const OVERRIDE; 80 virtual const std::vector<std::string> Keys() const OVERRIDE;
81 }; 81 };
82 82
83 } // namespace extensions 83 } // namespace extensions
84 84
85 #endif // CHROME_COMMON_EXTENSIONS_API_ICONS_ICONS_HANDLER_H_ 85 #endif // CHROME_COMMON_EXTENSIONS_API_ICONS_ICONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/i18n/default_locale_handler.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698