| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_REGISTRATION_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 private: | 81 private: |
| 82 // ViewScreen implementation: | 82 // ViewScreen implementation: |
| 83 virtual void CreateView(); | 83 virtual void CreateView(); |
| 84 virtual void Refresh(); | 84 virtual void Refresh(); |
| 85 virtual RegistrationView* AllocateView(); | 85 virtual RegistrationView* AllocateView(); |
| 86 | 86 |
| 87 // TabContentsDelegate implementation: | 87 // TabContentsDelegate implementation: |
| 88 // Deprecated. Please use two-argument variant. | 88 // Deprecated. Please use two-argument variant. |
| 89 // TODO(adriansc): Remove this method once refactoring changed all call sites. | 89 // TODO(adriansc): Remove this method once refactoring changed all call sites. |
| 90 virtual TabContents* OpenURLFromTab(TabContents* source, | 90 virtual TabContents* OpenURLFromTab( |
| 91 const GURL& url, | 91 TabContents* source, |
| 92 const GURL& referrer, | 92 const GURL& url, |
| 93 WindowOpenDisposition disposition, | 93 const GURL& referrer, |
| 94 PageTransition::Type transition) OVERRIDE; | 94 WindowOpenDisposition disposition, |
| 95 content::PageTransition transition) OVERRIDE; |
| 95 virtual TabContents* OpenURLFromTab(TabContents* source, | 96 virtual TabContents* OpenURLFromTab(TabContents* source, |
| 96 const OpenURLParams& params) OVERRIDE; | 97 const OpenURLParams& params) OVERRIDE; |
| 97 | 98 |
| 98 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 99 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 99 | 100 |
| 100 // WebPageScreen implementation: | 101 // WebPageScreen implementation: |
| 101 virtual void CloseScreen(ScreenObserver::ExitCodes code); | 102 virtual void CloseScreen(ScreenObserver::ExitCodes code); |
| 102 | 103 |
| 103 // Url of account creation page. Overriden by tests. | 104 // Url of account creation page. Overriden by tests. |
| 104 static scoped_ptr<GURL> host_page_url_; | 105 static scoped_ptr<GURL> host_page_url_; |
| 105 | 106 |
| 106 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); | 107 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 } // namespace chromeos | 110 } // namespace chromeos |
| 110 | 111 |
| 111 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ | 112 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ |
| OLD | NEW |