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 { | 11 WebContents* BrowserPluginGuestDelegate::GetOpener() const { |
12 return NULL; | 12 return NULL; |
13 } | 13 } |
14 | 14 |
15 bool BrowserPluginGuestDelegate::HandleKeyboardEvent( | |
16 const NativeWebKeyboardEvent& event) { | |
17 return false; | |
18 } | |
19 | |
20 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() { | 15 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() { |
21 return false; | 16 return false; |
22 } | 17 } |
23 | 18 |
24 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const { | 19 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const { |
25 return false; | 20 return false; |
26 } | 21 } |
27 | 22 |
28 GURL BrowserPluginGuestDelegate::ResolveURL(const std::string& src) { | 23 GURL BrowserPluginGuestDelegate::ResolveURL(const std::string& src) { |
29 return GURL(src); | 24 return GURL(src); |
(...skipping 25 matching lines...) Expand all Loading... |
55 const std::vector<ColorSuggestion>& suggestions) { | 50 const std::vector<ColorSuggestion>& suggestions) { |
56 return NULL; | 51 return NULL; |
57 } | 52 } |
58 | 53 |
59 bool BrowserPluginGuestDelegate::HandleContextMenu( | 54 bool BrowserPluginGuestDelegate::HandleContextMenu( |
60 const ContextMenuParams& params) { | 55 const ContextMenuParams& params) { |
61 return false; | 56 return false; |
62 } | 57 } |
63 | 58 |
64 } // namespace content | 59 } // namespace content |
OLD | NEW |