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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 144 |
145 @Override | 145 @Override |
146 public void onClick(View view) { | 146 public void onClick(View view) { |
147 for (FadingViewObserver o : mObservers) o.onFadingViewClick(); | 147 for (FadingViewObserver o : mObservers) o.onFadingViewClick(); |
148 } | 148 } |
149 | 149 |
150 @Override | 150 @Override |
151 public void onTransitionPeekToHalf(float transitionFraction) { | 151 public void onTransitionPeekToHalf(float transitionFraction) { |
152 setViewAlpha(transitionFraction); | 152 setViewAlpha(transitionFraction); |
153 } | 153 } |
| 154 |
| 155 @Override |
| 156 public void onSheetOpened() {} |
| 157 |
| 158 @Override |
| 159 public void onSheetClosed() {} |
| 160 |
| 161 @Override |
| 162 public void onLoadUrl(String url) {} |
154 } | 163 } |
OLD | NEW |