| 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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/chromeos/login/login_web_dialog.h" | 11 #include "chrome/browser/chromeos/login/ui/login_web_dialog.h" |
| 12 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
| 13 | 13 |
| 14 class Profile; | 14 class Profile; |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 // Provides help content during OOBE / login. | 18 // Provides help content during OOBE / login. |
| 19 // Based on connectivity state (offline/online) shows help topic dialog | 19 // Based on connectivity state (offline/online) shows help topic dialog |
| 20 // or launches HelpApp in BWSI mode. | 20 // or launches HelpApp in BWSI mode. |
| 21 class HelpAppLauncher : public base::RefCountedThreadSafe<HelpAppLauncher> { | 21 class HelpAppLauncher : public base::RefCountedThreadSafe<HelpAppLauncher> { |
| (...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 |