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

Unified Diff: components/mus/ws/window_tree_impl.h

Issue 1419793006: Makes windowmanager draw non-client area (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add include 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
« no previous file with comments | « components/mus/ws/window_tree_apptest.cc ('k') | components/mus/ws/window_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_impl.h
diff --git a/components/mus/ws/window_tree_impl.h b/components/mus/ws/window_tree_impl.h
index c38486e6f1ad95e24c818fba16afa15460d6dc67..c8c7f8c36d5e2d9a1160e642fb6665e8b34d19e5 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -19,6 +19,7 @@
#include "components/mus/ws/ids.h"
namespace gfx {
+class Insets;
class Rect;
}
@@ -91,8 +92,8 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
const gfx::Rect& new_bounds,
bool originated_change);
void ProcessClientAreaChanged(const ServerWindow* window,
- const gfx::Rect& old_client_area,
- const gfx::Rect& new_client_area,
+ const gfx::Insets& old_client_area,
+ const gfx::Insets& new_client_area,
bool originated_change);
void ProcessViewportMetricsChanged(const mojom::ViewportMetrics& old_metrics,
const mojom::ViewportMetrics& new_metrics,
@@ -220,14 +221,13 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
void SetImeVisibility(Id transport_window_id,
bool visible,
mojo::TextInputStatePtr state) override;
- void SetClientArea(Id transport_window_id, mojo::RectPtr rect) override;
+ void SetClientArea(Id transport_window_id, mojo::InsetsPtr insets) override;
void SetPreferredSize(uint32_t window_id,
mojo::SizePtr size,
const SetPreferredSizeCallback& callback) override;
void SetShowState(uint32_t window_id,
mus::mojom::ShowState show_state,
const SetShowStateCallback& callback) override;
- void GetDisplays(const GetDisplaysCallback& callback) override;
// AccessPolicyDelegate:
bool IsRootForAccessPolicy(const WindowId& id) const override;
« no previous file with comments | « components/mus/ws/window_tree_apptest.cc ('k') | components/mus/ws/window_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698