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

Unified Diff: ui/aura/mus/window_tree_host_mus_delegate.h

Issue 2456623002: Fixes to WindowTreeHostMus (Closed)
Patch Set: merge Created 4 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 | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/test/mus/test_window_tree.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_delegate.h
diff --git a/ui/aura/mus/window_tree_host_mus_delegate.h b/ui/aura/mus/window_tree_host_mus_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..47024b9003d3a53ff8ca9fbed67c58d98d6e162f
--- /dev/null
+++ b/ui/aura/mus/window_tree_host_mus_delegate.h
@@ -0,0 +1,31 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
+#define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
+
+#include "ui/aura/aura_export.h"
+
+namespace gfx {
+class Rect;
+}
+
+namespace aura {
+
+class Window;
+
+class AURA_EXPORT WindowTreeHostMusDelegate {
+ public:
+ // Called to set the bounds of the root window. |bounds| is the bounds
+ // supplied to SetBounds() and may be adjusted by the default. After this call
+ // |bounds| is applied to WindowTreeHost. |bounds| is in dips.
+ virtual void SetRootWindowBounds(Window* window, gfx::Rect* bounds) = 0;
+
+ protected:
+ virtual ~WindowTreeHostMusDelegate() {}
+};
+
+} // namespace aura
+
+#endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/test/mus/test_window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698