| 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <set> | 6 #include <set> |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "chrome/browser/tab_contents/render_view_context_menu.h" | 9 #include "chrome/browser/tab_contents/render_view_context_menu.h" |
| 10 | 10 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 #ifdef FILE_MANAGER_EXTENSION | 87 #ifdef FILE_MANAGER_EXTENSION |
| 88 #include "chrome/browser/chromeos/extensions/file_manager_util.h" | 88 #include "chrome/browser/chromeos/extensions/file_manager_util.h" |
| 89 #endif | 89 #endif |
| 90 | 90 |
| 91 using content::ChildProcessSecurityPolicy; | 91 using content::ChildProcessSecurityPolicy; |
| 92 using content::DownloadManager; | 92 using content::DownloadManager; |
| 93 using content::NavigationController; | 93 using content::NavigationController; |
| 94 using content::NavigationEntry; | 94 using content::NavigationEntry; |
| 95 using content::OpenURLParams; | 95 using content::OpenURLParams; |
| 96 using content::RenderViewHost; |
| 96 using content::SSLStatus; | 97 using content::SSLStatus; |
| 97 using content::UserMetricsAction; | 98 using content::UserMetricsAction; |
| 98 using content::WebContents; | 99 using content::WebContents; |
| 99 using WebKit::WebContextMenuData; | 100 using WebKit::WebContextMenuData; |
| 100 using WebKit::WebMediaPlayerAction; | 101 using WebKit::WebMediaPlayerAction; |
| 101 using WebKit::WebPluginAction; | 102 using WebKit::WebPluginAction; |
| 102 using WebKit::WebURL; | 103 using WebKit::WebURL; |
| 103 using WebKit::WebString; | 104 using WebKit::WebString; |
| 104 | 105 |
| 105 namespace { | 106 namespace { |
| (...skipping 1891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1997 source_web_contents_->GetRenderViewHost()-> | 1998 source_web_contents_->GetRenderViewHost()-> |
| 1998 ExecuteMediaPlayerActionAtLocation(location, action); | 1999 ExecuteMediaPlayerActionAtLocation(location, action); |
| 1999 } | 2000 } |
| 2000 | 2001 |
| 2001 void RenderViewContextMenu::PluginActionAt( | 2002 void RenderViewContextMenu::PluginActionAt( |
| 2002 const gfx::Point& location, | 2003 const gfx::Point& location, |
| 2003 const WebPluginAction& action) { | 2004 const WebPluginAction& action) { |
| 2004 source_web_contents_->GetRenderViewHost()-> | 2005 source_web_contents_->GetRenderViewHost()-> |
| 2005 ExecutePluginActionAtLocation(location, action); | 2006 ExecutePluginActionAtLocation(location, action); |
| 2006 } | 2007 } |
| OLD | NEW |