Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1051)

Side by Side Diff: Source/Platform/chromium/public/WebInputHandlerClient.h

Issue 13880009: Include timestamp with vsync-delineating input events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698