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

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

Issue 235633002: <webview>: Move Geolocation permission to chrome layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests in Debug mode Created 6 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 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 namespace content { 7 namespace content {
8 8
9 bool BrowserPluginGuestDelegate::HandleKeyboardEvent( 9 bool BrowserPluginGuestDelegate::HandleKeyboardEvent(
10 const NativeWebKeyboardEvent& event) { 10 const NativeWebKeyboardEvent& event) {
11 return false; 11 return false;
12 } 12 }
13 13
14 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() { 14 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() {
15 return false; 15 return false;
16 } 16 }
17 17
18 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const { 18 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const {
19 return false; 19 return false;
20 } 20 }
21 21
22 bool BrowserPluginGuestDelegate::RequestPermission(
23 BrowserPluginPermissionType permission_type,
24 const base::DictionaryValue& request_info,
25 const PermissionResponseCallback& callback,
26 bool allowed_by_default) {
27 return false;
28 }
29
30 GURL BrowserPluginGuestDelegate::ResolveURL(const std::string& src) { 22 GURL BrowserPluginGuestDelegate::ResolveURL(const std::string& src) {
31 return GURL(src); 23 return GURL(src);
32 } 24 }
33 25
34 } // namespace content 26 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | content/public/common/browser_plugin_permission_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698