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

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

Issue 2559703003: Converts WindowTreeClientTest to be in terms of aura (Closed)
Patch Set: tweak 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
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 void Embed(Window* window, 119 void Embed(Window* window,
119 ui::mojom::WindowTreeClientPtr client, 120 ui::mojom::WindowTreeClientPtr client,
120 uint32_t flags, 121 uint32_t flags,
121 const ui::mojom::WindowTree::EmbedCallback& callback); 122 const ui::mojom::WindowTree::EmbedCallback& callback);
122 123
123 void AttachCompositorFrameSink( 124 void AttachCompositorFrameSink(
124 Id window_id, 125 Id window_id,
125 ui::mojom::CompositorFrameSinkType type, 126 ui::mojom::CompositorFrameSinkType type,
126 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, 127 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink,
127 cc::mojom::MojoCompositorFrameSinkClientPtr client); 128 cc::mojom::MojoCompositorFrameSinkClientPtr client);
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 515 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
515 516
516 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 517 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
517 518
518 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 519 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
519 }; 520 };
520 521
521 } // namespace aura 522 } // namespace aura
522 523
523 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 524 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698