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

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

Issue 2398103002: Enable magic window mode with new Gvr (Closed)
Patch Set: reviews Created 4 years, 2 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 2016 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 package org.chromium.chrome.browser.vr_shell;
6
7 /**
8 * Abstracts away the NonPresentingGvrContext class, which may or may not be pre sent at runtime
9 * depending on compile flags.
10 */
11 public interface NonPresentingGvrContextInterface {
12 /**
13 * Returns the native gvr context.
14 */
15 long getNativeGvrContext();
16
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.
29 */
30 void shutdown();
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698