| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 // children, to print. Otherwise, the main frame and its children | 102 // children, to print. Otherwise, the main frame and its children |
| 103 // should be printed. | 103 // should be printed. |
| 104 virtual void printPage(WebLocalFrame*) { } | 104 virtual void printPage(WebLocalFrame*) { } |
| 105 | 105 |
| 106 // This method enumerates all the files in the path. It returns immediately | 106 // This method enumerates all the files in the path. It returns immediately |
| 107 // and asynchronously invokes the WebFileChooserCompletion with all the | 107 // and asynchronously invokes the WebFileChooserCompletion with all the |
| 108 // files in the directory. Returns false if the WebFileChooserCompletion | 108 // files in the directory. Returns false if the WebFileChooserCompletion |
| 109 // will never be called. | 109 // will never be called. |
| 110 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC
ompletion*) { return false; } | 110 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC
ompletion*) { return false; } |
| 111 | 111 |
| 112 // This method is called in response to WebView's saveImageAt(x, y). | |
| 113 // A data url from <canvas> or <img> is passed to the method's argument. | |
| 114 virtual void saveImageFromDataURL(const WebString&) { } | |
| 115 | |
| 116 // Called when PageImportanceSignals for the WebView is updated. | 112 // Called when PageImportanceSignals for the WebView is updated. |
| 117 virtual void pageImportanceSignalsChanged() { } | 113 virtual void pageImportanceSignalsChanged() { } |
| 118 | 114 |
| 119 // Editing ------------------------------------------------------------- | 115 // Editing ------------------------------------------------------------- |
| 120 | 116 |
| 121 // These methods allow the client to intercept and overrule editing | 117 // These methods allow the client to intercept and overrule editing |
| 122 // operations. | 118 // operations. |
| 123 virtual void didCancelCompositionOnSelectionChange() { } | 119 virtual void didCancelCompositionOnSelectionChange() { } |
| 124 virtual void didChangeContents() { } | 120 virtual void didChangeContents() { } |
| 125 | 121 |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 WebRect windowRect() override { return WebRect(); } | 300 WebRect windowRect() override { return WebRect(); } |
| 305 WebRect windowResizerRect() override { return WebRect(); } | 301 WebRect windowResizerRect() override { return WebRect(); } |
| 306 | 302 |
| 307 protected: | 303 protected: |
| 308 ~WebViewClient() { } | 304 ~WebViewClient() { } |
| 309 }; | 305 }; |
| 310 | 306 |
| 311 } // namespace blink | 307 } // namespace blink |
| 312 | 308 |
| 313 #endif | 309 #endif |
| OLD | NEW |