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

Side by Side Diff: ui/views/mus/mus_client.h

Issue 2559703003: Converts WindowTreeClientTest to be in terms of aura (Closed)
Patch Set: feedback 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_VIEWS_MUS_MUS_CLIENT_H_ 5 #ifndef UI_VIEWS_MUS_MUS_CLIENT_H_
6 #define UI_VIEWS_MUS_MUS_CLIENT_H_ 6 #define UI_VIEWS_MUS_MUS_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 MusClient( 104 MusClient(
105 service_manager::Connector* connector, 105 service_manager::Connector* connector,
106 const service_manager::Identity& identity, 106 const service_manager::Identity& identity,
107 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner = nullptr); 107 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner = nullptr);
108 108
109 // aura::WindowTreeClientDelegate: 109 // aura::WindowTreeClientDelegate:
110 void OnEmbed( 110 void OnEmbed(
111 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; 111 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override;
112 void OnLostConnection(aura::WindowTreeClient* client) override; 112 void OnLostConnection(aura::WindowTreeClient* client) override;
113 void OnEmbedRootDestroyed(aura::Window* root) override; 113 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override;
114 void OnPointerEventObserved(const ui::PointerEvent& event, 114 void OnPointerEventObserved(const ui::PointerEvent& event,
115 aura::Window* target) override; 115 aura::Window* target) override;
116 aura::client::CaptureClient* GetCaptureClient() override; 116 aura::client::CaptureClient* GetCaptureClient() override;
117 aura::PropertyConverter* GetPropertyConverter() override; 117 aura::PropertyConverter* GetPropertyConverter() override;
118 118
119 // ScreenMusDelegate: 119 // ScreenMusDelegate:
120 void OnWindowManagerFrameValuesChanged() override; 120 void OnWindowManagerFrameValuesChanged() override;
121 gfx::Point GetCursorScreenPoint() override; 121 gfx::Point GetCursorScreenPoint() override;
122 aura::Window* GetWindowAtScreenPoint(const gfx::Point& point) override; 122 aura::Window* GetWindowAtScreenPoint(const gfx::Point& point) override;
123 123
(...skipping 19 matching lines...) Expand all
143 std::unique_ptr<PointerWatcherEventRouter2> pointer_watcher_event_router_; 143 std::unique_ptr<PointerWatcherEventRouter2> pointer_watcher_event_router_;
144 144
145 std::unique_ptr<aura::MusContextFactory> compositor_context_factory_; 145 std::unique_ptr<aura::MusContextFactory> compositor_context_factory_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(MusClient); 147 DISALLOW_COPY_AND_ASSIGN(MusClient);
148 }; 148 };
149 149
150 } // namespace views 150 } // namespace views
151 151
152 #endif // UI_VIEWS_MUS_MUS_CLIENT_H_ 152 #endif // UI_VIEWS_MUS_MUS_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698