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

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

Issue 1465803003: mus: Let clients set the cursor of their window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync pass the nacl breakage 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
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_CONNECTION_MANAGER_H_ 5 #ifndef COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_
6 #define COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ 6 #define COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 const gfx::Insets& old_client_area, 218 const gfx::Insets& old_client_area,
219 const gfx::Insets& new_client_area) override; 219 const gfx::Insets& new_client_area) override;
220 void OnWindowReordered(ServerWindow* window, 220 void OnWindowReordered(ServerWindow* window,
221 ServerWindow* relative, 221 ServerWindow* relative,
222 mojom::OrderDirection direction) override; 222 mojom::OrderDirection direction) override;
223 void OnWillChangeWindowVisibility(ServerWindow* window) override; 223 void OnWillChangeWindowVisibility(ServerWindow* window) override;
224 void OnWindowSharedPropertyChanged( 224 void OnWindowSharedPropertyChanged(
225 ServerWindow* window, 225 ServerWindow* window,
226 const std::string& name, 226 const std::string& name,
227 const std::vector<uint8_t>* new_data) override; 227 const std::vector<uint8_t>* new_data) override;
228 void OnWindowCursorChanged(ServerWindow* window,
229 int32_t cursor_id) override;
228 void OnWindowTextInputStateChanged(ServerWindow* window, 230 void OnWindowTextInputStateChanged(ServerWindow* window,
229 const ui::TextInputState& state) override; 231 const ui::TextInputState& state) override;
230 void OnTransientWindowAdded(ServerWindow* window, 232 void OnTransientWindowAdded(ServerWindow* window,
231 ServerWindow* transient_child) override; 233 ServerWindow* transient_child) override;
232 void OnTransientWindowRemoved(ServerWindow* window, 234 void OnTransientWindowRemoved(ServerWindow* window,
233 ServerWindow* transient_child) override; 235 ServerWindow* transient_child) override;
234 236
235 ConnectionManagerDelegate* delegate_; 237 ConnectionManagerDelegate* delegate_;
236 238
237 // State for rendering into a Surface. 239 // State for rendering into a Surface.
(...skipping 24 matching lines...) Expand all
262 // Next id supplied to the window manager. 264 // Next id supplied to the window manager.
263 uint32_t next_wm_change_id_; 265 uint32_t next_wm_change_id_;
264 266
265 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); 267 DISALLOW_COPY_AND_ASSIGN(ConnectionManager);
266 }; 268 };
267 269
268 } // namespace ws 270 } // namespace ws
269 } // namespace mus 271 } // namespace mus
270 272
271 #endif // COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ 273 #endif // COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698