| OLD | NEW |
| 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> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 #include "chrome/browser/ui/browser_finder.h" | 61 #include "chrome/browser/ui/browser_finder.h" |
| 62 #include "chrome/browser/ui/browser_navigator_params.h" | 62 #include "chrome/browser/ui/browser_navigator_params.h" |
| 63 #include "chrome/browser/ui/chrome_pages.h" | 63 #include "chrome/browser/ui/chrome_pages.h" |
| 64 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" | 64 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
| 65 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 65 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 66 #include "chrome/common/chrome_constants.h" | 66 #include "chrome/common/chrome_constants.h" |
| 67 #include "chrome/common/chrome_switches.h" | 67 #include "chrome/common/chrome_switches.h" |
| 68 #include "chrome/common/content_restriction.h" | 68 #include "chrome/common/content_restriction.h" |
| 69 #include "chrome/common/pref_names.h" | 69 #include "chrome/common/pref_names.h" |
| 70 #include "chrome/common/render_messages.h" | 70 #include "chrome/common/render_messages.h" |
| 71 #include "chrome/common/spellcheck_common.h" | |
| 72 #include "chrome/common/url_constants.h" | 71 #include "chrome/common/url_constants.h" |
| 73 #include "chrome/grit/generated_resources.h" | 72 #include "chrome/grit/generated_resources.h" |
| 74 #include "components/autofill/core/common/password_generation_util.h" | 73 #include "components/autofill/core/common/password_generation_util.h" |
| 75 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade
rs.h" | 74 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade
rs.h" |
| 76 #include "components/google/core/browser/google_util.h" | 75 #include "components/google/core/browser/google_util.h" |
| 77 #include "components/metrics/proto/omnibox_input_type.pb.h" | 76 #include "components/metrics/proto/omnibox_input_type.pb.h" |
| 78 #include "components/omnibox/browser/autocomplete_classifier.h" | 77 #include "components/omnibox/browser/autocomplete_classifier.h" |
| 79 #include "components/omnibox/browser/autocomplete_match.h" | 78 #include "components/omnibox/browser/autocomplete_match.h" |
| 80 #include "components/password_manager/core/common/experiments.h" | 79 #include "components/password_manager/core/common/experiments.h" |
| 81 #include "components/prefs/pref_member.h" | 80 #include "components/prefs/pref_member.h" |
| 82 #include "components/prefs/pref_service.h" | 81 #include "components/prefs/pref_service.h" |
| 83 #include "components/search_engines/template_url.h" | 82 #include "components/search_engines/template_url.h" |
| 84 #include "components/search_engines/template_url_service.h" | 83 #include "components/search_engines/template_url_service.h" |
| 84 #include "components/spellcheck/common/spellcheck_common.h" |
| 85 #include "components/translate/core/browser/translate_download_manager.h" | 85 #include "components/translate/core/browser/translate_download_manager.h" |
| 86 #include "components/translate/core/browser/translate_manager.h" | 86 #include "components/translate/core/browser/translate_manager.h" |
| 87 #include "components/translate/core/browser/translate_prefs.h" | 87 #include "components/translate/core/browser/translate_prefs.h" |
| 88 #include "components/url_formatter/url_formatter.h" | 88 #include "components/url_formatter/url_formatter.h" |
| 89 #include "components/user_prefs/user_prefs.h" | 89 #include "components/user_prefs/user_prefs.h" |
| 90 #include "components/web_modal/web_contents_modal_dialog_manager.h" | 90 #include "components/web_modal/web_contents_modal_dialog_manager.h" |
| 91 #include "content/public/browser/child_process_security_policy.h" | 91 #include "content/public/browser/child_process_security_policy.h" |
| 92 #include "content/public/browser/download_manager.h" | 92 #include "content/public/browser/download_manager.h" |
| 93 #include "content/public/browser/download_save_info.h" | 93 #include "content/public/browser/download_save_info.h" |
| 94 #include "content/public/browser/download_url_parameters.h" | 94 #include "content/public/browser/download_url_parameters.h" |
| (...skipping 2343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2438 source_web_contents_->GetRenderViewHost()-> | 2438 source_web_contents_->GetRenderViewHost()-> |
| 2439 ExecuteMediaPlayerActionAtLocation(location, action); | 2439 ExecuteMediaPlayerActionAtLocation(location, action); |
| 2440 } | 2440 } |
| 2441 | 2441 |
| 2442 void RenderViewContextMenu::PluginActionAt( | 2442 void RenderViewContextMenu::PluginActionAt( |
| 2443 const gfx::Point& location, | 2443 const gfx::Point& location, |
| 2444 const WebPluginAction& action) { | 2444 const WebPluginAction& action) { |
| 2445 source_web_contents_->GetRenderViewHost()-> | 2445 source_web_contents_->GetRenderViewHost()-> |
| 2446 ExecutePluginActionAtLocation(location, action); | 2446 ExecutePluginActionAtLocation(location, action); |
| 2447 } | 2447 } |
| OLD | NEW |