| 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 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "chrome/browser/chromeos/login/screen_observer.h" | 13 #include "chrome/browser/chromeos/login/screen_observer.h" |
| 14 #include "chrome/browser/chromeos/login/view_screen.h" | 14 #include "chrome/browser/chromeos/login/view_screen.h" |
| 15 #include "chrome/browser/chromeos/login/web_page_screen.h" | 15 #include "chrome/browser/chromeos/login/web_page_screen.h" |
| 16 #include "chrome/browser/chromeos/login/web_page_view.h" | 16 #include "chrome/browser/chromeos/login/web_page_view.h" |
| 17 #include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h" |
| 17 | 18 |
| 18 class GURL; | 19 class GURL; |
| 19 class Profile; | 20 class Profile; |
| 20 | 21 |
| 21 namespace net { | 22 namespace net { |
| 22 class URLRequest; | 23 class URLRequest; |
| 23 class URLRequestJob; | 24 class URLRequestJob; |
| 24 } // namespace net | 25 } // namespace net |
| 25 | 26 |
| 26 namespace chromeos { | 27 namespace chromeos { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 virtual content::WebContents* OpenURLFromTab( | 85 virtual content::WebContents* OpenURLFromTab( |
| 85 content::WebContents* source, | 86 content::WebContents* source, |
| 86 const content::OpenURLParams& params) OVERRIDE; | 87 const content::OpenURLParams& params) OVERRIDE; |
| 87 | 88 |
| 88 virtual void HandleKeyboardEvent( | 89 virtual void HandleKeyboardEvent( |
| 89 const NativeWebKeyboardEvent& event) OVERRIDE; | 90 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 90 | 91 |
| 91 // WebPageScreen implementation: | 92 // WebPageScreen implementation: |
| 92 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; | 93 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; |
| 93 | 94 |
| 95 UnhandledKeyboardEventHandler unhandled_keyboard_handler_; |
| 96 |
| 94 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); | 97 DISALLOW_COPY_AND_ASSIGN(RegistrationScreen); |
| 95 }; | 98 }; |
| 96 | 99 |
| 97 } // namespace chromeos | 100 } // namespace chromeos |
| 98 | 101 |
| 99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ | 102 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REGISTRATION_SCREEN_H_ |
| OLD | NEW |