| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_HOST_MUS_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ |
| 6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ | 6 #define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 class InputMethodMus; | 26 class InputMethodMus; |
| 27 class WindowPortMus; | 27 class WindowPortMus; |
| 28 class WindowTreeClient; | 28 class WindowTreeClient; |
| 29 class WindowTreeHostMusDelegate; | 29 class WindowTreeHostMusDelegate; |
| 30 | 30 |
| 31 class AURA_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform { | 31 class AURA_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform { |
| 32 public: | 32 public: |
| 33 WindowTreeHostMus( | 33 WindowTreeHostMus( |
| 34 std::unique_ptr<WindowPortMus> window_port, | 34 std::unique_ptr<WindowPortMus> window_port, |
| 35 WindowTreeHostMusDelegate* delegate, | 35 WindowTreeClient* window_tree_client, |
| 36 int64_t display_id, | 36 int64_t display_id, |
| 37 const std::map<std::string, std::vector<uint8_t>>* properties = nullptr); | 37 const std::map<std::string, std::vector<uint8_t>>* properties = nullptr); |
| 38 WindowTreeHostMus( | 38 explicit WindowTreeHostMus( |
| 39 WindowTreeClient* window_tree_client, | 39 WindowTreeClient* window_tree_client, |
| 40 const std::map<std::string, std::vector<uint8_t>>* properties = nullptr); | 40 const std::map<std::string, std::vector<uint8_t>>* properties = nullptr); |
| 41 | 41 |
| 42 ~WindowTreeHostMus() override; | 42 ~WindowTreeHostMus() override; |
| 43 | 43 |
| 44 // Sets the bounds in dips. | 44 // Sets the bounds in dips. |
| 45 void SetBoundsFromServer(const gfx::Rect& bounds); | 45 void SetBoundsFromServer(const gfx::Rect& bounds); |
| 46 | 46 |
| 47 ui::EventDispatchDetails SendEventToProcessor(ui::Event* event) { | 47 ui::EventDispatchDetails SendEventToProcessor(ui::Event* event) { |
| 48 return aura::WindowTreeHostPlatform::SendEventToProcessor(event); | 48 return aura::WindowTreeHostPlatform::SendEventToProcessor(event); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 bool in_set_bounds_from_server_ = false; | 80 bool in_set_bounds_from_server_ = false; |
| 81 | 81 |
| 82 std::unique_ptr<InputMethodMus> input_method_; | 82 std::unique_ptr<InputMethodMus> input_method_; |
| 83 | 83 |
| 84 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); | 84 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace aura | 87 } // namespace aura |
| 88 | 88 |
| 89 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ | 89 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ |
| OLD | NEW |