| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/aura/window_tree_host.h" | 9 #include "ui/aura/window_tree_host.h" |
| 10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 void SetOpacity(float opacity) override; | 101 void SetOpacity(float opacity) override; |
| 102 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 102 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 103 const gfx::ImageSkia& app_icon) override; | 103 const gfx::ImageSkia& app_icon) override; |
| 104 void InitModalType(ui::ModalType modal_type) override; | 104 void InitModalType(ui::ModalType modal_type) override; |
| 105 void FlashFrame(bool flash_frame) override; | 105 void FlashFrame(bool flash_frame) override; |
| 106 bool IsAnimatingClosed() const override; | 106 bool IsAnimatingClosed() const override; |
| 107 bool IsTranslucentWindowOpacitySupported() const override; | 107 bool IsTranslucentWindowOpacitySupported() const override; |
| 108 void SizeConstraintsChanged() override; | 108 void SizeConstraintsChanged() override; |
| 109 bool ShouldUpdateWindowTransparency() const override; | 109 bool ShouldUpdateWindowTransparency() const override; |
| 110 bool ShouldUseDesktopNativeCursorManager() const override; | 110 bool ShouldUseDesktopNativeCursorManager() const override; |
| 111 std::vector<DesktopWindowTreeHost*> GetOwnedTopLevelHosts() const override; |
| 111 | 112 |
| 112 // Overridden from aura::WindowTreeHost: | 113 // Overridden from aura::WindowTreeHost: |
| 113 ui::EventSource* GetEventSource() override; | 114 ui::EventSource* GetEventSource() override; |
| 114 gfx::AcceleratedWidget GetAcceleratedWidget() override; | 115 gfx::AcceleratedWidget GetAcceleratedWidget() override; |
| 115 void ShowImpl() override; | 116 void ShowImpl() override; |
| 116 void HideImpl() override; | 117 void HideImpl() override; |
| 117 gfx::Rect GetBoundsInPixels() const override; | 118 gfx::Rect GetBoundsInPixels() const override; |
| 118 void SetBoundsInPixels(const gfx::Rect& bounds) override; | 119 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 119 gfx::Point GetLocationOnScreenInPixels() const override; | 120 gfx::Point GetLocationOnScreenInPixels() const override; |
| 120 void SetCapture() override; | 121 void SetCapture() override; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 // Indicates if current window will receive mouse events when should not | 271 // Indicates if current window will receive mouse events when should not |
| 271 // become activated. | 272 // become activated. |
| 272 bool wants_mouse_events_when_inactive_ = false; | 273 bool wants_mouse_events_when_inactive_ = false; |
| 273 | 274 |
| 274 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 275 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
| 275 }; | 276 }; |
| 276 | 277 |
| 277 } // namespace views | 278 } // namespace views |
| 278 | 279 |
| 279 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 280 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| OLD | NEW |