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

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

Issue 9572033: Revert 124813 - Improve switch between gestures and touch mode when kEnableTouchEvents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host.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) 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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698