| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 107 |
| 108 // Overridden from aura::WindowTreeHost: | 108 // Overridden from aura::WindowTreeHost: |
| 109 ui::EventSource* GetEventSource() override; | 109 ui::EventSource* GetEventSource() override; |
| 110 gfx::AcceleratedWidget GetAcceleratedWidget() override; | 110 gfx::AcceleratedWidget GetAcceleratedWidget() override; |
| 111 void ShowImpl() override; | 111 void ShowImpl() override; |
| 112 void HideImpl() override; | 112 void HideImpl() override; |
| 113 gfx::Rect GetBounds() const override; | 113 gfx::Rect GetBoundsInPixels() const override; |
| 114 void SetBounds(const gfx::Rect& bounds) override; | 114 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 115 gfx::Point GetLocationOnNativeScreen() const override; | 115 gfx::Point GetLocationOnNativeScreen() const override; |
| 116 void SetCapture() override; | 116 void SetCapture() override; |
| 117 void ReleaseCapture() override; | 117 void ReleaseCapture() override; |
| 118 void SetCursorNative(gfx::NativeCursor cursor) override; | 118 void SetCursorNative(gfx::NativeCursor cursor) override; |
| 119 void OnCursorVisibilityChangedNative(bool show) override; | 119 void OnCursorVisibilityChangedNative(bool show) override; |
| 120 void MoveCursorToNative(const gfx::Point& location) override; | 120 void MoveCursorToNative(const gfx::Point& location) override; |
| 121 | 121 |
| 122 // Overridden from aura::client::AnimationHost | 122 // Overridden from aura::client::AnimationHost |
| 123 void SetHostTransitionOffsets( | 123 void SetHostTransitionOffsets( |
| 124 const gfx::Vector2d& top_left_delta, | 124 const gfx::Vector2d& top_left_delta, |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 // Indicates if current window will receive mouse events when should not | 265 // Indicates if current window will receive mouse events when should not |
| 266 // become activated. | 266 // become activated. |
| 267 bool wants_mouse_events_when_inactive_ = false; | 267 bool wants_mouse_events_when_inactive_ = false; |
| 268 | 268 |
| 269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
| 270 }; | 270 }; |
| 271 | 271 |
| 272 } // namespace views | 272 } // namespace views |
| 273 | 273 |
| 274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| OLD | NEW |