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

Side by Side Diff: components/mus/ws/window_tree.h

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OnWmMoveLoopComplete() -> WmResponse() and use change_id instead of window_id in cancel. Created 4 years, 5 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
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 COMPONENTS_MUS_WS_WINDOW_TREE_H_ 5 #ifndef COMPONENTS_MUS_WS_WINDOW_TREE_H_
6 #define COMPONENTS_MUS_WS_WINDOW_TREE_H_ 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 void SetClientArea( 398 void SetClientArea(
399 Id transport_window_id, 399 Id transport_window_id,
400 const gfx::Insets& insets, 400 const gfx::Insets& insets,
401 mojo::Array<gfx::Rect> transport_additional_client_areas) override; 401 mojo::Array<gfx::Rect> transport_additional_client_areas) override;
402 void SetHitTestMask(Id transport_window_id, const gfx::Rect& mask) override; 402 void SetHitTestMask(Id transport_window_id, const gfx::Rect& mask) override;
403 void GetWindowManagerClient( 403 void GetWindowManagerClient(
404 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) 404 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal)
405 override; 405 override;
406 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) 406 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback)
407 override; 407 override;
408 void PerformWindowMove(uint32_t change_id,
409 Id window_id,
410 ::mus::mojom::MoveLoopSource source,
411 const gfx::Point& cursor) override;
412 void CancelWindowMove(Id window_id) override;
408 413
409 // mojom::WindowManagerClient: 414 // mojom::WindowManagerClient:
410 void AddAccelerator(uint32_t id, 415 void AddAccelerator(uint32_t id,
411 mojom::EventMatcherPtr event_matcher, 416 mojom::EventMatcherPtr event_matcher,
412 const AddAcceleratorCallback& callback) override; 417 const AddAcceleratorCallback& callback) override;
413 void RemoveAccelerator(uint32_t id) override; 418 void RemoveAccelerator(uint32_t id) override;
414 void AddActivationParent(Id transport_window_id) override; 419 void AddActivationParent(Id transport_window_id) override;
415 void RemoveActivationParent(Id transport_window_id) override; 420 void RemoveActivationParent(Id transport_window_id) override;
416 void ActivateNextWindow() override; 421 void ActivateNextWindow() override;
417 void SetUnderlaySurfaceOffsetAndExtendedHitArea( 422 void SetUnderlaySurfaceOffsetAndExtendedHitArea(
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 waiting_for_top_level_window_info_; 493 waiting_for_top_level_window_info_;
489 bool embedder_intercepts_events_ = false; 494 bool embedder_intercepts_events_ = false;
490 495
491 DISALLOW_COPY_AND_ASSIGN(WindowTree); 496 DISALLOW_COPY_AND_ASSIGN(WindowTree);
492 }; 497 };
493 498
494 } // namespace ws 499 } // namespace ws
495 } // namespace mus 500 } // namespace mus
496 501
497 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_H_ 502 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698