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

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

Issue 1735833002: Remove WebContentsObserver::DidGetUserGesture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing reviewer comment Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 // This value indicates how long to wait before we consider a renderer hung. 827 // This value indicates how long to wait before we consider a renderer hung.
828 base::TimeDelta hung_renderer_delay_; 828 base::TimeDelta hung_renderer_delay_;
829 829
830 // This value indicates how long to wait for a new compositor frame from a 830 // This value indicates how long to wait for a new compositor frame from a
831 // renderer process before clearing any previously displayed content. 831 // renderer process before clearing any previously displayed content.
832 base::TimeDelta new_content_rendering_delay_; 832 base::TimeDelta new_content_rendering_delay_;
833 833
834 // Timer used to batch together mouse wheel events for the delegate 834 // Timer used to batch together mouse wheel events for the delegate
835 // OnUserInteraction method. A wheel event is only dispatched when a wheel 835 // OnUserInteraction method. A wheel event is only dispatched when a wheel
836 // event has not been seen for kMouseWheelCoalesceInterval seconds prior. 836 // event has not been seen for kMouseWheelCoalesceInterval seconds prior.
837 // TODO(dominickn): remove this when GestureScrollBegin has landed.
837 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; 838 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_;
838 839
839 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 840 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
840 841
841 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 842 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
842 }; 843 };
843 844
844 } // namespace content 845 } // namespace content
845 846
846 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 847 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_delegate.h ('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