| 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_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ | 5 #ifndef UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ |
| 6 #define UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ | 6 #define UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/aura/window_tree_host_platform.h" | 9 #include "ui/aura/window_tree_host_platform.h" |
| 10 #include "ui/views/mus/mus_export.h" | 10 #include "ui/views/mus/mus_export.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 // aura::WindowTreeHostPlatform: | 39 // aura::WindowTreeHostPlatform: |
| 40 void DispatchEvent(ui::Event* event) override; | 40 void DispatchEvent(ui::Event* event) override; |
| 41 void OnClosed() override; | 41 void OnClosed() override; |
| 42 void OnWindowStateChanged(ui::PlatformWindowState new_state) override; | 42 void OnWindowStateChanged(ui::PlatformWindowState new_state) override; |
| 43 void OnActivationChanged(bool active) override; | 43 void OnActivationChanged(bool active) override; |
| 44 void OnCloseRequest() override; | 44 void OnCloseRequest() override; |
| 45 | 45 |
| 46 NativeWidgetMus* native_widget_; | 46 NativeWidgetMus* native_widget_; |
| 47 scoped_ptr<InputMethodMUS> input_method_; | 47 std::unique_ptr<InputMethodMUS> input_method_; |
| 48 ui::PlatformWindowState show_state_; | 48 ui::PlatformWindowState show_state_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); | 50 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace views | 53 } // namespace views |
| 54 | 54 |
| 55 #endif // UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ | 55 #endif // UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_ |
| OLD | NEW |