Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Side by Side Diff: chrome/browser/ui/webui/policy_ui.h

Issue 1395073002: Policy Ui sends correct translations for risk tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Description corrected. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/policy_material_design_ui.cc ('k') | chrome/browser/ui/webui/policy_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698