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.omnibox; | 5 package org.chromium.chrome.browser.omnibox; |
6 | 6 |
7 import android.app.Activity; | 7 import android.app.Activity; |
8 import android.view.View; | 8 import android.view.View; |
9 import android.view.ViewGroup; | 9 import android.view.ViewGroup; |
10 import android.view.Window; | 10 import android.view.Window; |
11 | 11 |
12 import org.chromium.chrome.browser.WindowDelegate; | 12 import org.chromium.chrome.browser.WindowDelegate; |
13 import org.chromium.chrome.browser.appmenu.AppMenuButtonHelper; | 13 import org.chromium.chrome.browser.appmenu.AppMenuButtonHelper; |
14 import org.chromium.chrome.browser.ntp.NewTabPage; | 14 import org.chromium.chrome.browser.ntp.NewTabPage; |
15 import org.chromium.chrome.browser.omnibox.UrlBar.UrlBarDelegate; | 15 import org.chromium.chrome.browser.omnibox.UrlBar.UrlBarDelegate; |
16 import org.chromium.chrome.browser.profiles.Profile; | 16 import org.chromium.chrome.browser.profiles.Profile; |
17 import org.chromium.chrome.browser.tab.Tab; | 17 import org.chromium.chrome.browser.tab.Tab; |
18 import org.chromium.chrome.browser.toolbar.Toolbar; | 18 import org.chromium.chrome.browser.toolbar.Toolbar; |
19 import org.chromium.chrome.browser.toolbar.ToolbarActionModeCallback; | 19 import org.chromium.chrome.browser.toolbar.ToolbarActionModeCallback; |
20 import org.chromium.chrome.browser.toolbar.ToolbarDataProvider; | 20 import org.chromium.chrome.browser.toolbar.ToolbarDataProvider; |
21 import org.chromium.chrome.browser.widget.BottomSheet; | 21 import org.chromium.chrome.browser.widget.bottomsheet.BottomSheet; |
22 import org.chromium.ui.base.WindowAndroid; | 22 import org.chromium.ui.base.WindowAndroid; |
23 | 23 |
24 /** | 24 /** |
25 * Container that holds the {@link UrlBar} and SSL state related with the curren
t {@link Tab}. | 25 * Container that holds the {@link UrlBar} and SSL state related with the curren
t {@link Tab}. |
26 */ | 26 */ |
27 public interface LocationBar extends UrlBarDelegate { | 27 public interface LocationBar extends UrlBarDelegate { |
28 | 28 |
29 /** | 29 /** |
30 * Handles native dependent initialization for this class. | 30 * Handles native dependent initialization for this class. |
31 */ | 31 */ |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 /** | 174 /** |
175 * Returns whether the {@link UrlBar} must be queried for its location on sc
reen when | 175 * Returns whether the {@link UrlBar} must be queried for its location on sc
reen when |
176 * suggestions are being laid out by {@link SuggestionView}. | 176 * suggestions are being laid out by {@link SuggestionView}. |
177 * TODO(dfalcantara): Revisit this after M58. | 177 * TODO(dfalcantara): Revisit this after M58. |
178 * | 178 * |
179 * @return Whether or not the {@link UrlBar} has to be explicitly checked fo
r its location. | 179 * @return Whether or not the {@link UrlBar} has to be explicitly checked fo
r its location. |
180 */ | 180 */ |
181 boolean mustQueryUrlBarLocationForSuggestions(); | 181 boolean mustQueryUrlBarLocationForSuggestions(); |
182 } | 182 } |
OLD | NEW |