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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

Issue 2429033003: cros: Cleanup lock screen and OOBE C++ backing code. (Closed)
Patch Set: Address comments Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 bool ShouldLoadGaia() const; 418 bool ShouldLoadGaia() const;
419 419
420 // Shows signin. 420 // Shows signin.
421 void OnShowAddUser(); 421 void OnShowAddUser();
422 422
423 net::Error FrameError() const; 423 net::Error FrameError() const;
424 424
425 // input_method::ImeKeyboard::Observer implementation: 425 // input_method::ImeKeyboard::Observer implementation:
426 void OnCapsLockChanged(bool enabled) override; 426 void OnCapsLockChanged(bool enabled) override;
427 427
428 // Returns OobeUI object of NULL.
429 OobeUI* GetOobeUI() const;
430
431 // Callback invoked after the feedback is finished. 428 // Callback invoked after the feedback is finished.
432 void OnFeedbackFinished(); 429 void OnFeedbackFinished();
433 430
434 // Current UI state of the signin screen. 431 // Current UI state of the signin screen.
435 UIState ui_state_ = UI_STATE_UNKNOWN; 432 UIState ui_state_ = UI_STATE_UNKNOWN;
436 433
437 // A delegate that glues this handler with backend LoginDisplay. 434 // A delegate that glues this handler with backend LoginDisplay.
438 SigninScreenHandlerDelegate* delegate_ = nullptr; 435 SigninScreenHandlerDelegate* delegate_ = nullptr;
439 436
440 // A delegate used to get gfx::NativeWindow. 437 // A delegate used to get gfx::NativeWindow.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 std::unique_ptr<LoginFeedback> login_feedback_; 508 std::unique_ptr<LoginFeedback> login_feedback_;
512 509
513 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 510 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
514 511
515 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 512 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
516 }; 513 };
517 514
518 } // namespace chromeos 515 } // namespace chromeos
519 516
520 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 517 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698