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

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

Issue 2548013002: Remove redundant field initialization in Java code. (Closed)
Patch Set: rebase Created 4 years 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.omnibox; 5 package org.chromium.chrome.browser.omnibox;
6 6
7 import static org.chromium.chrome.browser.toolbar.ToolbarPhone.URL_FOCUS_CHANGE_ ANIMATION_DURATION_MS; 7 import static org.chromium.chrome.browser.toolbar.ToolbarPhone.URL_FOCUS_CHANGE_ ANIMATION_DURATION_MS;
8 8
9 import android.Manifest; 9 import android.Manifest;
10 import android.animation.Animator; 10 import android.animation.Animator;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 "about", "data", "file", "ftp", "http", "https", "inline", "javascri pt", "chrome"); 144 "about", "data", "file", "ftp", "http", "https", "inline", "javascri pt", "chrome");
145 private static final HashSet<String> UNSUPPORTED_SCHEMES_TO_SPLIT = 145 private static final HashSet<String> UNSUPPORTED_SCHEMES_TO_SPLIT =
146 CollectionUtil.newHashSet("file", "javascript", "data"); 146 CollectionUtil.newHashSet("file", "javascript", "data");
147 147
148 protected ImageView mNavigationButton; 148 protected ImageView mNavigationButton;
149 protected TintedImageButton mSecurityButton; 149 protected TintedImageButton mSecurityButton;
150 protected TextView mVerboseStatusTextView; 150 protected TextView mVerboseStatusTextView;
151 protected TintedImageButton mDeleteButton; 151 protected TintedImageButton mDeleteButton;
152 protected TintedImageButton mMicButton; 152 protected TintedImageButton mMicButton;
153 protected UrlBar mUrlBar; 153 protected UrlBar mUrlBar;
154 private ActionModeController mActionModeController = null; 154 private ActionModeController mActionModeController;
155 155
156 private AutocompleteController mAutocomplete; 156 private AutocompleteController mAutocomplete;
157 157
158 protected ToolbarDataProvider mToolbarDataProvider; 158 protected ToolbarDataProvider mToolbarDataProvider;
159 private UrlFocusChangeListener mUrlFocusChangeListener; 159 private UrlFocusChangeListener mUrlFocusChangeListener;
160 160
161 protected boolean mNativeInitialized; 161 protected boolean mNativeInitialized;
162 162
163 private final List<Runnable> mDeferredNativeRunnables = new ArrayList<Runnab le>(); 163 private final List<Runnable> mDeferredNativeRunnables = new ArrayList<Runnab le>();
164 164
(...skipping 2341 matching lines...) Expand 10 before | Expand all | Expand 10 after
2506 public View getContainerView() { 2506 public View getContainerView() {
2507 return this; 2507 return this;
2508 } 2508 }
2509 2509
2510 @Override 2510 @Override
2511 public void setTitleToPageTitle() { } 2511 public void setTitleToPageTitle() { }
2512 2512
2513 @Override 2513 @Override
2514 public void setShowTitle(boolean showTitle) { } 2514 public void setShowTitle(boolean showTitle) { }
2515 } 2515 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698