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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java

Issue 2624633002: Remove Sync GetPose VRService call, implement VRVSyncProvider (Closed)
Patch Set: oops Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 package org.chromium.chrome.browser.vr_shell; 5 package org.chromium.chrome.browser.vr_shell;
6 6
7 /** 7 /**
8 * Abstracts away the NonPresentingGvrContext class, which may or may not be pre sent at runtime 8 * Abstracts away the NonPresentingGvrContext class, which may or may not be pre sent at runtime
9 * depending on compile flags. 9 * depending on compile flags.
10 */ 10 */
11 public interface NonPresentingGvrContext { 11 public interface NonPresentingGvrContext {
12 /** 12 /**
13 * Returns the native gvr context. 13 * Returns the native gvr context.
14 */ 14 */
15 long getNativeGvrContext(); 15 long getNativeGvrContext();
16 16
17 /** 17 /**
18 * Must be called when activity resumes.
19 */
20 void resume();
21
22 /**
23 * Must be called when activity pauses.
24 */
25 void pause();
26
27 /**
28 * Shutdown the native gvr context. 18 * Shutdown the native gvr context.
29 */ 19 */
30 void shutdown(); 20 void shutdown();
31 } 21 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698