| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 void SetOpacity(float opacity) override; | 115 void SetOpacity(float opacity) override; |
| 116 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 116 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 117 const gfx::ImageSkia& app_icon) override; | 117 const gfx::ImageSkia& app_icon) override; |
| 118 void InitModalType(ui::ModalType modal_type) override; | 118 void InitModalType(ui::ModalType modal_type) override; |
| 119 void FlashFrame(bool flash_frame) override; | 119 void FlashFrame(bool flash_frame) override; |
| 120 bool IsAnimatingClosed() const override; | 120 bool IsAnimatingClosed() const override; |
| 121 bool IsTranslucentWindowOpacitySupported() const override; | 121 bool IsTranslucentWindowOpacitySupported() const override; |
| 122 void SizeConstraintsChanged() override; | 122 void SizeConstraintsChanged() override; |
| 123 bool ShouldUpdateWindowTransparency() const override; | 123 bool ShouldUpdateWindowTransparency() const override; |
| 124 bool ShouldUseDesktopNativeCursorManager() const override; | 124 bool ShouldUseDesktopNativeCursorManager() const override; |
| 125 std::vector<DesktopWindowTreeHost*> GetOwnedTopLevelHosts() const override; |
| 125 | 126 |
| 126 // MusClientObserver: | 127 // MusClientObserver: |
| 127 void OnWindowManagerFrameValuesChanged() override; | 128 void OnWindowManagerFrameValuesChanged() override; |
| 128 | 129 |
| 129 // WidgetObserver: | 130 // WidgetObserver: |
| 130 void OnWidgetActivationChanged(Widget* widget, bool active) override; | 131 void OnWidgetActivationChanged(Widget* widget, bool active) override; |
| 131 | 132 |
| 132 // WindowTreeHostMus: | 133 // WindowTreeHostMus: |
| 133 void ShowImpl() override; | 134 void ShowImpl() override; |
| 134 void HideImpl() override; | 135 void HideImpl() override; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 160 | 161 |
| 161 // Used so that Close() isn't immediate. | 162 // Used so that Close() isn't immediate. |
| 162 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; | 163 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; |
| 163 | 164 |
| 164 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); | 165 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 } // namespace views | 168 } // namespace views |
| 168 | 169 |
| 169 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ | 170 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ |
| OLD | NEW |