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 "content/shell/browser/shell_web_contents_view_delegate.h" | 5 #include "content/shell/browser/shell_web_contents_view_delegate.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "content/public/browser/render_process_host.h" | 10 #include "content/public/browser/render_process_host.h" |
11 #include "content/public/browser/render_view_host.h" | 11 #include "content/public/browser/render_view_host.h" |
12 #include "content/public/browser/render_widget_host_view.h" | 12 #include "content/public/browser/render_widget_host_view.h" |
13 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
14 #include "content/public/browser/web_contents_view.h" | 14 #include "content/public/browser/web_contents_view.h" |
15 #include "content/public/common/context_menu_params.h" | 15 #include "content/public/common/context_menu_params.h" |
16 #include "content/shell/browser/shell.h" | 16 #include "content/shell/browser/shell.h" |
17 #include "content/shell/browser/shell_browser_context.h" | 17 #include "content/shell/browser/shell_browser_context.h" |
18 #include "content/shell/browser/shell_browser_main_parts.h" | 18 #include "content/shell/browser/shell_browser_main_parts.h" |
19 #include "content/shell/browser/shell_content_browser_client.h" | 19 #include "content/shell/browser/shell_content_browser_client.h" |
20 #include "content/shell/browser/shell_devtools_frontend.h" | 20 #include "content/shell/browser/shell_devtools_frontend.h" |
21 #include "content/shell/browser/shell_web_contents_view_delegate_creator.h" | 21 #include "content/shell/browser/shell_web_contents_view_delegate_creator.h" |
22 #include "content/shell/common/shell_switches.h" | 22 #include "content/shell/common/shell_switches.h" |
23 #include "third_party/WebKit/public/web/WebContextMenuData.h" | 23 #include "third_party/WebKit/public/web/WebContextMenuData.h" |
24 | 24 |
25 using WebKit::WebContextMenuData; | 25 using blink::WebContextMenuData; |
26 | 26 |
27 enum { | 27 enum { |
28 ShellContextMenuItemCutTag = 0, | 28 ShellContextMenuItemCutTag = 0, |
29 ShellContextMenuItemCopyTag, | 29 ShellContextMenuItemCopyTag, |
30 ShellContextMenuItemPasteTag, | 30 ShellContextMenuItemPasteTag, |
31 ShellContextMenuItemDeleteTag, | 31 ShellContextMenuItemDeleteTag, |
32 ShellContextMenuItemOpenLinkTag, | 32 ShellContextMenuItemOpenLinkTag, |
33 ShellContextMenuItemBackTag, | 33 ShellContextMenuItemBackTag, |
34 ShellContextMenuItemForwardTag, | 34 ShellContextMenuItemForwardTag, |
35 ShellContextMenuItemReloadTag, | 35 ShellContextMenuItemReloadTag, |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 return NULL; | 268 return NULL; |
269 } | 269 } |
270 | 270 |
271 NSObject<RenderWidgetHostViewMacDelegate>* | 271 NSObject<RenderWidgetHostViewMacDelegate>* |
272 ShellWebContentsViewDelegate::CreateRenderWidgetHostViewDelegate( | 272 ShellWebContentsViewDelegate::CreateRenderWidgetHostViewDelegate( |
273 content::RenderWidgetHost* render_widget_host) { | 273 content::RenderWidgetHost* render_widget_host) { |
274 return NULL; | 274 return NULL; |
275 } | 275 } |
276 | 276 |
277 } // namespace content | 277 } // namespace content |
OLD | NEW |