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

Unified Diff: chrome/browser/chromeos/status/network_dropdown_button.cc

Issue 7067030: Change network connecting animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/status/network_dropdown_button.cc
diff --git a/chrome/browser/chromeos/status/network_dropdown_button.cc b/chrome/browser/chromeos/status/network_dropdown_button.cc
index adff278e5abcafaf5ff6917c94b4042e592ea35e..90bbe5b8b63590d5c65bc9ee82165b1980ad5f12 100644
--- a/chrome/browser/chromeos/status/network_dropdown_button.cc
+++ b/chrome/browser/chromeos/status/network_dropdown_button.cc
@@ -21,7 +21,7 @@ namespace chromeos {
// NetworkDropdownButton
// static
-const int NetworkDropdownButton::kThrobDuration = 1000;
+const int NetworkDropdownButton::kThrobDuration = 750;
NetworkDropdownButton::NetworkDropdownButton(bool browser_mode,
gfx::NativeWindow parent_window)
@@ -34,7 +34,7 @@ NetworkDropdownButton::NetworkDropdownButton(bool browser_mode,
ALLOW_THIS_IN_INITIALIZER_LIST(animation_connecting_(this)),
parent_window_(parent_window) {
animation_connecting_.SetThrobDuration(kThrobDuration);
- animation_connecting_.SetTweenType(ui::Tween::EASE_IN_OUT);
+ animation_connecting_.SetTweenType(ui::Tween::LINEAR);
CrosLibrary::Get()->GetNetworkLibrary()->AddNetworkManagerObserver(this);
// The initial state will be updated on Refresh.
// See network_selection_view.cc.
« no previous file with comments | « no previous file | chrome/browser/chromeos/status/network_menu.h » ('j') | chrome/browser/chromeos/status/network_menu_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698