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

Side by Side Diff: ui/compositor/compositor_unittest.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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
« no previous file with comments | « ui/aura/mus/window_tree_client.h ('k') | ui/events/ozone/evdev/event_factory_evdev.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/single_thread_task_runner.h"
9 #include "base/test/test_mock_time_task_runner.h" 10 #include "base/test/test_mock_time_task_runner.h"
10 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
11 #include "cc/output/begin_frame_args.h" 12 #include "cc/output/begin_frame_args.h"
12 #include "cc/surfaces/local_surface_id_allocator.h" 13 #include "cc/surfaces/local_surface_id_allocator.h"
13 #include "cc/surfaces/surface_manager.h" 14 #include "cc/surfaces/surface_manager.h"
14 #include "cc/test/begin_frame_args_test.h" 15 #include "cc/test/begin_frame_args_test.h"
15 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 #include "ui/compositor/compositor.h" 18 #include "ui/compositor/compositor.h"
18 #include "ui/compositor/layer.h" 19 #include "ui/compositor/layer.h"
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 EXPECT_EQ(gfx::kNullAcceleratedWidget, 468 EXPECT_EQ(gfx::kNullAcceleratedWidget,
468 compositor()->ReleaseAcceleratedWidget()); 469 compositor()->ReleaseAcceleratedWidget());
469 compositor()->SetAcceleratedWidget(gfx::kNullAcceleratedWidget); 470 compositor()->SetAcceleratedWidget(gfx::kNullAcceleratedWidget);
470 compositor()->SetVisible(true); 471 compositor()->SetVisible(true);
471 compositor()->ScheduleDraw(); 472 compositor()->ScheduleDraw();
472 DrawWaiterForTest::WaitForCompositingEnded(compositor()); 473 DrawWaiterForTest::WaitForCompositingEnded(compositor());
473 compositor()->SetRootLayer(nullptr); 474 compositor()->SetRootLayer(nullptr);
474 } 475 }
475 476
476 } // namespace ui 477 } // namespace ui
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_client.h ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698