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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.h

Issue 1423133003: Routes calls to WM through WS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no braces Created 5 years, 2 months 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/public/cpp/lib/window.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d3b61fe0435f49a17014de26b9aed2ccd383643f..5f7042c4cae0843ece07027b1a1e61d196067227 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -11,6 +11,11 @@
#include "components/mus/public/interfaces/window_tree.mojom.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
+namespace gfx {
+class Rect;
+class Size;
+}
+
namespace mus {
class WindowTreeConnection;
class WindowTreeDelegate;
@@ -85,6 +90,10 @@ class WindowTreeClientImpl : public WindowTreeConnection,
// is torn down after the root.
void OnRootDestroyed(Window* root);
+ void SetPreferredSize(Id window_id, const gfx::Size& size);
+ void RequestBoundsChange(Id window_id, const gfx::Rect& bounds);
+ void SetShowState(Id window_id, mojom::ShowState show_state);
+
private:
typedef std::map<Id, Window*> IdToWindowMap;
« no previous file with comments | « components/mus/public/cpp/lib/window.cc ('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