Index: ui/views/mus/window_manager_connection.h |
diff --git a/ui/views/mus/window_manager_connection.h b/ui/views/mus/window_manager_connection.h |
index af250037613a122d7b31c2e85b11298e6d65489c..d7b9e825aa3624cf8afb2926325add8ef5ec038c 100644 |
--- a/ui/views/mus/window_manager_connection.h |
+++ b/ui/views/mus/window_manager_connection.h |
@@ -12,6 +12,7 @@ |
#include "components/mus/public/cpp/window_tree_delegate.h" |
#include "components/mus/public/interfaces/window_manager.mojom.h" |
#include "ui/views/mus/mus_export.h" |
+#include "ui/views/mus/screen_mus_delegate.h" |
#include "ui/views/widget/widget.h" |
namespace mojo { |
@@ -28,7 +29,8 @@ class NativeWidgetDelegate; |
// Establishes a connection to the window manager for use by views within an |
// application, and performs Aura initialization. |
class VIEWS_MUS_EXPORT WindowManagerConnection |
- : public NON_EXPORTED_BASE(mus::WindowTreeDelegate) { |
+ : public NON_EXPORTED_BASE(mus::WindowTreeDelegate), |
+ public ScreenMusDelegate { |
public: |
static void Create(mojo::ApplicationImpl* app); |
static WindowManagerConnection* Get(); |
@@ -50,6 +52,9 @@ class VIEWS_MUS_EXPORT WindowManagerConnection |
void OnEmbed(mus::Window* root) override; |
void OnConnectionLost(mus::WindowTreeConnection* connection) override; |
+ // ScreenMusDelegate: |
+ void OnWindowManagerFrameValuesChanged() override; |
+ |
NativeWidget* CreateNativeWidget(const Widget::InitParams& init_params, |
internal::NativeWidgetDelegate* delegate); |