OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/tab_contents/render_view_context_menu.h" | 5 #include "chrome/browser/tab_contents/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 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 14 #include "base/prefs/pref_member.h" |
14 #include "base/prefs/pref_service.h" | 15 #include "base/prefs/pref_service.h" |
15 #include "base/prefs/public/pref_member.h" | |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/string_util.h" | 17 #include "base/string_util.h" |
18 #include "base/time.h" | 18 #include "base/time.h" |
19 #include "base/utf_string_conversions.h" | 19 #include "base/utf_string_conversions.h" |
20 #include "chrome/app/chrome_command_ids.h" | 20 #include "chrome/app/chrome_command_ids.h" |
21 #include "chrome/browser/app_mode/app_mode_utils.h" | 21 #include "chrome/browser/app_mode/app_mode_utils.h" |
22 #include "chrome/browser/autocomplete/autocomplete_classifier.h" | 22 #include "chrome/browser/autocomplete/autocomplete_classifier.h" |
23 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" | 23 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" |
24 #include "chrome/browser/autocomplete/autocomplete_match.h" | 24 #include "chrome/browser/autocomplete/autocomplete_match.h" |
25 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
(...skipping 1864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1890 source_web_contents_->GetRenderViewHost()-> | 1890 source_web_contents_->GetRenderViewHost()-> |
1891 ExecuteMediaPlayerActionAtLocation(location, action); | 1891 ExecuteMediaPlayerActionAtLocation(location, action); |
1892 } | 1892 } |
1893 | 1893 |
1894 void RenderViewContextMenu::PluginActionAt( | 1894 void RenderViewContextMenu::PluginActionAt( |
1895 const gfx::Point& location, | 1895 const gfx::Point& location, |
1896 const WebPluginAction& action) { | 1896 const WebPluginAction& action) { |
1897 source_web_contents_->GetRenderViewHost()-> | 1897 source_web_contents_->GetRenderViewHost()-> |
1898 ExecutePluginActionAtLocation(location, action); | 1898 ExecutePluginActionAtLocation(location, action); |
1899 } | 1899 } |
OLD | NEW |