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

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

Issue 2824103004: mus: Adds WindowManagerDelegate::OnWmConnected() (Closed)
Patch Set: 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void OnEmbed( 140 void OnEmbed(
141 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; 141 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override;
142 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override; 142 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override;
143 void OnLostConnection(aura::WindowTreeClient* client) override; 143 void OnLostConnection(aura::WindowTreeClient* client) override;
144 void OnPointerEventObserved(const ui::PointerEvent& event, 144 void OnPointerEventObserved(const ui::PointerEvent& event,
145 aura::Window* target) override; 145 aura::Window* target) override;
146 aura::PropertyConverter* GetPropertyConverter() override; 146 aura::PropertyConverter* GetPropertyConverter() override;
147 147
148 // WindowManagerDelegate: 148 // WindowManagerDelegate:
149 void SetWindowManagerClient(aura::WindowManagerClient* client) override; 149 void SetWindowManagerClient(aura::WindowManagerClient* client) override;
150 void OnWmConnected() override;
150 void OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) override; 151 void OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) override;
151 bool OnWmSetProperty( 152 bool OnWmSetProperty(
152 aura::Window* window, 153 aura::Window* window,
153 const std::string& name, 154 const std::string& name,
154 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 155 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
155 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override; 156 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override;
156 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override; 157 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override;
157 aura::Window* OnWmCreateTopLevelWindow( 158 aura::Window* OnWmCreateTopLevelWindow(
158 ui::mojom::WindowType window_type, 159 ui::mojom::WindowType window_type,
159 std::map<std::string, std::vector<uint8_t>>* properties) override; 160 std::map<std::string, std::vector<uint8_t>>* properties) override;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 struct DragState; 225 struct DragState;
225 std::unique_ptr<DragState> drag_state_; 226 std::unique_ptr<DragState> drag_state_;
226 227
227 DISALLOW_COPY_AND_ASSIGN(WindowManager); 228 DISALLOW_COPY_AND_ASSIGN(WindowManager);
228 }; 229 };
229 230
230 } // namespace mus 231 } // namespace mus
231 } // namespace ash 232 } // namespace ash
232 233
233 #endif // ASH_MUS_WINDOW_MANAGER_H_ 234 #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