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

Side by Side Diff: ui/compositor/test/draw_waiter_for_test.cc

Issue 138903025: Read compositor VSync information from platform, when possible (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 287efe04 Rebase, oshima@ nits. Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « ui/compositor/test/draw_waiter_for_test.h ('k') | ui/gl/sync_control_vsync_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ui/compositor/test/draw_waiter_for_test.h" 5 #include "ui/compositor/test/draw_waiter_for_test.h"
6 6
7 #include "ui/compositor/compositor.h" 7 #include "ui/compositor/compositor.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 void DrawWaiterForTest::OnCompositingEnded(Compositor* compositor) { 44 void DrawWaiterForTest::OnCompositingEnded(Compositor* compositor) {
45 if (!wait_for_commit_) 45 if (!wait_for_commit_)
46 wait_run_loop_->Quit(); 46 wait_run_loop_->Quit();
47 } 47 }
48 48
49 void DrawWaiterForTest::OnCompositingAborted(Compositor* compositor) {} 49 void DrawWaiterForTest::OnCompositingAborted(Compositor* compositor) {}
50 50
51 void DrawWaiterForTest::OnCompositingLockStateChanged(Compositor* compositor) {} 51 void DrawWaiterForTest::OnCompositingLockStateChanged(Compositor* compositor) {}
52 52
53 void DrawWaiterForTest::OnUpdateVSyncParameters(Compositor* compositor,
54 base::TimeTicks timebase,
55 base::TimeDelta interval) {}
56
57 } // namespace ui 53 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/test/draw_waiter_for_test.h ('k') | ui/gl/sync_control_vsync_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698