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

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

Issue 864943002: Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 382
383 // Requests the renderer to move the caret selection towards the point. 383 // Requests the renderer to move the caret selection towards the point.
384 void MoveCaret(const gfx::Point& point); 384 void MoveCaret(const gfx::Point& point);
385 385
386 // Called when the reponse to a pending mouse lock request has arrived. 386 // Called when the reponse to a pending mouse lock request has arrived.
387 // Returns true if |allowed| is true and the mouse has been successfully 387 // Returns true if |allowed| is true and the mouse has been successfully
388 // locked. 388 // locked.
389 bool GotResponseToLockMouseRequest(bool allowed); 389 bool GotResponseToLockMouseRequest(bool allowed);
390 390
391 // Tells the RenderWidget about the latest vsync parameters. 391 // Tells the RenderWidget about the latest vsync parameters.
392 // Note: Make sure the timebase was obtained using
393 // base::TimeTicks::HighResNow. Using the non-high res timer will result in
394 // incorrect synchronization across processes.
395 virtual void UpdateVSyncParameters(base::TimeTicks timebase, 392 virtual void UpdateVSyncParameters(base::TimeTicks timebase,
396 base::TimeDelta interval); 393 base::TimeDelta interval);
397 394
398 // Called by the view in response to OnSwapCompositorFrame. 395 // Called by the view in response to OnSwapCompositorFrame.
399 static void SendSwapCompositorFrameAck( 396 static void SendSwapCompositorFrameAck(
400 int32 route_id, 397 int32 route_id,
401 uint32 output_surface_id, 398 uint32 output_surface_id,
402 int renderer_host_id, 399 int renderer_host_id,
403 const cc::CompositorFrameAck& ack); 400 const cc::CompositorFrameAck& ack);
404 401
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 PendingSnapshotMap pending_browser_snapshots_; 823 PendingSnapshotMap pending_browser_snapshots_;
827 824
828 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 825 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
829 826
830 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 827 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
831 }; 828 };
832 829
833 } // namespace content 830 } // namespace content
834 831
835 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 832 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698