| OLD | NEW |
| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // Returns the current location of the mouse on screen. Note: this method may | 166 // Returns the current location of the mouse on screen. Note: this method may |
| 167 // race the asynchronous initialization; but in that case we return (0, 0). | 167 // race the asynchronous initialization; but in that case we return (0, 0). |
| 168 gfx::Point GetCursorScreenPoint(); | 168 gfx::Point GetCursorScreenPoint(); |
| 169 | 169 |
| 170 // See description in window_tree.mojom. When an existing pointer watcher is | 170 // See description in window_tree.mojom. When an existing pointer watcher is |
| 171 // updated or cleared then any future events from the server for that watcher | 171 // updated or cleared then any future events from the server for that watcher |
| 172 // will be ignored. | 172 // will be ignored. |
| 173 void StartPointerWatcher(bool want_moves); | 173 void StartPointerWatcher(bool want_moves); |
| 174 void StopPointerWatcher(); | 174 void StopPointerWatcher(); |
| 175 | 175 |
| 176 void GetFrameSinkId(Id window_id); |
| 177 |
| 176 void AddObserver(WindowTreeClientObserver* observer); | 178 void AddObserver(WindowTreeClientObserver* observer); |
| 177 void RemoveObserver(WindowTreeClientObserver* observer); | 179 void RemoveObserver(WindowTreeClientObserver* observer); |
| 178 | 180 |
| 179 void AddTestObserver(WindowTreeClientTestObserver* observer); | 181 void AddTestObserver(WindowTreeClientTestObserver* observer); |
| 180 void RemoveTestObserver(WindowTreeClientTestObserver* observer); | 182 void RemoveTestObserver(WindowTreeClientTestObserver* observer); |
| 181 | 183 |
| 182 private: | 184 private: |
| 183 friend class InFlightBoundsChange; | 185 friend class InFlightBoundsChange; |
| 184 friend class InFlightFocusChange; | 186 friend class InFlightFocusChange; |
| 185 friend class InFlightPropertyChange; | 187 friend class InFlightPropertyChange; |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 gfx::Insets normal_client_area_insets_; | 640 gfx::Insets normal_client_area_insets_; |
| 639 | 641 |
| 640 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 642 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 641 | 643 |
| 642 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 644 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 643 }; | 645 }; |
| 644 | 646 |
| 645 } // namespace aura | 647 } // namespace aura |
| 646 | 648 |
| 647 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 649 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |