| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 void SetOpacity(float opacity) override; | 117 void SetOpacity(float opacity) override; |
| 118 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 118 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 119 const gfx::ImageSkia& app_icon) override; | 119 const gfx::ImageSkia& app_icon) override; |
| 120 void InitModalType(ui::ModalType modal_type) override; | 120 void InitModalType(ui::ModalType modal_type) override; |
| 121 void FlashFrame(bool flash_frame) override; | 121 void FlashFrame(bool flash_frame) override; |
| 122 bool IsAnimatingClosed() const override; | 122 bool IsAnimatingClosed() const override; |
| 123 bool IsTranslucentWindowOpacitySupported() const override; | 123 bool IsTranslucentWindowOpacitySupported() const override; |
| 124 void SizeConstraintsChanged() override; | 124 void SizeConstraintsChanged() override; |
| 125 bool ShouldUpdateWindowTransparency() const override; | 125 bool ShouldUpdateWindowTransparency() const override; |
| 126 bool ShouldUseDesktopNativeCursorManager() const override; | 126 bool ShouldUseDesktopNativeCursorManager() const override; |
| 127 bool ShouldCreateVisibilityController() const override; |
| 127 | 128 |
| 128 // MusClientObserver: | 129 // MusClientObserver: |
| 129 void OnWindowManagerFrameValuesChanged() override; | 130 void OnWindowManagerFrameValuesChanged() override; |
| 130 | 131 |
| 131 // WidgetObserver: | 132 // WidgetObserver: |
| 132 void OnWidgetActivationChanged(Widget* widget, bool active) override; | 133 void OnWidgetActivationChanged(Widget* widget, bool active) override; |
| 133 | 134 |
| 134 // aura::WindowObserver: | 135 // aura::WindowObserver: |
| 135 void OnWindowPropertyChanged(aura::Window* window, | 136 void OnWindowPropertyChanged(aura::Window* window, |
| 136 const void* key, | 137 const void* key, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 163 | 164 |
| 164 // Used so that Close() isn't immediate. | 165 // Used so that Close() isn't immediate. |
| 165 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; | 166 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; |
| 166 | 167 |
| 167 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); | 168 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); |
| 168 }; | 169 }; |
| 169 | 170 |
| 170 } // namespace views | 171 } // namespace views |
| 171 | 172 |
| 172 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ | 173 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ |
| OLD | NEW |