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

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

Issue 2581503002: Adds additional_client_area to client area (Closed)
Patch Set: merge Created 4 years 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_unittest.cc » ('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 895ef4b7f47f9ec1c93a32d84484f193f74c9040..c5c314b025a28991f753584410aefd0d430d1126 100644
--- a/ui/aura/mus/window_tree_host_mus.cc
+++ b/ui/aura/mus/window_tree_host_mus.cc
@@ -108,9 +108,11 @@ void WindowTreeHostMus::SetBoundsFromServer(const gfx::Rect& bounds) {
SetBoundsInPixels(bounds);
}
-void WindowTreeHostMus::SetClientArea(const gfx::Insets& insets) {
+void WindowTreeHostMus::SetClientArea(
+ const gfx::Insets& insets,
+ const std::vector<gfx::Rect>& additional_client_area) {
delegate_->OnWindowTreeHostClientAreaWillChange(this, insets,
- std::vector<gfx::Rect>());
+ additional_client_area);
}
void WindowTreeHostMus::SetHitTestMask(const base::Optional<gfx::Rect>& rect) {
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | ui/aura/mus/window_tree_host_mus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698