| 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" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "chrome/browser/spellchecker/spellchecker_platform_engine.h" | 41 #include "chrome/browser/spellchecker/spellchecker_platform_engine.h" |
| 42 #include "chrome/browser/tab_contents/spellchecker_submenu_observer.h" | 42 #include "chrome/browser/tab_contents/spellchecker_submenu_observer.h" |
| 43 #include "chrome/browser/tab_contents/spelling_menu_observer.h" | 43 #include "chrome/browser/tab_contents/spelling_menu_observer.h" |
| 44 #include "chrome/browser/translate/translate_manager.h" | 44 #include "chrome/browser/translate/translate_manager.h" |
| 45 #include "chrome/browser/translate/translate_prefs.h" | 45 #include "chrome/browser/translate/translate_prefs.h" |
| 46 #include "chrome/browser/translate/translate_tab_helper.h" | 46 #include "chrome/browser/translate/translate_tab_helper.h" |
| 47 #include "chrome/browser/ui/browser.h" | 47 #include "chrome/browser/ui/browser.h" |
| 48 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" | 48 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" |
| 49 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 49 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 50 #include "chrome/common/chrome_constants.h" | 50 #include "chrome/common/chrome_constants.h" |
| 51 #include "chrome/common/chrome_notification_types.h" |
| 51 #include "chrome/common/chrome_switches.h" | 52 #include "chrome/common/chrome_switches.h" |
| 52 #include "chrome/common/pref_names.h" | 53 #include "chrome/common/pref_names.h" |
| 53 #include "chrome/common/print_messages.h" | 54 #include "chrome/common/print_messages.h" |
| 54 #include "chrome/common/spellcheck_messages.h" | 55 #include "chrome/common/spellcheck_messages.h" |
| 55 #include "chrome/common/url_constants.h" | 56 #include "chrome/common/url_constants.h" |
| 56 #include "content/browser/child_process_security_policy.h" | 57 #include "content/browser/child_process_security_policy.h" |
| 57 #include "content/browser/download/download_manager.h" | 58 #include "content/browser/download/download_manager.h" |
| 58 #include "content/browser/download/download_stats.h" | 59 #include "content/browser/download/download_stats.h" |
| 59 #include "content/browser/download/save_package.h" | 60 #include "content/browser/download/save_package.h" |
| 60 #include "content/browser/renderer_host/render_view_host.h" | 61 #include "content/browser/renderer_host/render_view_host.h" |
| (...skipping 1800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1861 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages), | 1862 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages), |
| 1862 g_browser_process->clipboard()); | 1863 g_browser_process->clipboard()); |
| 1863 } | 1864 } |
| 1864 | 1865 |
| 1865 void RenderViewContextMenu::MediaPlayerActionAt( | 1866 void RenderViewContextMenu::MediaPlayerActionAt( |
| 1866 const gfx::Point& location, | 1867 const gfx::Point& location, |
| 1867 const WebMediaPlayerAction& action) { | 1868 const WebMediaPlayerAction& action) { |
| 1868 source_tab_contents_->render_view_host()-> | 1869 source_tab_contents_->render_view_host()-> |
| 1869 ExecuteMediaPlayerActionAtLocation(location, action); | 1870 ExecuteMediaPlayerActionAtLocation(location, action); |
| 1870 } | 1871 } |
| OLD | NEW |