OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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.widget; | 5 package org.chromium.chrome.browser.widget; |
6 | 6 |
7 import android.animation.Animator; | 7 import android.animation.Animator; |
8 import android.animation.ObjectAnimator; | 8 import android.animation.ObjectAnimator; |
9 import android.content.Context; | 9 import android.content.Context; |
10 import android.util.AttributeSet; | 10 import android.util.AttributeSet; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 143 |
144 @Override | 144 @Override |
145 public void onClick(View view) { | 145 public void onClick(View view) { |
146 for (FadingViewObserver o : mObservers) o.onFadingViewClick(); | 146 for (FadingViewObserver o : mObservers) o.onFadingViewClick(); |
147 } | 147 } |
148 | 148 |
149 @Override | 149 @Override |
150 public void onTransitionPeekToHalf(float transitionFraction) { | 150 public void onTransitionPeekToHalf(float transitionFraction) { |
151 setViewAlpha(transitionFraction); | 151 setViewAlpha(transitionFraction); |
152 } | 152 } |
| 153 |
| 154 @Override |
| 155 public void onSheetOpened() {} |
| 156 |
| 157 @Override |
| 158 public void onSheetClosed() {} |
| 159 |
| 160 @Override |
| 161 public void onLoadUrl(String url) {} |
153 } | 162 } |
OLD | NEW |