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

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: More changes based on review comments. 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 384
385 // Requests the renderer to move the caret selection towards the point. 385 // Requests the renderer to move the caret selection towards the point.
386 void MoveCaret(const gfx::Point& point); 386 void MoveCaret(const gfx::Point& point);
387 387
388 // Called when the reponse to a pending mouse lock request has arrived. 388 // Called when the reponse to a pending mouse lock request has arrived.
389 // Returns true if |allowed| is true and the mouse has been successfully 389 // Returns true if |allowed| is true and the mouse has been successfully
390 // locked. 390 // locked.
391 bool GotResponseToLockMouseRequest(bool allowed); 391 bool GotResponseToLockMouseRequest(bool allowed);
392 392
393 // Tells the RenderWidget about the latest vsync parameters. 393 // Tells the RenderWidget about the latest vsync parameters.
394 // Note: Make sure the timebase was obtained using
395 // base::TimeTicks::HighResNow. Using the non-high res timer will result in
396 // incorrect synchronization across processes.
397 virtual void UpdateVSyncParameters(base::TimeTicks timebase, 394 virtual void UpdateVSyncParameters(base::TimeTicks timebase,
398 base::TimeDelta interval); 395 base::TimeDelta interval);
399 396
400 // Called by the view in response to OnSwapCompositorFrame. 397 // Called by the view in response to OnSwapCompositorFrame.
401 static void SendSwapCompositorFrameAck( 398 static void SendSwapCompositorFrameAck(
402 int32 route_id, 399 int32 route_id,
403 uint32 output_surface_id, 400 uint32 output_surface_id,
404 int renderer_host_id, 401 int renderer_host_id,
405 const cc::CompositorFrameAck& ack); 402 const cc::CompositorFrameAck& ack);
406 403
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 PendingSnapshotMap pending_browser_snapshots_; 826 PendingSnapshotMap pending_browser_snapshots_;
830 827
831 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 828 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
832 829
833 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 830 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
834 }; 831 };
835 832
836 } // namespace content 833 } // namespace content
837 834
838 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 835 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host.cc ('k') | content/common/cc_messages_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698