| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h" |
| 6 | 6 |
| 7 #include "ash/audio/sounds.h" | 7 #include "ash/audio/sounds.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 } | 213 } |
| 214 | 214 |
| 215 void UserImageScreenHandler::SetCameraPresent(bool present) { | 215 void UserImageScreenHandler::SetCameraPresent(bool present) { |
| 216 CallJS("setCameraPresent", present); | 216 CallJS("setCameraPresent", present); |
| 217 } | 217 } |
| 218 | 218 |
| 219 void UserImageScreenHandler::HideCurtain() { | 219 void UserImageScreenHandler::HideCurtain() { |
| 220 CallJS("hideCurtain"); | 220 CallJS("hideCurtain"); |
| 221 } | 221 } |
| 222 | 222 |
| 223 void UserImageScreenHandler::SetProfilePictureEnabled(bool enabled) { | |
| 224 CallJS("setProfilePictureEnabled", enabled); | |
| 225 } | |
| 226 | |
| 227 } // namespace chromeos | 223 } // namespace chromeos |
| OLD | NEW |