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

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

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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 BrowserPluginGuestDelegate::BrowserPluginGuestDelegate() = default;
10
9 bool BrowserPluginGuestDelegate::CanRunInDetachedState() const { 11 bool BrowserPluginGuestDelegate::CanRunInDetachedState() const {
10 return false; 12 return false;
11 } 13 }
12 14
13 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( 15 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow(
14 const WebContents::CreateParams& create_params) { 16 const WebContents::CreateParams& create_params) {
15 NOTREACHED(); 17 NOTREACHED();
16 return nullptr; 18 return nullptr;
17 } 19 }
18 20
19 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const { 21 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const {
20 return nullptr; 22 return nullptr;
21 } 23 }
22 24
23 bool BrowserPluginGuestDelegate::HandleFindForEmbedder( 25 bool BrowserPluginGuestDelegate::HandleFindForEmbedder(
24 int request_id, 26 int request_id,
25 const base::string16& search_text, 27 const base::string16& search_text,
26 const blink::WebFindOptions& options) { 28 const blink::WebFindOptions& options) {
27 return false; 29 return false;
28 } 30 }
29 31
30 bool BrowserPluginGuestDelegate::HandleStopFindingForEmbedder( 32 bool BrowserPluginGuestDelegate::HandleStopFindingForEmbedder(
31 StopFindAction action) { 33 StopFindAction action) {
32 return false; 34 return false;
33 } 35 }
34 36
35 } // namespace content 37 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698