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

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

Issue 2950173002: VR: System indicator rework. (Closed)
Patch Set: Address comments; increase size slightly for readability, now that position is dynamic. Created 3 years, 6 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/screen_capture_indicator.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/screen_capture_indicator.cc b/chrome/browser/android/vr_shell/ui_elements/screen_capture_indicator.cc
deleted file mode 100644
index 8de65753da3eaad0194ab7af579436bff5696e06..0000000000000000000000000000000000000000
--- a/chrome/browser/android/vr_shell/ui_elements/screen_capture_indicator.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/android/vr_shell/ui_elements/screen_capture_indicator.h"
-
-#include "base/memory/ptr_util.h"
-#include "chrome/browser/android/vr_shell/textures/system_indicator_texture.h"
-#include "chrome/grit/generated_resources.h"
-#include "components/vector_icons/vector_icons.h"
-
-namespace vr_shell {
-
-ScreenCaptureIndicator::ScreenCaptureIndicator(int preferred_width)
- : TexturedElement(preferred_width),
- texture_(base::MakeUnique<SystemIndicatorTexture>(
- vector_icons::kScreenShareIcon,
- IDS_SCREEN_CAPTURE_NOTIFICATION_TEXT_2)) {}
-
-ScreenCaptureIndicator::~ScreenCaptureIndicator() = default;
-
-UiTexture* ScreenCaptureIndicator::GetTexture() const {
- return texture_.get();
-}
-
-} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698