Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: chrome/browser/ui/webui/welcome_ui.h

Issue 2338213007: Adding JS and C++ handlers for events on new Welcome page. (Closed)
Patch Set: Forward Declarations Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698