OLD | NEW |
---|---|
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_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <string> | 10 #include <string> |
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
745 void ProcessKeyboardEventAck(int type, bool processed); | 745 void ProcessKeyboardEventAck(int type, bool processed); |
746 | 746 |
747 // Called by OnMsgInputEventAck() to process a wheel event ack message. | 747 // Called by OnMsgInputEventAck() to process a wheel event ack message. |
748 // This could result in a task being posted to allow additional wheel | 748 // This could result in a task being posted to allow additional wheel |
749 // input messages to be coalesced. | 749 // input messages to be coalesced. |
750 void ProcessWheelAck(bool processed); | 750 void ProcessWheelAck(bool processed); |
751 | 751 |
752 // Called on OnMsgInputEventAck() to process a touch event ack message. | 752 // Called on OnMsgInputEventAck() to process a touch event ack message. |
753 // This can result in a gesture event being generated and sent back to the | 753 // This can result in a gesture event being generated and sent back to the |
754 // renderer. | 754 // renderer. |
755 void ProcessTouchAck(bool processed); | 755 void ProcessTouchAck(int type, bool processed); |
jam
2012/03/02 00:15:14
the ints in the code are confusing, why not pass W
| |
756 | 756 |
757 // True if renderer accessibility is enabled. This should only be set when a | 757 // True if renderer accessibility is enabled. This should only be set when a |
758 // screenreader is detected as it can potentially slow down Chrome. | 758 // screenreader is detected as it can potentially slow down Chrome. |
759 bool renderer_accessible_; | 759 bool renderer_accessible_; |
760 | 760 |
761 // Stores random bits of data for others to associate with this object. | 761 // Stores random bits of data for others to associate with this object. |
762 base::PropertyBag property_bag_; | 762 base::PropertyBag property_bag_; |
763 | 763 |
764 // The ID of the corresponding object in the Renderer Instance. | 764 // The ID of the corresponding object in the Renderer Instance. |
765 int routing_id_; | 765 int routing_id_; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
899 // then touch events are sent to the renderer. Otherwise, the touch events are | 899 // then touch events are sent to the renderer. Otherwise, the touch events are |
900 // not sent to the renderer. | 900 // not sent to the renderer. |
901 bool has_touch_handler_; | 901 bool has_touch_handler_; |
902 | 902 |
903 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 903 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
904 | 904 |
905 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 905 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
906 }; | 906 }; |
907 | 907 |
908 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 908 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |