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

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

Issue 8956059: Rename NavigationController to NavigationControllerImpl and put it into the content namespace. Al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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) 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> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "chrome/browser/favicon/favicon_handler_delegate.h" 13 #include "chrome/browser/favicon/favicon_handler_delegate.h"
14 #include "chrome/browser/favicon/favicon_service.h" 14 #include "chrome/browser/favicon/favicon_service.h"
15 #include "chrome/common/favicon_url.h" 15 #include "chrome/common/favicon_url.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 18
19 class FaviconHandler; 19 class FaviconHandler;
20 class NavigationEntry;
21 class SkBitmap; 20 class SkBitmap;
22 21
23 // FaviconTabHelper works with FaviconHandlers to fetch the favicons. 22 // FaviconTabHelper works with FaviconHandlers to fetch the favicons.
24 // 23 //
25 // FetchFavicon fetches the given page's icons. It requests the icons from the 24 // 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 25 // history backend. If the icon is not available or expired, the icon will be
27 // downloaded and saved in the history backend. 26 // downloaded and saved in the history backend.
28 // 27 //
29 // DownloadImage downloads the specified icon and returns it through the given 28 // DownloadImage downloads the specified icon and returns it through the given
30 // callback. 29 // callback.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 scoped_ptr<FaviconHandler> favicon_handler_; 97 scoped_ptr<FaviconHandler> favicon_handler_;
99 98
100 // Handles downloading touchicons. It is NULL if 99 // Handles downloading touchicons. It is NULL if
101 // browser_defaults::kEnableTouchIcon is false. 100 // browser_defaults::kEnableTouchIcon is false.
102 scoped_ptr<FaviconHandler> touch_icon_handler_; 101 scoped_ptr<FaviconHandler> touch_icon_handler_;
103 102
104 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper); 103 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper);
105 }; 104 };
106 105
107 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ 106 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/favicon/favicon_handler_unittest.cc ('k') | chrome/browser/favicon/favicon_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698