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

Unified Diff: ui/display/chromeos/display_util.h

Issue 615133002: Add support for a virtual display on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ash/ dep from content Created 5 years, 9 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 | « ui/display/chromeos/display_snapshot_virtual.cc ('k') | ui/display/chromeos/display_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/display_util.h
diff --git a/ui/display/chromeos/display_util.h b/ui/display/chromeos/display_util.h
index 8df778d840aa02dafee44e58aaa848281504ed42..baf2a25aa9fa6df7b635b82c2e7f4c6afbc0a246 100644
--- a/ui/display/chromeos/display_util.h
+++ b/ui/display/chromeos/display_util.h
@@ -27,6 +27,11 @@ int DISPLAY_EXPORT GetDisplayPower(
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 true. All other types return false.
+bool IsPhysicalDisplayType(ui::DisplayConnectionType type);
+
} // namespace ui
#endif // UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_H_
« no previous file with comments | « ui/display/chromeos/display_snapshot_virtual.cc ('k') | ui/display/chromeos/display_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698