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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_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
Index: components/mus/public/cpp/lib/window_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.h b/components/mus/public/cpp/lib/window_tree_client_impl.h
index c6ce955b4d9448dc3e4a8560bb59e43687f02876..4b8baeac7d6119d22a6550a8654e6702fdf9a9e3 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -12,6 +12,7 @@
#include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
namespace gfx {
+class Insets;
class Size;
}
@@ -52,7 +53,7 @@ class WindowTreeClientImpl : public WindowTreeConnection,
bool OwnsWindow(Id id) const;
void SetBounds(Id window_id, const gfx::Rect& bounds);
- void SetClientArea(Id window_id, const gfx::Rect& client_area);
+ void SetClientArea(Id window_id, const gfx::Insets& client_area);
void SetFocus(Id window_id);
void SetVisible(Id window_id, bool visible);
void SetProperty(Id window_id,
@@ -123,8 +124,8 @@ class WindowTreeClientImpl : public WindowTreeConnection,
mojo::RectPtr old_bounds,
mojo::RectPtr new_bounds) override;
void OnClientAreaChanged(uint32_t window_id,
- mojo::RectPtr old_client_area,
- mojo::RectPtr new_client_area) override;
+ mojo::InsetsPtr old_client_area,
+ mojo::InsetsPtr new_client_area) override;
void OnWindowViewportMetricsChanged(
mojom::ViewportMetricsPtr old_metrics,
mojom::ViewportMetricsPtr new_metrics) override;
« no previous file with comments | « components/mus/public/cpp/lib/window_private.h ('k') | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698