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

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

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« chrome/browser/DEPS ('K') | « chrome/browser/ui/webui/version_ui.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/voice_search_ui.h" 5 #include "chrome/browser/ui/webui/voice_search_ui.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/search/hotword_service.h" 23 #include "chrome/browser/search/hotword_service.h"
24 #include "chrome/browser/search/hotword_service_factory.h" 24 #include "chrome/browser/search/hotword_service_factory.h"
25 #include "chrome/browser/ui/app_list/start_page_service.h" 25 #include "chrome/browser/ui/app_list/start_page_service.h"
26 #include "chrome/browser/ui/webui/version_handler.h" 26 #include "chrome/browser/ui/webui/version_handler.h"
27 #include "chrome/common/channel_info.h" 27 #include "chrome/common/channel_info.h"
28 #include "chrome/common/chrome_content_client.h" 28 #include "chrome/common/chrome_content_client.h"
29 #include "chrome/common/chrome_paths.h" 29 #include "chrome/common/chrome_paths.h"
30 #include "chrome/common/extensions/extension_constants.h" 30 #include "chrome/common/extensions/extension_constants.h"
31 #include "chrome/common/pref_names.h" 31 #include "chrome/common/pref_names.h"
32 #include "chrome/common/url_constants.h" 32 #include "chrome/common/url_constants.h"
33 #include "chrome/grit/browser_resources.h"
33 #include "chrome/grit/chromium_strings.h" 34 #include "chrome/grit/chromium_strings.h"
34 #include "chrome/grit/generated_resources.h" 35 #include "chrome/grit/generated_resources.h"
35 #include "components/prefs/pref_service.h" 36 #include "components/prefs/pref_service.h"
37 #include "components/strings/grit/components_strings.h"
36 #include "components/version_info/version_info.h" 38 #include "components/version_info/version_info.h"
37 #include "content/public/browser/browser_thread.h" 39 #include "content/public/browser/browser_thread.h"
38 #include "content/public/browser/plugin_service.h" 40 #include "content/public/browser/plugin_service.h"
39 #include "content/public/browser/url_data_source.h" 41 #include "content/public/browser/url_data_source.h"
40 #include "content/public/browser/web_ui.h" 42 #include "content/public/browser/web_ui.h"
41 #include "content/public/browser/web_ui_data_source.h" 43 #include "content/public/browser/web_ui_data_source.h"
42 #include "content/public/browser/web_ui_message_handler.h" 44 #include "content/public/browser/web_ui_message_handler.h"
43 #include "content/public/common/user_agent.h" 45 #include "content/public/common/user_agent.h"
44 #include "extensions/browser/extension_prefs.h" 46 #include "extensions/browser/extension_prefs.h"
45 #include "extensions/browser/extension_system.h" 47 #include "extensions/browser/extension_system.h"
46 #include "extensions/common/extension.h" 48 #include "extensions/common/extension.h"
47 #include "grit/browser_resources.h"
48 #include "grit/components_strings.h"
49 #include "ui/base/l10n/l10n_util.h" 49 #include "ui/base/l10n/l10n_util.h"
50 #include "v8/include/v8.h" 50 #include "v8/include/v8.h"
51 51
52 #if defined(OS_WIN) 52 #if defined(OS_WIN)
53 #include "base/win/windows_version.h" 53 #include "base/win/windows_version.h"
54 #endif 54 #endif
55 55
56 using base::ASCIIToUTF16; 56 using base::ASCIIToUTF16;
57 using content::WebUIMessageHandler; 57 using content::WebUIMessageHandler;
58 58
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 VoiceSearchUI::VoiceSearchUI(content::WebUI* web_ui) 435 VoiceSearchUI::VoiceSearchUI(content::WebUI* web_ui)
436 : content::WebUIController(web_ui) { 436 : content::WebUIController(web_ui) {
437 Profile* profile = Profile::FromWebUI(web_ui); 437 Profile* profile = Profile::FromWebUI(web_ui);
438 web_ui->AddMessageHandler(new VoiceSearchDomHandler(profile)); 438 web_ui->AddMessageHandler(new VoiceSearchDomHandler(profile));
439 439
440 // Set up the about:voicesearch source. 440 // Set up the about:voicesearch source.
441 content::WebUIDataSource::Add(profile, CreateVoiceSearchUiHtmlSource()); 441 content::WebUIDataSource::Add(profile, CreateVoiceSearchUiHtmlSource());
442 } 442 }
443 443
444 VoiceSearchUI::~VoiceSearchUI() {} 444 VoiceSearchUI::~VoiceSearchUI() {}
OLDNEW
« chrome/browser/DEPS ('K') | « chrome/browser/ui/webui/version_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698