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 18 matching lines...) Expand all Loading... |
39 const base::Callback<void(bool)>& callback) { | 43 const base::Callback<void(bool)>& callback) { |
40 callback.Run(true); | 44 callback.Run(true); |
41 } | 45 } |
42 | 46 |
43 JavaScriptDialogManager* | 47 JavaScriptDialogManager* |
44 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() { | 48 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() { |
45 return NULL; | 49 return NULL; |
46 } | 50 } |
47 | 51 |
48 } // namespace content | 52 } // namespace content |
OLD | NEW |