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

Side by Side Diff: chrome/browser/ui/webui/policy_material_design_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) 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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | chrome/browser/ui/webui/policy_material_design_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698