| 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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "content/public/browser/render_process_host.h" | 8 #include "content/public/browser/render_process_host.h" |
| 9 #include "content/public/browser/render_view_host.h" | 9 #include "content/public/browser/render_view_host.h" |
| 10 #include "content/public/browser/render_widget_host_view.h" | 10 #include "content/public/browser/render_widget_host_view.h" |
| 11 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 12 #include "content/public/browser/web_contents_view.h" | 12 #include "content/public/browser/web_contents_view.h" |
| 13 #include "content/public/common/context_menu_params.h" | 13 #include "content/public/common/context_menu_params.h" |
| 14 #include "content/shell/common/shell_switches.h" |
| 14 #include "content/shell/shell.h" | 15 #include "content/shell/shell.h" |
| 15 #include "content/shell/shell_browser_context.h" | 16 #include "content/shell/shell_browser_context.h" |
| 16 #include "content/shell/shell_browser_main_parts.h" | 17 #include "content/shell/shell_browser_main_parts.h" |
| 17 #include "content/shell/shell_content_browser_client.h" | 18 #include "content/shell/shell_content_browser_client.h" |
| 18 #include "content/shell/shell_devtools_frontend.h" | 19 #include "content/shell/shell_devtools_frontend.h" |
| 19 #include "content/shell/shell_switches.h" | |
| 20 #include "content/shell/shell_web_contents_view_delegate_creator.h" | 20 #include "content/shell/shell_web_contents_view_delegate_creator.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" |
| 22 | 22 |
| 23 using WebKit::WebContextMenuData; | 23 using WebKit::WebContextMenuData; |
| 24 | 24 |
| 25 namespace { | 25 namespace { |
| 26 | 26 |
| 27 enum { | 27 enum { |
| 28 ShellContextMenuItemCutId = 10001, | 28 ShellContextMenuItemCutId = 10001, |
| 29 ShellContextMenuItemCopyId, | 29 ShellContextMenuItemCopyId, |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 return false; | 246 return false; |
| 247 } | 247 } |
| 248 | 248 |
| 249 void ShellWebContentsViewDelegate::TakeFocus(bool reverse) { | 249 void ShellWebContentsViewDelegate::TakeFocus(bool reverse) { |
| 250 } | 250 } |
| 251 | 251 |
| 252 void ShellWebContentsViewDelegate::SizeChanged(const gfx::Size& size) { | 252 void ShellWebContentsViewDelegate::SizeChanged(const gfx::Size& size) { |
| 253 } | 253 } |
| 254 | 254 |
| 255 } // namespace content | 255 } // namespace content |
| OLD | NEW |