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

Side by Side Diff: services/ui/public/cpp/tests/test_window.h

Issue 2651593002: mus: Remove the old client lib. (Closed)
Patch Set: restore test Created 3 years, 11 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 | « services/ui/public/cpp/tests/BUILD.gn ('k') | services/ui/public/cpp/tests/test_window_tree.h » ('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 2015 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 SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_H_
6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_H_
7
8 #include "base/macros.h"
9 #include "services/ui/public/cpp/window.h"
10 #include "services/ui/public/cpp/window_private.h"
11
12 namespace ui {
13
14 // Subclass with public ctor/dtor.
15 class TestWindow : public Window {
16 public:
17 TestWindow() { WindowPrivate(this).set_server_id(1); }
18 explicit TestWindow(Id window_id) {
19 WindowPrivate(this).set_server_id(window_id);
20 }
21 ~TestWindow() {}
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(TestWindow);
25 };
26
27 } // namespace ui
28
29 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/BUILD.gn ('k') | services/ui/public/cpp/tests/test_window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698