summaryrefslogtreecommitdiffstats
path: root/gfx/icon_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/icon_util.h')
-rw-r--r--gfx/icon_util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gfx/icon_util.h b/gfx/icon_util.h
index 7a1233e..80c81f6 100644
--- a/gfx/icon_util.h
+++ b/gfx/icon_util.h
@@ -12,8 +12,9 @@
#include "base/basictypes.h"
namespace gfx {
- class Size;
+class Size;
}
+class FilePath;
class SkBitmap;
///////////////////////////////////////////////////////////////////////////////
@@ -77,8 +78,11 @@ class IconUtil {
// the desired .ico file.
//
// The function returns true on success and false otherwise.
+ // TODO(tfarina): Deprecated version of the FilePath version below.
static bool CreateIconFileFromSkBitmap(const SkBitmap& bitmap,
const std::wstring& icon_file_name);
+ static bool CreateIconFileFromSkBitmap(const SkBitmap& bitmap,
+ const FilePath& icon_path);
private:
// The icon format is published in the MSDN but there is no definition of