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

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

Issue 2430653002: Mus+Ash: Towards Unifying CompositorFrameSink terminology (Closed)
Patch Set: Fix bitmap_uploader 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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void SetWindowVisibility(uint32_t change_id, 52 void SetWindowVisibility(uint32_t change_id,
53 uint32_t window_id, 53 uint32_t window_id,
54 bool visible) override; 54 bool visible) override;
55 void SetWindowProperty(uint32_t change_id, 55 void SetWindowProperty(uint32_t change_id,
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(
63 mojom::SurfaceType type, 63 uint32_t window_id,
64 mojo::InterfaceRequest<mojom::Surface> surface, 64 mojom::SurfaceType type,
65 mojom::SurfaceClientPtr client) override; 65 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface,
66 cc::mojom::MojoCompositorFrameSinkClientPtr client) override;
66 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override; 67 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; 68 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override;
68 void AddTransientWindow(uint32_t change_id, 69 void AddTransientWindow(uint32_t change_id,
69 uint32_t window_id, 70 uint32_t window_id,
70 uint32_t transient_window_id) override; 71 uint32_t transient_window_id) override;
71 void RemoveTransientWindowFromParent(uint32_t change_id, 72 void RemoveTransientWindowFromParent(uint32_t change_id,
72 uint32_t window_id) override; 73 uint32_t window_id) override;
73 void SetModal(uint32_t change_id, uint32_t window_id) override; 74 void SetModal(uint32_t change_id, uint32_t window_id) override;
74 void ReorderWindow(uint32_t change_id, 75 void ReorderWindow(uint32_t change_id,
75 uint32_t window_id, 76 uint32_t window_id,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 uint32_t change_id_; 121 uint32_t change_id_;
121 std::set<uint32_t> acked_events_; 122 std::set<uint32_t> acked_events_;
122 uint32_t window_id_; 123 uint32_t window_id_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); 125 DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
125 }; 126 };
126 127
127 } // namespace ui 128 } // namespace ui
128 129
129 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 130 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698