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

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

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 | « components/mus/ws/server_window_surface.cc ('k') | components/mus/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 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>
11 #include <memory> 11 #include <memory>
12 #include <queue> 12 #include <queue>
13 #include <set> 13 #include <set>
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/callback.h"
17 #include "base/containers/hash_tables.h" 18 #include "base/containers/hash_tables.h"
18 #include "base/macros.h" 19 #include "base/macros.h"
19 #include "cc/ipc/surface_id.mojom.h" 20 #include "cc/ipc/surface_id.mojom.h"
20 #include "components/mus/public/interfaces/window_tree.mojom.h" 21 #include "components/mus/public/interfaces/window_tree.mojom.h"
21 #include "components/mus/ws/access_policy_delegate.h" 22 #include "components/mus/ws/access_policy_delegate.h"
22 #include "components/mus/ws/ids.h" 23 #include "components/mus/ws/ids.h"
23 #include "components/mus/ws/user_id.h" 24 #include "components/mus/ws/user_id.h"
24 #include "components/mus/ws/window_tree_binding.h" 25 #include "components/mus/ws/window_tree_binding.h"
25 #include "mojo/public/cpp/bindings/associated_binding.h" 26 #include "mojo/public/cpp/bindings/associated_binding.h"
26 27
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 Id transient_window) override; 338 Id transient_window) override;
338 void RemoveTransientWindowFromParent(uint32_t change_id, 339 void RemoveTransientWindowFromParent(uint32_t change_id,
339 Id transient_window_id) override; 340 Id transient_window_id) override;
340 void SetModal(uint32_t change_id, Id window_id) override; 341 void SetModal(uint32_t change_id, Id window_id) override;
341 void ReorderWindow(uint32_t change_Id, 342 void ReorderWindow(uint32_t change_Id,
342 Id window_id, 343 Id window_id,
343 Id relative_window_id, 344 Id relative_window_id,
344 mojom::OrderDirection direction) override; 345 mojom::OrderDirection direction) override;
345 void GetWindowTree( 346 void GetWindowTree(
346 Id window_id, 347 Id window_id,
347 const mojo::Callback<void(mojo::Array<mojom::WindowDataPtr>)>& callback) 348 const base::Callback<void(mojo::Array<mojom::WindowDataPtr>)>& callback)
348 override; 349 override;
349 void SetCapture(uint32_t change_id, Id window_id) override; 350 void SetCapture(uint32_t change_id, Id window_id) override;
350 void ReleaseCapture(uint32_t change_id, Id window_id) override; 351 void ReleaseCapture(uint32_t change_id, Id window_id) override;
351 void SetEventObserver(mojom::EventMatcherPtr matcher, 352 void SetEventObserver(mojom::EventMatcherPtr matcher,
352 uint32_t observer_id) override; 353 uint32_t observer_id) override;
353 void SetWindowBounds(uint32_t change_id, 354 void SetWindowBounds(uint32_t change_id,
354 Id window_id, 355 Id window_id,
355 const gfx::Rect& bounds) override; 356 const gfx::Rect& bounds) override;
356 void SetWindowVisibility(uint32_t change_id, 357 void SetWindowVisibility(uint32_t change_id,
357 Id window_id, 358 Id window_id,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 std::unique_ptr<WaitingForTopLevelWindowInfo> 474 std::unique_ptr<WaitingForTopLevelWindowInfo>
474 waiting_for_top_level_window_info_; 475 waiting_for_top_level_window_info_;
475 476
476 DISALLOW_COPY_AND_ASSIGN(WindowTree); 477 DISALLOW_COPY_AND_ASSIGN(WindowTree);
477 }; 478 };
478 479
479 } // namespace ws 480 } // namespace ws
480 } // namespace mus 481 } // namespace mus
481 482
482 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_H_ 483 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « components/mus/ws/server_window_surface.cc ('k') | components/mus/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698