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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 static net::URLRequestJob* Factory(net::URLRequest* request, | 74 static net::URLRequestJob* Factory(net::URLRequest* request, |
75 const std::string& scheme); | 75 const std::string& scheme); |
76 | 76 |
77 private: | 77 private: |
78 // ViewScreen implementation: | 78 // ViewScreen implementation: |
79 virtual void CreateView() OVERRIDE; | 79 virtual void CreateView() OVERRIDE; |
80 virtual void Refresh() OVERRIDE; | 80 virtual void Refresh() OVERRIDE; |
81 virtual RegistrationView* AllocateView() OVERRIDE; | 81 virtual RegistrationView* AllocateView() OVERRIDE; |
82 | 82 |
83 // TabContentsDelegate implementation: | 83 // TabContentsDelegate implementation: |
84 // Deprecated. Please use two-argument variant. | |
85 // TODO(adriansc): Remove this method once refactoring changed all call sites. | |
86 virtual TabContents* OpenURLFromTab( | |
87 TabContents* source, | |
88 const GURL& url, | |
89 const GURL& referrer, | |
90 WindowOpenDisposition disposition, | |
91 content::PageTransition transition) OVERRIDE; | |
92 virtual TabContents* OpenURLFromTab(TabContents* source, | 84 virtual TabContents* OpenURLFromTab(TabContents* source, |
93 const OpenURLParams& params) OVERRIDE; | 85 const OpenURLParams& params) OVERRIDE; |
94 | 86 |
95 virtual void HandleKeyboardEvent( | 87 virtual void HandleKeyboardEvent( |
96 const NativeWebKeyboardEvent& event) OVERRIDE; | 88 const NativeWebKeyboardEvent& event) OVERRIDE; |
97 | 89 |
98 // WebPageScreen implementation: | 90 // WebPageScreen implementation: |
99 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; | 91 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; |
100 | 92 |
101 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); | 93 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); |
102 }; | 94 }; |
103 | 95 |
104 } // namespace chromeos | 96 } // namespace chromeos |
105 | 97 |
106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ | 98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ |
OLD | NEW |