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

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

Issue 2539763004: Don't dispatch vrdisplayactivate event if the page that listens for it is invisible (Closed)
Patch Set: nit Created 4 years 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/VrDaydreamApiImpl.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 import android.app.PendingIntent; 7 import android.app.PendingIntent;
8 import android.content.ComponentName; 8 import android.content.ComponentName;
9 import android.content.Intent; 9 import android.content.Intent;
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 /** 51 /**
52 * Sets VR Mode to |enabled|. 52 * Sets VR Mode to |enabled|.
53 */ 53 */
54 void setVrModeEnabled(boolean enabled); 54 void setVrModeEnabled(boolean enabled);
55 55
56 /** 56 /**
57 * @return Whether the current Viewer is a Daydream Viewer. 57 * @return Whether the current Viewer is a Daydream Viewer.
58 */ 58 */
59 Boolean isDaydreamCurrentViewer(); 59 Boolean isDaydreamCurrentViewer();
60
61 /**
62 * Launch the stereoscopic, 3D VR launcher homescreen.
63 */
64 void launchVrHomescreen();
60 } 65 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrDaydreamApiImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698