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

Side by Side Diff: components/mus/public/cpp/tests/test_window_tree.h

Issue 1759523002: mus: Server-side implementation of modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetAsModal -> SetModal + Other review comments addressed Created 4 years, 9 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 | components/mus/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 mojom::SurfaceType type, 58 mojom::SurfaceType type,
59 mojo::InterfaceRequest<mojom::Surface> surface, 59 mojo::InterfaceRequest<mojom::Surface> surface,
60 mojom::SurfaceClientPtr client) override; 60 mojom::SurfaceClientPtr client) override;
61 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override; 61 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override;
62 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override; 62 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override;
63 void AddTransientWindow(uint32_t change_id, 63 void AddTransientWindow(uint32_t change_id,
64 uint32_t window_id, 64 uint32_t window_id,
65 uint32_t transient_window_id) override; 65 uint32_t transient_window_id) override;
66 void RemoveTransientWindowFromParent(uint32_t change_id, 66 void RemoveTransientWindowFromParent(uint32_t change_id,
67 uint32_t window_id) override; 67 uint32_t window_id) override;
68 void SetModal(uint32_t change_id, uint32_t window_id) override;
68 void ReorderWindow(uint32_t change_id, 69 void ReorderWindow(uint32_t change_id,
69 uint32_t window_id, 70 uint32_t window_id,
70 uint32_t relative_window_id, 71 uint32_t relative_window_id,
71 mojom::OrderDirection direction) override; 72 mojom::OrderDirection direction) override;
72 void GetWindowTree(uint32_t window_id, 73 void GetWindowTree(uint32_t window_id,
73 const GetWindowTreeCallback& callback) override; 74 const GetWindowTreeCallback& callback) override;
74 void SetCapture(uint32_t change_id, uint32_t window_id) override; 75 void SetCapture(uint32_t change_id, uint32_t window_id) override;
75 void ReleaseCapture(uint32_t change_id, uint32_t window_id) override; 76 void ReleaseCapture(uint32_t change_id, uint32_t window_id) override;
76 void Embed(uint32_t window_id, 77 void Embed(uint32_t window_id,
77 mojom::WindowTreeClientPtr client, 78 mojom::WindowTreeClientPtr client,
(...skipping 18 matching lines...) Expand all
96 uint32_t change_id_; 97 uint32_t change_id_;
97 std::set<uint32_t> acked_events_; 98 std::set<uint32_t> acked_events_;
98 uint32_t window_id_; 99 uint32_t window_id_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); 101 DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
101 }; 102 };
102 103
103 } // namespace mus 104 } // namespace mus
104 105
105 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 106 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « no previous file | components/mus/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698