OLD | NEW |
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 Loading... |
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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 #endif | 790 #endif |
790 | 791 |
791 // Android doesn't use the plugins pages. | 792 // Android doesn't use the plugins pages. |
792 if (page_url.host() == chrome::kChromeUIPluginsHost) | 793 if (page_url.host() == chrome::kChromeUIPluginsHost) |
793 return PluginsUI::GetFaviconResourceBytes(scale_factor); | 794 return PluginsUI::GetFaviconResourceBytes(scale_factor); |
794 | 795 |
795 #endif | 796 #endif |
796 | 797 |
797 return NULL; | 798 return NULL; |
798 } | 799 } |
OLD | NEW |