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

Unified Diff: components/mus/ws/test_change_tracker.h

Issue 1568263003: Changes top level window creation to include window state in callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn Created 4 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 | « components/mus/public/interfaces/window_tree.mojom ('k') | components/mus/ws/test_change_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/test_change_tracker.h
diff --git a/components/mus/ws/test_change_tracker.h b/components/mus/ws/test_change_tracker.h
index da506e326b51c7a6c827ef88d98704098fbe7b67..9831e237f511ad758f5815e933d6aada16d7caf7 100644
--- a/components/mus/ws/test_change_tracker.h
+++ b/components/mus/ws/test_change_tracker.h
@@ -39,6 +39,7 @@ enum ChangeType {
CHANGE_TYPE_FOCUSED,
CHANGE_TYPE_CURSOR_CHANGED,
CHANGE_TYPE_ON_CHANGE_COMPLETED,
+ CHANGE_TYPE_ON_TOP_LEVEL_CREATED,
};
// TODO(sky): consider nuking and converting directly to WindowData.
@@ -153,6 +154,7 @@ class TestChangeTracker {
void OnWindowFocused(Id window_id);
void OnWindowPredefinedCursorChanged(Id window_id, mojom::Cursor cursor_id);
void OnChangeCompleted(uint32_t change_id, bool success);
+ void OnTopLevelCreated(uint32_t change_id, mojom::WindowDataPtr window_data);
private:
void AddChange(const Change& change);
« no previous file with comments | « components/mus/public/interfaces/window_tree.mojom ('k') | components/mus/ws/test_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698