summaryrefslogtreecommitdiffstats
path: root/ui/base/models/tree_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/models/tree_model.h')
-rw-r--r--ui/base/models/tree_model.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/base/models/tree_model.h b/ui/base/models/tree_model.h
index 5dfa8f9..11ea193 100644
--- a/ui/base/models/tree_model.h
+++ b/ui/base/models/tree_model.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.
@@ -11,7 +11,9 @@
#include "base/string16.h"
#include "ui/base/ui_export.h"
-class SkBitmap;
+namespace gfx {
+class ImageSkia;
+}
namespace ui {
@@ -84,7 +86,7 @@ class UI_EXPORT TreeModel {
// Returns the set of icons for the nodes in the tree. You only need override
// this if you don't want to use the default folder icons.
- virtual void GetIcons(std::vector<SkBitmap>* icons) {}
+ virtual void GetIcons(std::vector<gfx::ImageSkia>* icons) {}
// Returns the index of the icon to use for |node|. Return -1 to use the
// default icon. The index is relative to the list of icons returned from