OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/app_launcher_page_ui.h" | 5 #include "chrome/browser/ui/webui/app_launcher_page_ui.h" |
6 | 6 |
7 #include "base/memory/ref_counted_memory.h" | 7 #include "base/memory/ref_counted_memory.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/ui/webui/metrics_handler.h" | 10 #include "chrome/browser/ui/webui/metrics_handler.h" |
11 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h" | 11 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h" |
12 #include "chrome/browser/ui/webui/ntp/app_resource_cache_factory.h" | 12 #include "chrome/browser/ui/webui/ntp/app_resource_cache_factory.h" |
13 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" | 13 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" |
14 #include "chrome/browser/ui/webui/ntp/favicon_webui_handler.h" | 14 #include "chrome/browser/ui/webui/ntp/favicon_webui_handler.h" |
15 #include "chrome/browser/ui/webui/ntp/ntp_login_handler.h" | 15 #include "chrome/browser/ui/webui/ntp/ntp_login_handler.h" |
16 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h" | 16 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h" |
17 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
| 18 #include "chrome/grit/generated_resources.h" |
18 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
19 #include "content/public/browser/render_process_host.h" | 20 #include "content/public/browser/render_process_host.h" |
20 #include "content/public/browser/web_ui.h" | 21 #include "content/public/browser/web_ui.h" |
21 #include "extensions/browser/extension_system.h" | 22 #include "extensions/browser/extension_system.h" |
22 #include "grit/generated_resources.h" | |
23 #include "grit/theme_resources.h" | 23 #include "grit/theme_resources.h" |
24 #include "ui/base/l10n/l10n_util.h" | 24 #include "ui/base/l10n/l10n_util.h" |
25 #include "ui/base/resource/resource_bundle.h" | 25 #include "ui/base/resource/resource_bundle.h" |
26 | 26 |
27 #if defined(ENABLE_THEMES) | 27 #if defined(ENABLE_THEMES) |
28 #include "chrome/browser/ui/webui/theme_handler.h" | 28 #include "chrome/browser/ui/webui/theme_handler.h" |
29 #endif | 29 #endif |
30 | 30 |
31 class ExtensionService; | 31 class ExtensionService; |
32 | 32 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 bool AppLauncherPageUI::HTMLSource::ShouldReplaceExistingSource() const { | 121 bool AppLauncherPageUI::HTMLSource::ShouldReplaceExistingSource() const { |
122 return false; | 122 return false; |
123 } | 123 } |
124 | 124 |
125 bool AppLauncherPageUI::HTMLSource::ShouldAddContentSecurityPolicy() const { | 125 bool AppLauncherPageUI::HTMLSource::ShouldAddContentSecurityPolicy() const { |
126 return false; | 126 return false; |
127 } | 127 } |
128 | 128 |
129 AppLauncherPageUI::HTMLSource::~HTMLSource() {} | 129 AppLauncherPageUI::HTMLSource::~HTMLSource() {} |
OLD | NEW |