OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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.ui.base; | 5 package org.chromium.ui.base; |
6 | 6 |
7 import android.annotation.TargetApi; | 7 import android.annotation.TargetApi; |
8 import android.content.ClipData; | 8 import android.content.ClipData; |
9 import android.graphics.Bitmap; | 9 import android.graphics.Bitmap; |
10 import android.os.Build; | 10 import android.os.Build; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 /** | 120 /** |
121 * Notify the client of the position of the bottom controls. | 121 * Notify the client of the position of the bottom controls. |
122 * @param bottomControlsOffsetY The Y offset of the bottom controls in physi
cal pixels. | 122 * @param bottomControlsOffsetY The Y offset of the bottom controls in physi
cal pixels. |
123 * @param bottomContentOffsetY The Y offset of the content in physical pixel
s. | 123 * @param bottomContentOffsetY The Y offset of the content in physical pixel
s. |
124 */ | 124 */ |
125 @CalledByNative | 125 @CalledByNative |
126 public void onBottomControlsChanged(float bottomControlsOffsetY, float botto
mContentOffsetY) {} | 126 public void onBottomControlsChanged(float bottomControlsOffsetY, float botto
mContentOffsetY) {} |
127 | 127 |
128 /** | 128 /** |
| 129 * Instruct the client to clear the thumbnail cache. |
| 130 */ |
| 131 @CalledByNative |
| 132 public void clearThumbnailPlaceholder() {} |
| 133 |
| 134 /** |
129 * Returns the bottom system window inset in pixels. The system window inset
represents the area | 135 * Returns the bottom system window inset in pixels. The system window inset
represents the area |
130 * of a full-screen window that is partially or fully obscured by the status
bar, navigation | 136 * of a full-screen window that is partially or fully obscured by the status
bar, navigation |
131 * bar, IME or other system windows. | 137 * bar, IME or other system windows. |
132 * @return The bottom system window inset. | 138 * @return The bottom system window inset. |
133 */ | 139 */ |
134 @CalledByNative | 140 @CalledByNative |
135 public int getSystemWindowInsetBottom() { | 141 public int getSystemWindowInsetBottom() { |
136 return 0; | 142 return 0; |
137 } | 143 } |
138 | 144 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 return this; | 187 return this; |
182 } | 188 } |
183 | 189 |
184 @Override | 190 @Override |
185 public ViewGroup getContainerView() { | 191 public ViewGroup getContainerView() { |
186 return mContainerView; | 192 return mContainerView; |
187 } | 193 } |
188 }.init(containerView); | 194 }.init(containerView); |
189 } | 195 } |
190 } | 196 } |
OLD | NEW |