| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 virtual ~EulaView(); | 73 virtual ~EulaView(); |
| 74 | 74 |
| 75 // Initialize view controls and layout. | 75 // Initialize view controls and layout. |
| 76 void Init(); | 76 void Init(); |
| 77 | 77 |
| 78 // Update strings from the resources. Executed on language change. | 78 // Update strings from the resources. Executed on language change. |
| 79 void UpdateLocalizedStrings(); | 79 void UpdateLocalizedStrings(); |
| 80 | 80 |
| 81 protected: | 81 protected: |
| 82 // views::View implementation. | 82 // views::View implementation. |
| 83 virtual void LocaleChanged(); | 83 virtual void OnLocaleChanged(); |
| 84 | 84 |
| 85 // views::ButtonListener implementation. | 85 // views::ButtonListener implementation. |
| 86 virtual void ButtonPressed(views::Button* sender, const views::Event& event); | 86 virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
| 87 | 87 |
| 88 // views::LinkController implementation. | 88 // views::LinkController implementation. |
| 89 void LinkActivated(views::Link* source, int event_flags); | 89 void LinkActivated(views::Link* source, int event_flags); |
| 90 | 90 |
| 91 private: | 91 private: |
| 92 // Loads specified URL to the specified DOMView and updates specified | 92 // Loads specified URL to the specified DOMView and updates specified |
| 93 // label with its title. | 93 // label with its title. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 116 explicit EulaScreen(WizardScreenDelegate* delegate) | 116 explicit EulaScreen(WizardScreenDelegate* delegate) |
| 117 : DefaultViewScreen<EulaView>(delegate) { | 117 : DefaultViewScreen<EulaView>(delegate) { |
| 118 } | 118 } |
| 119 private: | 119 private: |
| 120 DISALLOW_COPY_AND_ASSIGN(EulaScreen); | 120 DISALLOW_COPY_AND_ASSIGN(EulaScreen); |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace chromeos | 123 } // namespace chromeos |
| 124 | 124 |
| 125 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ | 125 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ |
| OLD | NEW |