| Index: chrome/browser/chromeos/login/user_view.cc
|
| diff --git a/chrome/browser/chromeos/login/user_view.cc b/chrome/browser/chromeos/login/user_view.cc
|
| index 2a1b0ccd7f812626fdfbd678eb2a9cc5d1357285..7def2179009052a49ffd840a5114c2751bd81de3 100644
|
| --- a/chrome/browser/chromeos/login/user_view.cc
|
| +++ b/chrome/browser/chromeos/login/user_view.cc
|
| @@ -19,7 +19,6 @@
|
| #include "views/controls/image_view.h"
|
| #include "views/controls/label.h"
|
| #include "views/controls/link.h"
|
| -#include "views/controls/throbber.h"
|
| #include "views/painter.h"
|
|
|
| namespace {
|
| @@ -243,7 +242,6 @@ UserView::UserView(Delegate* delegate, bool is_login, bool need_background)
|
| : delegate_(delegate),
|
| signout_view_(NULL),
|
| image_view_(NULL),
|
| - throbber_(CreateDefaultSmoothedThrobber()),
|
| remove_button_(NULL) {
|
| DCHECK(delegate);
|
| if (!is_login)
|
| @@ -262,16 +260,6 @@ void UserView::Init(bool need_background) {
|
| image_view_->set_background(
|
| views::Background::CreateSolidBackground(kBackgroundColor));
|
| }
|
| - if (throbber_) {
|
| - int w = throbber_->GetPreferredSize().width();
|
| - int h = throbber_->GetPreferredSize().height();
|
| - throbber_->SetBounds(kUserImageSize / 2 - w / 2,
|
| - kUserImageSize / 2 - h / 2 , w, h);
|
| - // Throbber should be actually hidden while stopped so tooltip manager
|
| - // doesn't find it.
|
| - throbber_->SetVisible(false);
|
| - image_view_->AddChildView(throbber_);
|
| - }
|
|
|
| // UserView's layout never changes, so let's layout once here.
|
| image_view_->SetBounds(0, 0, kUserImageSize, kUserImageSize);
|
| @@ -307,16 +295,6 @@ void UserView::SetTooltipText(const std::wstring& text) {
|
| image_view_->SetTooltipText(text);
|
| }
|
|
|
| -void UserView::StartThrobber() {
|
| - throbber_->SetVisible(true);
|
| - throbber_->Start();
|
| -}
|
| -
|
| -void UserView::StopThrobber() {
|
| - throbber_->Stop();
|
| - throbber_->SetVisible(false);
|
| -}
|
| -
|
| gfx::Size UserView::GetPreferredSize() {
|
| return gfx::Size(
|
| kUserImageSize,
|
|
|