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

Unified Diff: chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc

Issue 549453005: Run athena on device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/ui/webui/options/chromeos/change_picture_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
index 52bed9d6e0d75a89c1f7c13dca555e1b7bb495d8..5d6d7748c1de8a25ef7c76ccaf5be150ef065810 100644
--- a/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
@@ -215,13 +215,18 @@ void ChangePictureOptionsHandler::HandleChooseFile(
void ChangePictureOptionsHandler::HandleTakePhoto(
const base::ListValue* args) {
DCHECK(args->empty());
+#if !defined(USE_ATHENA)
+ // crbug.com/408733
ash::PlaySystemSoundIfSpokenFeedback(SOUND_CAMERA_SNAP);
+#endif
}
void ChangePictureOptionsHandler::HandleDiscardPhoto(
const base::ListValue* args) {
DCHECK(args->empty());
+#if !defined(USE_ATHENA)
ash::PlaySystemSoundIfSpokenFeedback(SOUND_OBJECT_DELETE);
+#endif
}
void ChangePictureOptionsHandler::HandlePhotoTaken(

Powered by Google App Engine
This is Rietveld 408576698