OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 // A custom background for the widget. | 451 // A custom background for the widget. |
452 SkBitmap background_; | 452 SkBitmap background_; |
453 | 453 |
454 // While we are waiting for the browser to update window sizes, | 454 // While we are waiting for the browser to update window sizes, |
455 // we track the pending size temporarily. | 455 // we track the pending size temporarily. |
456 int pending_window_rect_count_; | 456 int pending_window_rect_count_; |
457 WebKit::WebRect pending_window_rect_; | 457 WebKit::WebRect pending_window_rect_; |
458 | 458 |
459 scoped_ptr<IPC::Message> pending_input_event_ack_; | 459 scoped_ptr<IPC::Message> pending_input_event_ack_; |
460 | 460 |
461 // Indicates if the next sequence of Char events should be suppressed or not. | |
462 bool suppress_next_char_events_; | |
463 | |
464 // Set to true if painting to the window is handled by the accelerated | 461 // Set to true if painting to the window is handled by the accelerated |
465 // compositor. | 462 // compositor. |
466 bool is_accelerated_compositing_active_; | 463 bool is_accelerated_compositing_active_; |
467 | 464 |
468 base::Time animation_floor_time_; | 465 base::Time animation_floor_time_; |
469 bool animation_update_pending_; | 466 bool animation_update_pending_; |
470 bool animation_task_posted_; | 467 bool animation_task_posted_; |
471 bool invalidation_task_posted_; | 468 bool invalidation_task_posted_; |
472 | 469 |
473 bool has_disable_gpu_vsync_switch_; | 470 bool has_disable_gpu_vsync_switch_; |
474 base::TimeTicks last_do_deferred_update_time_; | 471 base::TimeTicks last_do_deferred_update_time_; |
475 | 472 |
476 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 473 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
477 }; | 474 }; |
478 | 475 |
479 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 476 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |