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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java

Issue 1337703002: [Contextual Search] Add support for crushed sprites and animate the search provider icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes from newt@ review Created 5 years, 2 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
OLDNEW
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.compositor.bottombar.contextualsearch; 5 package org.chromium.chrome.browser.compositor.bottombar.contextualsearch;
6 6
7 import org.chromium.base.VisibleForTesting; 7 import org.chromium.base.VisibleForTesting;
8 import org.chromium.chrome.browser.ChromeActivity; 8 import org.chromium.chrome.browser.ChromeActivity;
9 import org.chromium.chrome.browser.compositor.bottombar.contextualsearch.Context ualSearchPanel.PanelState; 9 import org.chromium.chrome.browser.compositor.bottombar.contextualsearch.Context ualSearchPanel.PanelState;
10 import org.chromium.chrome.browser.compositor.bottombar.contextualsearch.Context ualSearchPanel.StateChangeReason; 10 import org.chromium.chrome.browser.compositor.bottombar.contextualsearch.Context ualSearchPanel.StateChangeReason;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 /** 186 /**
187 * @return True if the panel loaded a URL. 187 * @return True if the panel loaded a URL.
188 */ 188 */
189 boolean didLoadAnyUrl(); 189 boolean didLoadAnyUrl();
190 190
191 /** 191 /**
192 * Sets the top control state based on the internals of the panel. 192 * Sets the top control state based on the internals of the panel.
193 */ 193 */
194 void updateTopControlState(); 194 void updateTopControlState();
195
196 /**
197 * @param shouldAnimateSearchProviderIconSprite Whether the search provider icon sprite should
198 * be animated.
199 */
200 void setShouldAnimateSearchProviderIconSprite(boolean shouldAnimateSearchPro viderIconSprite);
195 } 201 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698