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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 void ProcessKeyboardEventAck(int type, bool processed); | 743 void ProcessKeyboardEventAck(int type, bool processed); |
744 | 744 |
745 // Called by OnMsgInputEventAck() to process a wheel event ack message. | 745 // Called by OnMsgInputEventAck() to process a wheel event ack message. |
746 // This could result in a task being posted to allow additional wheel | 746 // This could result in a task being posted to allow additional wheel |
747 // input messages to be coalesced. | 747 // input messages to be coalesced. |
748 void ProcessWheelAck(bool processed); | 748 void ProcessWheelAck(bool processed); |
749 | 749 |
750 // Called on OnMsgInputEventAck() to process a touch event ack message. | 750 // Called on OnMsgInputEventAck() to process a touch event ack message. |
751 // This can result in a gesture event being generated and sent back to the | 751 // This can result in a gesture event being generated and sent back to the |
752 // renderer. | 752 // renderer. |
753 void ProcessTouchAck(WebKit::WebInputEvent::Type type, bool processed); | 753 void ProcessTouchAck(bool processed); |
754 | 754 |
755 // True if renderer accessibility is enabled. This should only be set when a | 755 // True if renderer accessibility is enabled. This should only be set when a |
756 // screenreader is detected as it can potentially slow down Chrome. | 756 // screenreader is detected as it can potentially slow down Chrome. |
757 bool renderer_accessible_; | 757 bool renderer_accessible_; |
758 | 758 |
759 // Stores random bits of data for others to associate with this object. | 759 // Stores random bits of data for others to associate with this object. |
760 base::PropertyBag property_bag_; | 760 base::PropertyBag property_bag_; |
761 | 761 |
762 // The ID of the corresponding object in the Renderer Instance. | 762 // The ID of the corresponding object in the Renderer Instance. |
763 int routing_id_; | 763 int routing_id_; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 // then touch events are sent to the renderer. Otherwise, the touch events are | 897 // then touch events are sent to the renderer. Otherwise, the touch events are |
898 // not sent to the renderer. | 898 // not sent to the renderer. |
899 bool has_touch_handler_; | 899 bool has_touch_handler_; |
900 | 900 |
901 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 901 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
902 | 902 |
903 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 903 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
904 }; | 904 }; |
905 | 905 |
906 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 906 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |