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

Side by Side Diff: third_party/WebKit/public/web/WebViewClient.h

Issue 1836973003: Move download messages from Renderer to Frame filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments, merge Created 4 years, 6 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 | « third_party/WebKit/public/web/WebView.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 /* 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // children, to print. Otherwise, the main frame and its children 100 // children, to print. Otherwise, the main frame and its children
101 // should be printed. 101 // should be printed.
102 virtual void printPage(WebLocalFrame*) { } 102 virtual void printPage(WebLocalFrame*) { }
103 103
104 // This method enumerates all the files in the path. It returns immediately 104 // This method enumerates all the files in the path. It returns immediately
105 // and asynchronously invokes the WebFileChooserCompletion with all the 105 // and asynchronously invokes the WebFileChooserCompletion with all the
106 // files in the directory. Returns false if the WebFileChooserCompletion 106 // files in the directory. Returns false if the WebFileChooserCompletion
107 // will never be called. 107 // will never be called.
108 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC ompletion*) { return false; } 108 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC ompletion*) { return false; }
109 109
110 // This method is called in response to WebView's saveImageAt(x, y).
111 // A data url from <canvas> or <img> is passed to the method's argument.
112 virtual void saveImageFromDataURL(const WebString&) { }
113
114 // Called when PageImportanceSignals for the WebView is updated. 110 // Called when PageImportanceSignals for the WebView is updated.
115 virtual void pageImportanceSignalsChanged() { } 111 virtual void pageImportanceSignalsChanged() { }
116 112
117 // Editing ------------------------------------------------------------- 113 // Editing -------------------------------------------------------------
118 114
119 // These methods allow the client to intercept and overrule editing 115 // These methods allow the client to intercept and overrule editing
120 // operations. 116 // operations.
121 virtual void didCancelCompositionOnSelectionChange() { } 117 virtual void didCancelCompositionOnSelectionChange() { }
122 virtual void didChangeContents() { } 118 virtual void didChangeContents() { }
123 119
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 WebRect windowRect() override { return WebRect(); } 288 WebRect windowRect() override { return WebRect(); }
293 WebRect windowResizerRect() override { return WebRect(); } 289 WebRect windowResizerRect() override { return WebRect(); }
294 290
295 protected: 291 protected:
296 ~WebViewClient() { } 292 ~WebViewClient() { }
297 }; 293 };
298 294
299 } // namespace blink 295 } // namespace blink
300 296
301 #endif 297 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698