OLD | NEW |
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/bind.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/browser/tab_contents/tab_contents_observer.h" | 16 #include "content/browser/tab_contents/tab_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; | 20 class NavigationEntry; |
21 class SkBitmap; | 21 class SkBitmap; |
22 class TabContents; | 22 class TabContents; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 scoped_ptr<FaviconHandler> favicon_handler_; | 99 scoped_ptr<FaviconHandler> favicon_handler_; |
100 | 100 |
101 // Handles downloading touchicons. It is NULL if | 101 // Handles downloading touchicons. It is NULL if |
102 // browser_defaults::kEnableTouchIcon is false. | 102 // browser_defaults::kEnableTouchIcon is false. |
103 scoped_ptr<FaviconHandler> touch_icon_handler_; | 103 scoped_ptr<FaviconHandler> touch_icon_handler_; |
104 | 104 |
105 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper); | 105 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper); |
106 }; | 106 }; |
107 | 107 |
108 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ | 108 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ |
OLD | NEW |