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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java

Issue 2683653007: Show a Google "G" in the omnibox on the New Tab Page. (Closed)
Patch Set: comment Created 3 years, 10 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/omnibox/LocationBarLayout.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
index 97cc3b3bcff1c88b293a630569df35ca3dc1b4b6..f109997ce7cf53a9ac55031e8751d9aff22d58bd 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
@@ -407,15 +407,6 @@ public class LocationBarLayout extends FrameLayout
public static final int BUTTON_TYPE_NAVIGATION_ICON = 2;
/**
- * @param outRect Populated with a {@link Rect} that represents the {@link Tab} specific content
- * of this {@link LocationBar}.
- */
- public void getContentRect(Rect outRect) {
- outRect.set(getPaddingLeft(), getPaddingTop(), getWidth() - getPaddingRight(),
- getHeight() - getPaddingBottom());
- }
-
- /**
* A widget for showing a list of omnibox suggestions.
*/
@VisibleForTesting
@@ -2314,7 +2305,7 @@ public class LocationBarLayout extends FrameLayout
* Updates the display of the mic button.
* @param urlFocusChangePercent The completeion percentage of the URL focus change animation.
*/
- protected void updateMicButtonVisiblity(float urlFocusChangePercent) {
+ protected void updateMicButtonVisibility(float urlFocusChangePercent) {
boolean visible = !shouldShowDeleteButton();
boolean showMicButton = mVoiceSearchEnabled && visible
&& (mUrlBar.hasFocus() || mUrlFocusChangeInProgress

Powered by Google App Engine
This is Rietveld 408576698