| 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 <memory> | 10 #include <memory> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 int64_t display_id() const { return display_id_; } | 89 int64_t display_id() const { return display_id_; } |
| 90 display::Display GetDisplay() const; | 90 display::Display GetDisplay() const; |
| 91 | 91 |
| 92 // aura::WindowTreeHostPlatform: | 92 // aura::WindowTreeHostPlatform: |
| 93 void HideImpl() override; | 93 void HideImpl() override; |
| 94 void SetBoundsInPixels(const gfx::Rect& bounds) override; | 94 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 95 void DispatchEvent(ui::Event* event) override; | 95 void DispatchEvent(ui::Event* event) override; |
| 96 void OnClosed() override; | 96 void OnClosed() override; |
| 97 void OnActivationChanged(bool active) override; | 97 void OnActivationChanged(bool active) override; |
| 98 void OnCloseRequest() override; | 98 void OnCloseRequest() override; |
| 99 gfx::ICCProfile GetICCProfileForCurrentDisplay() override; | |
| 100 void MoveCursorToScreenLocationInPixels( | 99 void MoveCursorToScreenLocationInPixels( |
| 101 const gfx::Point& location_in_pixels) override; | 100 const gfx::Point& location_in_pixels) override; |
| 102 | 101 |
| 103 private: | 102 private: |
| 104 int64_t display_id_; | 103 int64_t display_id_; |
| 105 | 104 |
| 106 WindowTreeHostMusDelegate* delegate_; | 105 WindowTreeHostMusDelegate* delegate_; |
| 107 | 106 |
| 108 bool in_set_bounds_from_server_ = false; | 107 bool in_set_bounds_from_server_ = false; |
| 109 | 108 |
| 110 std::unique_ptr<InputMethodMus> input_method_; | 109 std::unique_ptr<InputMethodMus> input_method_; |
| 111 | 110 |
| 112 std::unique_ptr<DisplayInitParams> display_init_params_; | 111 std::unique_ptr<DisplayInitParams> display_init_params_; |
| 113 | 112 |
| 114 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); | 113 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); |
| 115 }; | 114 }; |
| 116 | 115 |
| 117 } // namespace aura | 116 } // namespace aura |
| 118 | 117 |
| 119 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ | 118 #endif // UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_ |
| OLD | NEW |