| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // Notification that some progress was made loading the current page. | 155 // Notification that some progress was made loading the current page. |
| 156 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully | 156 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully |
| 157 // loaded). | 157 // loaded). |
| 158 virtual void didChangeLoadProgress(WebFrame*, double loadProgress) { } | 158 virtual void didChangeLoadProgress(WebFrame*, double loadProgress) { } |
| 159 | 159 |
| 160 // Editing ------------------------------------------------------------- | 160 // Editing ------------------------------------------------------------- |
| 161 | 161 |
| 162 // These methods allow the client to intercept and overrule editing | 162 // These methods allow the client to intercept and overrule editing |
| 163 // operations. | 163 // operations. |
| 164 virtual void didCancelCompositionOnSelectionChange() { } | 164 virtual void didCancelCompositionOnSelectionChange() { } |
| 165 virtual void didChangeSelection(bool isSelectionEmpty) { } | |
| 166 virtual void didChangeContents() { } | 165 virtual void didChangeContents() { } |
| 167 virtual void didExecuteCommand(const WebString& commandName) { } | 166 virtual void didExecuteCommand(const WebString& commandName) { } |
| 168 | 167 |
| 169 // This method is called in response to WebView's handleInputEvent() | 168 // This method is called in response to WebView's handleInputEvent() |
| 170 // when the default action for the current keyboard event is not | 169 // when the default action for the current keyboard event is not |
| 171 // suppressed by the page, to give the embedder a chance to handle | 170 // suppressed by the page, to give the embedder a chance to handle |
| 172 // the keyboard event specially. | 171 // the keyboard event specially. |
| 173 // | 172 // |
| 174 // Returns true if the keyboard event was handled by the embedder, | 173 // Returns true if the keyboard event was handled by the embedder, |
| 175 // indicating that the default action should be suppressed. | 174 // indicating that the default action should be suppressed. |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 // Informs the browser that the draggable regions have been updated. | 408 // Informs the browser that the draggable regions have been updated. |
| 410 virtual void draggableRegionsChanged() { } | 409 virtual void draggableRegionsChanged() { } |
| 411 | 410 |
| 412 protected: | 411 protected: |
| 413 ~WebViewClient() { } | 412 ~WebViewClient() { } |
| 414 }; | 413 }; |
| 415 | 414 |
| 416 } // namespace blink | 415 } // namespace blink |
| 417 | 416 |
| 418 #endif | 417 #endif |
| OLD | NEW |