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

Unified Diff: ui/ozone/common/gpu/ozone_gpu_message_params.h

Issue 2896173002: ozone: introduce OverlayCheckReturn_Params (Closed)
Patch Set: refactoring Created 3 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
Index: ui/ozone/common/gpu/ozone_gpu_message_params.h
diff --git a/ui/ozone/common/gpu/ozone_gpu_message_params.h b/ui/ozone/common/gpu/ozone_gpu_message_params.h
index 5da94719654b11ba8a445c4cdf5c201ed5801119..55d1871f12b29791c9cc9c23632e9bf99faaa246 100644
--- a/ui/ozone/common/gpu/ozone_gpu_message_params.h
+++ b/ui/ozone/common/gpu/ozone_gpu_message_params.h
@@ -73,6 +73,15 @@ struct OverlayCheck_Params {
bool is_overlay_candidate = true;
};
+struct OverlayCheckReturn_Params {
+ OverlayCheckReturn_Params() = default;
+ OverlayCheckReturn_Params(const OverlayCheckReturn_Params& other) = default;
+ ~OverlayCheckReturn_Params() = default;
+
+ enum Status { Pending, Able, Not, Last = Not };
dnicoara 2017/06/02 21:31:25 Enum constants should be ALL_CAPS.
dshwang 2017/06/02 23:59:00 Done.
+ Status status = Status::Pending;
+};
+
} // namespace ui
#endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
« no previous file with comments | « no previous file | ui/ozone/common/gpu/ozone_gpu_messages.h » ('j') | ui/ozone/platform/drm/host/drm_overlay_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698