OLD | NEW |
---|---|
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 Loading... | |
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() { | |
jam
2014/04/16 16:14:29
nit: per style guide, no indentation on second lin
Fady Samuel
2014/04/16 18:34:39
Done.
| |
45 return NULL; | |
46 } | |
47 | |
43 } // namespace content | 48 } // namespace content |
OLD | NEW |