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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/exclusive_screen_toast.cc

Issue 2955023002: VR: Factor transient timing out of UiSceneManager. (Closed)
Patch Set: Rebase again onto ExclusivePresentationToast class/file rename. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/ui_elements/exclusive_screen_toast.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/exclusive_screen_toast.cc b/chrome/browser/android/vr_shell/ui_elements/exclusive_screen_toast.cc
index e43d3e66c298cf424fb21841aab13e6b4285545d..1cffe56d3806628dcb5abb43b3e1792d4f96aea6 100644
--- a/chrome/browser/android/vr_shell/ui_elements/exclusive_screen_toast.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/exclusive_screen_toast.cc
@@ -9,8 +9,9 @@
namespace vr_shell {
-ExclusiveScreenToast::ExclusiveScreenToast(int preferred_width)
- : SimpleTexturedElement(preferred_width) {}
+ExclusiveScreenToast::ExclusiveScreenToast(int preferred_width,
+ const base::TimeDelta& timeout)
+ : TransientSimpleTexturedElement(preferred_width, timeout) {}
ExclusiveScreenToast::~ExclusiveScreenToast() = default;

Powered by Google App Engine
This is Rietveld 408576698