| 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 18 matching lines...) Expand all Loading... |
| 29 import org.chromium.chrome.R; | 29 import org.chromium.chrome.R; |
| 30 import org.chromium.chrome.browser.appmenu.AppMenuButtonHelper; | 30 import org.chromium.chrome.browser.appmenu.AppMenuButtonHelper; |
| 31 import org.chromium.chrome.browser.compositor.Invalidator; | 31 import org.chromium.chrome.browser.compositor.Invalidator; |
| 32 import org.chromium.chrome.browser.compositor.layouts.LayoutUpdateHost; | 32 import org.chromium.chrome.browser.compositor.layouts.LayoutUpdateHost; |
| 33 import org.chromium.chrome.browser.fullscreen.BrowserStateBrowserControlsVisibil
ityDelegate; | 33 import org.chromium.chrome.browser.fullscreen.BrowserStateBrowserControlsVisibil
ityDelegate; |
| 34 import org.chromium.chrome.browser.ntp.NewTabPage; | 34 import org.chromium.chrome.browser.ntp.NewTabPage; |
| 35 import org.chromium.chrome.browser.omaha.UpdateMenuItemHelper; | 35 import org.chromium.chrome.browser.omaha.UpdateMenuItemHelper; |
| 36 import org.chromium.chrome.browser.omnibox.LocationBar; | 36 import org.chromium.chrome.browser.omnibox.LocationBar; |
| 37 import org.chromium.chrome.browser.tab.Tab; | 37 import org.chromium.chrome.browser.tab.Tab; |
| 38 import org.chromium.chrome.browser.util.ViewUtils; | 38 import org.chromium.chrome.browser.util.ViewUtils; |
| 39 import org.chromium.chrome.browser.widget.BottomSheet; | |
| 40 import org.chromium.chrome.browser.widget.TintedImageButton; | 39 import org.chromium.chrome.browser.widget.TintedImageButton; |
| 41 import org.chromium.chrome.browser.widget.ToolbarProgressBar; | 40 import org.chromium.chrome.browser.widget.ToolbarProgressBar; |
| 41 import org.chromium.chrome.browser.widget.bottomsheet.BottomSheet; |
| 42 import org.chromium.ui.UiUtils; | 42 import org.chromium.ui.UiUtils; |
| 43 import org.chromium.ui.widget.Toast; | 43 import org.chromium.ui.widget.Toast; |
| 44 | 44 |
| 45 import javax.annotation.Nullable; | 45 import javax.annotation.Nullable; |
| 46 | 46 |
| 47 /** | 47 /** |
| 48 * Layout class that contains the base shared logic for manipulating the toolbar
component. For | 48 * Layout class that contains the base shared logic for manipulating the toolbar
component. For |
| 49 * interaction that are not from Views inside Toolbar hierarchy all interactions
should be done | 49 * interaction that are not from Views inside Toolbar hierarchy all interactions
should be done |
| 50 * through {@link Toolbar} rather than using this class directly. | 50 * through {@link Toolbar} rather than using this class directly. |
| 51 */ | 51 */ |
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 R.string.accessibility_toolbar_btn_menu_update)); | 796 R.string.accessibility_toolbar_btn_menu_update)); |
| 797 } else { | 797 } else { |
| 798 mMenuButton.setContentDescription(getResources().getString( | 798 mMenuButton.setContentDescription(getResources().getString( |
| 799 R.string.accessibility_toolbar_btn_menu)); | 799 R.string.accessibility_toolbar_btn_menu)); |
| 800 } | 800 } |
| 801 } | 801 } |
| 802 | 802 |
| 803 @Override | 803 @Override |
| 804 public void setBottomSheet(BottomSheet sheet) {} | 804 public void setBottomSheet(BottomSheet sheet) {} |
| 805 } | 805 } |
| OLD | NEW |