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

Side by Side Diff: chrome/browser/android/vr_shell/ui_elements/location_access_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 unified diff | Download patch
OLDNEW
(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/location_access_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 "ui/vector_icons/vector_icons.h"
11
12 namespace vr_shell {
13
14 LocationAccessIndicator::LocationAccessIndicator(int preferred_width)
15 : TexturedElement(preferred_width),
16 texture_(base::MakeUnique<SystemIndicatorTexture>(ui::kLocationOnIcon)) {}
17
18 LocationAccessIndicator::~LocationAccessIndicator() = default;
19
20 UiTexture* LocationAccessIndicator::GetTexture() const {
21 return texture_.get();
22 }
23
24 } // namespace vr_shell
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698