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

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

Issue 2517853002: Fixes bug in handling restacking because of transients (Closed)
Patch Set: merge 2 trunk 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 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* source,
423 Window* window) override;
424 void OnDidRestackTransientChildAbove(Window* source, Window* window) override;
422 425
423 // Overriden from DragDropControllerHost: 426 // Overriden from DragDropControllerHost:
424 uint32_t CreateChangeIdForDrag(WindowMus* window) override; 427 uint32_t CreateChangeIdForDrag(WindowMus* window) override;
425 428
426 // Overrided from CaptureSynchronizerDelegate: 429 // Overrided from CaptureSynchronizerDelegate:
427 uint32_t CreateChangeIdForCapture(WindowMus* window) override; 430 uint32_t CreateChangeIdForCapture(WindowMus* window) override;
428 431
429 // Overrided from FocusSynchronizerDelegate: 432 // Overrided from FocusSynchronizerDelegate:
430 uint32_t CreateChangeIdForFocus(WindowMus* window) override; 433 uint32_t CreateChangeIdForFocus(WindowMus* window) override;
431 434
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 500 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
498 501
499 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 502 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
500 503
501 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 504 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
502 }; 505 };
503 506
504 } // namespace aura 507 } // namespace aura
505 508
506 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 509 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698