| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
| 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 void ToggleFullScreen() override; | 29 void ToggleFullScreen() override; |
| 30 bool ConfineCursorToRootWindow() override; | 30 bool ConfineCursorToRootWindow() override; |
| 31 void UnConfineCursor() override; | 31 void UnConfineCursor() override; |
| 32 void SetRootWindowTransformer( | 32 void SetRootWindowTransformer( |
| 33 std::unique_ptr<RootWindowTransformer> transformer) override; | 33 std::unique_ptr<RootWindowTransformer> transformer) override; |
| 34 gfx::Insets GetHostInsets() const override; | 34 gfx::Insets GetHostInsets() const override; |
| 35 aura::WindowTreeHost* AsWindowTreeHost() override; | 35 aura::WindowTreeHost* AsWindowTreeHost() override; |
| 36 void PrepareForShutdown() override; | 36 void PrepareForShutdown() override; |
| 37 | 37 |
| 38 // aura::WindowTreehost: | 38 // aura::WindowTreehost: |
| 39 void SetBounds(const gfx::Rect& bounds) override; | 39 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 40 gfx::Transform GetRootTransform() const override; | 40 gfx::Transform GetRootTransform() const override; |
| 41 void SetRootTransform(const gfx::Transform& transform) override; | 41 void SetRootTransform(const gfx::Transform& transform) override; |
| 42 gfx::Transform GetInverseRootTransform() const override; | 42 gfx::Transform GetInverseRootTransform() const override; |
| 43 void UpdateRootWindowSize(const gfx::Size& host_size) override; | 43 void UpdateRootWindowSize(const gfx::Size& host_size) override; |
| 44 void OnCursorVisibilityChangedNative(bool show) override; | 44 void OnCursorVisibilityChangedNative(bool show) override; |
| 45 | 45 |
| 46 // aura::WindowTreeHostX11: | 46 // aura::WindowTreeHostX11: |
| 47 void OnConfigureNotify() override; | 47 void OnConfigureNotify() override; |
| 48 bool CanDispatchEvent(const ui::PlatformEvent& event) override; | 48 bool CanDispatchEvent(const ui::PlatformEvent& event) override; |
| 49 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override; | 49 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 65 std::unique_ptr<XID[]> pointer_barriers_; | 65 std::unique_ptr<XID[]> pointer_barriers_; |
| 66 | 66 |
| 67 TransformerHelper transformer_helper_; | 67 TransformerHelper transformer_helper_; |
| 68 | 68 |
| 69 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); | 69 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace ash | 72 } // namespace ash |
| 73 | 73 |
| 74 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ | 74 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |