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

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

Issue 2902393002: [vr] Bail on unhandled code points. (Closed)
Patch Set: . Created 3 years, 7 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_UNSUPPORTED_MODE_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_UNSUPPORTED_MODE_H_
7
8 namespace vr_shell {
9
10 // Ensure that this stays in sync with VRUnsupportedMode in enums.xml
Ilya Sherman 2017/05/26 22:19:51 Please document that this enum is used to back an
Mark P 2017/05/26 22:29:18 Here's a good comment fragment: // These values ar
Ian Vollick 2017/05/27 00:02:43 Done.
Ian Vollick 2017/05/27 00:02:43 Sounds great - I've used it directly. Thanks.
11 enum UiUnsupportedMode : int {
Ilya Sherman 2017/05/26 22:19:51 nit: Mebbe enum class?
Ian Vollick 2017/05/27 00:02:43 Done.
12 kUnhandledCodePoint = 0,
13
14 // This must be last.
15 kMax,
Ilya Sherman 2017/05/26 22:19:51 Optional nit: Usually, "max" is used as an alias f
Ian Vollick 2017/05/27 00:02:43 Done.
16 };
17
18 } // namespace vr_shell
19
20 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_UNSUPPORTED_MODE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698