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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java

Issue 2798123002: Remove crushed sprite resource and layer (Closed)
Patch Set: Rebase and fix my nits Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java
index 8626450a8c07a3477c96f795eddc036695c8f204..d17d21e6f9264ae2de3aa9f7299a0aee5b0e23d3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java
@@ -485,12 +485,6 @@ public class ContextualSearchManager implements ContextualSearchManagementDelega
}
}
- // Note: whether the sprite should be animated or not needs to be set before the call to
- // peekPanel(). If the sprite should be animated, the animation will begin after the panel
- // finishes peeking. If it should not be animated, the icon will be drawn right away.
- mSearchPanel.getImageControl().setShouldAnimateIconSprite(
- mPolicy.shouldAnimateSearchProviderIcon());
-
// Note: now that the contextual search has properly started, set the promo involvement.
if (mPolicy.isPromoAvailable()) {
mIsShowingPromo = true;

Powered by Google App Engine
This is Rietveld 408576698