| 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 { |
| 10 return false; |
| 11 } |
| 12 |
| 9 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( | 13 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( |
| 10 const WebContents::CreateParams& create_params) { | 14 const WebContents::CreateParams& create_params) { |
| 11 return NULL; | 15 return NULL; |
| 12 } | 16 } |
| 13 | 17 |
| 18 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const { |
| 19 return NULL; |
| 20 } |
| 21 |
| 14 bool BrowserPluginGuestDelegate::Find(int request_id, | 22 bool BrowserPluginGuestDelegate::Find(int request_id, |
| 15 const base::string16& search_text, | 23 const base::string16& search_text, |
| 16 const blink::WebFindOptions& options) { | 24 const blink::WebFindOptions& options) { |
| 17 return false; | 25 return false; |
| 18 } | 26 } |
| 19 | 27 |
| 20 } // namespace content | 28 } // namespace content |
| OLD | NEW |