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_HELP_APP_LAUNCHER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "chrome/browser/chromeos/login/login_html_dialog.h" | 10 #include "chrome/browser/chromeos/login/login_html_dialog.h" |
11 #include "gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 // Provides help content during OOBE / login. | 15 // Provides help content during OOBE / login. |
16 // Based on connectivity state (offline/online) shows help topic dialog | 16 // Based on connectivity state (offline/online) shows help topic dialog |
17 // or launches HelpApp in BWSI mode. | 17 // or launches HelpApp in BWSI mode. |
18 class HelpAppLauncher : public LoginHtmlDialog::Delegate { | 18 class HelpAppLauncher : public LoginHtmlDialog::Delegate { |
19 public: | 19 public: |
20 // IDs of help topics available from HelpApp. | 20 // IDs of help topics available from HelpApp. |
21 enum HelpTopic { | 21 enum HelpTopic { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 // Parent window which is passed to help dialog. | 58 // Parent window which is passed to help dialog. |
59 gfx::NativeWindow parent_window_; | 59 gfx::NativeWindow parent_window_; |
60 | 60 |
61 DISALLOW_COPY_AND_ASSIGN(HelpAppLauncher); | 61 DISALLOW_COPY_AND_ASSIGN(HelpAppLauncher); |
62 }; | 62 }; |
63 | 63 |
64 } // namespace chromeos | 64 } // namespace chromeos |
65 | 65 |
66 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_ | 66 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_ |
OLD | NEW |