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

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

Issue 2559703003: Converts WindowTreeClientTest to be in terms of aura (Closed)
Patch Set: feedback 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 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_PORT_MUS_H_ 5 #ifndef UI_AURA_MUS_WINDOW_PORT_MUS_H_
6 #define UI_AURA_MUS_WINDOW_PORT_MUS_H_ 6 #define UI_AURA_MUS_WINDOW_PORT_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 std::unique_ptr<SurfaceInfo> surface_info) override; 206 std::unique_ptr<SurfaceInfo> surface_info) override;
207 void DestroyFromServer() override; 207 void DestroyFromServer() override;
208 void AddTransientChildFromServer(WindowMus* child) override; 208 void AddTransientChildFromServer(WindowMus* child) override;
209 void RemoveTransientChildFromServer(WindowMus* child) override; 209 void RemoveTransientChildFromServer(WindowMus* child) override;
210 ChangeSource OnTransientChildAdded(WindowMus* child) override; 210 ChangeSource OnTransientChildAdded(WindowMus* child) override;
211 ChangeSource OnTransientChildRemoved(WindowMus* child) override; 211 ChangeSource OnTransientChildRemoved(WindowMus* child) override;
212 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( 212 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange(
213 const gfx::Rect& bounds) override; 213 const gfx::Rect& bounds) override;
214 std::unique_ptr<WindowMusChangeData> PrepareForServerVisibilityChange( 214 std::unique_ptr<WindowMusChangeData> PrepareForServerVisibilityChange(
215 bool value) override; 215 bool value) override;
216 void PrepareForDestroy() override;
216 void PrepareForTransientRestack(WindowMus* window) override; 217 void PrepareForTransientRestack(WindowMus* window) override;
217 void OnTransientRestackDone(WindowMus* window) override; 218 void OnTransientRestackDone(WindowMus* window) override;
218 void NotifyEmbeddedAppDisconnected() override; 219 void NotifyEmbeddedAppDisconnected() override;
219 220
220 // WindowPort: 221 // WindowPort:
221 void OnPreInit(Window* window) override; 222 void OnPreInit(Window* window) override;
222 void OnDeviceScaleFactorChanged(float device_scale_factor) override; 223 void OnDeviceScaleFactorChanged(float device_scale_factor) override;
223 void OnWillAddChild(Window* child) override; 224 void OnWillAddChild(Window* child) override;
224 void OnWillRemoveChild(Window* child) override; 225 void OnWillRemoveChild(Window* child) override;
225 void OnWillMoveChild(size_t current_index, size_t dest_index) override; 226 void OnWillMoveChild(size_t current_index, size_t dest_index) override;
(...skipping 16 matching lines...) Expand all
242 std::unique_ptr<SurfaceInfo> surface_info_; 243 std::unique_ptr<SurfaceInfo> surface_info_;
243 244
244 ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL; 245 ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL;
245 246
246 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); 247 DISALLOW_COPY_AND_ASSIGN(WindowPortMus);
247 }; 248 };
248 249
249 } // namespace aura 250 } // namespace aura
250 251
251 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ 252 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698