| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 void SetFullscreen(bool fullscreen) override; | 97 void SetFullscreen(bool fullscreen) override; |
| 98 bool IsFullscreen() const override; | 98 bool IsFullscreen() const override; |
| 99 void SetOpacity(float opacity) override; | 99 void SetOpacity(float opacity) override; |
| 100 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 100 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 101 const gfx::ImageSkia& app_icon) override; | 101 const gfx::ImageSkia& app_icon) override; |
| 102 void InitModalType(ui::ModalType modal_type) override; | 102 void InitModalType(ui::ModalType modal_type) override; |
| 103 void FlashFrame(bool flash_frame) override; | 103 void FlashFrame(bool flash_frame) override; |
| 104 bool IsAnimatingClosed() const override; | 104 bool IsAnimatingClosed() const override; |
| 105 bool IsTranslucentWindowOpacitySupported() const override; | 105 bool IsTranslucentWindowOpacitySupported() const override; |
| 106 void SizeConstraintsChanged() override; | 106 void SizeConstraintsChanged() override; |
| 107 bool ShouldUpdateWindowTransparency() const override; |
| 107 | 108 |
| 108 // Overridden from aura::WindowTreeHost: | 109 // Overridden from aura::WindowTreeHost: |
| 109 ui::EventSource* GetEventSource() override; | 110 ui::EventSource* GetEventSource() override; |
| 110 gfx::AcceleratedWidget GetAcceleratedWidget() override; | 111 gfx::AcceleratedWidget GetAcceleratedWidget() override; |
| 111 void ShowImpl() override; | 112 void ShowImpl() override; |
| 112 void HideImpl() override; | 113 void HideImpl() override; |
| 113 gfx::Rect GetBoundsInPixels() const override; | 114 gfx::Rect GetBoundsInPixels() const override; |
| 114 void SetBoundsInPixels(const gfx::Rect& bounds) override; | 115 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 115 gfx::Point GetLocationOnScreenInPixels() const override; | 116 gfx::Point GetLocationOnScreenInPixels() const override; |
| 116 void SetCapture() override; | 117 void SetCapture() override; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // Indicates if current window will receive mouse events when should not | 267 // Indicates if current window will receive mouse events when should not |
| 267 // become activated. | 268 // become activated. |
| 268 bool wants_mouse_events_when_inactive_ = false; | 269 bool wants_mouse_events_when_inactive_ = false; |
| 269 | 270 |
| 270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 271 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
| 271 }; | 272 }; |
| 272 | 273 |
| 273 } // namespace views | 274 } // namespace views |
| 274 | 275 |
| 275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 276 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| OLD | NEW |