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

Unified Diff: chrome/browser/ui/webui/welcome_win10_handler.h

Issue 2401853005: Adding client code for new Windows 10 First Run Experience (Closed)
Patch Set: Adding Readme 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/welcome_win10_handler.h
diff --git a/chrome/browser/ui/webui/welcome_win10_handler.h b/chrome/browser/ui/webui/welcome_win10_handler.h
new file mode 100644
index 0000000000000000000000000000000000000000..990e819de9dbf15529af1c9876514611f4a39e8e
--- /dev/null
+++ b/chrome/browser/ui/webui/welcome_win10_handler.h
@@ -0,0 +1,31 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_WELCOME_WIN10_HANDLER_H_
+#define CHROME_BROWSER_UI_WEBUI_WELCOME_WIN10_HANDLER_H_
+
+#include "base/macros.h"
+#include "content/public/browser/web_ui_message_handler.h"
+
+namespace base {
+class ListValue;
+}
+
+// Handles actions on the Windows 10 specific Welcome page.
+class WelcomeWin10Handler : public content::WebUIMessageHandler {
+ public:
+ WelcomeWin10Handler();
+ ~WelcomeWin10Handler() override;
+
+ // content::WebUIMessageHandler:
+ void RegisterMessages() override;
+
+ private:
+ void HandleSetDefaultBrowser(const base::ListValue* args);
+ void HandleContinue(const base::ListValue* args);
+
+ DISALLOW_COPY_AND_ASSIGN(WelcomeWin10Handler);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_WELCOME_WIN10_HANDLER_H_
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | chrome/browser/ui/webui/welcome_win10_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698