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

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

Issue 2444563002: cc: Remove "SwapBuffers" naming from LayerTreeHostSingleThreadClient (Closed)
Patch Set: Created 4 years, 1 month 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 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 base::TimeTicks start_time) { 47 base::TimeTicks start_time) {
48 if (wait_event_ == WAIT_FOR_COMPOSITING_STARTED) 48 if (wait_event_ == WAIT_FOR_COMPOSITING_STARTED)
49 wait_run_loop_->Quit(); 49 wait_run_loop_->Quit();
50 } 50 }
51 51
52 void DrawWaiterForTest::OnCompositingEnded(Compositor* compositor) { 52 void DrawWaiterForTest::OnCompositingEnded(Compositor* compositor) {
53 if (wait_event_ == WAIT_FOR_COMPOSITING_ENDED) 53 if (wait_event_ == WAIT_FOR_COMPOSITING_ENDED)
54 wait_run_loop_->Quit(); 54 wait_run_loop_->Quit();
55 } 55 }
56 56
57 void DrawWaiterForTest::OnCompositingAborted(Compositor* compositor) {
58 }
59
60 void DrawWaiterForTest::OnCompositingLockStateChanged(Compositor* compositor) {} 57 void DrawWaiterForTest::OnCompositingLockStateChanged(Compositor* compositor) {}
61 58
62 void DrawWaiterForTest::OnCompositingShuttingDown(Compositor* compositor) {} 59 void DrawWaiterForTest::OnCompositingShuttingDown(Compositor* compositor) {}
63 60
64 } // namespace ui 61 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698