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

Side by Side Diff: services/ui/public/cpp/window_private.h

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: updated comment 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WINDOW_PRIVATE_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void LocalSetOpacity(float opacity) { window_->LocalSetOpacity(opacity); } 80 void LocalSetOpacity(float opacity) { window_->LocalSetOpacity(opacity); }
81 void LocalSetPredefinedCursor(mojom::Cursor cursor) { 81 void LocalSetPredefinedCursor(mojom::Cursor cursor) {
82 window_->LocalSetPredefinedCursor(cursor); 82 window_->LocalSetPredefinedCursor(cursor);
83 } 83 }
84 void LocalSetSharedProperty(const std::string& name, 84 void LocalSetSharedProperty(const std::string& name,
85 mojo::Array<uint8_t> new_data); 85 mojo::Array<uint8_t> new_data);
86 void LocalSetSharedProperty(const std::string& name, 86 void LocalSetSharedProperty(const std::string& name,
87 const std::vector<uint8_t>* data) { 87 const std::vector<uint8_t>* data) {
88 window_->LocalSetSharedProperty(name, data); 88 window_->LocalSetSharedProperty(name, data);
89 } 89 }
90 void LocalSetSurfaceId(std::unique_ptr<Window::SurfaceInfo> surface_info) {
91 window_->LocalSetSurfaceId(std::move(surface_info));
92 }
93
90 void NotifyWindowStackingChanged() { window_->NotifyWindowStackingChanged(); } 94 void NotifyWindowStackingChanged() { window_->NotifyWindowStackingChanged(); }
91 95
92 private: 96 private:
93 Window* window_; 97 Window* window_;
94 98
95 DISALLOW_COPY_AND_ASSIGN(WindowPrivate); 99 DISALLOW_COPY_AND_ASSIGN(WindowPrivate);
96 }; 100 };
97 101
98 } // namespace ui 102 } // namespace ui
99 103
100 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_ 104 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698