| 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 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" | 85 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" |
| 86 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 86 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
| 87 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" | 87 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" |
| 88 #include "ui/base/clipboard/clipboard.h" | 88 #include "ui/base/clipboard/clipboard.h" |
| 89 #include "ui/base/l10n/l10n_util.h" | 89 #include "ui/base/l10n/l10n_util.h" |
| 90 #include "ui/base/text/text_elider.h" | 90 #include "ui/base/text/text_elider.h" |
| 91 #include "ui/gfx/favicon_size.h" | 91 #include "ui/gfx/favicon_size.h" |
| 92 #include "webkit/glue/webmenuitem.h" | 92 #include "webkit/glue/webmenuitem.h" |
| 93 | 93 |
| 94 #ifdef FILE_MANAGER_EXTENSION | 94 #ifdef FILE_MANAGER_EXTENSION |
| 95 #include "chrome/browser/chromeos/extensions/file_manager_util.h" | 95 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" |
| 96 #endif | 96 #endif |
| 97 | 97 |
| 98 using WebKit::WebContextMenuData; | 98 using WebKit::WebContextMenuData; |
| 99 using WebKit::WebMediaPlayerAction; | 99 using WebKit::WebMediaPlayerAction; |
| 100 using WebKit::WebPluginAction; | 100 using WebKit::WebPluginAction; |
| 101 using WebKit::WebString; | 101 using WebKit::WebString; |
| 102 using WebKit::WebURL; | 102 using WebKit::WebURL; |
| 103 using content::BrowserContext; | 103 using content::BrowserContext; |
| 104 using content::ChildProcessSecurityPolicy; | 104 using content::ChildProcessSecurityPolicy; |
| 105 using content::DownloadManager; | 105 using content::DownloadManager; |
| (...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1892 source_web_contents_->GetRenderViewHost()-> | 1892 source_web_contents_->GetRenderViewHost()-> |
| 1893 ExecuteMediaPlayerActionAtLocation(location, action); | 1893 ExecuteMediaPlayerActionAtLocation(location, action); |
| 1894 } | 1894 } |
| 1895 | 1895 |
| 1896 void RenderViewContextMenu::PluginActionAt( | 1896 void RenderViewContextMenu::PluginActionAt( |
| 1897 const gfx::Point& location, | 1897 const gfx::Point& location, |
| 1898 const WebPluginAction& action) { | 1898 const WebPluginAction& action) { |
| 1899 source_web_contents_->GetRenderViewHost()-> | 1899 source_web_contents_->GetRenderViewHost()-> |
| 1900 ExecutePluginActionAtLocation(location, action); | 1900 ExecutePluginActionAtLocation(location, action); |
| 1901 } | 1901 } |
| OLD | NEW |