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

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

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Added TODO 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.h
diff --git a/services/ui/public/cpp/window.h b/services/ui/public/cpp/window.h
index af2aae43276df0a635ac536d80c230c204e35ead..28ea9e2ddc4c5d047dd49550aa438bd38ccf822c 100644
--- a/services/ui/public/cpp/window.h
+++ b/services/ui/public/cpp/window.h
@@ -309,6 +309,10 @@ class Window {
void LocalSetPredefinedCursor(mojom::Cursor cursor_id);
void LocalSetSharedProperty(const std::string& name,
const std::vector<uint8_t>* data);
+ void LocalSetSurfaceId(const cc::SurfaceId& surface_id,
+ const cc::SurfaceSequence& surface_sequence,
+ const gfx::Size& frame_size,
+ float device_scale_factor);
// Notifies this winodw that its stacking position has changed.
void NotifyWindowStackingChanged();
@@ -393,6 +397,14 @@ class Window {
std::map<const void*, Value> prop_map_;
+ struct SurfaceInfo {
+ cc::SurfaceId surface_id;
+ cc::SurfaceSequence surface_sequence;
+ gfx::Size frame_size;
+ float device_scale_factor;
+ };
+ SurfaceInfo surface_info_;
+
DISALLOW_COPY_AND_ASSIGN(Window);
};

Powered by Google App Engine
This is Rietveld 408576698