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

Side by Side Diff: chrome/common/extensions/manifest_handlers/app_icon_color_info.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_APP_ICON_COLOR_INFO_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_ICON_COLOR_INFO_H_
6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_ICON_COLOR_INFO_H_ 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_ICON_COLOR_INFO_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "extensions/common/extension.h" 9 #include "extensions/common/extension.h"
10 #include "extensions/common/manifest_handler.h" 10 #include "extensions/common/manifest_handler.h"
11 #include "third_party/skia/include/core/SkColor.h" 11 #include "third_party/skia/include/core/SkColor.h"
12 12
13 namespace base {
14 class DictionaryValue;
15 }
16
17 namespace extensions { 13 namespace extensions {
18 14
19 // A structure to hold the parsed app icon color data. 15 // A structure to hold the parsed app icon color data.
20 struct AppIconColorInfo : public Extension::ManifestData { 16 struct AppIconColorInfo : public Extension::ManifestData {
21 AppIconColorInfo(); 17 AppIconColorInfo();
22 ~AppIconColorInfo() override; 18 ~AppIconColorInfo() override;
23 19
24 static SkColor GetIconColor(const Extension* extension); 20 static SkColor GetIconColor(const Extension* extension);
25 static const std::string& GetIconColorString(const Extension* extension); 21 static const std::string& GetIconColorString(const Extension* extension);
26 22
(...skipping 14 matching lines...) Expand all
41 37
42 private: 38 private:
43 const std::vector<std::string> Keys() const override; 39 const std::vector<std::string> Keys() const override;
44 40
45 DISALLOW_COPY_AND_ASSIGN(AppIconColorHandler); 41 DISALLOW_COPY_AND_ASSIGN(AppIconColorHandler);
46 }; 42 };
47 43
48 } // namespace extensions 44 } // namespace extensions
49 45
50 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_ICON_COLOR_INFO_H_ 46 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_ICON_COLOR_INFO_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/command.h ('k') | chrome/common/extensions/manifest_handlers/linked_app_icons.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698