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

Unified Diff: ash/common/wm_shell_common.cc

Issue 2115663002: Folds methods in WmShellCommon to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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 | « ash/common/wm_shell_common.h ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell_common.cc
diff --git a/ash/common/wm_shell_common.cc b/ash/common/wm_shell_common.cc
deleted file mode 100644
index b4890a8c97d3eb00214d4644aa9fe8858ec50162..0000000000000000000000000000000000000000
--- a/ash/common/wm_shell_common.cc
+++ /dev/null
@@ -1,37 +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 "ash/common/wm_shell_common.h"
-
-#include "ash/common/shell_observer.h"
-#include "ash/common/wm/mru_window_tracker.h"
-
-namespace ash {
-
-WmShellCommon::WmShellCommon() {}
-
-WmShellCommon::~WmShellCommon() {}
-
-void WmShellCommon::CreateMruWindowTracker() {
- mru_window_tracker_.reset(new MruWindowTracker);
-}
-
-void WmShellCommon::DeleteMruWindowTracker() {
- mru_window_tracker_.reset();
-}
-
-void WmShellCommon::AddShellObserver(ShellObserver* observer) {
- shell_observers_.AddObserver(observer);
-}
-
-void WmShellCommon::RemoveShellObserver(ShellObserver* observer) {
- shell_observers_.RemoveObserver(observer);
-}
-
-void WmShellCommon::NotifyPinnedStateChanged(WmWindow* pinned_window) {
- FOR_EACH_OBSERVER(ShellObserver, shell_observers_,
- OnPinnedStateChanged(pinned_window));
-}
-
-} // namespace ash
« no previous file with comments | « ash/common/wm_shell_common.h ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698