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

Side by Side Diff: mash/simple_wm/simple_wm.h

Issue 2759643003: Add system modals to the proper container in mus+ash. (Closed)
Patch Set: addressed feedback. Created 3 years, 9 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 | « ash/mus/window_manager.cc ('k') | mash/simple_wm/simple_wm.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 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 MASH_SIMPLE_WM_SIMPLE_WM_H_ 5 #ifndef MASH_SIMPLE_WM_SIMPLE_WM_H_
6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_ 6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 aura::Window* target) override; 69 aura::Window* target) override;
70 aura::PropertyConverter* GetPropertyConverter() override; 70 aura::PropertyConverter* GetPropertyConverter() override;
71 71
72 // aura::WindowManagerDelegate: 72 // aura::WindowManagerDelegate:
73 void SetWindowManagerClient(aura::WindowManagerClient* client) override; 73 void SetWindowManagerClient(aura::WindowManagerClient* client) override;
74 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override; 74 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override;
75 bool OnWmSetProperty( 75 bool OnWmSetProperty(
76 aura::Window* window, 76 aura::Window* window,
77 const std::string& name, 77 const std::string& name,
78 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 78 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
79 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override;
79 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override; 80 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override;
80 aura::Window* OnWmCreateTopLevelWindow( 81 aura::Window* OnWmCreateTopLevelWindow(
81 ui::mojom::WindowType window_type, 82 ui::mojom::WindowType window_type,
82 std::map<std::string, std::vector<uint8_t>>* properties) override; 83 std::map<std::string, std::vector<uint8_t>>* properties) override;
83 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, 84 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows,
84 bool janky) override; 85 bool janky) override;
85 void OnWmWillCreateDisplay(const display::Display& display) override; 86 void OnWmWillCreateDisplay(const display::Display& display) override;
86 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host, 87 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host,
87 const display::Display& display) override; 88 const display::Display& display) override;
88 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override; 89 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; 124 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_;
124 125
125 bool started_ = false; 126 bool started_ = false;
126 127
127 DISALLOW_COPY_AND_ASSIGN(SimpleWM); 128 DISALLOW_COPY_AND_ASSIGN(SimpleWM);
128 }; 129 };
129 130
130 } // namespace simple_wm 131 } // namespace simple_wm
131 132
132 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ 133 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_
OLDNEW
« no previous file with comments | « ash/mus/window_manager.cc ('k') | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698