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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.h

Issue 12334030: New custom wallpaper picker UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add bug reference Created 7 years, 9 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/extensions/wallpaper_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/wallpaper_private_api.h
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.h b/chrome/browser/chromeos/extensions/wallpaper_private_api.h
index 2c7486b1914ecc8e960ace7d4db14ffb86e3a0df..df7afe7a3c4b8898ff71b3f88456fe67dc4bebe2 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.h
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.h
@@ -157,11 +157,17 @@ class WallpaperPrivateSetCustomWallpaperFunction
scoped_ptr<gfx::ImageSkia> image);
// Thumbnail is ready. Calls api function javascript callback.
- void ThumbnailGenerated(const std::string& file_name);
+ void ThumbnailGenerated(base::RefCountedBytes* data);
// Layout of the downloaded wallpaper.
ash::WallpaperLayout layout_;
+ // True if need to generate thumbnail and pass to callback.
+ bool generate_thumbnail_;
+
+ // Unique file name of the custom wallpaper.
+ std::string file_name_;
+
// Email address of logged in user.
std::string email_;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/extensions/wallpaper_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698