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

Side by Side Diff: chrome/browser/ui/webui/extension_icon_source.h

Issue 8537007: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/webui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_UI_WEBUI_EXTENSION_ICON_SOURCE_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSION_ICON_SOURCE_H_
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSION_ICON_SOURCE_H_ 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSION_ICON_SOURCE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "chrome/browser/extensions/image_loading_tracker.h" 13 #include "chrome/browser/extensions/image_loading_tracker.h"
14 #include "chrome/browser/favicon/favicon_service.h" 14 #include "chrome/browser/favicon/favicon_service.h"
15 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" 15 #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
16 #include "chrome/common/extensions/extension.h" 16 #include "chrome/common/extensions/extension.h"
17 #include "third_party/skia/include/core/SkBitmap.h" 17 #include "third_party/skia/include/core/SkBitmap.h"
18 18
19 class ExtensionIconSet; 19 class ExtensionIconSet;
20 class Profile; 20 class Profile;
21 class RefCountedMemory;
22
23 namespace gfx {
24 class Size;
25 }
26 21
27 // ExtensionIconSource serves extension icons through network level chrome: 22 // ExtensionIconSource serves extension icons through network level chrome:
28 // requests. Icons can be retrieved for any installed extension or app. 23 // requests. Icons can be retrieved for any installed extension or app.
29 // 24 //
30 // The format for requesting an icon is as follows: 25 // The format for requesting an icon is as follows:
31 // chrome://extension-icon/<extension_id>/<icon_size>/<match_type>?[options] 26 // chrome://extension-icon/<extension_id>/<icon_size>/<match_type>?[options]
32 // 27 //
33 // Parameters (<> required, [] optional): 28 // Parameters (<> required, [] optional):
34 // <extension_id> = the id of the extension 29 // <extension_id> = the id of the extension
35 // <icon_size> = the size of the icon, as the integer value of the 30 // <icon_size> = the size of the icon, as the integer value of the
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 scoped_ptr<SkBitmap> default_app_data_; 164 scoped_ptr<SkBitmap> default_app_data_;
170 165
171 scoped_ptr<SkBitmap> default_extension_data_; 166 scoped_ptr<SkBitmap> default_extension_data_;
172 167
173 CancelableRequestConsumerT<int, 0> cancelable_consumer_; 168 CancelableRequestConsumerT<int, 0> cancelable_consumer_;
174 169
175 DISALLOW_COPY_AND_ASSIGN(ExtensionIconSource); 170 DISALLOW_COPY_AND_ASSIGN(ExtensionIconSource);
176 }; 171 };
177 172
178 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSION_ICON_SOURCE_H_ 173 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSION_ICON_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/network_screen_handler.h ('k') | chrome/browser/ui/webui/favicon_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698