| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_APP_LAUNCH_UI_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_APP_LAUNCH_UI_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "content/public/browser/web_ui_controller.h" | |
| 11 | |
| 12 namespace chromeos { | |
| 13 | |
| 14 // A custom WebUI that shows app install/launch splash screen in ChromeOS | |
| 15 // app mode (aka Kiosk). | |
| 16 class AppLaunchUI : public content::WebUIController { | |
| 17 public: | |
| 18 explicit AppLaunchUI(content::WebUI* web_ui); | |
| 19 | |
| 20 void SetLaunchText(const std::string& text); | |
| 21 | |
| 22 private: | |
| 23 class AppLaunchUIHandler; | |
| 24 | |
| 25 AppLaunchUIHandler* handler_; // Owned by WebUI. | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(AppLaunchUI); | |
| 28 }; | |
| 29 | |
| 30 } // namespace chromeos | |
| 31 | |
| 32 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_APP_LAUNCH_UI_H_ | |
| OLD | NEW |