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 namespace base { |
| 12 class ListValue; |
| 13 } |
| 14 |
| 15 // Handles actions on the Windows 10 specific Welcome page. |
| 16 class WelcomeWin10Handler : public content::WebUIMessageHandler { |
| 17 public: |
| 18 WelcomeWin10Handler(); |
| 19 ~WelcomeWin10Handler() override; |
| 20 |
| 21 // content::WebUIMessageHandler: |
| 22 void RegisterMessages() override; |
| 23 |
| 24 private: |
| 25 void HandleSetDefaultBrowser(const base::ListValue* args); |
| 26 void HandleContinue(const base::ListValue* args); |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(WelcomeWin10Handler); |
| 29 }; |
| 30 |
| 31 #endif // CHROME_BROWSER_UI_WEBUI_WELCOME_WIN10_HANDLER_H_ |
OLD | NEW |