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

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..5733e936da1db1842dfdfd4d7eb76732abe3a8ed 100644
--- a/ui/ozone/public/overlay_candidates_ozone.h
+++ b/ui/ozone/public/overlay_candidates_ozone.h
@@ -35,10 +35,15 @@ class OZONE_BASE_EXPORT OverlayCandidatesOzone {
gfx::RectF display_rect;
// Crop within the buffer to be placed inside |display_rect|.
gfx::RectF crop_rect;
+ // Quad geometry rect after applying the quad_transform().
+ gfx::RectF geometry_rect;
danakj 2015/08/31 22:11:47 Rect also
william.xie1 2015/09/01 03:40:34 Done.
+ // Clip rect in the target content space after composition.
+ gfx::Rect clip_rect;
+ // If the quad is clipped after composition.
+ bool is_clipped;
// 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;

Powered by Google App Engine
This is Rietveld 408576698