| Index: ui/aura/display_manager.h
|
| diff --git a/ui/aura/display_manager.h b/ui/aura/display_manager.h
|
| index 41a5e0435e0db5f5fd9fc00186675f5e09df7fab..796c6cf16303f3babfe38e8033a9117c2c1926bf 100644
|
| --- a/ui/aura/display_manager.h
|
| +++ b/ui/aura/display_manager.h
|
| @@ -67,7 +67,9 @@ class AURA_EXPORT DisplayManager {
|
| virtual RootWindow* CreateRootWindowForDisplay(
|
| const gfx::Display& display) = 0;
|
|
|
| - // Returns the display at |index|. The display at 0 is considered "primary".
|
| + // Obsoleted: Do not use in new code.
|
| + // Returns the display at |index|. The display at 0 is
|
| + // no longer considered "primary".
|
| virtual gfx::Display* GetDisplayAt(size_t index) = 0;
|
|
|
| virtual size_t GetNumDisplays() const = 0;
|
| @@ -84,8 +86,8 @@ 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;
|
| + // Returns the human-readable name for the display specified by |display|.
|
| + virtual std::string GetDisplayNameFor(const gfx::Display& display) = 0;
|
|
|
| protected:
|
| // Calls observers' OnDisplayBoundsChanged methods.
|
|
|