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

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

Issue 2957173002: Update toast behavior and apperance according to UX requirement (Closed)
Patch Set: review Created 3 years, 5 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_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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698