| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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; | 5 package org.chromium.chrome.browser; |
| 6 | 6 |
| 7 import android.annotation.SuppressLint; | 7 import android.annotation.SuppressLint; |
| 8 import android.annotation.TargetApi; | 8 import android.annotation.TargetApi; |
| 9 import android.app.Activity; | 9 import android.app.Activity; |
| 10 import android.app.SearchManager; | 10 import android.app.SearchManager; |
| (...skipping 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2146 * Called when VR mode is entered using this activity. 2D UI components that
steal focus or | 2146 * Called when VR mode is entered using this activity. 2D UI components that
steal focus or |
| 2147 * draw over VR contents should be hidden in this call. | 2147 * draw over VR contents should be hidden in this call. |
| 2148 */ | 2148 */ |
| 2149 public void onEnterVr() {} | 2149 public void onEnterVr() {} |
| 2150 | 2150 |
| 2151 /** | 2151 /** |
| 2152 * Called when VR mode using this activity is exited. Any state set for VR s
hould be restored | 2152 * Called when VR mode using this activity is exited. Any state set for VR s
hould be restored |
| 2153 * in this call, including showing 2D UI that was hidden. | 2153 * in this call, including showing 2D UI that was hidden. |
| 2154 */ | 2154 */ |
| 2155 public void onExitVr() {} | 2155 public void onExitVr() {} |
| 2156 |
| 2157 /** |
| 2158 * Whether this Activity supports moving a {@link Tab} to the |
| 2159 * {@link FullscreenWebContentsActivity} when it enters fullscreen. |
| 2160 */ |
| 2161 public boolean supportsFullscreenActivity() { |
| 2162 return false; |
| 2163 } |
| 2156 } | 2164 } |
| OLD | NEW |