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

Unified Diff: ui/aura/test/mus/test_window_tree.cc

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: Really fix compile Created 4 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: ui/aura/test/mus/test_window_tree.cc
diff --git a/ui/aura/test/mus/test_window_tree.cc b/ui/aura/test/mus/test_window_tree.cc
index a8b7fa9c0bfad6e2525c76b762f4371430a00243..c0f7ccd5564fafdbfe9ea7914fb31bf88c13878b 100644
--- a/ui/aura/test/mus/test_window_tree.cc
+++ b/ui/aura/test/mus/test_window_tree.cc
@@ -129,10 +129,14 @@ void TestWindowTree::SetWindowBounds(uint32_t change_id,
void TestWindowTree::SetClientArea(
uint32_t window_id,
const gfx::Insets& insets,
- mojo::Array<gfx::Rect> additional_client_areas) {}
+ mojo::Array<gfx::Rect> additional_client_areas) {
+ last_client_area_ = insets;
+}
void TestWindowTree::SetHitTestMask(uint32_t window_id,
- const base::Optional<gfx::Rect>& mask) {}
+ const base::Optional<gfx::Rect>& mask) {
+ last_hit_test_mask_ = mask;
+}
void TestWindowTree::SetCanAcceptDrops(uint32_t window_id, bool accepts_drops) {
}

Powered by Google App Engine
This is Rietveld 408576698