Fix the typo "visibility".
BUG=none TEST=none Review URL: https://codereview.chromium.org/1351363002 Cr-Commit-Position: refs/heads/master@{#349767}
This commit is contained in:
ash/wm
chrome
android
java
src
org
chromium
chrome
browser
widget
findinpage
browser
resources
sessions
ui
test
mandoline/ui/aura
ui
@ -960,7 +960,7 @@ TEST_F(LockStateControllerTest, TestHiddenBackgroundLockCancel) {
|
||||
Advance(SessionStateAnimator::ANIMATION_SPEED_UNDO_MOVE_WINDOWS);
|
||||
|
||||
// When the CancelPrelockAnimation sequence finishes it queues up a
|
||||
// restore background visibilty sequence when the background is hidden.
|
||||
// restore background visibility sequence when the background is hidden.
|
||||
ExpectRestoringBackgroundVisibility();
|
||||
|
||||
Advance(SessionStateAnimator::ANIMATION_SPEED_IMMEDIATE);
|
||||
@ -1010,7 +1010,7 @@ TEST_F(LockStateControllerTest, TestHiddenBackgroundLockUnlock) {
|
||||
Advance(SessionStateAnimator::ANIMATION_SPEED_MOVE_WINDOWS);
|
||||
|
||||
// When the StartUnlockAnimationAfterUIDestroyed sequence finishes it queues
|
||||
// up a restore background visibilty sequence when the background is hidden.
|
||||
// up a restore background visibility sequence when the background is hidden.
|
||||
ExpectRestoringBackgroundVisibility();
|
||||
|
||||
Advance(SessionStateAnimator::ANIMATION_SPEED_IMMEDIATE);
|
||||
|
@ -198,7 +198,7 @@ class ASH_EXPORT WindowState : public aura::WindowObserver {
|
||||
hide_shelf_when_fullscreen_ = value;
|
||||
}
|
||||
|
||||
// If the minimum visibilty is true, ash will try to keep a
|
||||
// If the minimum visibility is true, ash will try to keep a
|
||||
// minimum amount of the window is always visible on the work area
|
||||
// when shown.
|
||||
// TODO(oshima): Consolidate this and window_position_managed
|
||||
|
@ -40,7 +40,7 @@ import java.util.List;
|
||||
* between the entries.
|
||||
*/
|
||||
class FindResultBar extends View {
|
||||
private static final int VISIBILTY_ANIMATION_DURATION_MS = 200;
|
||||
private static final int VISIBILITY_ANIMATION_DURATION_MS = 200;
|
||||
|
||||
private final int mBackgroundColor;
|
||||
private final int mBackgroundBorderColor;
|
||||
@ -136,7 +136,7 @@ class FindResultBar extends View {
|
||||
MathUtils.flipSignIf(mBarTouchWidth, LocalizationUtils.isLayoutRtl()));
|
||||
|
||||
mVisibilityAnimation = ObjectAnimator.ofFloat(this, TRANSLATION_X, 0);
|
||||
mVisibilityAnimation.setDuration(VISIBILTY_ANIMATION_DURATION_MS);
|
||||
mVisibilityAnimation.setDuration(VISIBILITY_ANIMATION_DURATION_MS);
|
||||
mVisibilityAnimation.setInterpolator(BakedBezierInterpolator.FADE_IN_CURVE);
|
||||
mTab.getWindowAndroid().startAnimationOverContent(mVisibilityAnimation);
|
||||
}
|
||||
@ -150,7 +150,7 @@ class FindResultBar extends View {
|
||||
|
||||
mVisibilityAnimation = ObjectAnimator.ofFloat(this, TRANSLATION_X,
|
||||
MathUtils.flipSignIf(mBarTouchWidth, LocalizationUtils.isLayoutRtl()));
|
||||
mVisibilityAnimation.setDuration(VISIBILTY_ANIMATION_DURATION_MS);
|
||||
mVisibilityAnimation.setDuration(VISIBILITY_ANIMATION_DURATION_MS);
|
||||
mVisibilityAnimation.setInterpolator(BakedBezierInterpolator.FADE_OUT_CURVE);
|
||||
mTab.getWindowAndroid().startAnimationOverContent(mVisibilityAnimation);
|
||||
mVisibilityAnimation.addListener(new AnimatorListenerAdapter() {
|
||||
|
@ -79,7 +79,7 @@ cr.define('cr.ui', function() {
|
||||
};
|
||||
|
||||
/**
|
||||
* Updates version label visibilty.
|
||||
* Updates version label visibility.
|
||||
* @param {boolean} show True if version label should be visible.
|
||||
*/
|
||||
Oobe.showVersion = function(show) {
|
||||
|
@ -724,7 +724,7 @@ cr.define('options.internet', function() {
|
||||
* Updates visibility/enabled of the login/disconnect/configure buttons.
|
||||
* @private
|
||||
*/
|
||||
updateConnectionButtonVisibilty_: function() {
|
||||
updateConnectionButtonVisibility_: function() {
|
||||
var onc = this.onc_;
|
||||
if (this.type_ == 'Ethernet') {
|
||||
// Ethernet can never be connected or disconnected and can always be
|
||||
@ -1385,7 +1385,7 @@ cr.define('options.internet', function() {
|
||||
detailsPage.onc_ = new OncData(oncData);
|
||||
|
||||
detailsPage.populateHeader_();
|
||||
detailsPage.updateConnectionButtonVisibilty_();
|
||||
detailsPage.updateConnectionButtonVisibility_();
|
||||
detailsPage.updateDetails_();
|
||||
};
|
||||
|
||||
@ -1404,7 +1404,7 @@ cr.define('options.internet', function() {
|
||||
sendShowDetailsMetrics(type, onc.getActiveValue('ConnectionState'));
|
||||
|
||||
detailsPage.populateHeader_();
|
||||
detailsPage.updateConnectionButtonVisibilty_();
|
||||
detailsPage.updateConnectionButtonVisibility_();
|
||||
detailsPage.updateDetails_();
|
||||
|
||||
// TODO(stevenjb): Some of the setup below should be moved to
|
||||
|
@ -324,7 +324,7 @@ IN_PROC_BROWSER_TEST_F(SessionRestoreTest,
|
||||
RestoredTabsHaveCorrectVisibilityState) {
|
||||
// Create tabs.
|
||||
GURL test_page(ui_test_utils::GetTestUrl(base::FilePath(),
|
||||
base::FilePath(FILE_PATH_LITERAL("tab-restore-visibilty.html"))));
|
||||
base::FilePath(FILE_PATH_LITERAL("tab-restore-visibility.html"))));
|
||||
ui_test_utils::NavigateToURLWithDisposition(
|
||||
browser(), test_page, NEW_FOREGROUND_TAB,
|
||||
ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
||||
|
@ -45,7 +45,7 @@ void CheckVisbility(TabStripModel* tab_strip_model, int visible_index) {
|
||||
|
||||
void CreateTestTabs(Browser* browser) {
|
||||
GURL test_page(ui_test_utils::GetTestUrl(base::FilePath(),
|
||||
base::FilePath(FILE_PATH_LITERAL("tab-restore-visibilty.html"))));
|
||||
base::FilePath(FILE_PATH_LITERAL("tab-restore-visibility.html"))));
|
||||
ui_test_utils::NavigateToURLWithDisposition(
|
||||
browser, test_page, NEW_FOREGROUND_TAB,
|
||||
ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
||||
|
@ -158,7 +158,7 @@ TEST_F(BookmarkBarViewTest, AppsShortcutVisibility) {
|
||||
EXPECT_FALSE(test_helper_->apps_page_shortcut()->visible());
|
||||
}
|
||||
|
||||
// Various assertions around visibilty of the overflow_button.
|
||||
// Various assertions around visibility of the overflow_button.
|
||||
TEST_F(BookmarkBarViewTest, OverflowVisibility) {
|
||||
profile()->CreateBookmarkModel(true);
|
||||
CreateBookmarkBarView();
|
||||
|
@ -72,7 +72,7 @@ void NativeWidgetViewManager::OnWindowVisibilityChanged(aura::Window* window,
|
||||
bool visible) {
|
||||
view_->SetVisible(visible);
|
||||
// NOTE: We could also update aura::Window's visibility when the View's
|
||||
// visibilty changes, but this code isn't going to be around for very long so
|
||||
// visibility changes, but this code isn't going to be around for very long so
|
||||
// I'm not bothering.
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ class MessageCenterButtonBar : public views::View,
|
||||
|
||||
private:
|
||||
// Updates the layout manager which can have differing configuration
|
||||
// depending on the visibilty of different parts of the button bar.
|
||||
// depending on the visibility of different parts of the button bar.
|
||||
void ViewVisibilityChanged();
|
||||
|
||||
// Overridden from views::View:
|
||||
|
@ -109,7 +109,7 @@ class UI_TOUCH_SELECTION_EXPORT TouchHandle : public TouchSelectionDraggable {
|
||||
base::TimeTicks touch_down_time_;
|
||||
|
||||
// Note that when a fade animation is active, |is_visible_| and |position_|
|
||||
// may not reflect the actual visibilty and position of the drawable. This
|
||||
// may not reflect the actual visibility and position of the drawable. This
|
||||
// discrepancy is resolved either upon fade completion or cancellation.
|
||||
base::TimeTicks fade_end_time_;
|
||||
gfx::PointF fade_start_position_;
|
||||
|
Reference in New Issue
Block a user