OLD | NEW |
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_OPTIONS_TAKE_PHOTO_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_TAKE_PHOTO_DIALOG_H_ |
6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_TAKE_PHOTO_DIALOG_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_TAKE_PHOTO_DIALOG_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "chrome/browser/chromeos/login/camera_controller.h" | 11 #include "chrome/browser/chromeos/login/camera_controller.h" |
12 #include "chrome/browser/chromeos/login/take_photo_view.h" | 12 #include "chrome/browser/chromeos/login/take_photo_view.h" |
13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
15 #include "views/window/dialog_delegate.h" | 15 #include "ui/views/window/dialog_delegate.h" |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 class View; | 18 class View; |
19 } | 19 } |
20 | 20 |
21 namespace chromeos { | 21 namespace chromeos { |
22 | 22 |
23 // A dialog box for taking new user picture. | 23 // A dialog box for taking new user picture. |
24 class TakePhotoDialog : public views::DialogDelegateView, | 24 class TakePhotoDialog : public views::DialogDelegateView, |
25 public TakePhotoView::Delegate, | 25 public TakePhotoView::Delegate, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 Delegate* delegate_; | 109 Delegate* delegate_; |
110 | 110 |
111 ObserverList<Observer> observer_list_; | 111 ObserverList<Observer> observer_list_; |
112 | 112 |
113 DISALLOW_COPY_AND_ASSIGN(TakePhotoDialog); | 113 DISALLOW_COPY_AND_ASSIGN(TakePhotoDialog); |
114 }; | 114 }; |
115 | 115 |
116 } // namespace chromeos | 116 } // namespace chromeos |
117 | 117 |
118 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_TAKE_PHOTO_DIALOG_H_ | 118 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_TAKE_PHOTO_DIALOG_H_ |
OLD | NEW |