OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/chromeos/login/html_page_screen.h" | 5 #include "chrome/browser/chromeos/login/html_page_screen.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "chrome/browser/chromeos/login/screen_observer.h" | 9 #include "chrome/browser/chromeos/login/screen_observer.h" |
10 #include "chrome/browser/chromeos/login/wizard_controller.h" | 10 #include "chrome/browser/chromeos/login/wizard_controller.h" |
11 #include "chrome/browser/profiles/profile_manager.h" | 11 #include "chrome/browser/profiles/profile_manager.h" |
12 #include "content/public/browser/render_view_host.h" | 12 #include "content/public/browser/render_view_host.h" |
13 #include "content/public/browser/site_instance.h" | 13 #include "content/public/browser/site_instance.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 #include "ui/views/events/event.h" | |
16 | 15 |
17 using content::NativeWebKeyboardEvent; | 16 using content::NativeWebKeyboardEvent; |
18 using content::SiteInstance; | 17 using content::SiteInstance; |
19 using content::WebContents; | 18 using content::WebContents; |
20 | 19 |
21 namespace chromeos { | 20 namespace chromeos { |
22 | 21 |
23 /////////////////////////////////////////////////////////////////////////////// | 22 /////////////////////////////////////////////////////////////////////////////// |
24 // HTMLPageView | 23 // HTMLPageView |
25 HTMLPageView::HTMLPageView(content::BrowserContext* browser_context) | 24 HTMLPageView::HTMLPageView(content::BrowserContext* browser_context) |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 } | 80 } |
82 | 81 |
83 /////////////////////////////////////////////////////////////////////////////// | 82 /////////////////////////////////////////////////////////////////////////////// |
84 // HTMLPageScreen, private: | 83 // HTMLPageScreen, private: |
85 void HTMLPageScreen::CloseScreen(ScreenObserver::ExitCodes code) { | 84 void HTMLPageScreen::CloseScreen(ScreenObserver::ExitCodes code) { |
86 StopTimeoutTimer(); | 85 StopTimeoutTimer(); |
87 delegate()->GetObserver()->OnExit(code); | 86 delegate()->GetObserver()->OnExit(code); |
88 } | 87 } |
89 | 88 |
90 } // namespace chromeos | 89 } // namespace chromeos |
OLD | NEW |