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

Side by Side Diff: chrome/browser/chromeos/login/user_image_screen.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/login/camera_controller.h" 9 #include "chrome/browser/chromeos/login/camera_controller.h"
10 #include "chrome/browser/chromeos/login/user_image_view.h" 10 #include "chrome/browser/chromeos/login/user_image_view.h"
(...skipping 21 matching lines...) Expand all
32 virtual void OnCaptureSuccess(); 32 virtual void OnCaptureSuccess();
33 virtual void OnCaptureFailure(); 33 virtual void OnCaptureFailure();
34 34
35 // UserImageView::Delegate implementation: 35 // UserImageView::Delegate implementation:
36 virtual void StartCamera(); 36 virtual void StartCamera();
37 virtual void StopCamera(); 37 virtual void StopCamera();
38 virtual void OnPhotoTaken(const SkBitmap& image); 38 virtual void OnPhotoTaken(const SkBitmap& image);
39 virtual void OnDefaultImageSelected(int index); 39 virtual void OnDefaultImageSelected(int index);
40 40
41 // NotificationObserver implementation: 41 // NotificationObserver implementation:
42 virtual void Observe(NotificationType type, 42 virtual void Observe(int type,
43 const NotificationSource& source, 43 const NotificationSource& source,
44 const NotificationDetails& details); 44 const NotificationDetails& details);
45 45
46 private: 46 private:
47 CameraController camera_controller_; 47 CameraController camera_controller_;
48 48
49 NotificationRegistrar registrar_; 49 NotificationRegistrar registrar_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(UserImageScreen); 51 DISALLOW_COPY_AND_ASSIGN(UserImageScreen);
52 }; 52 };
53 53
54 } // namespace chromeos 54 } // namespace chromeos
55 55
56 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_H_ 56 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_H_
57 57
58 58
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/touch_login_view.cc ('k') | chrome/browser/chromeos/login/user_image_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698