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

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

Issue 1766943002: Refators display related functionality into own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 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/ws/test_server_window_delegate.cc ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/test_utils.h
diff --git a/components/mus/ws/test_utils.h b/components/mus/ws/test_utils.h
index 216d3a0b24927b3d9bce959d0490d99cfb4669a8..7746f2b251fcb6f9f13ef5c3945598d31f1bae63 100644
--- a/components/mus/ws/test_utils.h
+++ b/components/mus/ws/test_utils.h
@@ -211,12 +211,10 @@ class TestConnectionManagerDelegate : public ConnectionManagerDelegate {
}
TestWindowTreeBinding* last_binding() { return last_binding_; }
- bool got_on_no_more_connections() const {
- return got_on_no_more_connections_;
- }
+ bool got_on_no_more_displays() const { return got_on_no_more_displays_; }
// ConnectionManagerDelegate:
- void OnNoMoreRootConnections() override;
+ void OnNoMoreDisplays() override;
scoped_ptr<WindowTreeBinding> CreateWindowTreeBindingForEmbedAtWindow(
ws::ConnectionManager* connection_manager,
ws::WindowTree* tree,
@@ -231,7 +229,7 @@ class TestConnectionManagerDelegate : public ConnectionManagerDelegate {
TestWindowTreeBinding* last_binding_ = nullptr;
Display* display_ = nullptr;
ConnectionManager* connection_manager_ = nullptr;
- bool got_on_no_more_connections_ = false;
+ bool got_on_no_more_displays_ = false;
DISALLOW_COPY_AND_ASSIGN(TestConnectionManagerDelegate);
};
« no previous file with comments | « components/mus/ws/test_server_window_delegate.cc ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698