Index: chrome/browser/ui/webui/web_ui_util.h |
diff --git a/chrome/browser/ui/webui/web_ui_util.h b/chrome/browser/ui/webui/web_ui_util.h |
index 5a5e6d23f9db3dad266f3e6ef082e870a4d14bb2..6f5e7bb4774bda6fdb65b4b0679d80556afc21db 100644 |
--- a/chrome/browser/ui/webui/web_ui_util.h |
+++ b/chrome/browser/ui/webui/web_ui_util.h |
@@ -29,6 +29,9 @@ std::string GetImageDataUrl(const gfx::ImageSkia& image); |
// |resource_id|. |
std::string GetImageDataUrlFromResource(int resource_id); |
+// Convenience routine to convert data url to an ImageSkia object. |
+gfx::ImageSkia GetImageFromDataUrl(const std::string& data_url); |
+ |
// Extracts a disposition from click event arguments. |args| should contain |
// an integer button and booleans alt key, ctrl key, meta key, and shift key |
// (in that order), starting at |start_index|. |