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

Side by Side Diff: ui/ozone/platform/wayland/fake_server.h

Issue 2102003004: Remove unused 'paused_' member from FakeServer class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef UI_OZONE_PLATFORM_WAYLAND_FAKE_SERVER_H_ 5 #ifndef UI_OZONE_PLATFORM_WAYLAND_FAKE_SERVER_H_
6 #define UI_OZONE_PLATFORM_WAYLAND_FAKE_SERVER_H_ 6 #define UI_OZONE_PLATFORM_WAYLAND_FAKE_SERVER_H_
7 7
8 #include <wayland-server-core.h> 8 #include <wayland-server-core.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // base::MessagePumpLibevent::Watcher 189 // base::MessagePumpLibevent::Watcher
190 void OnFileCanReadWithoutBlocking(int fd) override; 190 void OnFileCanReadWithoutBlocking(int fd) override;
191 void OnFileCanWriteWithoutBlocking(int fd) override; 191 void OnFileCanWriteWithoutBlocking(int fd) override;
192 192
193 std::unique_ptr<wl_display, DisplayDeleter> display_; 193 std::unique_ptr<wl_display, DisplayDeleter> display_;
194 wl_client* client_ = nullptr; 194 wl_client* client_ = nullptr;
195 wl_event_loop* event_loop_ = nullptr; 195 wl_event_loop* event_loop_ = nullptr;
196 196
197 base::WaitableEvent pause_event_; 197 base::WaitableEvent pause_event_;
198 base::WaitableEvent resume_event_; 198 base::WaitableEvent resume_event_;
199 bool paused_ = false;
200 199
201 MockCompositor compositor_; 200 MockCompositor compositor_;
202 MockSeat seat_; 201 MockSeat seat_;
203 MockXdgShell xdg_shell_; 202 MockXdgShell xdg_shell_;
204 203
205 base::MessagePumpLibevent::FileDescriptorWatcher controller_; 204 base::MessagePumpLibevent::FileDescriptorWatcher controller_;
206 205
207 DISALLOW_COPY_AND_ASSIGN(FakeServer); 206 DISALLOW_COPY_AND_ASSIGN(FakeServer);
208 }; 207 };
209 208
210 } // namespace wl 209 } // namespace wl
211 210
212 #endif // UI_OZONE_PLATFORM_WAYLAND_FAKE_SERVER_H_ 211 #endif // UI_OZONE_PLATFORM_WAYLAND_FAKE_SERVER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698