| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 // Called when a call to WebWidget::animate is required | 71 // Called when a call to WebWidget::animate is required |
| 72 virtual void scheduleAnimation() { } | 72 virtual void scheduleAnimation() { } |
| 73 | 73 |
| 74 // Called immediately following the first compositor-driven (frame-generatin
g) layout that | 74 // Called immediately following the first compositor-driven (frame-generatin
g) layout that |
| 75 // happened after an interesting document lifecyle change (see WebMeaningful
Layout for details.) | 75 // happened after an interesting document lifecyle change (see WebMeaningful
Layout for details.) |
| 76 virtual void didMeaningfulLayout(WebMeaningfulLayout) {} | 76 virtual void didMeaningfulLayout(WebMeaningfulLayout) {} |
| 77 | 77 |
| 78 virtual void didFirstLayoutAfterFinishedParsing() { } | 78 virtual void didFirstLayoutAfterFinishedParsing() { } |
| 79 | 79 |
| 80 // Called when the widget acquires or loses focus, respectively. | |
| 81 virtual void didFocus() { } | |
| 82 virtual void didBlur() { } | |
| 83 | |
| 84 // Called when the cursor for the widget changes. | 80 // Called when the cursor for the widget changes. |
| 85 virtual void didChangeCursor(const WebCursorInfo&) { } | 81 virtual void didChangeCursor(const WebCursorInfo&) { } |
| 86 | 82 |
| 87 // Called when the widget should be closed. WebWidget::close() should | 83 // Called when the widget should be closed. WebWidget::close() should |
| 88 // be called asynchronously as a result of this notification. | 84 // be called asynchronously as a result of this notification. |
| 89 virtual void closeWidgetSoon() { } | 85 virtual void closeWidgetSoon() { } |
| 90 | 86 |
| 91 // Called to show the widget according to the given policy. | 87 // Called to show the widget according to the given policy. |
| 92 virtual void show(WebNavigationPolicy) { } | 88 virtual void show(WebNavigationPolicy) { } |
| 93 | 89 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // migration is completed. | 184 // migration is completed. |
| 189 virtual void convertWindowToViewport(WebFloatRect* rect) {} | 185 virtual void convertWindowToViewport(WebFloatRect* rect) {} |
| 190 | 186 |
| 191 protected: | 187 protected: |
| 192 ~WebWidgetClient() { } | 188 ~WebWidgetClient() { } |
| 193 }; | 189 }; |
| 194 | 190 |
| 195 } // namespace blink | 191 } // namespace blink |
| 196 | 192 |
| 197 #endif | 193 #endif |
| OLD | NEW |