Index: content/renderer/gpu/frame_swap_message_queue.h |
diff --git a/content/renderer/gpu/frame_swap_message_queue.h b/content/renderer/gpu/frame_swap_message_queue.h |
index 51eb229ed7871ed8367a2b39c19c741d868ee28b..b12b4176ac2e7acf2ddccb8b816fe732ae7ce81b 100644 |
--- a/content/renderer/gpu/frame_swap_message_queue.h |
+++ b/content/renderer/gpu/frame_swap_message_queue.h |
@@ -52,14 +52,19 @@ class CONTENT_EXPORT FrameSwapMessageQueue |
// Returns true if there are no messages in the queue. |
bool Empty() const; |
- // Should be called when a successful swap occurs. The messages for that swap |
- // can be obtained by calling DrainMessages. |
+ // Should be called when a successful activation occurs. The messages for |
+ // that activation can be obtained by calling DrainMessages. |
+ // |
+ // |source_frame_number| frame number for which the activate occurred. |
+ void DidActivate(int source_frame_number); |
+ |
+ // Should be called when a successful swap occurs. The messages for that |
+ // swap can be obtained by calling DrainMessages. |
// |
// |source_frame_number| frame number for which the swap occurred. |
void DidSwap(int source_frame_number); |
- // Should be called when we know a swap will not occur. This also means we |
- // won't be expecting a DrainMessages call. |
+ // Should be called when we know a swap will not occur. |
// |
// |source_frame_number| frame number for which the swap will not occur. |
// |reason| reason for the which the swap will not occur. |