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

Side by Side Diff: chrome/browser/renderer_context_menu/render_view_context_menu.cc

Issue 1191373002: Componentize AutocompleteController and its supporting cast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prep_builtin_provider_for_c14n
Patch Set: Rebase Created 5 years, 5 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/rlz/rlz_unittest.cc » ('j') | 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/renderer_context_menu/render_view_context_menu.h" 5 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
11 #include "apps/app_load_service.h" 11 #include "apps/app_load_service.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
15 #include "base/prefs/pref_member.h" 15 #include "base/prefs/pref_member.h"
16 #include "base/prefs/pref_service.h" 16 #include "base/prefs/pref_service.h"
17 #include "base/stl_util.h" 17 #include "base/stl_util.h"
18 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
19 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
20 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "chrome/app/chrome_command_ids.h" 21 #include "chrome/app/chrome_command_ids.h"
22 #include "chrome/browser/app_mode/app_mode_utils.h" 22 #include "chrome/browser/app_mode/app_mode_utils.h"
23 #include "chrome/browser/autocomplete/autocomplete_classifier.h"
24 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" 23 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h"
25 #include "chrome/browser/browser_process.h" 24 #include "chrome/browser/browser_process.h"
26 #include "chrome/browser/chrome_notification_types.h" 25 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" 26 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
28 #include "chrome/browser/devtools/devtools_window.h" 27 #include "chrome/browser/devtools/devtools_window.h"
29 #include "chrome/browser/download/download_service.h" 28 #include "chrome/browser/download/download_service.h"
30 #include "chrome/browser/download/download_service_factory.h" 29 #include "chrome/browser/download/download_service_factory.h"
31 #include "chrome/browser/download/download_stats.h" 30 #include "chrome/browser/download/download_stats.h"
32 #include "chrome/browser/extensions/devtools_util.h" 31 #include "chrome/browser/extensions/devtools_util.h"
33 #include "chrome/browser/extensions/extension_service.h" 32 #include "chrome/browser/extensions/extension_service.h"
(...skipping 25 matching lines...) Expand all
59 #include "chrome/common/content_restriction.h" 58 #include "chrome/common/content_restriction.h"
60 #include "chrome/common/net/url_util.h" 59 #include "chrome/common/net/url_util.h"
61 #include "chrome/common/pref_names.h" 60 #include "chrome/common/pref_names.h"
62 #include "chrome/common/render_messages.h" 61 #include "chrome/common/render_messages.h"
63 #include "chrome/common/spellcheck_messages.h" 62 #include "chrome/common/spellcheck_messages.h"
64 #include "chrome/common/url_constants.h" 63 #include "chrome/common/url_constants.h"
65 #include "chrome/grit/generated_resources.h" 64 #include "chrome/grit/generated_resources.h"
66 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h" 65 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h"
67 #include "components/google/core/browser/google_util.h" 66 #include "components/google/core/browser/google_util.h"
68 #include "components/metrics/proto/omnibox_input_type.pb.h" 67 #include "components/metrics/proto/omnibox_input_type.pb.h"
68 #include "components/omnibox/autocomplete_classifier.h"
69 #include "components/omnibox/autocomplete_match.h" 69 #include "components/omnibox/autocomplete_match.h"
70 #include "components/password_manager/core/common/experiments.h" 70 #include "components/password_manager/core/common/experiments.h"
71 #include "components/search_engines/template_url.h" 71 #include "components/search_engines/template_url.h"
72 #include "components/search_engines/template_url_service.h" 72 #include "components/search_engines/template_url_service.h"
73 #include "components/translate/core/browser/translate_download_manager.h" 73 #include "components/translate/core/browser/translate_download_manager.h"
74 #include "components/translate/core/browser/translate_manager.h" 74 #include "components/translate/core/browser/translate_manager.h"
75 #include "components/translate/core/browser/translate_prefs.h" 75 #include "components/translate/core/browser/translate_prefs.h"
76 #include "components/user_prefs/user_prefs.h" 76 #include "components/user_prefs/user_prefs.h"
77 #include "content/public/browser/child_process_security_policy.h" 77 #include "content/public/browser/child_process_security_policy.h"
78 #include "content/public/browser/download_manager.h" 78 #include "content/public/browser/download_manager.h"
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1910 source_web_contents_->GetRenderViewHost()-> 1910 source_web_contents_->GetRenderViewHost()->
1911 ExecuteMediaPlayerActionAtLocation(location, action); 1911 ExecuteMediaPlayerActionAtLocation(location, action);
1912 } 1912 }
1913 1913
1914 void RenderViewContextMenu::PluginActionAt( 1914 void RenderViewContextMenu::PluginActionAt(
1915 const gfx::Point& location, 1915 const gfx::Point& location,
1916 const WebPluginAction& action) { 1916 const WebPluginAction& action) {
1917 source_web_contents_->GetRenderViewHost()-> 1917 source_web_contents_->GetRenderViewHost()->
1918 ExecutePluginActionAtLocation(location, action); 1918 ExecutePluginActionAtLocation(location, action);
1919 } 1919 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/rlz/rlz_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698