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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarLayout.java

Issue 1932623002: [Hera] Be smarter about dismissing the callout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Override show() Created 4 years, 7 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.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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 /** 314 /**
315 * Gives inheriting classes the chance to respond to 315 * Gives inheriting classes the chance to respond to
316 * {@link org.chromium.chrome.browser.widget.findinpage.FindToolbar} state c hanges. 316 * {@link org.chromium.chrome.browser.widget.findinpage.FindToolbar} state c hanges.
317 * @param showing Whether or not the {@code FindToolbar} will be showing. 317 * @param showing Whether or not the {@code FindToolbar} will be showing.
318 */ 318 */
319 protected void handleFindToolbarStateChange(boolean showing) { 319 protected void handleFindToolbarStateChange(boolean showing) {
320 mFindInPageToolbarShowing = showing; 320 mFindInPageToolbarShowing = showing;
321 } 321 }
322 322
323 /** 323 /**
324 * Cleans up any code as necessary.
325 */
326 public void destroy() { }
327
328 /**
324 * Sets the FullscreenManager, which controls when the toolbar is shown. 329 * Sets the FullscreenManager, which controls when the toolbar is shown.
325 */ 330 */
326 public void setFullscreenManager(FullscreenManager manager) { } 331 public void setFullscreenManager(FullscreenManager manager) { }
327 332
328 /** 333 /**
329 * Sets the OnClickListener that will be notified when the TabSwitcher butto n is pressed. 334 * Sets the OnClickListener that will be notified when the TabSwitcher butto n is pressed.
330 * @param listener The callback that will be notified when the TabSwitcher b utton is pressed. 335 * @param listener The callback that will be notified when the TabSwitcher b utton is pressed.
331 */ 336 */
332 public void setOnTabSwitcherClickHandler(OnClickListener listener) { } 337 public void setOnTabSwitcherClickHandler(OnClickListener listener) { }
333 338
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 } else { 789 } else {
785 mMenuButton.setContentDescription(getResources().getString( 790 mMenuButton.setContentDescription(getResources().getString(
786 R.string.accessibility_toolbar_btn_menu)); 791 R.string.accessibility_toolbar_btn_menu));
787 } 792 }
788 } 793 }
789 794
790 @Override 795 @Override
791 public void setReturnButtonListener(View.OnClickListener listener) { 796 public void setReturnButtonListener(View.OnClickListener listener) {
792 } 797 }
793 } 798 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698