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

Side by Side Diff: chrome/browser/android/vr_shell/ui_elements/audio_capture_indicator.h

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 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_AUDIO_CAPTURE_INDICATOR_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_AUDIO_CAPTURE_INDICATOR_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "chrome/browser/android/vr_shell/ui_elements/textured_element.h"
12
13 namespace vr_shell {
14
15 class UiTexture;
16
17 class AudioCaptureIndicator : public TexturedElement {
18 public:
19 explicit AudioCaptureIndicator(int preferred_width);
20 ~AudioCaptureIndicator() override;
21
22 private:
23 UiTexture* GetTexture() const override;
24 std::unique_ptr<UiTexture> texture_;
25
26 DISALLOW_COPY_AND_ASSIGN(AudioCaptureIndicator);
27 };
28
29 } // namespace vr_shell
30
31 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_AUDIO_CAPTURE_INDICATOR_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698