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