Index: ui/views/mus/window_manager_frame_values.h |
diff --git a/ui/views/mus/window_manager_frame_values.h b/ui/views/mus/window_manager_frame_values.h |
index b0b8e10ee77af8a0cdde595cc0e4bbf43714cc38..50c73f34c0fcc5bf8f44e25c3ac10e1ca5906980 100644 |
--- a/ui/views/mus/window_manager_frame_values.h |
+++ b/ui/views/mus/window_manager_frame_values.h |
@@ -19,6 +19,16 @@ struct VIEWS_MUS_EXPORT WindowManagerFrameValues { |
static void SetInstance(const WindowManagerFrameValues& values); |
static const WindowManagerFrameValues& instance(); |
+ bool operator==(const WindowManagerFrameValues& other) const { |
+ return normal_insets == other.normal_insets && |
+ maximized_insets == other.maximized_insets && |
+ max_title_bar_button_width == other.max_title_bar_button_width; |
+ } |
+ |
+ bool operator!=(const WindowManagerFrameValues& other) const { |
+ return !(*this == other); |
+ } |
+ |
// Ideal insets the window manager renders non-client frame decorations into. |
gfx::Insets normal_insets; |
gfx::Insets maximized_insets; |