1 // Copyright 2018 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; 6 7 /** 8 * Interface that is needed to manage a VR toast. 9 */ 10 public interface VrToastManager { 11 /** 12 * Show a Toast (contains only text) in VR. 13 */ showToast(CharSequence text)14 void showToast(CharSequence text); 15 16 /** 17 * Cancel a Toast (contains only text) in VR. 18 */ cancelToast()19 void cancelToast(); 20 } 21