OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_APP_LIST_START_PAGE_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_UI_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/public/browser/web_ui_controller.h" | 9 #include "content/public/browser/web_ui_controller.h" |
10 | 10 |
11 namespace app_list { | 11 namespace app_list { |
12 | 12 |
13 // StartPageUI for the app launcher start page. | 13 // StartPageUI for the app launcher start page. |
14 class StartPageUI : public content::WebUIController { | 14 class StartPageUI : public content::WebUIController { |
15 public: | 15 public: |
16 explicit StartPageUI(content::WebUI* web_ui); | 16 explicit StartPageUI(content::WebUI* web_ui); |
17 virtual ~StartPageUI(); | 17 ~StartPageUI() override; |
18 | 18 |
19 private: | 19 private: |
20 // Initializes the data source used for this webui. | 20 // Initializes the data source used for this webui. |
21 void InitDataSource(); | 21 void InitDataSource(); |
22 | 22 |
23 DISALLOW_COPY_AND_ASSIGN(StartPageUI); | 23 DISALLOW_COPY_AND_ASSIGN(StartPageUI); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace app_list | 26 } // namespace app_list |
27 | 27 |
28 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_UI_H_ | 28 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_UI_H_ |
OLD | NEW |