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

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

Issue 2929483003: VR: Further split common code from Android-specific code. (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
(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_BROWSER_INTERFACE_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_BROWSER_INTERFACE_H_
7
8 #include "chrome/browser/android/vr_shell/ui_unsupported_mode.h"
9
10 namespace vr_shell {
11
12 // An interface for the UI to communicate with VrShell. Many of the functions
13 // in this interface are proxies to methods on VrShell.
14 class UiBrowserInterface {
15 public:
16 virtual ~UiBrowserInterface() = default;
17
18 virtual void ExitPresent() = 0;
19 virtual void ExitFullscreen() = 0;
20 virtual void NavigateBack() = 0;
21 virtual void ExitCct() = 0;
22 virtual void OnUnsupportedMode(UiUnsupportedMode mode) = 0;
23 };
24
25 } // namespace vr_shell
26
27 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_BROWSER_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698