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

Unified Diff: ui/aura/display_manager.h

Issue 10826198: Use persistent ID/names for displays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove persistent_id() and change id() to int64 Created 8 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/aura/display_manager.h
diff --git a/ui/aura/display_manager.h b/ui/aura/display_manager.h
index 707d8c2c31fbda3d12ce5cae4fd3d4cfaabfbd8b..41a5e0435e0db5f5fd9fc00186675f5e09df7fab 100644
--- a/ui/aura/display_manager.h
+++ b/ui/aura/display_manager.h
@@ -84,6 +84,9 @@ class AURA_EXPORT DisplayManager {
virtual const gfx::Display& GetDisplayMatching(
const gfx::Rect& match_rect) const = 0;
+ // Returns the human-readable name for the display specified by |index|.
+ virtual std::string GetDisplayNameAt(size_t index) = 0;
+
protected:
// Calls observers' OnDisplayBoundsChanged methods.
void NotifyBoundsChanged(const gfx::Display& display);

Powered by Google App Engine
This is Rietveld 408576698