| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 void SetFullscreen(bool fullscreen) override; | 94 void SetFullscreen(bool fullscreen) override; |
| 95 bool IsFullscreen() const override; | 95 bool IsFullscreen() const override; |
| 96 void SetOpacity(float opacity) override; | 96 void SetOpacity(float opacity) override; |
| 97 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 97 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 98 const gfx::ImageSkia& app_icon) override; | 98 const gfx::ImageSkia& app_icon) override; |
| 99 void InitModalType(ui::ModalType modal_type) override; | 99 void InitModalType(ui::ModalType modal_type) override; |
| 100 void FlashFrame(bool flash_frame) override; | 100 void FlashFrame(bool flash_frame) override; |
| 101 bool IsAnimatingClosed() const override; | 101 bool IsAnimatingClosed() const override; |
| 102 bool IsTranslucentWindowOpacitySupported() const override; | 102 bool IsTranslucentWindowOpacitySupported() const override; |
| 103 void SizeConstraintsChanged() override; | 103 void SizeConstraintsChanged() override; |
| 104 bool ShouldUpdateWindowTransparency() const override; |
| 104 | 105 |
| 105 // MusClientObserver: | 106 // MusClientObserver: |
| 106 void OnWindowManagerFrameValuesChanged() override; | 107 void OnWindowManagerFrameValuesChanged() override; |
| 107 | 108 |
| 108 // WindowTreeHostMus: | 109 // WindowTreeHostMus: |
| 109 void ShowImpl() override; | 110 void ShowImpl() override; |
| 110 void HideImpl() override; | 111 void HideImpl() override; |
| 111 void SetBoundsInPixels(const gfx::Rect& bounds_in_pixels) override; | 112 void SetBoundsInPixels(const gfx::Rect& bounds_in_pixels) override; |
| 112 | 113 |
| 113 // aura::EnvObserver: | 114 // aura::EnvObserver: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 132 | 133 |
| 133 // Used so that Close() isn't immediate. | 134 // Used so that Close() isn't immediate. |
| 134 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; | 135 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; |
| 135 | 136 |
| 136 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); | 137 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); |
| 137 }; | 138 }; |
| 138 | 139 |
| 139 } // namespace views | 140 } // namespace views |
| 140 | 141 |
| 141 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ | 142 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ |
| OLD | NEW |