| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 virtual void pageImportanceSignalsChanged() {} | 107 virtual void pageImportanceSignalsChanged() {} |
| 108 | 108 |
| 109 // Called to get the position of the root window containing the widget | 109 // Called to get the position of the root window containing the widget |
| 110 // in screen coordinates. | 110 // in screen coordinates. |
| 111 virtual WebRect rootWindowRect() { return WebRect(); } | 111 virtual WebRect rootWindowRect() { return WebRect(); } |
| 112 | 112 |
| 113 // Editing ------------------------------------------------------------- | 113 // Editing ------------------------------------------------------------- |
| 114 | 114 |
| 115 // These methods allow the client to intercept and overrule editing | 115 // These methods allow the client to intercept and overrule editing |
| 116 // operations. | 116 // operations. |
| 117 virtual void didCancelCompositionOnSelectionChange() {} | |
| 118 virtual void didChangeContents() {} | 117 virtual void didChangeContents() {} |
| 119 | 118 |
| 120 // Dialogs ------------------------------------------------------------- | 119 // Dialogs ------------------------------------------------------------- |
| 121 | 120 |
| 122 // Ask users to choose date/time for the specified parameters. When a user | 121 // Ask users to choose date/time for the specified parameters. When a user |
| 123 // chooses a value, an implementation of this function should call | 122 // chooses a value, an implementation of this function should call |
| 124 // WebDateTimeChooserCompletion::didChooseValue or didCancelChooser. If the | 123 // WebDateTimeChooserCompletion::didChooseValue or didCancelChooser. If the |
| 125 // implementation opened date/time chooser UI successfully, it should return | 124 // implementation opened date/time chooser UI successfully, it should return |
| 126 // true. This function is used only if ExternalDateTimeChooser is used. | 125 // true. This function is used only if ExternalDateTimeChooser is used. |
| 127 virtual bool openDateTimeChooser(const WebDateTimeChooserParams&, | 126 virtual bool openDateTimeChooser(const WebDateTimeChooserParams&, |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 void show(WebNavigationPolicy) override {} | 282 void show(WebNavigationPolicy) override {} |
| 284 virtual WebWidgetClient* widgetClient() { return this; } | 283 virtual WebWidgetClient* widgetClient() { return this; } |
| 285 | 284 |
| 286 protected: | 285 protected: |
| 287 ~WebViewClient() {} | 286 ~WebViewClient() {} |
| 288 }; | 287 }; |
| 289 | 288 |
| 290 } // namespace blink | 289 } // namespace blink |
| 291 | 290 |
| 292 #endif | 291 #endif |
| OLD | NEW |