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

Side by Side Diff: ui/aura/mus/window_tree_host_mus_delegate.h

Issue 2456623002: Fixes to WindowTreeHostMus (Closed)
Patch Set: std::move Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
7
8 #include "ui/aura/aura_export.h"
9
10 namespace gfx {
11 class Rect;
12 }
13
14 namespace aura {
15
16 class Window;
17
18 class AURA_EXPORT WindowTreeHostMusDelegate {
19 public:
20 // Called to set the bounds of the root window. |bounds| is the bounds
21 // supplied to SetBounds() and may be adjusted by the default. After this call
22 // |bounds| is applied to WindowTreeHost.
23 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
24
25 protected:
26 virtual ~WindowTreeHostMusDelegate() {}
27 };
28
29 } // namespace aura
30
31 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
OLDNEW
« ui/aura/mus/window_tree_host_mus.h ('K') | « ui/aura/mus/window_tree_host_mus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698