| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/android/vr_shell/ui_elements/screen_capture_indicator.h
" |
| 6 |
| 7 #include "base/memory/ptr_util.h" |
| 8 #include "chrome/browser/android/vr_shell/textures/system_indicator_texture.h" |
| 9 #include "chrome/grit/generated_resources.h" |
| 10 #include "components/vector_icons/vector_icons.h" |
| 11 |
| 12 namespace vr_shell { |
| 13 |
| 14 ScreenCaptureIndicator::ScreenCaptureIndicator(int preferred_width) |
| 15 : TexturedElement(preferred_width), |
| 16 texture_(base::MakeUnique<SystemIndicatorTexture>( |
| 17 vector_icons::kScreenShareIcon, |
| 18 IDS_SCREEN_CAPTURE_NOTIFICATION_TEXT_2)) {} |
| 19 |
| 20 ScreenCaptureIndicator::~ScreenCaptureIndicator() = default; |
| 21 |
| 22 UiTexture* ScreenCaptureIndicator::GetTexture() const { |
| 23 return texture_.get(); |
| 24 } |
| 25 |
| 26 } // namespace vr_shell |
| OLD | NEW |