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

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

Issue 2517853002: Fixes bug in handling restacking because of transients (Closed)
Patch Set: feedback Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TREE_CLIENT_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, 412 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host,
413 const gfx::Rect& bounds) override; 413 const gfx::Rect& bounds) override;
414 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel() override; 414 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel() override;
415 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; 415 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override;
416 416
417 // Override from client::TransientWindowClientObserver: 417 // Override from client::TransientWindowClientObserver:
418 void OnTransientChildWindowAdded(Window* parent, 418 void OnTransientChildWindowAdded(Window* parent,
419 Window* transient_child) override; 419 Window* transient_child) override;
420 void OnTransientChildWindowRemoved(Window* parent, 420 void OnTransientChildWindowRemoved(Window* parent,
421 Window* transient_child) override; 421 Window* transient_child) override;
422 void OnWillRestackTransientChildAbove(Window* parent,
423 Window* transient_child) override;
424 void OnDidRestackTransientChildAbove(Window* parent,
425 Window* transient_child) override;
422 426
423 // Overriden from DragDropControllerHost: 427 // Overriden from DragDropControllerHost:
424 uint32_t CreateChangeIdForDrag(WindowMus* window) override; 428 uint32_t CreateChangeIdForDrag(WindowMus* window) override;
425 429
426 // Overrided from CaptureSynchronizerDelegate: 430 // Overrided from CaptureSynchronizerDelegate:
427 uint32_t CreateChangeIdForCapture(WindowMus* window) override; 431 uint32_t CreateChangeIdForCapture(WindowMus* window) override;
428 432
429 // Overrided from FocusSynchronizerDelegate: 433 // Overrided from FocusSynchronizerDelegate:
430 uint32_t CreateChangeIdForFocus(WindowMus* window) override; 434 uint32_t CreateChangeIdForFocus(WindowMus* window) override;
431 435
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 501 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
498 502
499 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 503 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
500 504
501 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 505 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
502 }; 506 };
503 507
504 } // namespace aura 508 } // namespace aura
505 509
506 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 510 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698