Index: ui/display/chromeos/display_util.h |
diff --git a/ui/display/chromeos/display_util.h b/ui/display/chromeos/display_util.h |
index cfe6f6c7720b3c5c80a07e84ae5932a35075712e..dc0969897c2cd751e8fcd659201dd9cf2d032637 100644 |
--- a/ui/display/chromeos/display_util.h |
+++ b/ui/display/chromeos/display_util.h |
@@ -30,6 +30,11 @@ GetDisplayPower(const std::vector<DisplaySnapshot*>& displays, |
chromeos::DisplayPowerState state, |
std::vector<bool>* display_power); |
+// Returns whether the DisplayConnectionType |type| is a physically connected |
+// display. Currently DISPLAY_CONNECTION_TYPE_VIRTUAL and |
+// DISPLAY_CONNECTION_TYPE_NETWORK return false. All other types return true. |
+bool IsPhysicalDisplayType(ui::DisplayConnectionType type); |
+ |
} // namespace ui |
#endif // UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_H_ |