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

Unified Diff: chrome/browser/ui/cocoa/table_row_nsimage_cache.h

Issue 10453101: Convert most of the rest of chrome to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/table_row_nsimage_cache.h
diff --git a/chrome/browser/ui/cocoa/table_row_nsimage_cache.h b/chrome/browser/ui/cocoa/table_row_nsimage_cache.h
index f6713fe188173f09313db84b61d42f22766acdb4..377b639cfaef0130181a63a1fa54387b302f95ae 100644
--- a/chrome/browser/ui/cocoa/table_row_nsimage_cache.h
+++ b/chrome/browser/ui/cocoa/table_row_nsimage_cache.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -10,7 +10,9 @@
#include "base/memory/scoped_nsobject.h"
-class SkBitmap;
+namespace gfx {
+class ImageSkia;
+}
// There are several dialogs that display tabular data with one SkBitmap
// per row. This class converts these SkBitmaps to NSImages on demand, and
@@ -24,7 +26,7 @@ class TableRowNSImageCache {
virtual int RowCount() const = 0;
// Returns the icon of the |row|th row.
- virtual SkBitmap GetIcon(int row) const = 0;
+ virtual gfx::ImageSkia GetIcon(int row) const = 0;
protected:
virtual ~Table() {}
@@ -53,4 +55,3 @@ class TableRowNSImageCache {
};
#endif // CHROME_BROWSER_UI_COCOA_TABLE_ROW_NSIMAGE_CACHE_H_
-
« no previous file with comments | « chrome/browser/ui/cocoa/infobars/mock_link_infobar_delegate.cc ('k') | chrome/browser/ui/cocoa/table_row_nsimage_cache.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698