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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 14487003: Add a new pair of IPC categories for messages that need handling as input events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addresses feedback Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 727
728 // True if the render widget host should track the render widget's size as 728 // True if the render widget host should track the render widget's size as
729 // opposed to visa versa. 729 // opposed to visa versa.
730 bool should_auto_resize_; 730 bool should_auto_resize_;
731 731
732 bool waiting_for_screen_rects_ack_; 732 bool waiting_for_screen_rects_ack_;
733 gfx::Rect last_view_screen_rect_; 733 gfx::Rect last_view_screen_rect_;
734 gfx::Rect last_window_screen_rect_; 734 gfx::Rect last_window_screen_rect_;
735 735
736 // True if a mouse move event was sent to the render view and we are waiting 736 // True if a mouse move event was sent to the render view and we are waiting
737 // for a corresponding ViewHostMsg_HandleInputEvent_ACK message. 737 // for a corresponding InputHostMsg_HandleInputEvent_ACK message.
738 bool mouse_move_pending_; 738 bool mouse_move_pending_;
739 739
740 // The next mouse move event to send (only non-null while mouse_move_pending_ 740 // The next mouse move event to send (only non-null while mouse_move_pending_
741 // is true). 741 // is true).
742 scoped_ptr<WebKit::WebMouseEvent> next_mouse_move_; 742 scoped_ptr<WebKit::WebMouseEvent> next_mouse_move_;
743 743
744 // (Similar to |mouse_move_pending_|.) True if a mouse wheel event was sent 744 // (Similar to |mouse_move_pending_|.) True if a mouse wheel event was sent
745 // and we are waiting for a corresponding ack. 745 // and we are waiting for a corresponding ack.
746 bool mouse_wheel_pending_; 746 bool mouse_wheel_pending_;
747 WebKit::WebMouseWheelEvent current_wheel_event_; 747 WebKit::WebMouseWheelEvent current_wheel_event_;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 877
878 // List of callbacks for pending snapshot requests to the renderer. 878 // List of callbacks for pending snapshot requests to the renderer.
879 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; 879 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_;
880 880
881 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 881 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
882 }; 882 };
883 883
884 } // namespace content 884 } // namespace content
885 885
886 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 886 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698