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

Side by Side Diff: content/browser/browser_plugin/test_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/browser/browser_plugin/test_browser_plugin_guest_delegate.h" 5 #include "content/browser/browser_plugin/test_browser_plugin_guest_delegate.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 TestBrowserPluginGuestDelegate::TestBrowserPluginGuestDelegate() 9 TestBrowserPluginGuestDelegate::TestBrowserPluginGuestDelegate()
10 : load_aborted_(false) { 10 : load_aborted_(false) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 load_aborted_ = true; 43 load_aborted_ = true;
44 load_aborted_url_ = url; 44 load_aborted_url_ = url;
45 } 45 }
46 46
47 void TestBrowserPluginGuestDelegate::RendererResponsive() { 47 void TestBrowserPluginGuestDelegate::RendererResponsive() {
48 } 48 }
49 49
50 void TestBrowserPluginGuestDelegate::RendererUnresponsive() { 50 void TestBrowserPluginGuestDelegate::RendererUnresponsive() {
51 } 51 }
52 52
53 bool TestBrowserPluginGuestDelegate::RequestPermission( 53 void TestBrowserPluginGuestDelegate::RequestPermission(
54 BrowserPluginPermissionType permission_type, 54 BrowserPluginPermissionType permission_type,
55 const base::DictionaryValue& request_info, 55 const base::DictionaryValue& request_info,
56 const PermissionResponseCallback& callback, 56 const PermissionResponseCallback& callback,
57 bool allowed_by_default) { 57 bool allowed_by_default) {
58 return BrowserPluginGuestDelegate::RequestPermission(permission_type,
59 request_info,
60 callback,
61 allowed_by_default);
62 } 58 }
63 59
64 void TestBrowserPluginGuestDelegate::SizeChanged(const gfx::Size& old_size, 60 void TestBrowserPluginGuestDelegate::SizeChanged(const gfx::Size& old_size,
65 const gfx::Size& new_size) { 61 const gfx::Size& new_size) {
66 } 62 }
67 63
68 } // namespace content 64 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698