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

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

Issue 2655463009: aura-mus: Implement DesktopWindowTreeHostMus::StackAbove(). (Closed)
Patch Set: Add comment. Created 3 years, 11 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_host_mus.cc ('k') | ui/aura/test/mus/test_window_tree.h » ('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 2016 The Chromium Authors. All rights reserved. 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 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_DELEGATE_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 28 matching lines...) Expand all
39 39
40 // Called when the hit test mask is about to be cleared. 40 // Called when the hit test mask is about to be cleared.
41 virtual void OnWindowTreeHostHitTestMaskWillChange( 41 virtual void OnWindowTreeHostHitTestMaskWillChange(
42 WindowTreeHostMus* window_tree_host, 42 WindowTreeHostMus* window_tree_host,
43 const base::Optional<gfx::Rect>& mask_rect) = 0; 43 const base::Optional<gfx::Rect>& mask_rect) = 0;
44 44
45 // Called to clear the focus of the current window. 45 // Called to clear the focus of the current window.
46 virtual void OnWindowTreeHostDeactivateWindow( 46 virtual void OnWindowTreeHostDeactivateWindow(
47 WindowTreeHostMus* window_tree_host) = 0; 47 WindowTreeHostMus* window_tree_host) = 0;
48 48
49 // Called to stack the native window above the native window of |window|.
50 virtual void OnWindowTreeHostStackAbove(
51 WindowTreeHostMus* window_tree_host,
52 Window* window) = 0;
53
49 // Called to stack the native window above other native windows. 54 // Called to stack the native window above other native windows.
50 virtual void OnWindowTreeHostStackAtTop( 55 virtual void OnWindowTreeHostStackAtTop(
51 WindowTreeHostMus* window_tree_host) = 0; 56 WindowTreeHostMus* window_tree_host) = 0;
52 57
53 // Called when a WindowTreeHostMus is created without a WindowPort. 58 // Called when a WindowTreeHostMus is created without a WindowPort.
54 // TODO: this should take an unordered_map, see http://crbug.com/670515. 59 // TODO: this should take an unordered_map, see http://crbug.com/670515.
55 virtual std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( 60 virtual std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel(
56 const std::map<std::string, std::vector<uint8_t>>* properties) = 0; 61 const std::map<std::string, std::vector<uint8_t>>* properties) = 0;
57 62
58 // Called from WindowTreeHostMus's constructor once the Window has been 63 // Called from WindowTreeHostMus's constructor once the Window has been
59 // created. 64 // created.
60 virtual void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) = 0; 65 virtual void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) = 0;
61 66
62 protected: 67 protected:
63 virtual ~WindowTreeHostMusDelegate() {} 68 virtual ~WindowTreeHostMusDelegate() {}
64 }; 69 };
65 70
66 } // namespace aura 71 } // namespace aura
67 72
68 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_ 73 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_DELEGATE_H_
OLDNEW
« 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