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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java

Issue 1505913003: Add update menu item and app menu icon badge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rearrange field_trial.. again to facilitate command line testing Created 5 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.customtabs; 5 package org.chromium.chrome.browser.customtabs;
6 6
7 import android.content.Intent; 7 import android.content.Intent;
8 import android.graphics.Bitmap; 8 import android.graphics.Bitmap;
9 import android.net.Uri; 9 import android.net.Uri;
10 import android.os.IBinder; 10 import android.os.IBinder;
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 /** 508 /**
509 * @return The {@link AppMenuPropertiesDelegate} associated with this activi ty. For test 509 * @return The {@link AppMenuPropertiesDelegate} associated with this activi ty. For test
510 * purposes only. 510 * purposes only.
511 */ 511 */
512 @VisibleForTesting 512 @VisibleForTesting
513 @Override 513 @Override
514 public CustomTabAppMenuPropertiesDelegate getAppMenuPropertiesDelegate() { 514 public CustomTabAppMenuPropertiesDelegate getAppMenuPropertiesDelegate() {
515 return (CustomTabAppMenuPropertiesDelegate) super.getAppMenuPropertiesDe legate(); 515 return (CustomTabAppMenuPropertiesDelegate) super.getAppMenuPropertiesDe legate();
516 } 516 }
517 517
518 @Override
519 public void onCheckForUpdate(boolean updateAvailable) {
520 }
521
518 /** 522 /**
519 * @return The {@link CustomTabIntentDataProvider} for this {@link CustomTab Activity}. For test 523 * @return The {@link CustomTabIntentDataProvider} for this {@link CustomTab Activity}. For test
520 * purposes only. 524 * purposes only.
521 */ 525 */
522 @VisibleForTesting 526 @VisibleForTesting
523 CustomTabIntentDataProvider getIntentDataProvider() { 527 CustomTabIntentDataProvider getIntentDataProvider() {
524 return mIntentDataProvider; 528 return mIntentDataProvider;
525 } 529 }
526 } 530 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698