Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: ui/views/mus/window_manager_connection.h

Issue 1639563003: Renames WindowManagerConfig to FrameDecorationValues and moves to Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698