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

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

Issue 2539263005: Makes WindowTreeHostMus supply properties directly to window creation (Closed)
Patch Set: comment 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
« no previous file with comments | « no previous file | ui/aura/mus/window_tree_client.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 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 // Overriden from WindowTreeHostMusDelegate: 415 // Overriden from WindowTreeHostMusDelegate:
416 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, 416 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host,
417 const gfx::Rect& bounds) override; 417 const gfx::Rect& bounds) override;
418 void OnWindowTreeHostClientAreaWillChange( 418 void OnWindowTreeHostClientAreaWillChange(
419 WindowTreeHostMus* window_tree_host, 419 WindowTreeHostMus* window_tree_host,
420 const gfx::Insets& client_area, 420 const gfx::Insets& client_area,
421 const std::vector<gfx::Rect>& additional_client_areas) override; 421 const std::vector<gfx::Rect>& additional_client_areas) override;
422 void OnWindowTreeHostHitTestMaskWillChange( 422 void OnWindowTreeHostHitTestMaskWillChange(
423 WindowTreeHostMus* window_tree_host, 423 WindowTreeHostMus* window_tree_host,
424 const base::Optional<gfx::Rect>& mask_rect) override; 424 const base::Optional<gfx::Rect>& mask_rect) override;
425 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel() override; 425 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel(
426 const std::map<std::string, std::vector<uint8_t>>* properties) override;
426 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; 427 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override;
427 428
428 // Override from client::TransientWindowClientObserver: 429 // Override from client::TransientWindowClientObserver:
429 void OnTransientChildWindowAdded(Window* parent, 430 void OnTransientChildWindowAdded(Window* parent,
430 Window* transient_child) override; 431 Window* transient_child) override;
431 void OnTransientChildWindowRemoved(Window* parent, 432 void OnTransientChildWindowRemoved(Window* parent,
432 Window* transient_child) override; 433 Window* transient_child) override;
433 void OnWillRestackTransientChildAbove(Window* parent, 434 void OnWillRestackTransientChildAbove(Window* parent,
434 Window* transient_child) override; 435 Window* transient_child) override;
435 void OnDidRestackTransientChildAbove(Window* parent, 436 void OnDidRestackTransientChildAbove(Window* parent,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 516 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
516 517
517 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 518 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
518 519
519 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 520 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
520 }; 521 };
521 522
522 } // namespace aura 523 } // namespace aura
523 524
524 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 525 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698