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

Unified Diff: components/mus/public/cpp/window_tree_connection_observer.h

Issue 1492323003: Updates shadow when active window changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years 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/public/cpp/window_tree_connection.h ('k') | mash/wm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/window_tree_connection_observer.h
diff --git a/components/mus/public/cpp/window_tree_connection_observer.h b/components/mus/public/cpp/window_tree_connection_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..b29d71cd711d111cfb9239ef774d59242fcf769e
--- /dev/null
+++ b/components/mus/public/cpp/window_tree_connection_observer.h
@@ -0,0 +1,23 @@
+// 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 COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_OBSERVER_H_
+#define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_OBSERVER_H_
+
+namespace mus {
+
+class Window;
+
+class WindowTreeConnectionObserver {
+ public:
+ virtual void OnWindowTreeFocusChanged(Window* gained_focus,
+ Window* lost_focus) {}
+
+ protected:
+ virtual ~WindowTreeConnectionObserver() {}
+};
+
+} // namespace mus
+
+#endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_OBSERVER_H_
« no previous file with comments | « components/mus/public/cpp/window_tree_connection.h ('k') | mash/wm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698