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

Unified Diff: services/ui/public/cpp/window_private.h

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Addressed sky's comments 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/public/cpp/window_private.h
diff --git a/services/ui/public/cpp/window_private.h b/services/ui/public/cpp/window_private.h
index b875b8bc7f925727d61240767537ce6ef24429bf..c64b97708bc515fd2f5cdde64944b014d199e184 100644
--- a/services/ui/public/cpp/window_private.h
+++ b/services/ui/public/cpp/window_private.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "mojo/public/cpp/bindings/array.h"
+#include "services/ui/public/cpp/surface_id_handler.h"
#include "services/ui/public/cpp/window.h"
namespace ui {
@@ -87,6 +88,10 @@ class WindowPrivate {
const std::vector<uint8_t>* data) {
window_->LocalSetSharedProperty(name, data);
}
+ void LocalSetSurfaceId(std::unique_ptr<SurfaceInfo> surface_info) {
+ window_->LocalSetSurfaceId(std::move(surface_info));
+ }
+
void NotifyWindowStackingChanged() { window_->NotifyWindowStackingChanged(); }
private:

Powered by Google App Engine
This is Rietveld 408576698