| 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_X11_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 #include <X11/extensions/shape.h> | 10 #include <X11/extensions/shape.h> |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 bool IsAnimatingClosed() const override; | 152 bool IsAnimatingClosed() const override; |
| 153 bool IsTranslucentWindowOpacitySupported() const override; | 153 bool IsTranslucentWindowOpacitySupported() const override; |
| 154 void SizeConstraintsChanged() override; | 154 void SizeConstraintsChanged() override; |
| 155 | 155 |
| 156 // Overridden from aura::WindowTreeHost: | 156 // Overridden from aura::WindowTreeHost: |
| 157 gfx::Transform GetRootTransform() const override; | 157 gfx::Transform GetRootTransform() const override; |
| 158 ui::EventSource* GetEventSource() override; | 158 ui::EventSource* GetEventSource() override; |
| 159 gfx::AcceleratedWidget GetAcceleratedWidget() override; | 159 gfx::AcceleratedWidget GetAcceleratedWidget() override; |
| 160 void ShowImpl() override; | 160 void ShowImpl() override; |
| 161 void HideImpl() override; | 161 void HideImpl() override; |
| 162 gfx::Rect GetBounds() const override; | 162 gfx::Rect GetBoundsInPixels() const override; |
| 163 void SetBounds(const gfx::Rect& requested_bounds_in_pixels) override; | 163 void SetBoundsInPixels(const gfx::Rect& requested_bounds_in_pixels) override; |
| 164 gfx::Point GetLocationOnNativeScreen() const override; | 164 gfx::Point GetLocationOnNativeScreen() const override; |
| 165 void SetCapture() override; | 165 void SetCapture() override; |
| 166 void ReleaseCapture() override; | 166 void ReleaseCapture() override; |
| 167 void SetCursorNative(gfx::NativeCursor cursor) override; | 167 void SetCursorNative(gfx::NativeCursor cursor) override; |
| 168 void MoveCursorToNative(const gfx::Point& location) override; | 168 void MoveCursorToNative(const gfx::Point& location) override; |
| 169 void OnCursorVisibilityChangedNative(bool show) override; | 169 void OnCursorVisibilityChangedNative(bool show) override; |
| 170 | 170 |
| 171 private: | 171 private: |
| 172 friend class DesktopWindowTreeHostX11HighDPITest; | 172 friend class DesktopWindowTreeHostX11HighDPITest; |
| 173 // Initializes our X11 surface to draw on. This method performs all | 173 // Initializes our X11 surface to draw on. This method performs all |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 | 427 |
| 428 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 428 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
| 429 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; | 429 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; |
| 430 | 430 |
| 431 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 431 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 432 }; | 432 }; |
| 433 | 433 |
| 434 } // namespace views | 434 } // namespace views |
| 435 | 435 |
| 436 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 436 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |