| OLD | NEW |
| 1 /* Copyright (C) 2012 Google Inc. All rights reserved. | 1 /* Copyright (C) 2012 Google Inc. All rights reserved. |
| 2 * | 2 * |
| 3 * Redistribution and use in source and binary forms, with or without | 3 * Redistribution and use in source and binary forms, with or without |
| 4 * modification, are permitted provided that the following conditions | 4 * modification, are permitted provided that the following conditions |
| 5 * are met: | 5 * are met: |
| 6 * 1. Redistributions of source code must retain the above copyright | 6 * 1. Redistributions of source code must retain the above copyright |
| 7 * notice, this list of conditions and the following disclaimer. | 7 * notice, this list of conditions and the following disclaimer. |
| 8 * 2. Redistributions in binary form must reproduce the above copyright | 8 * 2. Redistributions in binary form must reproduce the above copyright |
| 9 * notice, this list of conditions and the following disclaimer in the | 9 * notice, this list of conditions and the following disclaimer in the |
| 10 * documentation and/or other materials provided with the distribution. | 10 * documentation and/or other materials provided with the distribution. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 double startTime, | 77 double startTime, |
| 78 double duration) = 0; | 78 double duration) = 0; |
| 79 | 79 |
| 80 // Request another callback to WebInputHandler::animate(). | 80 // Request another callback to WebInputHandler::animate(). |
| 81 virtual void scheduleAnimation() = 0; | 81 virtual void scheduleAnimation() = 0; |
| 82 | 82 |
| 83 // Returns whether there are any touch event handlers registered on the | 83 // Returns whether there are any touch event handlers registered on the |
| 84 // given WebPoint. | 84 // given WebPoint. |
| 85 virtual bool haveTouchEventHandlersAt(WebPoint) = 0; | 85 virtual bool haveTouchEventHandlersAt(WebPoint) = 0; |
| 86 | 86 |
| 87 // Indicate that the final input event for the current vsync interval was re
ceived. | 87 // Indicate that the final input event for the current vsync interval was |
| 88 virtual void didReceiveLastInputEventForVSync() { } | 88 // received. The frame time is given in the same time base as |
| 89 // monotonicallyIncreasingTime(). |
| 90 virtual void didReceiveLastInputEventForVSync(double frameTimeSeconds) { } |
| 89 | 91 |
| 90 protected: | 92 protected: |
| 91 virtual ~WebInputHandlerClient() { } | 93 virtual ~WebInputHandlerClient() { } |
| 92 }; | 94 }; |
| 93 | 95 |
| 94 } | 96 } |
| 95 | 97 |
| 96 #endif | 98 #endif |
| OLD | NEW |