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

Unified Diff: extensions/common/manifest_handlers/icons_handler.h

Issue 229813002: Move extensions manifest IconsHandler to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments (icons-handler) Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/file_util.cc ('k') | extensions/common/manifest_handlers/icons_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/icons_handler.h
diff --git a/chrome/common/extensions/manifest_handlers/icons_handler.h b/extensions/common/manifest_handlers/icons_handler.h
similarity index 82%
rename from chrome/common/extensions/manifest_handlers/icons_handler.h
rename to extensions/common/manifest_handlers/icons_handler.h
index 9c4d42f50ee7a3faf3d2ce8076cd914515fd05a8..f8f35977dba82457d4eba9a050f3ec0bfa1b8233 100644
--- a/chrome/common/extensions/manifest_handlers/icons_handler.h
+++ b/extensions/common/manifest_handlers/icons_handler.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_ICONS_HANDLER_H_
-#define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_ICONS_HANDLER_H_
+#ifndef EXTENSIONS_COMMON_MANIFEST_HANDLERS_ICONS_HANDLER_H_
+#define EXTENSIONS_COMMON_MANIFEST_HANDLERS_ICONS_HANDLER_H_
#include <string>
@@ -12,13 +12,15 @@
#include "extensions/common/extension_resource.h"
#include "extensions/common/manifest_handler.h"
+class GURL;
+
+namespace gfx {
+class ImageSkia;
+}
+
namespace extensions {
struct IconsInfo : public Extension::ManifestData {
- // Max size (both dimensions) for browser and page actions.
- static const int kPageActionIconMaxSize;
- static const int kBrowserActionIconMaxSize;
-
// The icons for the extension.
ExtensionIconSet icons;
@@ -57,4 +59,4 @@ class IconsHandler : public ManifestHandler {
} // namespace extensions
-#endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_ICONS_HANDLER_H_
+#endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_ICONS_HANDLER_H_
« no previous file with comments | « extensions/common/file_util.cc ('k') | extensions/common/manifest_handlers/icons_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698