Chromium Code Reviews| Index: chrome/browser/chromeos/login/screens/base_screen.h |
| diff --git a/chrome/browser/chromeos/login/screens/base_screen.h b/chrome/browser/chromeos/login/screens/base_screen.h |
| index 2cbde5956edd99ef67f578aa3b7dfb7dd9154084..cc3c197b32295aef7eaa8d6bc2cbbb934faf770a 100644 |
| --- a/chrome/browser/chromeos/login/screens/base_screen.h |
| +++ b/chrome/browser/chromeos/login/screens/base_screen.h |
| @@ -73,6 +73,11 @@ class BaseScreen { |
| // Returns the identifier of the screen. |
| virtual std::string GetID() const; |
| + // Called when context for the currenct screen was |
| + // changed. Notification about this event comes from the JS |
| + // counterpart. |
|
Denis Kuznetsov (DE-MUC)
2014/11/25 17:31:16
Please keep it protected, use friend classes inste
ygorshenin1
2014/11/26 11:45:40
Done.
ygorshenin1
2014/11/26 11:45:40
Done.
|
| + virtual void OnContextChanged(const base::DictionaryValue& diff); |
| + |
| protected: |
| // Screen can call this method to notify framework that it have finished |
| // it's work with |outcome|. |
| @@ -82,11 +87,6 @@ class BaseScreen { |
| // about this event comes from the JS counterpart. |
| virtual void OnButtonPressed(const std::string& button_id); |
| - // Called when context for the currenct screen was |
| - // changed. Notification about this event comes from the JS |
| - // counterpart. |
| - virtual void OnContextChanged(const base::DictionaryValue* diff); |
| - |
| BaseScreenDelegate* get_base_screen_delegate() const { |
| return base_screen_delegate_; |
| } |