Index: components/guest_view/browser/guest_view_base.cc |
diff --git a/components/guest_view/browser/guest_view_base.cc b/components/guest_view/browser/guest_view_base.cc |
index 8b90763076d726ab4547df606b0585db75ec2ac5..299cda5954f006959ff9e5b75edc21807c8f5c1e 100644 |
--- a/components/guest_view/browser/guest_view_base.cc |
+++ b/components/guest_view/browser/guest_view_base.cc |
@@ -445,26 +445,6 @@ void GuestViewBase::DidDetach() { |
Destroy(true); |
} |
-bool GuestViewBase::HandleFindForEmbedder( |
- int request_id, |
- const base::string16& search_text, |
- const blink::WebFindOptions& options) { |
- if (ShouldHandleFindRequestsForEmbedder()) { |
- web_contents()->Find(request_id, search_text, options); |
- return true; |
- } |
- return false; |
-} |
- |
-bool GuestViewBase::HandleStopFindingForEmbedder( |
- content::StopFindAction action) { |
- if (ShouldHandleFindRequestsForEmbedder()) { |
- web_contents()->StopFinding(action); |
- return true; |
- } |
- return false; |
-} |
- |
WebContents* GuestViewBase::GetOwnerWebContents() const { |
return owner_web_contents_; |
} |
@@ -570,10 +550,6 @@ void GuestViewBase::SignalWhenReady(const base::Closure& callback) { |
callback.Run(); |
} |
-bool GuestViewBase::ShouldHandleFindRequestsForEmbedder() const { |
- return false; |
-} |
- |
int GuestViewBase::LogicalPixelsToPhysicalPixels(double logical_pixels) const { |
DCHECK(logical_pixels >= 0); |
double zoom_factor = GetEmbedderZoomFactor(); |
@@ -726,23 +702,6 @@ bool GuestViewBase::ShouldResumeRequestsForCreatedWindow() { |
return false; |
} |
-void GuestViewBase::FindReply(WebContents* source, |
- int request_id, |
- int number_of_matches, |
- const gfx::Rect& selection_rect, |
- int active_match_ordinal, |
- bool final_update) { |
- if (ShouldHandleFindRequestsForEmbedder() && |
- attached() && embedder_web_contents()->GetDelegate()) { |
- embedder_web_contents()->GetDelegate()->FindReply(embedder_web_contents(), |
- request_id, |
- number_of_matches, |
- selection_rect, |
- active_match_ordinal, |
- final_update); |
- } |
-} |
- |
content::RenderWidgetHost* GuestViewBase::GetOwnerRenderWidgetHost() { |
// We assume guests live inside an owner RenderFrame but the RenderFrame may |
// not be cross-process. In case a type of guest should be allowed to be |