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

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

Issue 10869073: Split user agent code out of the 'glue' target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 8 years, 3 months 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 | Annotate | Revision Log
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/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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_unittest.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698