OLD | NEW |
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 void DrawWaiterForTest::OnCompositingEnded(Compositor* compositor) { | 46 void DrawWaiterForTest::OnCompositingEnded(Compositor* compositor) { |
47 if (!wait_for_commit_) | 47 if (!wait_for_commit_) |
48 wait_run_loop_->Quit(); | 48 wait_run_loop_->Quit(); |
49 } | 49 } |
50 | 50 |
51 void DrawWaiterForTest::OnCompositingAborted(Compositor* compositor) { | 51 void DrawWaiterForTest::OnCompositingAborted(Compositor* compositor) { |
52 } | 52 } |
53 | 53 |
54 void DrawWaiterForTest::OnCompositingLockStateChanged(Compositor* compositor) {} | 54 void DrawWaiterForTest::OnCompositingLockStateChanged(Compositor* compositor) {} |
55 | 55 |
| 56 void DrawWaiterForTest::OnCompositingShuttingDown(Compositor* compositor) {} |
| 57 |
56 } // namespace ui | 58 } // namespace ui |
OLD | NEW |