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

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: Refactoring: New file for PolicyMaterialDesignUi and PolicyUiHandler. Created 5 years, 2 months 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.
Dan Beam 2015/11/03 18:34:10 (c) 2012 -> 2015
fhorschig 2015/11/04 18:51:18 Done.
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
8 #include <string>
9 7
10 #include "base/basictypes.h" 8 #include "base/basictypes.h"
Dan Beam 2015/11/03 18:34:10 ^ remove
fhorschig 2015/11/04 18:51:17 Done.
9 #include "base/macros.h"
11 #include "content/public/browser/web_ui_controller.h" 10 #include "content/public/browser/web_ui_controller.h"
12 11
13 namespace content { 12 namespace content {
14 class WebUI; 13 class WebUI;
15 } 14 }
16 15
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. 16 // The Web UI controller for the chrome://md-policy page.
28 class PolicyMaterialDesignUI : public content::WebUIController { 17 class PolicyMaterialDesignUI : public content::WebUIController {
29 public: 18 public:
30 explicit PolicyMaterialDesignUI(content::WebUI* web_ui); 19 explicit PolicyMaterialDesignUI(content::WebUI* web_ui);
31 ~PolicyMaterialDesignUI() override; 20 ~PolicyMaterialDesignUI() override;
32 21
33 private: 22 private:
34 DISALLOW_COPY_AND_ASSIGN(PolicyMaterialDesignUI); 23 DISALLOW_COPY_AND_ASSIGN(PolicyMaterialDesignUI);
35 }; 24 };
36 25
37 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_ 26 #endif // CHROME_BROWSER_UI_WEBUI_POLICY_MATERIAL_DESIGN_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698