OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 #if defined(ENABLE_FULL_PRINTING) | 101 #if defined(ENABLE_FULL_PRINTING) |
102 #include "chrome/browser/printing/print_preview_context_menu_observer.h" | 102 #include "chrome/browser/printing/print_preview_context_menu_observer.h" |
103 #include "chrome/browser/printing/print_preview_dialog_controller.h" | 103 #include "chrome/browser/printing/print_preview_dialog_controller.h" |
104 #include "chrome/browser/printing/print_view_manager.h" | 104 #include "chrome/browser/printing/print_view_manager.h" |
105 #else | 105 #else |
106 #include "chrome/browser/printing/print_view_manager_basic.h" | 106 #include "chrome/browser/printing/print_view_manager_basic.h" |
107 #endif // defined(ENABLE_FULL_PRINTING) | 107 #endif // defined(ENABLE_FULL_PRINTING) |
108 #endif // defined(ENABLE_PRINTING) | 108 #endif // defined(ENABLE_PRINTING) |
109 | 109 |
110 using WebKit::WebContextMenuData; | 110 using blink::WebContextMenuData; |
111 using WebKit::WebMediaPlayerAction; | 111 using blink::WebMediaPlayerAction; |
112 using WebKit::WebPluginAction; | 112 using blink::WebPluginAction; |
113 using WebKit::WebString; | 113 using blink::WebString; |
114 using WebKit::WebURL; | 114 using blink::WebURL; |
115 using content::BrowserContext; | 115 using content::BrowserContext; |
116 using content::ChildProcessSecurityPolicy; | 116 using content::ChildProcessSecurityPolicy; |
117 using content::DownloadManager; | 117 using content::DownloadManager; |
118 using content::DownloadUrlParameters; | 118 using content::DownloadUrlParameters; |
119 using content::NavigationController; | 119 using content::NavigationController; |
120 using content::NavigationEntry; | 120 using content::NavigationEntry; |
121 using content::OpenURLParams; | 121 using content::OpenURLParams; |
122 using content::RenderViewHost; | 122 using content::RenderViewHost; |
123 using content::SSLStatus; | 123 using content::SSLStatus; |
124 using content::UserMetricsAction; | 124 using content::UserMetricsAction; |
(...skipping 1984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2109 source_web_contents_->GetRenderViewHost()-> | 2109 source_web_contents_->GetRenderViewHost()-> |
2110 ExecuteMediaPlayerActionAtLocation(location, action); | 2110 ExecuteMediaPlayerActionAtLocation(location, action); |
2111 } | 2111 } |
2112 | 2112 |
2113 void RenderViewContextMenu::PluginActionAt( | 2113 void RenderViewContextMenu::PluginActionAt( |
2114 const gfx::Point& location, | 2114 const gfx::Point& location, |
2115 const WebPluginAction& action) { | 2115 const WebPluginAction& action) { |
2116 source_web_contents_->GetRenderViewHost()-> | 2116 source_web_contents_->GetRenderViewHost()-> |
2117 ExecutePluginActionAtLocation(location, action); | 2117 ExecutePluginActionAtLocation(location, action); |
2118 } | 2118 } |
OLD | NEW |