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

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

Issue 2778823002: Simplify WindowManager::OnWmSetBounds (Closed)
Patch Set: Update expectations for DragTestInteractive.DragTest Created 3 years, 8 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 | « no previous file | ash/mus/window_manager.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 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void OnEmbed( 132 void OnEmbed(
133 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; 133 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override;
134 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override; 134 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override;
135 void OnLostConnection(aura::WindowTreeClient* client) override; 135 void OnLostConnection(aura::WindowTreeClient* client) override;
136 void OnPointerEventObserved(const ui::PointerEvent& event, 136 void OnPointerEventObserved(const ui::PointerEvent& event,
137 aura::Window* target) override; 137 aura::Window* target) override;
138 aura::PropertyConverter* GetPropertyConverter() override; 138 aura::PropertyConverter* GetPropertyConverter() override;
139 139
140 // WindowManagerDelegate: 140 // WindowManagerDelegate:
141 void SetWindowManagerClient(aura::WindowManagerClient* client) override; 141 void SetWindowManagerClient(aura::WindowManagerClient* client) override;
142 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override; 142 void OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) override;
143 bool OnWmSetProperty( 143 bool OnWmSetProperty(
144 aura::Window* window, 144 aura::Window* window,
145 const std::string& name, 145 const std::string& name,
146 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 146 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
147 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override; 147 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override;
148 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override; 148 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override;
149 aura::Window* OnWmCreateTopLevelWindow( 149 aura::Window* OnWmCreateTopLevelWindow(
150 ui::mojom::WindowType window_type, 150 ui::mojom::WindowType window_type,
151 std::map<std::string, std::vector<uint8_t>>* properties) override; 151 std::map<std::string, std::vector<uint8_t>>* properties) override;
152 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, 152 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 struct DragState; 213 struct DragState;
214 std::unique_ptr<DragState> drag_state_; 214 std::unique_ptr<DragState> drag_state_;
215 215
216 DISALLOW_COPY_AND_ASSIGN(WindowManager); 216 DISALLOW_COPY_AND_ASSIGN(WindowManager);
217 }; 217 };
218 218
219 } // namespace mus 219 } // namespace mus
220 } // namespace ash 220 } // namespace ash
221 221
222 #endif // ASH_MUS_WINDOW_MANAGER_H_ 222 #endif // ASH_MUS_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698