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

Side by Side Diff: ui/compositor/test/fake_compositor_lock.h

Issue 2773433003: Fix CompositorResizeLock to do something. (Closed)
Patch Set: resizelock: observer-rebase Created 3 years, 8 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/compositor/compositor_unittest.cc ('k') | ui/compositor/test/fake_compositor_lock.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_COMPOSITOR_FAKE_COMPOSITOR_LOCK_H_
6 #define UI_COMPOSITOR_FAKE_COMPOSITOR_LOCK_H_
7
8 #include "ui/compositor/compositor_lock.h"
9
10 namespace ui {
11
12 class FakeCompositorLock : public CompositorLock {
13 public:
14 explicit FakeCompositorLock(CompositorLockClient* client,
15 base::WeakPtr<CompositorLockDelegate> delegate);
16
17 // Allow tests to cause the lock to timeout.
18 using CompositorLock::TimeoutLock;
19 };
20
21 } // namespace
22
23 #endif // UI_COMPOSITOR_FAKE_COMPOSITOR_LOCK_H_
OLDNEW
« no previous file with comments | « ui/compositor/compositor_unittest.cc ('k') | ui/compositor/test/fake_compositor_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698