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

Side by Side Diff: ui/ozone/platform/wayland/wayland_connection_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <wayland-server-core.h> 5 #include <wayland-server-core.h>
6 #include <xdg-shell-unstable-v5-server-protocol.h> 6 #include <xdg-shell-unstable-v5-server-protocol.h>
7 7
8 #include "base/message_loop/message_loop.h"
8 #include "base/run_loop.h" 9 #include "base/run_loop.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/ozone/platform/wayland/fake_server.h" 11 #include "ui/ozone/platform/wayland/fake_server.h"
11 #include "ui/ozone/platform/wayland/wayland_connection.h" 12 #include "ui/ozone/platform/wayland/wayland_connection.h"
12 #include "ui/ozone/platform/wayland/wayland_output.h" 13 #include "ui/ozone/platform/wayland/wayland_output.h"
13 14
14 namespace ui { 15 namespace ui {
15 16
16 class OutputObserver : public WaylandOutput::Observer { 17 class OutputObserver : public WaylandOutput::Observer {
17 public: 18 public:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 WaylandOutput* output = connection.PrimaryOutput(); 78 WaylandOutput* output = connection.PrimaryOutput();
78 ASSERT_TRUE(output->Geometry().width() == 800); 79 ASSERT_TRUE(output->Geometry().width() == 800);
79 ASSERT_TRUE(output->Geometry().height() == 600); 80 ASSERT_TRUE(output->Geometry().height() == 600);
80 81
81 server.Resume(); 82 server.Resume();
82 base::RunLoop().RunUntilIdle(); 83 base::RunLoop().RunUntilIdle();
83 server.Pause(); 84 server.Pause();
84 } 85 }
85 86
86 } // namespace ui 87 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698