| 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 "content/shell/shell_web_contents_view_delegate.h" | 5 #include "content/shell/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/common/shell_switches.h" |
| 16 #include "content/shell/shell.h" | 17 #include "content/shell/shell.h" |
| 17 #include "content/shell/shell_browser_context.h" | 18 #include "content/shell/shell_browser_context.h" |
| 18 #include "content/shell/shell_browser_main_parts.h" | 19 #include "content/shell/shell_browser_main_parts.h" |
| 19 #include "content/shell/shell_content_browser_client.h" | 20 #include "content/shell/shell_content_browser_client.h" |
| 20 #include "content/shell/shell_devtools_frontend.h" | 21 #include "content/shell/shell_devtools_frontend.h" |
| 21 #include "content/shell/shell_switches.h" | |
| 22 #include "content/shell/shell_web_contents_view_delegate_creator.h" | 22 #include "content/shell/shell_web_contents_view_delegate_creator.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" |
| 24 | 24 |
| 25 using WebKit::WebContextMenuData; | 25 using WebKit::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, |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 return NULL; | 269 return NULL; |
| 270 } | 270 } |
| 271 | 271 |
| 272 NSObject<RenderWidgetHostViewMacDelegate>* | 272 NSObject<RenderWidgetHostViewMacDelegate>* |
| 273 ShellWebContentsViewDelegate::CreateRenderWidgetHostViewDelegate( | 273 ShellWebContentsViewDelegate::CreateRenderWidgetHostViewDelegate( |
| 274 content::RenderWidgetHost* render_widget_host) { | 274 content::RenderWidgetHost* render_widget_host) { |
| 275 return NULL; | 275 return NULL; |
| 276 } | 276 } |
| 277 | 277 |
| 278 } // namespace content | 278 } // namespace content |
| OLD | NEW |