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

Unified Diff: ui/aura/mus/window_tree_host_mus.cc

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.h ('k') | ui/aura/mus/window_tree_host_mus_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_host_mus.cc
diff --git a/ui/aura/mus/window_tree_host_mus.cc b/ui/aura/mus/window_tree_host_mus.cc
index e458fd2be0246f90e980defd79510518d57cb44a..4af570d9efffc716a2dda48c070538d08c071fc5 100644
--- a/ui/aura/mus/window_tree_host_mus.cc
+++ b/ui/aura/mus/window_tree_host_mus.cc
@@ -102,6 +102,15 @@ void WindowTreeHostMus::SetBoundsFromServer(const gfx::Rect& bounds) {
SetBounds(bounds);
}
+void WindowTreeHostMus::SetClientArea(const gfx::Insets& insets) {
+ delegate_->OnWindowTreeHostClientAreaWillChange(this, insets,
+ std::vector<gfx::Rect>());
+}
+
+void WindowTreeHostMus::SetHitTestMask(const base::Optional<gfx::Rect>& rect) {
+ delegate_->OnWindowTreeHostHitTestMaskWillChange(this, rect);
+}
+
display::Display WindowTreeHostMus::GetDisplay() const {
for (const display::Display& display :
display::Screen::GetScreen()->GetAllDisplays()) {
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | ui/aura/mus/window_tree_host_mus_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698