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

Unified Diff: ash/wm/common/wm_activation_observer.h

Issue 1907863002: Converts DockedWindowLayoutManager to common ash/wm types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 8 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/wm/aura/wm_window_aura.cc ('k') | ash/wm/common/wm_globals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_activation_observer.h
diff --git a/ash/wm/common/wm_activation_observer.h b/ash/wm/common/wm_activation_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..fe6e1417f95fe3b6236eab6aef97d6996dca1dbc
--- /dev/null
+++ b/ash/wm/common/wm_activation_observer.h
@@ -0,0 +1,28 @@
+// 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.
+
+#ifndef ASH_WM_COMMON_WM_ACTIVATION_OBSERVER_H_
+#define ASH_WM_COMMON_WM_ACTIVATION_OBSERVER_H_
+
+#include "ash/ash_export.h"
+
+namespace ash {
+namespace wm {
+
+class WmWindow;
+
+// Used to track changes in activation.
+class ASH_EXPORT WmActivationObserver {
+ public:
+ virtual void OnWindowActivated(WmWindow* gained_active,
+ WmWindow* lost_active) = 0;
+
+ protected:
+ virtual ~WmActivationObserver() {}
+};
+
+} // namespace wm
+} // namespace ash
+
+#endif // ASH_WM_COMMON_WM_ACTIVATION_OBSERVER_H_
« no previous file with comments | « ash/wm/aura/wm_window_aura.cc ('k') | ash/wm/common/wm_globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698