OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MD_SETTINGS_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ |
7 | 7 |
8 #include "chrome/browser/ui/webui/options/core_options_handler.h" | |
9 #include "chrome/browser/ui/webui/options/options_ui.h" | |
8 #include "content/public/browser/web_ui_controller.h" | 10 #include "content/public/browser/web_ui_controller.h" |
9 | 11 |
10 // The WebUI handler for chrome://md-settings. | 12 // The WebUI handler for chrome://md-settings. |
11 class MdSettingsUI : public content::WebUIController { | 13 class MdSettingsUI : public content::WebUIController, |
14 public options::OptionsPageUIHandlerHost { | |
12 public: | 15 public: |
13 explicit MdSettingsUI(content::WebUI* web_ui); | 16 explicit MdSettingsUI(content::WebUI* web_ui); |
14 ~MdSettingsUI() override; | 17 ~MdSettingsUI() override; |
stevenjb
2015/03/19 22:51:18
WS
Jeremy Klein
2015/03/19 23:04:22
Done.
| |
18 // OptionsPageUIHandlerHost implementation. | |
19 void InitializeHandlers() override; | |
20 void OnFinishedLoading() override; | |
15 | 21 |
16 private: | 22 private: |
23 options::CoreOptionsHandler* core_handler_; | |
stevenjb
2015/03/19 22:51:18
WS
Jeremy Klein
2015/03/19 23:04:22
Done.
| |
17 DISALLOW_COPY_AND_ASSIGN(MdSettingsUI); | 24 DISALLOW_COPY_AND_ASSIGN(MdSettingsUI); |
18 }; | 25 }; |
19 | 26 |
20 #endif // CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ | 27 #endif // CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ |
OLD | NEW |