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

Unified Diff: chrome/browser/chromeos/login/screen_lock_view.h

Issue 5709001: Place the spinner in the right corner of the controls window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/chromeos/login
Patch Set: Merged with trunk. Created 10 years 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/login/screen_lock_view.h
diff --git a/chrome/browser/chromeos/login/screen_lock_view.h b/chrome/browser/chromeos/login/screen_lock_view.h
index 9ceefd11f45dff72b764e4aac7bdc480595ef200..f87d673ef2866f0d23a5095b5397d22e2a89b99f 100644
--- a/chrome/browser/chromeos/login/screen_lock_view.h
+++ b/chrome/browser/chromeos/login/screen_lock_view.h
@@ -19,6 +19,7 @@ class ImageView;
namespace chromeos {
class ScreenLocker;
+class ThrobberWidget;
class UserView;
namespace test {
@@ -46,6 +47,10 @@ class ScreenLockView : public views::View,
// Returns the bounds of the password field in ScreenLocker's coordinate.
gfx::Rect GetPasswordBoundsRelativeTo(const views::View* view);
+ // Returns widget under which throbber should be shown. NULL if there is no
whywhat 2010/12/09 16:20:18 "under which ..." should be "which ... under". Als
altimofeev 2010/12/10 16:37:40 Above. Fixed.
+ // such widget yet.
+ views::Widget* GetWidgetForThrobber();
+
// views::View implementation:
virtual void SetEnabled(bool enabled);
virtual void Layout();
@@ -90,6 +95,9 @@ class ScreenLockView : public views::View,
// Username that overlays on top of user's picture.
views::View* username_;
+ // Throbber that is shown when the logging is in progress.
+ ThrobberWidget* throbber_widget_;
+
DISALLOW_COPY_AND_ASSIGN(ScreenLockView);
};

Powered by Google App Engine
This is Rietveld 408576698