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

Side by Side Diff: chrome/browser/favicon/favicon_tab_helper.h

Issue 8566028: Cleanup: Remove more forward declarations in various chrome/browser directories. (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
« no previous file with comments | « chrome/browser/debugger/inspectable_tab_proxy.h ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_FAVICON_FAVICON_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
6 #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ 6 #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector>
10
9 #include "base/basictypes.h" 11 #include "base/basictypes.h"
10 #include "base/callback_old.h" 12 #include "base/callback_old.h"
11 #include "chrome/browser/favicon/favicon_handler_delegate.h" 13 #include "chrome/browser/favicon/favicon_handler_delegate.h"
12 #include "chrome/browser/favicon/favicon_service.h" 14 #include "chrome/browser/favicon/favicon_service.h"
13 #include "chrome/common/favicon_url.h" 15 #include "chrome/common/favicon_url.h"
14 #include "content/browser/tab_contents/tab_contents_observer.h" 16 #include "content/browser/tab_contents/tab_contents_observer.h"
15 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
16 18
17 class FaviconHandler; 19 class FaviconHandler;
18 class NavigationEntry; 20 class NavigationEntry;
19 class RefCountedMemory;
20 class SkBitmap; 21 class SkBitmap;
21 class TabContents; 22 class TabContents;
22 23
23 // FaviconTabHelper works with FaviconHandlers to fetch the favicons. 24 // FaviconTabHelper works with FaviconHandlers to fetch the favicons.
24 // 25 //
25 // FetchFavicon fetches the given page's icons. It requests the icons from the 26 // FetchFavicon fetches the given page's icons. It requests the icons from the
26 // history backend. If the icon is not available or expired, the icon will be 27 // history backend. If the icon is not available or expired, the icon will be
27 // downloaded and saved in the history backend. 28 // downloaded and saved in the history backend.
28 // 29 //
29 // DownloadImage downloads the specified icon and returns it through the given 30 // DownloadImage downloads the specified icon and returns it through the given
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 scoped_ptr<FaviconHandler> favicon_handler_; 98 scoped_ptr<FaviconHandler> favicon_handler_;
98 99
99 // Handles downloading touchicons. It is NULL if 100 // Handles downloading touchicons. It is NULL if
100 // browser_defaults::kEnableTouchIcon is false. 101 // browser_defaults::kEnableTouchIcon is false.
101 scoped_ptr<FaviconHandler> touch_icon_handler_; 102 scoped_ptr<FaviconHandler> touch_icon_handler_;
102 103
103 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper); 104 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper);
104 }; 105 };
105 106
106 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ 107 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/debugger/inspectable_tab_proxy.h ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698