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

Unified Diff: third_party/WebKit/WebKit/chromium/public/WebViewClient.h

Issue 174318: Introduce new async IPC message to get file icons (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/WebKit/chromium/public/WebViewClient.h
===================================================================
--- third_party/WebKit/WebKit/chromium/public/WebViewClient.h (revision 58975)
+++ third_party/WebKit/WebKit/chromium/public/WebViewClient.h (working copy)
@@ -48,6 +48,7 @@
class WebFileChooserCompletion;
class WebFrame;
class WebGeolocationService;
+class WebIconLoadingCompletion;
class WebImage;
class WebNode;
class WebNotificationPresenter;
@@ -98,6 +99,9 @@
// Called to retrieve the provider of desktop notifications.
virtual WebNotificationPresenter* notificationPresenter() { return 0; }
+ // Called to request an icon for the specified filenames.
+ // The icon is shown in a file upload control.
+ virtual bool chooseIconForFiles(const WebVector<WebString>& filenames, WebIconLoadingCompletion*) { return false; }
// Navigational --------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698