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

Side by Side Diff: ash/mus/window_manager.h

Issue 2548513002: Update bool WindowManager::OnWmSetBounds() to match with its desirable behavior. (Closed)
Patch Set: change bool to void. Created 4 years 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
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 ASH_MUS_WINDOW_MANAGER_H_ 5 #ifndef ASH_MUS_WINDOW_MANAGER_H_
6 #define ASH_MUS_WINDOW_MANAGER_H_ 6 #define ASH_MUS_WINDOW_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // WindowTreeClientDelegate: 128 // WindowTreeClientDelegate:
129 void OnEmbed(ui::Window* root) override; 129 void OnEmbed(ui::Window* root) override;
130 void OnEmbedRootDestroyed(ui::Window* root) override; 130 void OnEmbedRootDestroyed(ui::Window* root) override;
131 void OnLostConnection(ui::WindowTreeClient* client) override; 131 void OnLostConnection(ui::WindowTreeClient* client) override;
132 void OnPointerEventObserved(const ui::PointerEvent& event, 132 void OnPointerEventObserved(const ui::PointerEvent& event,
133 ui::Window* target) override; 133 ui::Window* target) override;
134 134
135 // WindowManagerDelegate: 135 // WindowManagerDelegate:
136 void SetWindowManagerClient(ui::WindowManagerClient* client) override; 136 void SetWindowManagerClient(ui::WindowManagerClient* client) override;
137 bool OnWmSetBounds(ui::Window* window, gfx::Rect* bounds) override; 137 void OnWmSetBounds(ui::Window* window, gfx::Rect* bounds) override;
138 bool OnWmSetProperty( 138 bool OnWmSetProperty(
139 ui::Window* window, 139 ui::Window* window,
140 const std::string& name, 140 const std::string& name,
141 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 141 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
142 ui::Window* OnWmCreateTopLevelWindow( 142 ui::Window* OnWmCreateTopLevelWindow(
143 std::map<std::string, std::vector<uint8_t>>* properties) override; 143 std::map<std::string, std::vector<uint8_t>>* properties) override;
144 void OnWmClientJankinessChanged(const std::set<ui::Window*>& client_windows, 144 void OnWmClientJankinessChanged(const std::set<ui::Window*>& client_windows,
145 bool not_responding) override; 145 bool not_responding) override;
146 void OnWmNewDisplay(ui::Window* window, 146 void OnWmNewDisplay(ui::Window* window,
147 const display::Display& display) override; 147 const display::Display& display) override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; 180 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_;
181 uint16_t next_accelerator_namespace_id_ = 0u; 181 uint16_t next_accelerator_namespace_id_ = 0u;
182 182
183 DISALLOW_COPY_AND_ASSIGN(WindowManager); 183 DISALLOW_COPY_AND_ASSIGN(WindowManager);
184 }; 184 };
185 185
186 } // namespace mus 186 } // namespace mus
187 } // namespace ash 187 } // namespace ash
188 188
189 #endif // ASH_MUS_WINDOW_MANAGER_H_ 189 #endif // ASH_MUS_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/mus/window_manager.cc » ('j') | services/ui/public/cpp/tests/window_server_test_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698