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

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

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 2 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 | « content/renderer/render_widget.cc ('k') | services/ui/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 SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 6 #define SERVICES_UI_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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 uint32_t window_id, 56 uint32_t window_id,
57 const mojo::String& name, 57 const mojo::String& name,
58 mojo::Array<uint8_t> value) override; 58 mojo::Array<uint8_t> value) override;
59 void SetWindowOpacity(uint32_t change_id, 59 void SetWindowOpacity(uint32_t change_id,
60 uint32_t window_id, 60 uint32_t window_id,
61 float opacity) override; 61 float opacity) override;
62 void AttachSurface(uint32_t window_id, 62 void AttachSurface(uint32_t window_id,
63 mojom::SurfaceType type, 63 mojom::SurfaceType type,
64 mojo::InterfaceRequest<mojom::Surface> surface, 64 mojo::InterfaceRequest<mojom::Surface> surface,
65 mojom::SurfaceClientPtr client) override; 65 mojom::SurfaceClientPtr client) override;
66 void SatisfySurfaceSequence(uint32_t window_id,
67 const cc::SurfaceSequence& sequence) override;
66 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override; 68 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override;
67 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override; 69 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override;
68 void AddTransientWindow(uint32_t change_id, 70 void AddTransientWindow(uint32_t change_id,
69 uint32_t window_id, 71 uint32_t window_id,
70 uint32_t transient_window_id) override; 72 uint32_t transient_window_id) override;
71 void RemoveTransientWindowFromParent(uint32_t change_id, 73 void RemoveTransientWindowFromParent(uint32_t change_id,
72 uint32_t window_id) override; 74 uint32_t window_id) override;
73 void SetModal(uint32_t change_id, uint32_t window_id) override; 75 void SetModal(uint32_t change_id, uint32_t window_id) override;
74 void ReorderWindow(uint32_t change_id, 76 void ReorderWindow(uint32_t change_id,
75 uint32_t window_id, 77 uint32_t window_id,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 uint32_t change_id_; 121 uint32_t change_id_;
120 std::set<uint32_t> acked_events_; 122 std::set<uint32_t> acked_events_;
121 uint32_t window_id_; 123 uint32_t window_id_;
122 124
123 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); 125 DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
124 }; 126 };
125 127
126 } // namespace ui 128 } // namespace ui
127 129
128 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 130 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | services/ui/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698