| 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 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_EXCLUSIVE_SCREEN_TOAST_H_ |
| 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_EXCLUSIVE_SCREEN_TOAST_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "chrome/browser/android/vr_shell/textures/exclusive_screen_toast_textur
e.h" |
| 10 #include "chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h" |
| 11 |
| 12 namespace vr_shell { |
| 13 |
| 14 class ExclusiveScreenToast |
| 15 : public SimpleTexturedElement<ExclusiveScreenToastTexture> { |
| 16 public: |
| 17 explicit ExclusiveScreenToast(int preferred_width); |
| 18 ~ExclusiveScreenToast() override; |
| 19 |
| 20 private: |
| 21 void UpdateElementSize() override; |
| 22 |
| 23 DISALLOW_COPY_AND_ASSIGN(ExclusiveScreenToast); |
| 24 }; |
| 25 |
| 26 } // namespace vr_shell |
| 27 |
| 28 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_EXCLUSIVE_SCREEN_TOAST_H_ |
| OLD | NEW |