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/public/browser/browser_plugin_guest_delegate.h" | 5 #include "content/public/browser/browser_plugin_guest_delegate.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
| 11 WebContents* BrowserPluginGuestDelegate::GetOpener() const { |
| 12 return NULL; |
| 13 } |
| 14 |
11 bool BrowserPluginGuestDelegate::HandleKeyboardEvent( | 15 bool BrowserPluginGuestDelegate::HandleKeyboardEvent( |
12 const NativeWebKeyboardEvent& event) { | 16 const NativeWebKeyboardEvent& event) { |
13 return false; | 17 return false; |
14 } | 18 } |
15 | 19 |
16 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() { | 20 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() { |
17 return false; | 21 return false; |
18 } | 22 } |
19 | 23 |
20 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const { | 24 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const { |
(...skipping 23 matching lines...) Expand all Loading... |
44 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() { | 48 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() { |
45 return NULL; | 49 return NULL; |
46 } | 50 } |
47 | 51 |
48 bool BrowserPluginGuestDelegate::HandleContextMenu( | 52 bool BrowserPluginGuestDelegate::HandleContextMenu( |
49 const ContextMenuParams& params) { | 53 const ContextMenuParams& params) { |
50 return false; | 54 return false; |
51 } | 55 } |
52 | 56 |
53 } // namespace content | 57 } // namespace content |
OLD | NEW |