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

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: Rebased 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..33e7d215407b3419418ea9b557009a0ad815a883 100644
--- a/chrome/browser/chromeos/login/take_photo_view.h
+++ b/chrome/browser/chromeos/login/take_photo_view.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.
@@ -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();
« no previous file with comments | « chrome/browser/chromeos/login/simple_web_view_dialog.cc ('k') | chrome/browser/chromeos/login/take_photo_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698