| Index: ui/views/mus/screen_mus.h
|
| diff --git a/ui/views/mus/screen_mus.h b/ui/views/mus/screen_mus.h
|
| index 9866d0ae0a1ded3b5d36dd39d46c7184676f5f8e..2c3a9a871434f1368728a7e192719eb439f915d4 100644
|
| --- a/ui/views/mus/screen_mus.h
|
| +++ b/ui/views/mus/screen_mus.h
|
| @@ -6,7 +6,7 @@
|
| #define UI_VIEWS_MUS_SCREEN_MUS_H_
|
|
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| -#include "services/ui/public/interfaces/display.mojom.h"
|
| +#include "services/ui/public/interfaces/display_manager.mojom.h"
|
| #include "ui/display/screen_base.h"
|
| #include "ui/views/mus/mus_export.h"
|
|
|
| @@ -36,10 +36,13 @@ class VIEWS_MUS_EXPORT ScreenMus
|
| gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override;
|
|
|
| // ui::mojom::DisplayManager:
|
| - void OnDisplays(mojo::Array<ui::mojom::WsDisplayPtr> ws_displays) override;
|
| + void OnDisplays(mojo::Array<ui::mojom::WsDisplayPtr> ws_displays,
|
| + int64_t primary_display_id,
|
| + int64_t internal_display_id) override;
|
| void OnDisplaysChanged(
|
| mojo::Array<ui::mojom::WsDisplayPtr> ws_displays) override;
|
| - void OnDisplayRemoved(int64_t id) override;
|
| + void OnDisplayRemoved(int64_t display_id) override;
|
| + void OnPrimaryDisplayChanged(int64_t primary_display_id) override;
|
|
|
| ScreenMusDelegate* delegate_; // Can be nullptr.
|
| ui::mojom::DisplayManagerPtr display_manager_;
|
|
|