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