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

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

Issue 239143007: <webview>: Move JavaScript Dialog API to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_pointer_lock_to_chrome
Patch Set: Addressed nits 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 #include "base/callback.h" 7 #include "base/callback.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 22 matching lines...) Expand all
33 scoped_ptr<MediaStreamUI>()); 33 scoped_ptr<MediaStreamUI>());
34 } 34 }
35 35
36 void BrowserPluginGuestDelegate::CanDownload( 36 void BrowserPluginGuestDelegate::CanDownload(
37 const std::string& request_method, 37 const std::string& request_method,
38 const GURL& url, 38 const GURL& url,
39 const base::Callback<void(bool)>& callback) { 39 const base::Callback<void(bool)>& callback) {
40 callback.Run(true); 40 callback.Run(true);
41 } 41 }
42 42
43 JavaScriptDialogManager*
44 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() {
45 return NULL;
46 }
47
43 } // namespace content 48 } // 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