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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" | 54 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" |
55 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" | 55 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
56 #include "chrome/common/chrome_constants.h" | 56 #include "chrome/common/chrome_constants.h" |
57 #include "chrome/common/chrome_switches.h" | 57 #include "chrome/common/chrome_switches.h" |
58 #include "chrome/common/content_restriction.h" | 58 #include "chrome/common/content_restriction.h" |
59 #include "chrome/common/net/url_util.h" | 59 #include "chrome/common/net/url_util.h" |
60 #include "chrome/common/pref_names.h" | 60 #include "chrome/common/pref_names.h" |
61 #include "chrome/common/render_messages.h" | 61 #include "chrome/common/render_messages.h" |
62 #include "chrome/common/spellcheck_messages.h" | 62 #include "chrome/common/spellcheck_messages.h" |
63 #include "chrome/common/url_constants.h" | 63 #include "chrome/common/url_constants.h" |
64 #include "components/autocomplete/autocomplete_match.h" | |
65 #include "components/google/core/browser/google_util.h" | 64 #include "components/google/core/browser/google_util.h" |
66 #include "components/metrics/proto/omnibox_input_type.pb.h" | 65 #include "components/metrics/proto/omnibox_input_type.pb.h" |
| 66 #include "components/omnibox/autocomplete_match.h" |
67 #include "components/search_engines/template_url.h" | 67 #include "components/search_engines/template_url.h" |
68 #include "components/search_engines/template_url_service.h" | 68 #include "components/search_engines/template_url_service.h" |
69 #include "components/translate/core/browser/translate_download_manager.h" | 69 #include "components/translate/core/browser/translate_download_manager.h" |
70 #include "components/translate/core/browser/translate_manager.h" | 70 #include "components/translate/core/browser/translate_manager.h" |
71 #include "components/translate/core/browser/translate_prefs.h" | 71 #include "components/translate/core/browser/translate_prefs.h" |
72 #include "components/user_prefs/user_prefs.h" | 72 #include "components/user_prefs/user_prefs.h" |
73 #include "content/public/browser/child_process_security_policy.h" | 73 #include "content/public/browser/child_process_security_policy.h" |
74 #include "content/public/browser/download_manager.h" | 74 #include "content/public/browser/download_manager.h" |
75 #include "content/public/browser/download_save_info.h" | 75 #include "content/public/browser/download_save_info.h" |
76 #include "content/public/browser/download_url_parameters.h" | 76 #include "content/public/browser/download_url_parameters.h" |
(...skipping 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1779 source_web_contents_->GetRenderViewHost()-> | 1779 source_web_contents_->GetRenderViewHost()-> |
1780 ExecuteMediaPlayerActionAtLocation(location, action); | 1780 ExecuteMediaPlayerActionAtLocation(location, action); |
1781 } | 1781 } |
1782 | 1782 |
1783 void RenderViewContextMenu::PluginActionAt( | 1783 void RenderViewContextMenu::PluginActionAt( |
1784 const gfx::Point& location, | 1784 const gfx::Point& location, |
1785 const WebPluginAction& action) { | 1785 const WebPluginAction& action) { |
1786 source_web_contents_->GetRenderViewHost()-> | 1786 source_web_contents_->GetRenderViewHost()-> |
1787 ExecutePluginActionAtLocation(location, action); | 1787 ExecutePluginActionAtLocation(location, action); |
1788 } | 1788 } |
OLD | NEW |