| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |