| OLD | NEW | 
|---|
| 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.toolbar; | 5 package org.chromium.chrome.browser.toolbar; | 
| 6 | 6 | 
| 7 import android.animation.Animator; | 7 import android.animation.Animator; | 
| 8 import android.animation.AnimatorListenerAdapter; | 8 import android.animation.AnimatorListenerAdapter; | 
| 9 import android.animation.AnimatorSet; | 9 import android.animation.AnimatorSet; | 
| 10 import android.annotation.SuppressLint; | 10 import android.annotation.SuppressLint; | 
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 777      */ | 777      */ | 
| 778     protected void setMenuButtonContentDescription(boolean isUpdateBadgeVisible)
      { | 778     protected void setMenuButtonContentDescription(boolean isUpdateBadgeVisible)
      { | 
| 779         if (isUpdateBadgeVisible) { | 779         if (isUpdateBadgeVisible) { | 
| 780             mMenuButton.setContentDescription(getResources().getString( | 780             mMenuButton.setContentDescription(getResources().getString( | 
| 781                     R.string.accessibility_toolbar_btn_menu_update)); | 781                     R.string.accessibility_toolbar_btn_menu_update)); | 
| 782         } else { | 782         } else { | 
| 783             mMenuButton.setContentDescription(getResources().getString( | 783             mMenuButton.setContentDescription(getResources().getString( | 
| 784                     R.string.accessibility_toolbar_btn_menu)); | 784                     R.string.accessibility_toolbar_btn_menu)); | 
| 785         } | 785         } | 
| 786     } | 786     } | 
| 787 |  | 
| 788     @Override |  | 
| 789     public void setReturnButtonListener(View.OnClickListener listener) { |  | 
| 790     } |  | 
| 791 } | 787 } | 
| OLD | NEW | 
|---|