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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 30 matching lines...) Expand all
41 #include "WebTextDirection.h" 41 #include "WebTextDirection.h"
42 #include "WebWidgetClient.h" 42 #include "WebWidgetClient.h"
43 43
44 namespace WebKit { 44 namespace WebKit {
45 45
46 class WebAccessibilityObject; 46 class WebAccessibilityObject;
47 class WebDragData; 47 class WebDragData;
48 class WebFileChooserCompletion; 48 class WebFileChooserCompletion;
49 class WebFrame; 49 class WebFrame;
50 class WebGeolocationService; 50 class WebGeolocationService;
51 class WebIconLoadingCompletion;
51 class WebImage; 52 class WebImage;
52 class WebNode; 53 class WebNode;
53 class WebNotificationPresenter; 54 class WebNotificationPresenter;
54 class WebRange; 55 class WebRange;
55 class WebStorageNamespace; 56 class WebStorageNamespace;
56 class WebURL; 57 class WebURL;
57 class WebView; 58 class WebView;
58 class WebWidget; 59 class WebWidget;
59 struct WebConsoleMessage; 60 struct WebConsoleMessage;
60 struct WebContextMenuData; 61 struct WebContextMenuData;
(...skipping 30 matching lines...) Expand all
91 92
92 // Called when script in the page calls window.print(). If frame is 93 // Called when script in the page calls window.print(). If frame is
93 // non-null, then it selects a particular frame, including its 94 // non-null, then it selects a particular frame, including its
94 // children, to print. Otherwise, the main frame and its children 95 // children, to print. Otherwise, the main frame and its children
95 // should be printed. 96 // should be printed.
96 virtual void printPage(WebFrame*) { } 97 virtual void printPage(WebFrame*) { }
97 98
98 // Called to retrieve the provider of desktop notifications. 99 // Called to retrieve the provider of desktop notifications.
99 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 100 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
100 101
102 // Called to request an icon for the specified filenames.
103 // The icon is shown in a file upload control.
104 virtual bool chooseIconForFiles(const WebVector<WebString>& filenames, WebIc onLoadingCompletion*) { return false; }
101 105
102 // Navigational -------------------------------------------------------- 106 // Navigational --------------------------------------------------------
103 107
104 // These notifications bracket any loading that occurs in the WebView. 108 // These notifications bracket any loading that occurs in the WebView.
105 virtual void didStartLoading() { } 109 virtual void didStartLoading() { }
106 virtual void didStopLoading() { } 110 virtual void didStopLoading() { }
107 111
108 112
109 // Editing ------------------------------------------------------------- 113 // Editing -------------------------------------------------------------
110 114
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Access the embedder API for geolocation services. 298 // Access the embedder API for geolocation services.
295 virtual WebKit::WebGeolocationService* geolocationService() { return 0; } 299 virtual WebKit::WebGeolocationService* geolocationService() { return 0; }
296 300
297 protected: 301 protected:
298 ~WebViewClient() { } 302 ~WebViewClient() { }
299 }; 303 };
300 304
301 } // namespace WebKit 305 } // namespace WebKit
302 306
303 #endif 307 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698