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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/video_capture_indicator.cc

Issue 2876403003: VR: text for audio/video input capture notifications (Closed)
Patch Set: removing unnecessary comments Created 3 years, 7 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/android/vr_shell/ui_elements/video_capture_indicator.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/video_capture_indicator.cc b/chrome/browser/android/vr_shell/ui_elements/video_capture_indicator.cc
index 5ad04a8ca1edbaba70a540f5b639a94277c29993..8201df61d9a3460d4b90165792d9448a952e9970 100644
--- a/chrome/browser/android/vr_shell/ui_elements/video_capture_indicator.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/video_capture_indicator.cc
@@ -6,16 +6,16 @@
#include "base/memory/ptr_util.h"
#include "chrome/browser/android/vr_shell/textures/system_indicator_texture.h"
-#include "components/strings/grit/components_strings.h"
+#include "chrome/grit/generated_resources.h"
#include "ui/vector_icons/vector_icons.h"
namespace vr_shell {
-// TODO(acondor): Set a proper string.
VideoCaptureIndicator::VideoCaptureIndicator(int preferred_width)
: TexturedElement(preferred_width),
- texture_(base::MakeUnique<SystemIndicatorTexture>(ui::kVideocamIcon, 0)) {
-}
+ texture_(base::MakeUnique<SystemIndicatorTexture>(
+ ui::kVideocamIcon,
+ IDS_VIDEO_CALL_NOTIFICATION_TEXT_2)) {}
VideoCaptureIndicator::~VideoCaptureIndicator() = default;

Powered by Google App Engine
This is Rietveld 408576698