Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: chrome/browser/cocoa/cocoa_utils.h

Issue 125061: Add favicons to Mac bookmark bar. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller.mm ('k') | chrome/browser/cocoa/cocoa_utils.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 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 #include <Cocoa/Cocoa.h>
6 #include "third_party/skia/include/core/SkBitmap.h"
7
8 // Generic Cocoa utilities which fit nowhere else.
9
10 namespace CocoaUtils {
11
12 // Given an SkBitmap, return an autoreleased NSImage. This function
13 // was not placed in
14 // third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp since that
15 // would make Skia dependent on Cocoa.
16 NSImage* SkBitmapToNSImage(const SkBitmap& icon);
17
18
19 }; // namespace CocoaUtils
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller.mm ('k') | chrome/browser/cocoa/cocoa_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698