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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 #include "content/public/browser/notification_service.h" | 67 #include "content/public/browser/notification_service.h" |
68 #include "content/public/browser/render_view_host.h" | 68 #include "content/public/browser/render_view_host.h" |
69 #include "content/public/browser/render_widget_host_view.h" | 69 #include "content/public/browser/render_widget_host_view.h" |
70 #include "content/public/browser/speech_recognition_preferences.h" | 70 #include "content/public/browser/speech_recognition_preferences.h" |
71 #include "content/public/browser/user_metrics.h" | 71 #include "content/public/browser/user_metrics.h" |
72 #include "content/public/browser/web_contents.h" | 72 #include "content/public/browser/web_contents.h" |
73 #include "content/public/common/content_restriction.h" | 73 #include "content/public/common/content_restriction.h" |
74 #include "content/public/common/ssl_status.h" | 74 #include "content/public/common/ssl_status.h" |
75 #include "grit/generated_resources.h" | 75 #include "grit/generated_resources.h" |
76 #include "net/base/escape.h" | 76 #include "net/base/escape.h" |
77 #include "net/base/net_util.h" | |
78 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" | 77 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" |
79 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 78 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
80 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" | 79 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" |
81 #include "ui/base/l10n/l10n_util.h" | 80 #include "ui/base/l10n/l10n_util.h" |
82 #include "ui/base/text/text_elider.h" | 81 #include "ui/base/text/text_elider.h" |
83 #include "ui/gfx/favicon_size.h" | 82 #include "ui/gfx/favicon_size.h" |
84 #include "webkit/glue/webmenuitem.h" | 83 #include "webkit/glue/webmenuitem.h" |
85 | 84 |
86 #ifdef FILE_MANAGER_EXTENSION | 85 #ifdef FILE_MANAGER_EXTENSION |
87 #include "chrome/browser/chromeos/extensions/file_manager_util.h" | 86 #include "chrome/browser/chromeos/extensions/file_manager_util.h" |
(...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1984 source_web_contents_->GetRenderViewHost()-> | 1983 source_web_contents_->GetRenderViewHost()-> |
1985 ExecuteMediaPlayerActionAtLocation(location, action); | 1984 ExecuteMediaPlayerActionAtLocation(location, action); |
1986 } | 1985 } |
1987 | 1986 |
1988 void RenderViewContextMenu::PluginActionAt( | 1987 void RenderViewContextMenu::PluginActionAt( |
1989 const gfx::Point& location, | 1988 const gfx::Point& location, |
1990 const WebPluginAction& action) { | 1989 const WebPluginAction& action) { |
1991 source_web_contents_->GetRenderViewHost()-> | 1990 source_web_contents_->GetRenderViewHost()-> |
1992 ExecutePluginActionAtLocation(location, action); | 1991 ExecutePluginActionAtLocation(location, action); |
1993 } | 1992 } |
OLD | NEW |