OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_LOGIN_HTML_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "chrome/browser/dom_ui/html_dialog_ui.h" | 11 #include "chrome/browser/dom_ui/html_dialog_ui.h" |
12 #include "chrome/common/notification_observer.h" | 12 #include "chrome/common/notification_observer.h" |
13 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
14 #include "gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
15 #include "gfx/size.h" | 15 #include "ui/gfx/size.h" |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 class BubbleFrameView; | 19 class BubbleFrameView; |
20 | 20 |
21 // Launches html dialog during OOBE/Login with specified URL and title. | 21 // Launches html dialog during OOBE/Login with specified URL and title. |
22 class LoginHtmlDialog : public HtmlDialogUIDelegate, | 22 class LoginHtmlDialog : public HtmlDialogUIDelegate, |
23 public NotificationObserver { | 23 public NotificationObserver { |
24 public: | 24 public: |
25 // Delegate class to get notifications from the dialog. | 25 // Delegate class to get notifications from the dialog. |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // Dialog display size. | 86 // Dialog display size. |
87 int width_; | 87 int width_; |
88 int height_; | 88 int height_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog); | 90 DISALLOW_COPY_AND_ASSIGN(LoginHtmlDialog); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace chromeos | 93 } // namespace chromeos |
94 | 94 |
95 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ | 95 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_HTML_DIALOG_H_ |
OLD | NEW |