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

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

Issue 1392343002: Reduce the public method footprint of GuestViewBase and derived types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Reverted reordering in cc files. Created 5 years, 2 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::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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698