1 // Copyright 2013 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.
5 #ifndef CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/prefs/pref_change_registrar.h"
11 #include "content/public/browser/web_ui_message_handler.h"
19 // Handler for the app launcher start page.
20 class StartPageHandler
: public content::WebUIMessageHandler
{
23 ~StartPageHandler() override
;
26 // content::WebUIMessageHandler overrides:
27 void RegisterMessages() override
;
30 void HandleAppListShown(const base::ListValue
* args
);
31 void HandleDoodleClicked(const base::ListValue
* args
);
32 void HandleInitialize(const base::ListValue
* args
);
33 void HandleLaunchApp(const base::ListValue
* args
);
35 PrefChangeRegistrar pref_change_registrar_
;
37 DISALLOW_COPY_AND_ASSIGN(StartPageHandler
);
40 } // namespace app_list
42 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_