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

Unified Diff: ui/aura/mus/window_tree_client_test_observer.h

Issue 2633233003: aura-mus: Implement stacking in DesktopWindowTreeHostMus. (Closed)
Patch Set: Reword comment. Created 3 years, 11 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 | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/mus/window_tree_host_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client_test_observer.h
diff --git a/ui/aura/mus/window_tree_client_test_observer.h b/ui/aura/mus/window_tree_client_test_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..98e7e31e3540d6651a930de201a8dc2218a5a26a
--- /dev/null
+++ b/ui/aura/mus/window_tree_client_test_observer.h
@@ -0,0 +1,30 @@
+// Copyright 2017 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 UI_AURA_MUS_WINDOW_TREE_CLIENT_TEST_OBSERVER_H_
+#define UI_AURA_MUS_WINDOW_TREE_CLIENT_TEST_OBSERVER_H_
+
+#include <cstdint>
+
+#include "ui/aura/aura_export.h"
+
+namespace aura {
+enum class ChangeType;
+
+class AURA_EXPORT WindowTreeClientTestObserver {
+ public:
+ // Called when a new change id is created.
+ virtual void OnChangeStarted(uint32_t change_id, ChangeType type) = 0;
+
+ // Called when a change is completed, successfully or unsuccessfully.
+ virtual void OnChangeCompleted(uint32_t change_id,
+ ChangeType type, bool success) = 0;
+
+ protected:
+ virtual ~WindowTreeClientTestObserver() {}
+};
+
+} // namespace aura
+
+#endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_TEST_OBSERVER_H_
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/mus/window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698