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

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

Issue 8727010: Send one WebKeyboardEvent to the RenderWidget at a time. Move keyboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « content/common/view_messages.h ('k') | content/renderer/render_widget.cc » ('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) 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
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_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698