| 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_AURA_WINDOW_TREE_HOST_X11_H_ | 5 #ifndef UI_AURA_WINDOW_TREE_HOST_X11_H_ |
| 6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_ | 6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 // ui::PlatformEventDispatcher: | 37 // ui::PlatformEventDispatcher: |
| 38 bool CanDispatchEvent(const ui::PlatformEvent& event) override; | 38 bool CanDispatchEvent(const ui::PlatformEvent& event) override; |
| 39 uint32_t DispatchEvent(const ui::PlatformEvent& event) override; | 39 uint32_t DispatchEvent(const ui::PlatformEvent& event) override; |
| 40 | 40 |
| 41 // WindowTreeHost: | 41 // WindowTreeHost: |
| 42 ui::EventSource* GetEventSource() override; | 42 ui::EventSource* GetEventSource() override; |
| 43 gfx::AcceleratedWidget GetAcceleratedWidget() override; | 43 gfx::AcceleratedWidget GetAcceleratedWidget() override; |
| 44 void ShowImpl() override; | 44 void ShowImpl() override; |
| 45 void HideImpl() override; | 45 void HideImpl() override; |
| 46 gfx::Rect GetBounds() const override; | 46 gfx::Rect GetBoundsInPixels() const override; |
| 47 void SetBounds(const gfx::Rect& bounds) override; | 47 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 48 gfx::Point GetLocationOnNativeScreen() const override; | 48 gfx::Point GetLocationOnNativeScreen() const override; |
| 49 void SetCapture() override; | 49 void SetCapture() override; |
| 50 void ReleaseCapture() override; | 50 void ReleaseCapture() override; |
| 51 void SetCursorNative(gfx::NativeCursor cursor_type) override; | 51 void SetCursorNative(gfx::NativeCursor cursor_type) override; |
| 52 void MoveCursorToNative(const gfx::Point& location) override; | 52 void MoveCursorToNative(const gfx::Point& location) override; |
| 53 void OnCursorVisibilityChangedNative(bool show) override; | 53 void OnCursorVisibilityChangedNative(bool show) override; |
| 54 | 54 |
| 55 // Deselects mouse and keyboard events on |xwindow_|. | 55 // Deselects mouse and keyboard events on |xwindow_|. |
| 56 void DisableInput(); | 56 void DisableInput(); |
| 57 | 57 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 namespace test { | 105 namespace test { |
| 106 | 106 |
| 107 // Set the default value of the override redirect flag used to | 107 // Set the default value of the override redirect flag used to |
| 108 // create a X window for WindowTreeHostX11. | 108 // create a X window for WindowTreeHostX11. |
| 109 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); | 109 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); |
| 110 | 110 |
| 111 } // namespace test | 111 } // namespace test |
| 112 } // namespace aura | 112 } // namespace aura |
| 113 | 113 |
| 114 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ | 114 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |