| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <set> | 6 #include <set> |
| 7 | 7 |
| 8 #include "chrome/browser/tab_contents/render_view_context_menu.h" | 8 #include "chrome/browser/tab_contents/render_view_context_menu.h" |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
| 13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
| 14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 15 #include "base/time.h" | 15 #include "base/time.h" |
| 16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
| 17 #include "chrome/app/chrome_command_ids.h" | 17 #include "chrome/app/chrome_command_ids.h" |
| 18 #include "chrome/browser/autocomplete/autocomplete_classifier.h" | 18 #include "chrome/browser/autocomplete/autocomplete_classifier.h" |
| 19 #include "chrome/browser/autocomplete/autocomplete_edit.h" | 19 #include "chrome/browser/autocomplete/autocomplete_edit.h" |
| 20 #include "chrome/browser/autocomplete/autocomplete_match.h" | 20 #include "chrome/browser/autocomplete/autocomplete_match.h" |
| 21 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
| 22 #include "chrome/browser/debugger/devtools_window.h" | 22 #include "chrome/browser/debugger/devtools_window.h" |
| 23 #include "chrome/browser/extensions/extension_event_router.h" | 23 #include "chrome/browser/extensions/extension_event_router.h" |
| 24 #include "chrome/browser/extensions/extension_service.h" | 24 #include "chrome/browser/extensions/extension_service.h" |
| 25 #include "chrome/browser/google/google_util.h" | 25 #include "chrome/browser/google/google_util.h" |
| 26 #include "chrome/browser/net/browser_url_util.h" | 26 #include "chrome/browser/net/browser_url_util.h" |
| 27 #include "chrome/browser/page_info_window.h" | |
| 28 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 27 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| 29 #include "chrome/browser/prefs/pref_member.h" | 28 #include "chrome/browser/prefs/pref_member.h" |
| 30 #include "chrome/browser/prefs/pref_service.h" | 29 #include "chrome/browser/prefs/pref_service.h" |
| 31 #include "chrome/browser/printing/print_preview_tab_controller.h" | 30 #include "chrome/browser/printing/print_preview_tab_controller.h" |
| 32 #include "chrome/browser/printing/print_view_manager.h" | 31 #include "chrome/browser/printing/print_view_manager.h" |
| 33 #include "chrome/browser/profiles/profile.h" | 32 #include "chrome/browser/profiles/profile.h" |
| 34 #include "chrome/browser/profiles/profile_io_data.h" | 33 #include "chrome/browser/profiles/profile_io_data.h" |
| 35 #include "chrome/browser/search_engines/template_url.h" | 34 #include "chrome/browser/search_engines/template_url.h" |
| 36 #include "chrome/browser/search_engines/template_url_service.h" | 35 #include "chrome/browser/search_engines/template_url_service.h" |
| 37 #include "chrome/browser/search_engines/template_url_service_factory.h" | 36 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| (...skipping 1903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1941 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages), | 1940 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages), |
| 1942 g_browser_process->clipboard()); | 1941 g_browser_process->clipboard()); |
| 1943 } | 1942 } |
| 1944 | 1943 |
| 1945 void RenderViewContextMenu::MediaPlayerActionAt( | 1944 void RenderViewContextMenu::MediaPlayerActionAt( |
| 1946 const gfx::Point& location, | 1945 const gfx::Point& location, |
| 1947 const WebMediaPlayerAction& action) { | 1946 const WebMediaPlayerAction& action) { |
| 1948 source_tab_contents_->render_view_host()-> | 1947 source_tab_contents_->render_view_host()-> |
| 1949 ExecuteMediaPlayerActionAtLocation(location, action); | 1948 ExecuteMediaPlayerActionAtLocation(location, action); |
| 1950 } | 1949 } |
| OLD | NEW |