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

Unified Diff: cc/surfaces/display.h

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « cc/quads/texture_draw_quad.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index c4400cd52f0300e35e05ff1cb14e1ed47a16e699..76e7735a42d576bf317eca0b8821a873f33f5411 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -67,6 +67,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
void SetSurfaceId(SurfaceId id, float device_scale_factor);
void Resize(const gfx::Size& new_size);
void SetExternalClip(const gfx::Rect& clip);
+ void SetOutputIsSecure(bool secure);
SurfaceId CurrentSurfaceId();
@@ -116,6 +117,8 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
float device_scale_factor_;
bool swapped_since_resize_;
gfx::Rect external_clip_;
+ bool output_is_secure_ = false;
+
std::unique_ptr<OutputSurface> output_surface_;
// An internal synthetic BFS. May be null when not used.
std::unique_ptr<BeginFrameSource> internal_begin_frame_source_;
« no previous file with comments | « cc/quads/texture_draw_quad.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698