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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 GetBoundsInPixels() const override; | 113 gfx::Rect GetBoundsInPixels() const override; |
114 void SetBoundsInPixels(const gfx::Rect& bounds) override; | 114 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
115 gfx::Point GetLocationOnNativeScreen() const override; | 115 gfx::Point GetLocationOnScreenInPixels() 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 MoveCursorToScreenLocationInPixels( |
| 121 const gfx::Point& location_in_pixels) override; |
121 | 122 |
122 // Overridden from aura::client::AnimationHost | 123 // Overridden from aura::client::AnimationHost |
123 void SetHostTransitionOffsets( | 124 void SetHostTransitionOffsets( |
124 const gfx::Vector2d& top_left_delta, | 125 const gfx::Vector2d& top_left_delta, |
125 const gfx::Vector2d& bottom_right_delta) override; | 126 const gfx::Vector2d& bottom_right_delta) override; |
126 void OnWindowHidingAnimationCompleted() override; | 127 void OnWindowHidingAnimationCompleted() override; |
127 | 128 |
128 // Overridden from HWNDMessageHandlerDelegate: | 129 // Overridden from HWNDMessageHandlerDelegate: |
129 bool HasNonClientView() const override; | 130 bool HasNonClientView() const override; |
130 FrameMode GetFrameMode() const override; | 131 FrameMode GetFrameMode() const override; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // Indicates if current window will receive mouse events when should not | 266 // Indicates if current window will receive mouse events when should not |
266 // become activated. | 267 // become activated. |
267 bool wants_mouse_events_when_inactive_ = false; | 268 bool wants_mouse_events_when_inactive_ = false; |
268 | 269 |
269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
270 }; | 271 }; |
271 | 272 |
272 } // namespace views | 273 } // namespace views |
273 | 274 |
274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |