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

Side by Side Diff: components/mus/public/cpp/lib/window_tree_client_impl.h

Issue 1510413004: Removes some dead code from WindowTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.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_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 mojom::Cursor cursor) override; 183 mojom::Cursor cursor) override;
184 void OnChangeCompleted(uint32_t change_id, bool success) override; 184 void OnChangeCompleted(uint32_t change_id, bool success) override;
185 void WmSetBounds(uint32_t change_id, 185 void WmSetBounds(uint32_t change_id,
186 Id window_id, 186 Id window_id,
187 mojo::RectPtr transit_bounds) override; 187 mojo::RectPtr transit_bounds) override;
188 void WmSetProperty(uint32_t change_id, 188 void WmSetProperty(uint32_t change_id,
189 Id window_id, 189 Id window_id,
190 const mojo::String& name, 190 const mojo::String& name,
191 mojo::Array<uint8_t> transit_data) override; 191 mojo::Array<uint8_t> transit_data) override;
192 192
193 mojo::Callback<void(bool)> ActionCompletedCallback();
194
195 // This is set once and only once when we get OnEmbed(). It gives the unique 193 // This is set once and only once when we get OnEmbed(). It gives the unique
196 // id for this connection. 194 // id for this connection.
197 ConnectionSpecificId connection_id_; 195 ConnectionSpecificId connection_id_;
198 196
199 // Id assigned to the next window created. 197 // Id assigned to the next window created.
200 ConnectionSpecificId next_window_id_; 198 ConnectionSpecificId next_window_id_;
201 199
202 // Id used for the next change id supplied to the server. 200 // Id used for the next change id supplied to the server.
203 uint32_t next_change_id_; 201 uint32_t next_change_id_;
204 InFlightMap in_flight_map_; 202 InFlightMap in_flight_map_;
(...skipping 19 matching lines...) Expand all
224 bool in_destructor_; 222 bool in_destructor_;
225 223
226 base::ObserverList<WindowTreeConnectionObserver> observers_; 224 base::ObserverList<WindowTreeConnectionObserver> observers_;
227 225
228 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); 226 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl);
229 }; 227 };
230 228
231 } // namespace mus 229 } // namespace mus
232 230
233 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 231 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698