| 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_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 | 7 |
| 8 #include <memory> |
| 9 |
| 8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 11 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | |
| 12 #include "chrome/browser/chromeos/login/ui/login_web_dialog.h" | 13 #include "chrome/browser/chromeos/login/ui/login_web_dialog.h" |
| 13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
| 14 | 15 |
| 15 class Profile; | 16 class Profile; |
| 16 | 17 |
| 17 namespace chromeos { | 18 namespace chromeos { |
| 18 | 19 |
| 19 // Provides help content during OOBE / login. | 20 // Provides help content during OOBE / login. |
| 20 // Based on connectivity state (offline/online) shows help topic dialog | 21 // Based on connectivity state (offline/online) shows help topic dialog |
| 21 // or launches HelpApp in BWSI mode. | 22 // or launches HelpApp in BWSI mode. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 59 |
| 59 // Parent window which is passed to help dialog. | 60 // Parent window which is passed to help dialog. |
| 60 gfx::NativeWindow parent_window_; | 61 gfx::NativeWindow parent_window_; |
| 61 | 62 |
| 62 DISALLOW_COPY_AND_ASSIGN(HelpAppLauncher); | 63 DISALLOW_COPY_AND_ASSIGN(HelpAppLauncher); |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 } // namespace chromeos | 66 } // namespace chromeos |
| 66 | 67 |
| 67 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_ | 68 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_ |
| OLD | NEW |