OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 namespace content { | 7 namespace content { |
8 | 8 |
9 bool BrowserPluginGuestDelegate::CanRunInDetachedState() const { | 9 bool BrowserPluginGuestDelegate::CanRunInDetachedState() const { |
10 return false; | 10 return false; |
11 } | 11 } |
12 | 12 |
13 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( | 13 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( |
14 const WebContents::CreateParams& create_params) { | 14 const WebContents::CreateParams& create_params) { |
15 NOTREACHED(); | 15 NOTREACHED(); |
16 return nullptr; | 16 return nullptr; |
17 } | 17 } |
18 | 18 |
19 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const { | 19 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const { |
20 return nullptr; | 20 return nullptr; |
21 } | 21 } |
22 | 22 |
23 bool BrowserPluginGuestDelegate::Find(int request_id, | 23 bool BrowserPluginGuestDelegate::HandleFindForEmbedder( |
24 const base::string16& search_text, | 24 int request_id, |
25 const blink::WebFindOptions& options) { | 25 const base::string16& search_text, |
| 26 const blink::WebFindOptions& options) { |
26 return false; | 27 return false; |
27 } | 28 } |
28 | 29 |
29 bool BrowserPluginGuestDelegate::StopFinding(StopFindAction action) { | 30 bool BrowserPluginGuestDelegate::HandleStopFindingForEmbedder( |
| 31 StopFindAction action) { |
30 return false; | 32 return false; |
31 } | 33 } |
32 | 34 |
33 } // namespace content | 35 } // namespace content |
OLD | NEW |