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

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

Issue 2576533003: Converts some services to use aura-mus (Closed)
Patch Set: remove log 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 | « ui/aura/mus/window_port_mus.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.h » ('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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void SetCanAcceptEvents(Id window_id, bool can_accept_events); 108 void SetCanAcceptEvents(Id window_id, bool can_accept_events);
109 void SetPredefinedCursor(WindowMus* window, 109 void SetPredefinedCursor(WindowMus* window,
110 ui::mojom::Cursor old_cursor, 110 ui::mojom::Cursor old_cursor,
111 ui::mojom::Cursor new_cursor); 111 ui::mojom::Cursor new_cursor);
112 void SetWindowTextInputState(WindowMus* window, 112 void SetWindowTextInputState(WindowMus* window,
113 mojo::TextInputStatePtr state); 113 mojo::TextInputStatePtr state);
114 void SetImeVisibility(WindowMus* window, 114 void SetImeVisibility(WindowMus* window,
115 bool visible, 115 bool visible,
116 mojo::TextInputStatePtr state); 116 mojo::TextInputStatePtr state);
117 117
118 // Embeds a new client in |window|. 118 // Embeds a new client in |window|. |flags| is a bitmask of the values defined
119 // by kEmbedFlag*; 0 gives default behavior. |callback| is called to indicate
120 // whether the embedding succeeded or failed and may be called immediately if
121 // the embedding is known to fail.
119 void Embed(Window* window, 122 void Embed(Window* window,
120 ui::mojom::WindowTreeClientPtr client, 123 ui::mojom::WindowTreeClientPtr client,
121 uint32_t flags, 124 uint32_t flags,
122 const ui::mojom::WindowTree::EmbedCallback& callback); 125 const ui::mojom::WindowTree::EmbedCallback& callback);
123 126
124 void AttachCompositorFrameSink( 127 void AttachCompositorFrameSink(
125 Id window_id, 128 Id window_id,
126 ui::mojom::CompositorFrameSinkType type, 129 ui::mojom::CompositorFrameSinkType type,
127 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, 130 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink,
128 cc::mojom::MojoCompositorFrameSinkClientPtr client); 131 cc::mojom::MojoCompositorFrameSinkClientPtr client);
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 524 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
522 525
523 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 526 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
524 527
525 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 528 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
526 }; 529 };
527 530
528 } // namespace aura 531 } // namespace aura
529 532
530 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 533 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_port_mus.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698