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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkRow.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.bookmarks; 5 package org.chromium.chrome.browser.bookmarks;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.util.AttributeSet; 8 import android.util.AttributeSet;
9 import android.view.View; 9 import android.view.View;
10 import android.view.ViewGroup; 10 import android.view.ViewGroup;
(...skipping 17 matching lines...) Expand all
28 */ 28 */
29 abstract class BookmarkRow extends SelectableItemView<BookmarkId> implements Boo kmarkUIObserver { 29 abstract class BookmarkRow extends SelectableItemView<BookmarkId> implements Boo kmarkUIObserver {
30 30
31 protected ImageView mIconImageView; 31 protected ImageView mIconImageView;
32 protected TextView mTitleView; 32 protected TextView mTitleView;
33 protected TintedImageButton mMoreIcon; 33 protected TintedImageButton mMoreIcon;
34 34
35 protected BookmarkDelegate mDelegate; 35 protected BookmarkDelegate mDelegate;
36 protected BookmarkId mBookmarkId; 36 protected BookmarkId mBookmarkId;
37 private ListPopupWindow mPopupMenu; 37 private ListPopupWindow mPopupMenu;
38 private boolean mIsAttachedToWindow = false; 38 private boolean mIsAttachedToWindow;
39 39
40 /** 40 /**
41 * Constructor for inflating from XML. 41 * Constructor for inflating from XML.
42 */ 42 */
43 public BookmarkRow(Context context, AttributeSet attrs) { 43 public BookmarkRow(Context context, AttributeSet attrs) {
44 super(context, attrs); 44 super(context, attrs);
45 } 45 }
46 46
47 /** 47 /**
48 * Updates this row for the given {@link BookmarkId}. 48 * Updates this row for the given {@link BookmarkId}.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 @Override 246 @Override
247 public void onDestroy() { 247 public void onDestroy() {
248 cleanup(); 248 cleanup();
249 } 249 }
250 250
251 @Override 251 @Override
252 public void onFolderStateSet(BookmarkId folder) { 252 public void onFolderStateSet(BookmarkId folder) {
253 } 253 }
254 254
255 } 255 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698