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

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

Issue 258373002: Towards moving guest management to chrome: Introduce GuestViewManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some cleanup and simpification Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "base/callback.h" 7 #include "base/callback.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 WebContents* BrowserPluginGuestDelegate::GetOpener() const {
12 return NULL;
13 }
14
11 bool BrowserPluginGuestDelegate::HandleKeyboardEvent( 15 bool BrowserPluginGuestDelegate::HandleKeyboardEvent(
12 const NativeWebKeyboardEvent& event) { 16 const NativeWebKeyboardEvent& event) {
13 return false; 17 return false;
14 } 18 }
15 19
16 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() { 20 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() {
17 return false; 21 return false;
18 } 22 }
19 23
20 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const { 24 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const {
(...skipping 18 matching lines...) Expand all
39 const base::Callback<void(bool)>& callback) { 43 const base::Callback<void(bool)>& callback) {
40 callback.Run(true); 44 callback.Run(true);
41 } 45 }
42 46
43 JavaScriptDialogManager* 47 JavaScriptDialogManager*
44 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() { 48 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() {
45 return NULL; 49 return NULL;
46 } 50 }
47 51
48 } // namespace content 52 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698