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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_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 #include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h" |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 | 20 |
21 class ViewScreenDelegate; | 21 class ViewScreenDelegate; |
22 | 22 |
23 class HTMLPageView : public WebPageView { | 23 class HTMLPageView : public WebPageView { |
24 public: | 24 public: |
25 HTMLPageView(); | 25 explicit HTMLPageView(content::BrowserContext* browser_context); |
26 | 26 |
27 protected: | 27 protected: |
28 virtual WebPageDomView* dom_view() OVERRIDE; | 28 virtual WebPageDomView* dom_view() OVERRIDE; |
29 | 29 |
30 private: | 30 private: |
31 // View that renders page. | 31 // View that renders page. |
32 WebPageDomView* dom_view_; | 32 WebPageDomView* dom_view_; |
33 | 33 |
34 DISALLOW_COPY_AND_ASSIGN(HTMLPageView); | 34 DISALLOW_COPY_AND_ASSIGN(HTMLPageView); |
35 }; | 35 }; |
(...skipping 26 matching lines...) Expand all Loading... |
62 std::string url_; | 62 std::string url_; |
63 | 63 |
64 UnhandledKeyboardEventHandler unhandled_keyboard_handler_; | 64 UnhandledKeyboardEventHandler unhandled_keyboard_handler_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(HTMLPageScreen); | 66 DISALLOW_COPY_AND_ASSIGN(HTMLPageScreen); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace chromeos | 69 } // namespace chromeos |
70 | 70 |
71 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ | 71 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ |
OLD | NEW |