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

Unified Diff: components/mus/ws/global_window_manager_state.cc

Issue 2089023002: Promotes remaining global window manager state into WindowManagerState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: override Created 4 years, 6 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
« no previous file with comments | « components/mus/ws/global_window_manager_state.h ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/global_window_manager_state.cc
diff --git a/components/mus/ws/global_window_manager_state.cc b/components/mus/ws/global_window_manager_state.cc
deleted file mode 100644
index 981605de5d0893c7a33a56bbbad5699227a92b1a..0000000000000000000000000000000000000000
--- a/components/mus/ws/global_window_manager_state.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/mus/ws/global_window_manager_state.h"
-
-#include "components/mus/ws/display_manager.h"
-#include "components/mus/ws/user_display_manager.h"
-#include "components/mus/ws/window_tree.h"
-
-namespace mus {
-namespace ws {
-
-GlobalWindowManagerState::GlobalWindowManagerState(WindowTree* window_tree)
- : window_tree_(window_tree) {
- frame_decoration_values_ = mojom::FrameDecorationValues::New();
- frame_decoration_values_->max_title_bar_button_width = 0u;
-}
-
-GlobalWindowManagerState::~GlobalWindowManagerState() {}
-
-void GlobalWindowManagerState::SetFrameDecorationValues(
- mojom::FrameDecorationValuesPtr values) {
- got_frame_decoration_values_ = true;
- frame_decoration_values_ = values.Clone();
- window_tree_->display_manager()
- ->GetUserDisplayManager(window_tree_->user_id())
- ->OnFrameDecorationValuesChanged();
-}
-
-} // namespace ws
-} // namespace mus
« no previous file with comments | « components/mus/ws/global_window_manager_state.h ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698