Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / tab_contents / favicon_util_mac.h
blob99c7e4061fbab013dfec1d0045310dae7fafc26b
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_
8 @class NSImage;
10 namespace content {
11 class WebContents;
14 namespace mac {
16 // Returns an autoreleased favicon for a given WebContents. If |contents|
17 // is NULL or there's no favicon for the NavigationEntry, this will return the
18 // default image.
19 NSImage* FaviconForWebContents(content::WebContents* contents);
21 } // namespace mac
23 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_FAVICON_UTIL_MAC_H_