| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CHROMEOS_LOGIN_EULA_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/chromeos/login/view_screen.h" | 10 #include "chrome/browser/chromeos/login/view_screen.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 virtual ~EulaView(); | 33 virtual ~EulaView(); |
| 34 | 34 |
| 35 // Initialize view controls and layout. | 35 // Initialize view controls and layout. |
| 36 void Init(); | 36 void Init(); |
| 37 | 37 |
| 38 // Update strings from the resources. Executed on language change. | 38 // Update strings from the resources. Executed on language change. |
| 39 void UpdateLocalizedStrings(); | 39 void UpdateLocalizedStrings(); |
| 40 | 40 |
| 41 protected: | 41 protected: |
| 42 // views::View implementation. | 42 // views::View implementation. |
| 43 virtual void LocaleChanged(); | 43 virtual void OnLocaleChanged(); |
| 44 | 44 |
| 45 // views::ButtonListener implementation. | 45 // views::ButtonListener implementation. |
| 46 virtual void ButtonPressed(views::Button* sender, const views::Event& event); | 46 virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
| 47 | 47 |
| 48 // views::LinkController implementation. | 48 // views::LinkController implementation. |
| 49 void LinkActivated(views::Link* source, int event_flags); | 49 void LinkActivated(views::Link* source, int event_flags); |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 // Dialog controls. | 52 // Dialog controls. |
| 53 views::Textfield* google_eula_text_; | 53 views::Textfield* google_eula_text_; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 68 explicit EulaScreen(WizardScreenDelegate* delegate) | 68 explicit EulaScreen(WizardScreenDelegate* delegate) |
| 69 : DefaultViewScreen<EulaView>(delegate) { | 69 : DefaultViewScreen<EulaView>(delegate) { |
| 70 } | 70 } |
| 71 private: | 71 private: |
| 72 DISALLOW_COPY_AND_ASSIGN(EulaScreen); | 72 DISALLOW_COPY_AND_ASSIGN(EulaScreen); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace chromeos | 75 } // namespace chromeos |
| 76 | 76 |
| 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ | 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ |
| OLD | NEW |