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

Unified Diff: components/mus/ws/window_tree_unittest.cc

Issue 1352043005: mus: Implement Window Server Capture Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added capture unit tests Created 5 years, 1 month 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
Index: components/mus/ws/window_tree_unittest.cc
diff --git a/components/mus/ws/window_tree_unittest.cc b/components/mus/ws/window_tree_unittest.cc
index 3c13428bd0c04875dd082064dbe1ab7da4505cc1..2ef62a982133d7f8e0d98fc417781b19293ad82a 100644
--- a/components/mus/ws/window_tree_unittest.cc
+++ b/components/mus/ws/window_tree_unittest.cc
@@ -70,6 +70,7 @@ class TestWindowTreeClient : public mus::mojom::WindowTreeClient {
tracker_.OnEmbeddedAppDisconnected(window);
}
void OnUnembed() override { tracker_.OnUnembed(); }
+ void OnLostCapture(Id window_id) override {}
void OnWindowBoundsChanged(uint32_t window,
mojo::RectPtr old_bounds,
mojo::RectPtr new_bounds) override {
@@ -236,6 +237,8 @@ class TestDisplayManager : public DisplayManager {
const gfx::Rect& bounds) override {}
void SetViewportSize(const gfx::Size& size) override {}
void SetTitle(const base::string16& title) override {}
+ void SetCapture() override {}
+ void ReleaseCapture() override {}
const mojom::ViewportMetrics& GetViewportMetrics() override {
return display_metrices_;
}
« components/mus/ws/event_dispatcher.cc ('K') | « components/mus/ws/window_tree_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698