| Index: ash/display/display_manager.h
|
| diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
|
| index dd684cf053bd11d62b09c9ef6ddbde1b4eada535..fa791531514d9a3bba38667d22634dc6bf2d918e 100644
|
| --- a/ash/display/display_manager.h
|
| +++ b/ash/display/display_manager.h
|
| @@ -43,7 +43,6 @@ namespace ash {
|
| using DisplayInfoList = std::vector<display::ManagedDisplayInfo>;
|
|
|
| namespace test {
|
| -class AshTestBase;
|
| class DisplayManagerTestApi;
|
| }
|
|
|
| @@ -348,15 +347,13 @@ class ASH_EXPORT DisplayManager
|
| void AddObserver(display::DisplayObserver* observer);
|
| void RemoveObserver(display::DisplayObserver* observer);
|
|
|
| + // Returns a display::Display object for a secondary display if it exists
|
| + // or returns invalid display if there is no secondary display.
|
| + // TODO(rjkroege): Display swapping is an obsolete feature pre-dating
|
| + // multi-display support so remove it.
|
| + const display::Display& GetSecondaryDisplay() const;
|
| +
|
| private:
|
| - FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, ConvertPoint);
|
| - FRIEND_TEST_ALL_PREFIXES(DisplayManagerTest, TestNativeDisplaysChanged);
|
| - FRIEND_TEST_ALL_PREFIXES(DisplayManagerTest,
|
| - NativeDisplaysChangedAfterPrimaryChange);
|
| - FRIEND_TEST_ALL_PREFIXES(DisplayManagerTest, AutomaticOverscanInsets);
|
| - FRIEND_TEST_ALL_PREFIXES(DisplayManagerTest, Rotate);
|
| - friend class DisplayManagerTest;
|
| - friend class test::AshTestBase;
|
| friend class test::DisplayManagerTestApi;
|
|
|
| bool software_mirroring_enabled() const {
|
|
|