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

Unified Diff: chrome/browser/chromeos/login/take_photo_view.h

Issue 10382144: Change SetImage, SetBackground, and SetToggledImage to take in a gfx::ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/chromeos/login/take_photo_view.h
diff --git a/chrome/browser/chromeos/login/take_photo_view.h b/chrome/browser/chromeos/login/take_photo_view.h
index f773dc35cc7f4c80b049feef1da22b9127b4db39..3f4d00b3a4bb7e975e942ce9a8c92f42df084e87 100644
--- a/chrome/browser/chromeos/login/take_photo_view.h
+++ b/chrome/browser/chromeos/login/take_photo_view.h
@@ -13,6 +13,10 @@
class PhotoCaptureObserver;
class SkBitmap;
+namespace gfx {
+class ImageSkia;
+} // namespace gfx
+
namespace views {
class ImageButton;
class Label;
@@ -59,7 +63,7 @@ class TakePhotoView : public views::View,
const SkBitmap& GetImage() const;
// Sets the image indicating that the view is used only for image preview.
- void SetImage(SkBitmap* image);
+ void SetImage(gfx::ImageSkia* image);
// Captures the image, as if the button was pressed.
void CaptureImage();

Powered by Google App Engine
This is Rietveld 408576698