Chromium Code Reviews| 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..f90a04da2e7ca5b1069db0ae9846b5551c19dccc |
| --- /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. |
| + virtual void SetRootWindowBounds(Window* window, gfx::Rect* bounds) = 0; |
|
sadrul
2016/10/27 20:26:17
WindowTreeHost::bounds is in physical-pixel space
sky
2016/10/27 22:15:04
I commented dips, but similar concern with other p
|
| + |
| + protected: |
| + virtual ~WindowTreeHostMusDelegate() {} |
| +}; |
| + |
| +} // namespace aura |
| + |
| +#endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_ |