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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <set> 10 #include <set>
11 #include <utility> 11 #include <utility>
12 12
13 #include "apps/app_load_service.h" 13 #include "apps/app_load_service.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
18 #include "base/prefs/pref_member.h"
19 #include "base/prefs/pref_service.h"
20 #include "base/stl_util.h" 18 #include "base/stl_util.h"
21 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
22 #include "base/strings/stringprintf.h" 20 #include "base/strings/stringprintf.h"
23 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
24 #include "build/build_config.h" 22 #include "build/build_config.h"
25 #include "chrome/app/chrome_command_ids.h" 23 #include "chrome/app/chrome_command_ids.h"
26 #include "chrome/browser/app_mode/app_mode_utils.h" 24 #include "chrome/browser/app_mode/app_mode_utils.h"
27 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" 25 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h"
28 #include "chrome/browser/browser_process.h" 26 #include "chrome/browser/browser_process.h"
29 #include "chrome/browser/chrome_notification_types.h" 27 #include "chrome/browser/chrome_notification_types.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include "chrome/common/render_messages.h" 68 #include "chrome/common/render_messages.h"
71 #include "chrome/common/spellcheck_common.h" 69 #include "chrome/common/spellcheck_common.h"
72 #include "chrome/common/url_constants.h" 70 #include "chrome/common/url_constants.h"
73 #include "chrome/grit/generated_resources.h" 71 #include "chrome/grit/generated_resources.h"
74 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h" 72 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h"
75 #include "components/google/core/browser/google_util.h" 73 #include "components/google/core/browser/google_util.h"
76 #include "components/metrics/proto/omnibox_input_type.pb.h" 74 #include "components/metrics/proto/omnibox_input_type.pb.h"
77 #include "components/omnibox/browser/autocomplete_classifier.h" 75 #include "components/omnibox/browser/autocomplete_classifier.h"
78 #include "components/omnibox/browser/autocomplete_match.h" 76 #include "components/omnibox/browser/autocomplete_match.h"
79 #include "components/password_manager/core/common/experiments.h" 77 #include "components/password_manager/core/common/experiments.h"
78 #include "components/prefs/pref_member.h"
79 #include "components/prefs/pref_service.h"
80 #include "components/search_engines/template_url.h" 80 #include "components/search_engines/template_url.h"
81 #include "components/search_engines/template_url_service.h" 81 #include "components/search_engines/template_url_service.h"
82 #include "components/translate/core/browser/translate_download_manager.h" 82 #include "components/translate/core/browser/translate_download_manager.h"
83 #include "components/translate/core/browser/translate_manager.h" 83 #include "components/translate/core/browser/translate_manager.h"
84 #include "components/translate/core/browser/translate_prefs.h" 84 #include "components/translate/core/browser/translate_prefs.h"
85 #include "components/url_formatter/url_formatter.h" 85 #include "components/url_formatter/url_formatter.h"
86 #include "components/user_prefs/user_prefs.h" 86 #include "components/user_prefs/user_prefs.h"
87 #include "components/web_modal/web_contents_modal_dialog_manager.h" 87 #include "components/web_modal/web_contents_modal_dialog_manager.h"
88 #include "content/public/browser/child_process_security_policy.h" 88 #include "content/public/browser/child_process_security_policy.h"
89 #include "content/public/browser/download_manager.h" 89 #include "content/public/browser/download_manager.h"
(...skipping 2093 matching lines...) Expand 10 before | Expand all | Expand 10 after
2183 source_web_contents_->GetRenderViewHost()-> 2183 source_web_contents_->GetRenderViewHost()->
2184 ExecuteMediaPlayerActionAtLocation(location, action); 2184 ExecuteMediaPlayerActionAtLocation(location, action);
2185 } 2185 }
2186 2186
2187 void RenderViewContextMenu::PluginActionAt( 2187 void RenderViewContextMenu::PluginActionAt(
2188 const gfx::Point& location, 2188 const gfx::Point& location,
2189 const WebPluginAction& action) { 2189 const WebPluginAction& action) {
2190 source_web_contents_->GetRenderViewHost()-> 2190 source_web_contents_->GetRenderViewHost()->
2191 ExecutePluginActionAtLocation(location, action); 2191 ExecutePluginActionAtLocation(location, action);
2192 } 2192 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698