Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: content/public/browser/browser_plugin_guest_delegate.cc

Issue 2700613003: Enable find-in-page across GuestViews. (Closed)
Patch Set: Small fix. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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::HandleFindForEmbedder(
24 int request_id,
25 const base::string16& search_text,
26 const blink::WebFindOptions& options) {
27 return false;
28 }
29
30 bool BrowserPluginGuestDelegate::HandleStopFindingForEmbedder(
31 StopFindAction action) {
32 return false;
33 }
34
35 bool BrowserPluginGuestDelegate::CanUseCrossProcessFrames() { 23 bool BrowserPluginGuestDelegate::CanUseCrossProcessFrames() {
36 return true; 24 return true;
37 } 25 }
38 26
39 bool BrowserPluginGuestDelegate::CanBeEmbeddedInsideCrossProcessFrames() { 27 bool BrowserPluginGuestDelegate::CanBeEmbeddedInsideCrossProcessFrames() {
40 return false; 28 return false;
41 } 29 }
42 30
43 RenderWidgetHost* BrowserPluginGuestDelegate::GetOwnerRenderWidgetHost() { 31 RenderWidgetHost* BrowserPluginGuestDelegate::GetOwnerRenderWidgetHost() {
44 return nullptr; 32 return nullptr;
45 } 33 }
46 34
47 SiteInstance* BrowserPluginGuestDelegate::GetOwnerSiteInstance() { 35 SiteInstance* BrowserPluginGuestDelegate::GetOwnerSiteInstance() {
48 return nullptr; 36 return nullptr;
49 } 37 }
50 38
51 } // namespace content 39 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698