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

Side by Side Diff: services/ui/ws/window_tree.h

Issue 2778823002: Simplify WindowManager::OnWmSetBounds (Closed)
Patch Set: Update expectations for DragTestInteractive.DragTest 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 | « services/ui/ws/window_server_test_base.cc ('k') | services/ui/ws/window_tree.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 SERVICES_UI_WS_WINDOW_TREE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_
6 #define SERVICES_UI_WS_WINDOW_TREE_H_ 6 #define SERVICES_UI_WS_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 481
482 // mojom::WindowManagerClient: 482 // mojom::WindowManagerClient:
483 void AddAccelerators(std::vector<mojom::WmAcceleratorPtr> accelerators, 483 void AddAccelerators(std::vector<mojom::WmAcceleratorPtr> accelerators,
484 const AddAcceleratorsCallback& callback) override; 484 const AddAcceleratorsCallback& callback) override;
485 void RemoveAccelerator(uint32_t id) override; 485 void RemoveAccelerator(uint32_t id) override;
486 void AddActivationParent(Id transport_window_id) override; 486 void AddActivationParent(Id transport_window_id) override;
487 void RemoveActivationParent(Id transport_window_id) override; 487 void RemoveActivationParent(Id transport_window_id) override;
488 void ActivateNextWindow() override; 488 void ActivateNextWindow() override;
489 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; 489 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override;
490 void WmResponse(uint32_t change_id, bool response) override; 490 void WmResponse(uint32_t change_id, bool response) override;
491 void WmSetBoundsResponse(uint32_t change_id) override;
491 void WmRequestClose(Id transport_window_id) override; 492 void WmRequestClose(Id transport_window_id) override;
492 void WmSetFrameDecorationValues( 493 void WmSetFrameDecorationValues(
493 mojom::FrameDecorationValuesPtr values) override; 494 mojom::FrameDecorationValuesPtr values) override;
494 void WmSetNonClientCursor(uint32_t window_id, 495 void WmSetNonClientCursor(uint32_t window_id,
495 mojom::Cursor cursor_id) override; 496 mojom::Cursor cursor_id) override;
496 void OnWmCreatedTopLevelWindow(uint32_t change_id, 497 void OnWmCreatedTopLevelWindow(uint32_t change_id,
497 Id transport_window_id) override; 498 Id transport_window_id) override;
498 void OnAcceleratorAck( 499 void OnAcceleratorAck(
499 uint32_t event_id, 500 uint32_t event_id,
500 mojom::EventResult result, 501 mojom::EventResult result,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 // a image move. All weak ptrs are invalidated when a drag is completed. 607 // a image move. All weak ptrs are invalidated when a drag is completed.
607 base::WeakPtrFactory<WindowTree> drag_weak_factory_; 608 base::WeakPtrFactory<WindowTree> drag_weak_factory_;
608 609
609 DISALLOW_COPY_AND_ASSIGN(WindowTree); 610 DISALLOW_COPY_AND_ASSIGN(WindowTree);
610 }; 611 };
611 612
612 } // namespace ws 613 } // namespace ws
613 } // namespace ui 614 } // namespace ui
614 615
615 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 616 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_server_test_base.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698