| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_UI_WEBUI_WELCOME_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_WELCOME_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_WELCOME_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_WELCOME_UI_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/web_ui_controller.h" | 8 #include "content/public/browser/web_ui_controller.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| 11 // The WebUI for chrome://welcome, the page which greets new Desktop users and | 11 // The WebUI for chrome://welcome, the page which greets new Desktop users and |
| 12 // promotes sign-in. | 12 // promotes sign-in. By default, this page uses the "Welcome to Chrome" language |
| 13 // and layout; the "Take Chrome Everywhere" variant may be accessed by appending |
| 14 // the query string "?variant=everywhere". |
| 13 class WelcomeUI : public content::WebUIController { | 15 class WelcomeUI : public content::WebUIController { |
| 14 public: | 16 public: |
| 15 WelcomeUI(content::WebUI* web_ui, const GURL& url); | 17 WelcomeUI(content::WebUI* web_ui, const GURL& url); |
| 16 ~WelcomeUI() override; | 18 ~WelcomeUI() override; |
| 17 }; | 19 }; |
| 18 | 20 |
| 19 #endif // CHROME_BROWSER_UI_WEBUI_WELCOME_UI_H_ | 21 #endif // CHROME_BROWSER_UI_WEBUI_WELCOME_UI_H_ |
| OLD | NEW |