OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/shell_web_contents_view_delegate.h" | 5 #include "content/shell/browser/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/android/content_view_core.h" | 8 #include "content/public/browser/android/content_view_core.h" |
9 #include "content/public/browser/web_contents.h" | 9 #include "content/public/browser/web_contents.h" |
10 #include "content/public/browser/web_contents_view.h" | 10 #include "content/public/browser/web_contents_view.h" |
11 #include "content/public/common/context_menu_params.h" | 11 #include "content/public/common/context_menu_params.h" |
12 #include "content/shell/shell_web_contents_view_delegate_creator.h" | 12 #include "content/shell/browser/shell_web_contents_view_delegate_creator.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 WebContentsViewDelegate* CreateShellWebContentsViewDelegate( | 16 WebContentsViewDelegate* CreateShellWebContentsViewDelegate( |
17 WebContents* web_contents) { | 17 WebContents* web_contents) { |
18 return new ShellWebContentsViewDelegate(web_contents); | 18 return new ShellWebContentsViewDelegate(web_contents); |
19 } | 19 } |
20 | 20 |
21 | 21 |
22 ShellWebContentsViewDelegate::ShellWebContentsViewDelegate( | 22 ShellWebContentsViewDelegate::ShellWebContentsViewDelegate( |
(...skipping 14 matching lines...) Expand all Loading... |
37 params.selection_start.y()); | 37 params.selection_start.y()); |
38 } | 38 } |
39 } | 39 } |
40 } | 40 } |
41 | 41 |
42 WebDragDestDelegate* ShellWebContentsViewDelegate::GetDragDestDelegate() { | 42 WebDragDestDelegate* ShellWebContentsViewDelegate::GetDragDestDelegate() { |
43 return NULL; | 43 return NULL; |
44 } | 44 } |
45 | 45 |
46 } // namespace content | 46 } // namespace content |
OLD | NEW |