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

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

Issue 2322613002: Adds support for multiple displays to WmTestBase (Closed)
Patch Set: feedback Created 4 years, 3 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 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_
6 #define SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_ 6 #define SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 void CallOnCaptureChanged(Window* new_capture, Window* old_capture); 46 void CallOnCaptureChanged(Window* new_capture, Window* old_capture);
47 47
48 // Sets the WindowTree and client id. 48 // Sets the WindowTree and client id.
49 void SetTreeAndClientId(mojom::WindowTree* window_tree, 49 void SetTreeAndClientId(mojom::WindowTree* window_tree,
50 ClientSpecificId client_id); 50 ClientSpecificId client_id);
51 51
52 bool HasPointerWatcher(); 52 bool HasPointerWatcher();
53 53
54 private: 54 private:
55 WindowTreeClient* tree_client_impl_; 55 WindowTreeClient* tree_client_impl_;
56 uint16_t next_window_id_ = 1u;
56 57
57 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientPrivate); 58 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientPrivate);
58 }; 59 };
59 60
60 } // namespace ui 61 } // namespace ui
61 62
62 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_ 63 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698