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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkSearchView.java

Issue 2394273002: [Android] Permanently disable "All bookmarks" and remove its experiment (Closed)
Patch Set: Created 4 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.bookmarks; 5 package org.chromium.chrome.browser.bookmarks;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.os.Parcelable; 8 import android.os.Parcelable;
9 import android.support.v7.widget.Toolbar; 9 import android.support.v7.widget.Toolbar;
10 import android.text.Editable; 10 import android.text.Editable;
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 mBookmarkModel = mDelegate.getModel(); 352 mBookmarkModel = mDelegate.getModel();
353 } 353 }
354 354
355 @Override 355 @Override
356 public void onDestroy() { 356 public void onDestroy() {
357 mBookmarkModel.removeObserver(mModelObserver); 357 mBookmarkModel.removeObserver(mModelObserver);
358 mDelegate.removeUIObserver(this); 358 mDelegate.removeUIObserver(this);
359 } 359 }
360 360
361 @Override 361 @Override
362 public void onAllBookmarksStateSet() {
363 }
364
365 @Override
366 public void onFolderStateSet(BookmarkId folder) { 362 public void onFolderStateSet(BookmarkId folder) {
367 } 363 }
368 364
369 @Override 365 @Override
370 public void onSelectionStateChange(List<BookmarkId> selectedBookmarks) { 366 public void onSelectionStateChange(List<BookmarkId> selectedBookmarks) {
371 } 367 }
372 368
373 private class ResultListAdapter extends BaseAdapter { 369 private class ResultListAdapter extends BaseAdapter {
374 private BookmarkDelegate mDelegate; 370 private BookmarkDelegate mDelegate;
375 private List<BookmarkMatch> mBookmarktList; 371 private List<BookmarkMatch> mBookmarktList;
(...skipping 27 matching lines...) Expand all
403 R.layout.bookmark_search_row, parent, false); 399 R.layout.bookmark_search_row, parent, false);
404 } 400 }
405 final BookmarkSearchRow row = (BookmarkSearchRow) convertView; 401 final BookmarkSearchRow row = (BookmarkSearchRow) convertView;
406 row.onBookmarkDelegateInitialized(mDelegate); 402 row.onBookmarkDelegateInitialized(mDelegate);
407 row.setBookmarkId(bookmarkMatch.getBookmarkId()); 403 row.setBookmarkId(bookmarkMatch.getBookmarkId());
408 row.setSearchHistoryDelegate(BookmarkSearchView.this); 404 row.setSearchHistoryDelegate(BookmarkSearchView.this);
409 return convertView; 405 return convertView;
410 } 406 }
411 } 407 }
412 } 408 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698