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

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

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: add it back 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
« no previous file with comments | « ui/aura/mus/window_tree_host_mus_unittest.cc ('k') | ui/aura/test/mus/test_window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/mus/test_window_tree.h
diff --git a/ui/aura/test/mus/test_window_tree.h b/ui/aura/test/mus/test_window_tree.h
index e61013b5f6037c9307a7d398d6d24651b1e00296..b0033ef1ceda6fced83b1a1136bac0a7ed9e9250 100644
--- a/ui/aura/test/mus/test_window_tree.h
+++ b/ui/aura/test/mus/test_window_tree.h
@@ -84,6 +84,12 @@ class TestWindowTree : public ui::mojom::WindowTree {
// Data from the most recently added/removed transient window.
const TransientData& transient_data() const { return transient_data_; }
+ const gfx::Insets& last_client_area() const { return last_client_area_; }
+
+ const base::Optional<gfx::Rect>& last_hit_test_mask() const {
+ return last_hit_test_mask_;
+ }
+
private:
struct Change {
WindowTreeChangeType type;
@@ -198,6 +204,10 @@ class TestWindowTree : public ui::mojom::WindowTree {
TransientData transient_data_;
+ gfx::Insets last_client_area_;
+
+ base::Optional<gfx::Rect> last_hit_test_mask_;
+
DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
};
« no previous file with comments | « ui/aura/mus/window_tree_host_mus_unittest.cc ('k') | ui/aura/test/mus/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698