| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 display::Display GetDisplay() const; | 103 display::Display GetDisplay() const; |
| 104 | 104 |
| 105 // aura::WindowTreeHostPlatform: | 105 // aura::WindowTreeHostPlatform: |
| 106 void HideImpl() override; | 106 void HideImpl() override; |
| 107 void SetBoundsInPixels(const gfx::Rect& bounds) override; | 107 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 108 void DispatchEvent(ui::Event* event) override; | 108 void DispatchEvent(ui::Event* event) override; |
| 109 void OnClosed() override; | 109 void OnClosed() override; |
| 110 void OnActivationChanged(bool active) override; | 110 void OnActivationChanged(bool active) override; |
| 111 void OnCloseRequest() override; | 111 void OnCloseRequest() override; |
| 112 gfx::ICCProfile GetICCProfileForCurrentDisplay() override; | 112 gfx::ICCProfile GetICCProfileForCurrentDisplay() override; |
| 113 void MoveCursorToScreenLocationInPixels( |
| 114 const gfx::Point& location_in_pixels) override; |
| 113 | 115 |
| 114 private: | 116 private: |
| 115 int64_t display_id_; | 117 int64_t display_id_; |
| 116 | 118 |
| 117 WindowTreeHostMusDelegate* delegate_; | 119 WindowTreeHostMusDelegate* delegate_; |
| 118 | 120 |
| 119 bool in_set_bounds_from_server_ = false; | 121 bool in_set_bounds_from_server_ = false; |
| 120 | 122 |
| 121 std::unique_ptr<InputMethodMus> input_method_; | 123 std::unique_ptr<InputMethodMus> input_method_; |
| 122 | 124 |
| 123 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); | 125 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); |
| 124 }; | 126 }; |
| 125 | 127 |
| 126 } // namespace aura | 128 } // namespace aura |
| 127 | 129 |
| 128 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ | 130 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ |
| OLD | NEW |