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

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: Includes and Copyright. 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #include "content/public/common/url_utils.h" 74 #include "content/public/common/url_utils.h"
75 #include "ui/gfx/favicon_size.h" 75 #include "ui/gfx/favicon_size.h"
76 #include "ui/web_dialogs/web_dialog_ui.h" 76 #include "ui/web_dialogs/web_dialog_ui.h"
77 #include "url/gurl.h" 77 #include "url/gurl.h"
78 78
79 #if !defined(DISABLE_NACL) 79 #if !defined(DISABLE_NACL)
80 #include "chrome/browser/ui/webui/nacl_ui.h" 80 #include "chrome/browser/ui/webui/nacl_ui.h"
81 #endif 81 #endif
82 82
83 #if defined(ENABLE_CONFIGURATION_POLICY) 83 #if defined(ENABLE_CONFIGURATION_POLICY)
84 #include "chrome/browser/ui/webui/policy_material_design_ui.h"
84 #include "chrome/browser/ui/webui/policy_ui.h" 85 #include "chrome/browser/ui/webui/policy_ui.h"
85 #endif 86 #endif
86 87
87 #if defined(ENABLE_WEBRTC) 88 #if defined(ENABLE_WEBRTC)
88 #include "chrome/browser/ui/webui/media/webrtc_logs_ui.h" 89 #include "chrome/browser/ui/webui/media/webrtc_logs_ui.h"
89 #endif 90 #endif
90 91
91 #if defined(ENABLE_PRINT_PREVIEW) 92 #if defined(ENABLE_PRINT_PREVIEW)
92 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" 93 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h"
93 #endif 94 #endif
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 #endif 791 #endif
791 792
792 // Android doesn't use the plugins pages. 793 // Android doesn't use the plugins pages.
793 if (page_url.host() == chrome::kChromeUIPluginsHost) 794 if (page_url.host() == chrome::kChromeUIPluginsHost)
794 return PluginsUI::GetFaviconResourceBytes(scale_factor); 795 return PluginsUI::GetFaviconResourceBytes(scale_factor);
795 796
796 #endif 797 #endif
797 798
798 return NULL; 799 return NULL;
799 } 800 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698