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

Unified Diff: ash/mus/shadow_controller.h

Issue 2690363002: chromeos: removes mash shadows (Closed)
Patch Set: merge Created 3 years, 10 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/mus/shadow.cc ('k') | ash/mus/shadow_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shadow_controller.h
diff --git a/ash/mus/shadow_controller.h b/ash/mus/shadow_controller.h
deleted file mode 100644
index c46684a2347a292ff5b2f487c99380d3228e30ef..0000000000000000000000000000000000000000
--- a/ash/mus/shadow_controller.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright 2015 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.
-
-#ifndef ASH_MUS_SHADOW_CONTROLLER_H_
-#define ASH_MUS_SHADOW_CONTROLLER_H_
-
-#include "base/macros.h"
-#include "ui/aura/client/focus_change_observer.h"
-#include "ui/aura/env_observer.h"
-#include "ui/aura/window_observer.h"
-
-namespace aura {
-namespace client {
-class FocusClient;
-}
-}
-
-namespace ash {
-namespace mus {
-
-// TODO: use the wm::ShadowController. http://crbug.com/670840.
-class ShadowController : public aura::EnvObserver,
- public aura::WindowObserver,
- public aura::client::FocusChangeObserver {
- public:
- ShadowController();
- ~ShadowController() override;
-
- private:
- void SetActiveWindow(aura::Window* window);
- void SetFocusClient(aura::client::FocusClient* focus_client);
-
- // aura::EnvObserver:
- void OnWindowInitialized(aura::Window* window) override;
- void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client,
- aura::Window* window) override;
-
- // aura::client::FocusChangeObserver:
- void OnWindowFocused(aura::Window* gained_focus,
- aura::Window* lost_focus) override;
-
- // ui::WindowObserver:
- void OnWindowDestroying(aura::Window* window) override;
-
- aura::Window* active_window_ = nullptr;
- aura::client::FocusClient* active_focus_client_ = nullptr;
-
- DISALLOW_COPY_AND_ASSIGN(ShadowController);
-};
-
-} // namespace mus
-} // namespace ash
-
-#endif // ASH_MUS_SHADOW_CONTROLLER_H_
« no previous file with comments | « ash/mus/shadow.cc ('k') | ash/mus/shadow_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698