OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_WELCOME_WIN10_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_WELCOME_WIN10_HANDLER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "content/public/browser/web_ui_message_handler.h" |
| 10 |
| 11 // Handles actions on the Windows 10 specific Welcome page. |
| 12 class WelcomeWin10Handler : public content::WebUIMessageHandler { |
| 13 public: |
| 14 explicit WelcomeWin10Handler(content::WebUI* web_ui); |
| 15 ~WelcomeWin10Handler() override; |
| 16 |
| 17 // content::WebUIMessageHandler: |
| 18 void RegisterMessages() override; |
| 19 |
| 20 private: |
| 21 void HandleSetDefaultBrowser(const base::ListValue* args); |
| 22 void HandleContinue(const base::ListValue* args); |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(WelcomeWin10Handler); |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_UI_WEBUI_WELCOME_WIN10_HANDLER_H_ |
OLD | NEW |