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

Side by Side Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc

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 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" 5 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #include "content/public/common/url_utils.h" 76 #include "content/public/common/url_utils.h"
77 #include "ui/gfx/favicon_size.h" 77 #include "ui/gfx/favicon_size.h"
78 #include "ui/web_dialogs/web_dialog_ui.h" 78 #include "ui/web_dialogs/web_dialog_ui.h"
79 #include "url/gurl.h" 79 #include "url/gurl.h"
80 80
81 #if !defined(DISABLE_NACL) 81 #if !defined(DISABLE_NACL)
82 #include "chrome/browser/ui/webui/nacl_ui.h" 82 #include "chrome/browser/ui/webui/nacl_ui.h"
83 #endif 83 #endif
84 84
85 #if defined(ENABLE_CONFIGURATION_POLICY) 85 #if defined(ENABLE_CONFIGURATION_POLICY)
86 #include "chrome/browser/ui/webui/policy_material_design_ui.h"
86 #include "chrome/browser/ui/webui/policy_ui.h" 87 #include "chrome/browser/ui/webui/policy_ui.h"
87 #endif 88 #endif
88 89
89 #if defined(ENABLE_WEBRTC) 90 #if defined(ENABLE_WEBRTC)
90 #include "chrome/browser/ui/webui/media/webrtc_logs_ui.h" 91 #include "chrome/browser/ui/webui/media/webrtc_logs_ui.h"
91 #endif 92 #endif
92 93
93 #if defined(ENABLE_PRINT_PREVIEW) 94 #if defined(ENABLE_PRINT_PREVIEW)
94 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" 95 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h"
95 #endif 96 #endif
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 #endif 796 #endif
796 797
797 // Android doesn't use the plugins pages. 798 // Android doesn't use the plugins pages.
798 if (page_url.host() == chrome::kChromeUIPluginsHost) 799 if (page_url.host() == chrome::kChromeUIPluginsHost)
799 return PluginsUI::GetFaviconResourceBytes(scale_factor); 800 return PluginsUI::GetFaviconResourceBytes(scale_factor);
800 801
801 #endif 802 #endif
802 803
803 return NULL; 804 return NULL;
804 } 805 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_policy/policy_resources.grd ('k') | chrome/browser/ui/webui/policy_material_design_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698