Index: ui/views/widget/desktop_aura/desktop_screen_x11.h |
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.h b/ui/views/widget/desktop_aura/desktop_screen_x11.h |
index 38f40362e7dd6317aceb2512b0d9339b2e516670..6811bd28c1db043433cca28ec257c358025a5f23 100644 |
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.h |
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.h |
@@ -22,6 +22,10 @@ typedef struct _XDisplay Display; |
namespace views { |
class DesktopScreenX11Test; |
+namespace test { |
+class DesktopScreenX11TestApi; |
+} |
+ |
// Our singleton screen implementation that talks to xrandr. |
class VIEWS_EXPORT DesktopScreenX11 : public gfx::Screen, |
public ui::PlatformEventDispatcher { |
@@ -47,10 +51,9 @@ class VIEWS_EXPORT DesktopScreenX11 : public gfx::Screen, |
bool CanDispatchEvent(const ui::PlatformEvent& event) override; |
uint32_t DispatchEvent(const ui::PlatformEvent& event) override; |
- static void UpdateDeviceScaleFactorForTest(); |
- |
private: |
friend class DesktopScreenX11Test; |
+ friend class test::DesktopScreenX11TestApi; |
// Constructor used in tests. |
DesktopScreenX11(const std::vector<gfx::Display>& test_displays); |