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

Side by Side Diff: chrome/browser/android/vr_shell/ui_unsupported_mode.h

Issue 2899393003: [vr] Exit VR mode when we encounter unsupported URLs (Closed)
Patch Set: . 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_UNSUPPORTED_MODE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_UNSUPPORTED_MODE_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_UNSUPPORTED_MODE_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_UNSUPPORTED_MODE_H_
7 7
8 namespace vr_shell { 8 namespace vr_shell {
9 9
10 // Ensure that this stays in sync with VRUnsupportedMode in enums.xml 10 // Ensure that this stays in sync with VRUnsupportedMode in enums.xml
11 // These values are written to logs. New enum values can be added, but existing 11 // These values are written to logs. New enum values can be added, but existing
12 // enums must never be renumbered or deleted and reused. 12 // enums must never be renumbered or deleted and reused.
13 enum class UiUnsupportedMode : int { 13 enum class UiUnsupportedMode : int {
14 kUnhandledCodePoint = 0, 14 kUnhandledCodePoint = 0,
15 kCouldNotElideURL,
15 16
16 // This must be last. 17 // This must be last.
17 kCount, 18 kCount,
18 }; 19 };
19 20
20 } // namespace vr_shell 21 } // namespace vr_shell
21 22
22 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_UNSUPPORTED_MODE_H_ 23 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_UNSUPPORTED_MODE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698