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/about_ui.h" | 5 #include "chrome/browser/ui/webui/about_ui.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "grit/browser_resources.h" | 62 #include "grit/browser_resources.h" |
63 #include "grit/chromium_strings.h" | 63 #include "grit/chromium_strings.h" |
64 #include "grit/generated_resources.h" | 64 #include "grit/generated_resources.h" |
65 #include "grit/locale_settings.h" | 65 #include "grit/locale_settings.h" |
66 #include "net/base/escape.h" | 66 #include "net/base/escape.h" |
67 #include "net/base/net_util.h" | 67 #include "net/base/net_util.h" |
68 #include "ui/base/l10n/l10n_util.h" | 68 #include "ui/base/l10n/l10n_util.h" |
69 #include "ui/base/layout.h" | 69 #include "ui/base/layout.h" |
70 #include "ui/base/resource/resource_bundle.h" | 70 #include "ui/base/resource/resource_bundle.h" |
71 #include "v8/include/v8.h" | 71 #include "v8/include/v8.h" |
72 #include "webkit/glue/user_agent.h" | |
73 #include "webkit/glue/webkit_glue.h" | 72 #include "webkit/glue/webkit_glue.h" |
74 #include "webkit/plugins/webplugininfo.h" | 73 #include "webkit/plugins/webplugininfo.h" |
| 74 #include "webkit/user_agent/user_agent_util.h" |
75 | 75 |
76 #if defined(ENABLE_THEMES) | 76 #if defined(ENABLE_THEMES) |
77 #include "chrome/browser/ui/webui/theme_source.h" | 77 #include "chrome/browser/ui/webui/theme_source.h" |
78 #endif | 78 #endif |
79 | 79 |
80 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 80 #if defined(OS_LINUX) || defined(OS_OPENBSD) |
81 #include "content/public/browser/zygote_host_linux.h" | 81 #include "content/public/browser/zygote_host_linux.h" |
82 #include "content/public/common/sandbox_linux.h" | 82 #include "content/public/common/sandbox_linux.h" |
83 #endif | 83 #endif |
84 | 84 |
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1464 #endif | 1464 #endif |
1465 | 1465 |
1466 web_ui->AddMessageHandler(new VersionDOMHandler()); | 1466 web_ui->AddMessageHandler(new VersionDOMHandler()); |
1467 | 1467 |
1468 ChromeURLDataManager::DataSource* source = | 1468 ChromeURLDataManager::DataSource* source = |
1469 new AboutUIHTMLSource(name, profile); | 1469 new AboutUIHTMLSource(name, profile); |
1470 if (source) { | 1470 if (source) { |
1471 ChromeURLDataManager::AddDataSource(profile, source); | 1471 ChromeURLDataManager::AddDataSource(profile, source); |
1472 } | 1472 } |
1473 } | 1473 } |
OLD | NEW |