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

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

Issue 7523063: Add a hook for capturing a user profile photo and saving it to file and local state. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased Created 9 years, 5 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 68af04062d76a6844585079ea2f6b418c4eec7ac..37653a13379825e3379c7f60d79c043563407815 100644
--- a/chrome/browser/chromeos/login/take_photo_view.h
+++ b/chrome/browser/chromeos/login/take_photo_view.h
@@ -9,6 +9,7 @@
#include "views/controls/button/button.h"
#include "views/view.h"
+class PhotoCaptureObserver;
class SkBitmap;
namespace views {
@@ -76,6 +77,10 @@ class TakePhotoView : public views::View,
// Initializes layout manager for this view.
void InitLayout();
+ // For automation purposes.
+ friend class ::PhotoCaptureObserver;
+ void FlipCapturingState();
+
views::Label* title_label_;
views::ImageButton* snapshot_button_;
CameraImageView* user_image_;
« no previous file with comments | « chrome/browser/automation/testing_automation_provider_chromeos.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