OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_POLICY_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_POLICY_MATERIAL_DESIGN_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_POLICY_MATERIAL_DESIGN_UI_H_ |
7 | 7 |
8 #include <string> | 8 #include "base/macros.h" |
9 | |
10 #include "base/basictypes.h" | |
11 #include "content/public/browser/web_ui_controller.h" | 9 #include "content/public/browser/web_ui_controller.h" |
12 | 10 |
13 namespace content { | 11 namespace content { |
14 class WebUI; | 12 class WebUI; |
15 } | 13 } |
16 | 14 |
17 // The Web UI controller for the chrome://policy page. | |
18 class PolicyUI : public content::WebUIController { | |
19 public: | |
20 explicit PolicyUI(content::WebUI* web_ui); | |
21 ~PolicyUI() override; | |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(PolicyUI); | |
25 }; | |
26 | |
27 // The Web UI controller for the chrome://md-policy page. | 15 // The Web UI controller for the chrome://md-policy page. |
28 class PolicyMaterialDesignUI : public content::WebUIController { | 16 class PolicyMaterialDesignUI : public content::WebUIController { |
29 public: | 17 public: |
30 explicit PolicyMaterialDesignUI(content::WebUI* web_ui); | 18 explicit PolicyMaterialDesignUI(content::WebUI* web_ui); |
31 ~PolicyMaterialDesignUI() override; | 19 ~PolicyMaterialDesignUI() override; |
32 | 20 |
33 private: | 21 private: |
34 DISALLOW_COPY_AND_ASSIGN(PolicyMaterialDesignUI); | 22 DISALLOW_COPY_AND_ASSIGN(PolicyMaterialDesignUI); |
35 }; | 23 }; |
36 | 24 |
37 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ | 25 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_MATERIAL_DESIGN_UI_H_ |
OLD | NEW |