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

Side by Side Diff: chrome/renderer/render_widget.h

Issue 6409007: Calculate animation_floor_time_ only when actually updating animations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add bool to track if we've called animate() and are waiting for a paint to happen Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/render_widget.cc » ('j') | chrome/renderer/render_widget.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H_
6 #define CHROME_RENDERER_RENDER_WIDGET_H_ 6 #define CHROME_RENDERER_RENDER_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 365
366 // Indicates if the next sequence of Char events should be suppressed or not. 366 // Indicates if the next sequence of Char events should be suppressed or not.
367 bool suppress_next_char_events_; 367 bool suppress_next_char_events_;
368 368
369 // Set to true if painting to the window is handled by the accelerated 369 // Set to true if painting to the window is handled by the accelerated
370 // compositor. 370 // compositor.
371 bool is_accelerated_compositing_active_; 371 bool is_accelerated_compositing_active_;
372 372
373 base::Time animation_floor_time_; 373 base::Time animation_floor_time_;
374 bool animation_update_pending_; 374 bool animation_update_pending_;
375 bool animation_waiting_for_paint_;
375 376
376 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 377 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
377 }; 378 };
378 379
379 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ 380 #endif // CHROME_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_widget.cc » ('j') | chrome/renderer/render_widget.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698