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

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

Issue 280833003: <webview>: Move Color Chooser and File Chooser to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_downloads_to_chorme
Patch Set: 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
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 const GURL& url, 42 const GURL& url,
43 const base::Callback<void(bool)>& callback) { 43 const base::Callback<void(bool)>& callback) {
44 callback.Run(true); 44 callback.Run(true);
45 } 45 }
46 46
47 JavaScriptDialogManager* 47 JavaScriptDialogManager*
48 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() { 48 BrowserPluginGuestDelegate::GetJavaScriptDialogManager() {
49 return NULL; 49 return NULL;
50 } 50 }
51 51
52 ColorChooser* BrowserPluginGuestDelegate::OpenColorChooser(
53 WebContents* web_contents,
54 SkColor color,
55 const std::vector<ColorSuggestion>& suggestions) {
56 return NULL;
57 }
58
52 bool BrowserPluginGuestDelegate::HandleContextMenu( 59 bool BrowserPluginGuestDelegate::HandleContextMenu(
53 const ContextMenuParams& params) { 60 const ContextMenuParams& params) {
54 return false; 61 return false;
55 } 62 }
56 63
57 } // namespace content 64 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698