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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagementDelegate.java

Issue 1146453003: Remove unused Contextual Search methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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 | « chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.contextualsearch; 5 package org.chromium.chrome.browser.contextualsearch;
6 6
7 import org.chromium.chrome.browser.Tab; 7 import org.chromium.chrome.browser.Tab;
8 import org.chromium.chrome.browser.compositor.bottombar.contextualsearch.Context ualSearchPanelDelegate; 8 import org.chromium.chrome.browser.compositor.bottombar.contextualsearch.Context ualSearchPanelDelegate;
9 import org.chromium.content.browser.ContentViewCore; 9 import org.chromium.content.browser.ContentViewCore;
10 import org.chromium.content_public.common.TopControlsState; 10 import org.chromium.content_public.common.TopControlsState;
(...skipping 13 matching lines...) Expand all
24 * @return Whether the Opt-out promo is available to be be shown in the pane l. 24 * @return Whether the Opt-out promo is available to be be shown in the pane l.
25 */ 25 */
26 boolean isOptOutPromoAvailable(); 26 boolean isOptOutPromoAvailable();
27 27
28 /** 28 /**
29 * Called when the promo Panel gets closed, to log the outcome. 29 * Called when the promo Panel gets closed, to log the outcome.
30 */ 30 */
31 void logPromoOutcome(); 31 void logPromoOutcome();
32 32
33 /** 33 /**
34 * @return Whether or not the Contextual Search Bar is peeking.
35 */
36 boolean isSearchBarPeeking();
37
38 /**
39 * Updates the top controls state for the base tab. As these values are set at the renderer 34 * Updates the top controls state for the base tab. As these values are set at the renderer
40 * level, there is potential for this impacting other tabs that might share the same 35 * level, there is potential for this impacting other tabs that might share the same
41 * process. See {@link Tab#updateTopControlsState(int current, boolean anima te)} 36 * process. See {@link Tab#updateTopControlsState(int current, boolean anima te)}
42 * @param current The desired current state for the controls. Pass 37 * @param current The desired current state for the controls. Pass
43 * {@link TopControlsState#BOTH} to preserve the current posi tion. 38 * {@link TopControlsState#BOTH} to preserve the current posi tion.
44 * @param animate Whether the controls should animate to the specified endin g condition or 39 * @param animate Whether the controls should animate to the specified endin g condition or
45 * should jump immediately. 40 * should jump immediately.
46 */ 41 */
47 void updateTopControlsState(int current, boolean animate); 42 void updateTopControlsState(int current, boolean animate);
48 43
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 * Notifies that the Contextual Search Panel did get closed. 100 * Notifies that the Contextual Search Panel did get closed.
106 */ 101 */
107 void onCloseContextualSearch(); 102 void onCloseContextualSearch();
108 103
109 /** 104 /**
110 * Gets the {@code ContentViewCore} associated with Contextual Search Panel. 105 * Gets the {@code ContentViewCore} associated with Contextual Search Panel.
111 * @return Contextual Search Panel's {@code ContentViewCore}. 106 * @return Contextual Search Panel's {@code ContentViewCore}.
112 */ 107 */
113 ContentViewCore getSearchContentViewCore(); 108 ContentViewCore getSearchContentViewCore();
114 } 109 }
OLDNEW
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698