| 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_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_H_ |
| 7 | 7 |
| 8 @class NSImage; | 8 @class NSImage; |
| 9 class TabContents; | 9 class TabContents; |
| 10 typedef TabContents TabContentsWrapper; | |
| 11 | 10 |
| 12 namespace mac { | 11 namespace mac { |
| 13 | 12 |
| 14 // Returns an autoreleased favicon for a given TabContentsWrapper. If |contents| | 13 // Returns an autoreleased favicon for a given TabContents. If |contents| |
| 15 // is NULL or there's no favicon for the NavigationEntry, this will return the | 14 // is NULL or there's no favicon for the NavigationEntry, this will return the |
| 16 // default image. | 15 // default image. |
| 17 NSImage* FaviconForTabContents(TabContentsWrapper* contents); | 16 NSImage* FaviconForTabContents(TabContents* contents); |
| 18 | 17 |
| 19 } // namespace mac | 18 } // namespace mac |
| 20 | 19 |
| 21 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_H_ | 20 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_H_ |
| OLD | NEW |