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

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

Issue 2655463009: aura-mus: Implement DesktopWindowTreeHostMus::StackAbove(). (Closed)
Patch Set: Add comment. Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/mus/window_tree_host_mus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_
6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void SetClientArea(const gfx::Insets& insets, 68 void SetClientArea(const gfx::Insets& insets,
69 const std::vector<gfx::Rect>& additional_client_area); 69 const std::vector<gfx::Rect>& additional_client_area);
70 70
71 // Sets the hit test mask on the underlying mus window. Pass base::nullopt to 71 // Sets the hit test mask on the underlying mus window. Pass base::nullopt to
72 // clear. 72 // clear.
73 void SetHitTestMask(const base::Optional<gfx::Rect>& rect); 73 void SetHitTestMask(const base::Optional<gfx::Rect>& rect);
74 74
75 // Requests that the window manager change the activation to the next window. 75 // Requests that the window manager change the activation to the next window.
76 void DeactivateWindow(); 76 void DeactivateWindow();
77 77
78 // Requests that our root window be stacked above this other root window
79 // which our connection owns.
80 void StackAbove(Window* window);
81
78 // Requests that our root window be stacked above all other parallel root 82 // Requests that our root window be stacked above all other parallel root
79 // windows which we might not own. 83 // windows which we might not own.
80 void StackAtTop(); 84 void StackAtTop();
81 85
82 // Intended only for WindowTreeClient to call. 86 // Intended only for WindowTreeClient to call.
83 void set_display_id(int64_t id) { display_id_ = id; } 87 void set_display_id(int64_t id) { display_id_ = id; }
84 int64_t display_id() const { return display_id_; } 88 int64_t display_id() const { return display_id_; }
85 display::Display GetDisplay() const; 89 display::Display GetDisplay() const;
86 90
87 // aura::WindowTreeHostPlatform: 91 // aura::WindowTreeHostPlatform:
(...skipping 13 matching lines...) Expand all
101 bool in_set_bounds_from_server_ = false; 105 bool in_set_bounds_from_server_ = false;
102 106
103 std::unique_ptr<InputMethodMus> input_method_; 107 std::unique_ptr<InputMethodMus> input_method_;
104 108
105 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); 109 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus);
106 }; 110 };
107 111
108 } // namespace aura 112 } // namespace aura
109 113
110 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ 114 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/mus/window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698