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

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

Issue 330113002: Fixing flaky overscroll and touch exploration mode browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to update .h Created 6 years, 6 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 <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 void SetIsLoading(bool is_loading); 249 void SetIsLoading(bool is_loading);
250 250
251 // Pause for a moment to wait for pending repaint or resize messages sent to 251 // Pause for a moment to wait for pending repaint or resize messages sent to
252 // the renderer to arrive. If pending resize messages are for an old window 252 // the renderer to arrive. If pending resize messages are for an old window
253 // size, then also pump through a new resize message if there is time. 253 // size, then also pump through a new resize message if there is time.
254 void PauseForPendingResizeOrRepaints(); 254 void PauseForPendingResizeOrRepaints();
255 255
256 // Whether pausing may be useful. 256 // Whether pausing may be useful.
257 bool CanPauseForPendingResizeOrRepaints(); 257 bool CanPauseForPendingResizeOrRepaints();
258 258
259 inline bool resize_ack_pending_for_testing() {return resize_ack_pending_;}
jam 2014/06/23 07:12:05 nit: { return resize_ack_pending_; } per style gui
mfomitchev 2014/06/24 19:54:25 Done.
260
259 // Wait for a surface matching the size of the widget's view, possibly 261 // Wait for a surface matching the size of the widget's view, possibly
260 // blocking until the renderer sends a new frame. 262 // blocking until the renderer sends a new frame.
261 void WaitForSurface(); 263 void WaitForSurface();
262 264
263 // GPU accelerated version of GetBackingStore function. This will 265 // GPU accelerated version of GetBackingStore function. This will
264 // trigger a re-composite to the view. It may fail if a resize is pending, or 266 // trigger a re-composite to the view. It may fail if a resize is pending, or
265 // if a composite has already been requested and not acked yet. 267 // if a composite has already been requested and not acked yet.
266 bool ScheduleComposite(); 268 bool ScheduleComposite();
267 269
268 // Starts a hang monitor timeout. If there's already a hang monitor timeout 270 // Starts a hang monitor timeout. If there's already a hang monitor timeout
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 #endif 863 #endif
862 864
863 int64 last_input_number_; 865 int64 last_input_number_;
864 866
865 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 867 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
866 }; 868 };
867 869
868 } // namespace content 870 } // namespace content
869 871
870 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 872 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698