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

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

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Don't follow null surface_info 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
« no previous file with comments | « services/ui/public/cpp/window.cc ('k') | services/ui/public/cpp/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « services/ui/public/cpp/window.cc ('k') | services/ui/public/cpp/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698