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 11 matching lines...) Expand all Loading... |
22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "chrome/app/chrome_command_ids.h" | 24 #include "chrome/app/chrome_command_ids.h" |
25 #include "chrome/browser/app_mode/app_mode_utils.h" | 25 #include "chrome/browser/app_mode/app_mode_utils.h" |
26 #include "chrome/browser/apps/app_load_service.h" | 26 #include "chrome/browser/apps/app_load_service.h" |
27 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" | 27 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" |
28 #include "chrome/browser/browser_process.h" | 28 #include "chrome/browser/browser_process.h" |
29 #include "chrome/browser/chrome_notification_types.h" | 29 #include "chrome/browser/chrome_notification_types.h" |
30 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 30 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
31 #include "chrome/browser/devtools/devtools_window.h" | 31 #include "chrome/browser/devtools/devtools_window.h" |
32 #include "chrome/browser/download/download_service.h" | |
33 #include "chrome/browser/download/download_service_factory.h" | |
34 #include "chrome/browser/download/download_stats.h" | 32 #include "chrome/browser/download/download_stats.h" |
35 #include "chrome/browser/media/router/media_router_dialog_controller.h" | 33 #include "chrome/browser/media/router/media_router_dialog_controller.h" |
36 #include "chrome/browser/media/router/media_router_feature.h" | 34 #include "chrome/browser/media/router/media_router_feature.h" |
37 #include "chrome/browser/media/router/media_router_metrics.h" | 35 #include "chrome/browser/media/router/media_router_metrics.h" |
38 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" | 36 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" |
39 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_fact
ory.h" | 37 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_fact
ory.h" |
40 #include "chrome/browser/password_manager/chrome_password_manager_client.h" | 38 #include "chrome/browser/password_manager/chrome_password_manager_client.h" |
41 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" | 39 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" |
42 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 40 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
43 #include "chrome/browser/profiles/profile.h" | 41 #include "chrome/browser/profiles/profile.h" |
(...skipping 2446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2490 void RenderViewContextMenu::PluginActionAt( | 2488 void RenderViewContextMenu::PluginActionAt( |
2491 const gfx::Point& location, | 2489 const gfx::Point& location, |
2492 const WebPluginAction& action) { | 2490 const WebPluginAction& action) { |
2493 source_web_contents_->GetRenderViewHost()-> | 2491 source_web_contents_->GetRenderViewHost()-> |
2494 ExecutePluginActionAtLocation(location, action); | 2492 ExecutePluginActionAtLocation(location, action); |
2495 } | 2493 } |
2496 | 2494 |
2497 Browser* RenderViewContextMenu::GetBrowser() const { | 2495 Browser* RenderViewContextMenu::GetBrowser() const { |
2498 return chrome::FindBrowserWithWebContents(embedder_web_contents_); | 2496 return chrome::FindBrowserWithWebContents(embedder_web_contents_); |
2499 } | 2497 } |
OLD | NEW |