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

Unified Diff: ui/ozone/public/overlay_candidates_ozone.h

Issue 1311013002: [Ozone] Fix SingleOnTop issue by checking if the quad is clipped. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: ui/ozone/public/overlay_candidates_ozone.h
diff --git a/ui/ozone/public/overlay_candidates_ozone.h b/ui/ozone/public/overlay_candidates_ozone.h
index 23db7916d4d5cc9e52b0cfcd4561a9a6d124bc22..eedeb23280f799cfa543d0b50807321f9a585078 100644
--- a/ui/ozone/public/overlay_candidates_ozone.h
+++ b/ui/ozone/public/overlay_candidates_ozone.h
@@ -35,10 +35,13 @@ class OZONE_BASE_EXPORT OverlayCandidatesOzone {
gfx::RectF display_rect;
// Crop within the buffer to be placed inside |display_rect|.
gfx::RectF crop_rect;
+ // Original visible area of the quad
+ gfx::Rect original_visible_rect;
+ // Actual visible area of the quad
+ gfx::Rect actual_visible_rect;
// Stacking order of the overlay plane relative to the main surface,
// which is 0. Signed to allow for "underlays".
int plane_z_order = 0;
-
// To be modified by the implementer if this candidate can go into
// an overlay.
bool overlay_handled = false;
« cc/output/overlay_candidate.h ('K') | « ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698