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