| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 #include "chrome/browser/google/google_util.h" | 37 #include "chrome/browser/google/google_util.h" |
| 38 #include "chrome/browser/guest_view/web_view/web_view_guest.h" | 38 #include "chrome/browser/guest_view/web_view/web_view_guest.h" |
| 39 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" | 39 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" |
| 40 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 40 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| 41 #include "chrome/browser/profiles/profile.h" | 41 #include "chrome/browser/profiles/profile.h" |
| 42 #include "chrome/browser/profiles/profile_io_data.h" | 42 #include "chrome/browser/profiles/profile_io_data.h" |
| 43 #include "chrome/browser/renderer_context_menu/context_menu_content_type_factory
.h" | 43 #include "chrome/browser/renderer_context_menu/context_menu_content_type_factory
.h" |
| 44 #include "chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h" | 44 #include "chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h" |
| 45 #include "chrome/browser/renderer_context_menu/spelling_menu_observer.h" | 45 #include "chrome/browser/renderer_context_menu/spelling_menu_observer.h" |
| 46 #include "chrome/browser/search/search.h" | 46 #include "chrome/browser/search/search.h" |
| 47 #include "chrome/browser/search_engines/search_terms_data.h" | |
| 48 #include "chrome/browser/search_engines/template_url.h" | 47 #include "chrome/browser/search_engines/template_url.h" |
| 49 #include "chrome/browser/search_engines/template_url_service.h" | 48 #include "chrome/browser/search_engines/template_url_service.h" |
| 50 #include "chrome/browser/search_engines/template_url_service_factory.h" | 49 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| 51 #include "chrome/browser/spellchecker/spellcheck_host_metrics.h" | 50 #include "chrome/browser/spellchecker/spellcheck_host_metrics.h" |
| 52 #include "chrome/browser/spellchecker/spellcheck_service.h" | 51 #include "chrome/browser/spellchecker/spellcheck_service.h" |
| 53 #include "chrome/browser/tab_contents/retargeting_details.h" | 52 #include "chrome/browser/tab_contents/retargeting_details.h" |
| 54 #include "chrome/browser/translate/chrome_translate_client.h" | 53 #include "chrome/browser/translate/chrome_translate_client.h" |
| 55 #include "chrome/browser/translate/translate_service.h" | 54 #include "chrome/browser/translate/translate_service.h" |
| 56 #include "chrome/browser/ui/browser.h" | 55 #include "chrome/browser/ui/browser.h" |
| 57 #include "chrome/browser/ui/browser_commands.h" | 56 #include "chrome/browser/ui/browser_commands.h" |
| (...skipping 1936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1994 source_web_contents_->GetRenderViewHost()-> | 1993 source_web_contents_->GetRenderViewHost()-> |
| 1995 ExecuteMediaPlayerActionAtLocation(location, action); | 1994 ExecuteMediaPlayerActionAtLocation(location, action); |
| 1996 } | 1995 } |
| 1997 | 1996 |
| 1998 void RenderViewContextMenu::PluginActionAt( | 1997 void RenderViewContextMenu::PluginActionAt( |
| 1999 const gfx::Point& location, | 1998 const gfx::Point& location, |
| 2000 const WebPluginAction& action) { | 1999 const WebPluginAction& action) { |
| 2001 source_web_contents_->GetRenderViewHost()-> | 2000 source_web_contents_->GetRenderViewHost()-> |
| 2002 ExecutePluginActionAtLocation(location, action); | 2001 ExecutePluginActionAtLocation(location, action); |
| 2003 } | 2002 } |
| OLD | NEW |