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 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 const GURL& url, | 42 const GURL& url, |
43 const base::Callback<void(bool)>& callback) { | 43 const base::Callback<void(bool)>& callback) { |
44 callback.Run(true); | 44 callback.Run(true); |
45 } | 45 } |
46 | 46 |
47 JavaScriptDialogManager* | 47 JavaScriptDialogManager* |
48 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() { | 48 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() { |
49 return NULL; | 49 return NULL; |
50 } | 50 } |
51 | 51 |
| 52 ColorChooser* BrowserPluginGuestDelegate::OpenColorChooser( |
| 53 WebContents* web_contents, |
| 54 SkColor color, |
| 55 const std::vector<ColorSuggestion>& suggestions) { |
| 56 return NULL; |
| 57 } |
| 58 |
52 bool BrowserPluginGuestDelegate::HandleContextMenu( | 59 bool BrowserPluginGuestDelegate::HandleContextMenu( |
53 const ContextMenuParams& params) { | 60 const ContextMenuParams& params) { |
54 return false; | 61 return false; |
55 } | 62 } |
56 | 63 |
57 } // namespace content | 64 } // namespace content |
OLD | NEW |