| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 import org.chromium.chrome.browser.tabmodel.TabModelUtils; | 128 import org.chromium.chrome.browser.tabmodel.TabModelUtils; |
| 129 import org.chromium.chrome.browser.tabmodel.TabWindowManager; | 129 import org.chromium.chrome.browser.tabmodel.TabWindowManager; |
| 130 import org.chromium.chrome.browser.toolbar.Toolbar; | 130 import org.chromium.chrome.browser.toolbar.Toolbar; |
| 131 import org.chromium.chrome.browser.toolbar.ToolbarControlContainer; | 131 import org.chromium.chrome.browser.toolbar.ToolbarControlContainer; |
| 132 import org.chromium.chrome.browser.toolbar.ToolbarManager; | 132 import org.chromium.chrome.browser.toolbar.ToolbarManager; |
| 133 import org.chromium.chrome.browser.util.ChromeFileProvider; | 133 import org.chromium.chrome.browser.util.ChromeFileProvider; |
| 134 import org.chromium.chrome.browser.util.ColorUtils; | 134 import org.chromium.chrome.browser.util.ColorUtils; |
| 135 import org.chromium.chrome.browser.util.FeatureUtilities; | 135 import org.chromium.chrome.browser.util.FeatureUtilities; |
| 136 import org.chromium.chrome.browser.vr_shell.VrShellDelegate; | 136 import org.chromium.chrome.browser.vr_shell.VrShellDelegate; |
| 137 import org.chromium.chrome.browser.webapps.AddToHomescreenManager; | 137 import org.chromium.chrome.browser.webapps.AddToHomescreenManager; |
| 138 import org.chromium.chrome.browser.widget.BottomSheet; | |
| 139 import org.chromium.chrome.browser.widget.BottomSheetContentController; | |
| 140 import org.chromium.chrome.browser.widget.ControlContainer; | 138 import org.chromium.chrome.browser.widget.ControlContainer; |
| 141 import org.chromium.chrome.browser.widget.EmptyBottomSheetObserver; | |
| 142 import org.chromium.chrome.browser.widget.FadingBackgroundView; | 139 import org.chromium.chrome.browser.widget.FadingBackgroundView; |
| 140 import org.chromium.chrome.browser.widget.bottomsheet.BottomSheet; |
| 141 import org.chromium.chrome.browser.widget.bottomsheet.BottomSheetContentControll
er; |
| 142 import org.chromium.chrome.browser.widget.bottomsheet.EmptyBottomSheetObserver; |
| 143 import org.chromium.components.bookmarks.BookmarkId; | 143 import org.chromium.components.bookmarks.BookmarkId; |
| 144 import org.chromium.content.browser.ContentVideoView; | 144 import org.chromium.content.browser.ContentVideoView; |
| 145 import org.chromium.content.browser.ContentViewCore; | 145 import org.chromium.content.browser.ContentViewCore; |
| 146 import org.chromium.content.common.ContentSwitches; | 146 import org.chromium.content.common.ContentSwitches; |
| 147 import org.chromium.content_public.browser.ContentBitmapCallback; | 147 import org.chromium.content_public.browser.ContentBitmapCallback; |
| 148 import org.chromium.content_public.browser.LoadUrlParams; | 148 import org.chromium.content_public.browser.LoadUrlParams; |
| 149 import org.chromium.content_public.browser.WebContents; | 149 import org.chromium.content_public.browser.WebContents; |
| 150 import org.chromium.content_public.browser.readback_types.ReadbackResponse; | 150 import org.chromium.content_public.browser.readback_types.ReadbackResponse; |
| 151 import org.chromium.policy.CombinedPolicyProvider; | 151 import org.chromium.policy.CombinedPolicyProvider; |
| 152 import org.chromium.policy.CombinedPolicyProvider.PolicyChangeListener; | 152 import org.chromium.policy.CombinedPolicyProvider.PolicyChangeListener; |
| (...skipping 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2117 * draw over VR contents should be hidden in this call. | 2117 * draw over VR contents should be hidden in this call. |
| 2118 */ | 2118 */ |
| 2119 public void onEnterVR() {} | 2119 public void onEnterVR() {} |
| 2120 | 2120 |
| 2121 /** | 2121 /** |
| 2122 * Called when VR mode using this activity is exited. Any state set for VR s
hould be restored | 2122 * Called when VR mode using this activity is exited. Any state set for VR s
hould be restored |
| 2123 * in this call, including showing 2D UI that was hidden. | 2123 * in this call, including showing 2D UI that was hidden. |
| 2124 */ | 2124 */ |
| 2125 public void onExitVR() {} | 2125 public void onExitVR() {} |
| 2126 } | 2126 } |
| OLD | NEW |