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

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

Issue 1308273003: Resend unconsumed scroll update from guest back to embedder (WebView Scroll Bubble). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't require GestureScrollBegin for touch-pad GestureFlingStart. Created 5 years, 2 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
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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 bool suppress_next_char_events_; 799 bool suppress_next_char_events_;
800 800
801 bool pending_mouse_lock_request_; 801 bool pending_mouse_lock_request_;
802 bool allow_privileged_mouse_lock_; 802 bool allow_privileged_mouse_lock_;
803 803
804 // Keeps track of whether the webpage has any touch event handler. If it does, 804 // Keeps track of whether the webpage has any touch event handler. If it does,
805 // then touch events are sent to the renderer. Otherwise, the touch events are 805 // then touch events are sent to the renderer. Otherwise, the touch events are
806 // not sent to the renderer. 806 // not sent to the renderer.
807 bool has_touch_handler_; 807 bool has_touch_handler_;
808 808
809 // TODO(wjmaclean) Remove the code for supporting resending gesture events
810 // when WebView transitions to OOPIF and BrowserPlugin is removed.
811 // http://crbug.com/533069
812 bool is_in_gesture_scroll_;
813
809 scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_; 814 scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_;
810 815
811 scoped_ptr<TouchEmulator> touch_emulator_; 816 scoped_ptr<TouchEmulator> touch_emulator_;
812 817
813 // Receives and handles all input events. 818 // Receives and handles all input events.
814 scoped_ptr<InputRouter> input_router_; 819 scoped_ptr<InputRouter> input_router_;
815 820
816 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; 821 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_;
817 822
818 scoped_ptr<TimeoutMonitor> new_content_rendering_timeout_; 823 scoped_ptr<TimeoutMonitor> new_content_rendering_timeout_;
(...skipping 19 matching lines...) Expand all
838 bool is_focused_; 843 bool is_focused_;
839 844
840 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 845 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
841 846
842 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 847 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
843 }; 848 };
844 849
845 } // namespace content 850 } // namespace content
846 851
847 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 852 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/gesture_event_queue.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