root/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h

/* [<][>][^][v][top][bottom][index][help] */
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_
#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_

@class NSImage;

namespace content {
class WebContents;
}

namespace mac {

// Returns an autoreleased favicon for a given WebContents. If |contents|
// is NULL or there's no favicon for the NavigationEntry, this will return the
// default image.
NSImage* FaviconForWebContents(content::WebContents* contents);

}  // namespace mac

#endif  // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_

/* [<][>][^][v][top][bottom][index][help] */