| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "ui/aura/aura_export.h" | 9 #include "ui/aura/aura_export.h" |
| 10 #include "ui/aura/window_tree_host.h" | 10 #include "ui/aura/window_tree_host.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // WindowTreeHost: | 44 // WindowTreeHost: |
| 45 virtual ui::EventSource* GetEventSource() OVERRIDE; | 45 virtual ui::EventSource* GetEventSource() OVERRIDE; |
| 46 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 46 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 47 virtual void Show() OVERRIDE; | 47 virtual void Show() OVERRIDE; |
| 48 virtual void Hide() OVERRIDE; | 48 virtual void Hide() OVERRIDE; |
| 49 virtual gfx::Rect GetBounds() const OVERRIDE; | 49 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 50 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 50 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 51 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 51 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| 52 virtual void SetCapture() OVERRIDE; | 52 virtual void SetCapture() OVERRIDE; |
| 53 virtual void ReleaseCapture() OVERRIDE; | 53 virtual void ReleaseCapture() OVERRIDE; |
| 54 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | |
| 55 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; | 54 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; |
| 56 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 55 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 57 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; | 56 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; |
| 58 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; | 57 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; |
| 59 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; | 58 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; |
| 60 | 59 |
| 61 // ui::EventSource overrides. | 60 // ui::EventSource overrides. |
| 62 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; | 61 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
| 63 | 62 |
| 64 protected: | 63 protected: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 namespace test { | 112 namespace test { |
| 114 | 113 |
| 115 // Set the default value of the override redirect flag used to | 114 // Set the default value of the override redirect flag used to |
| 116 // create a X window for WindowTreeHostX11. | 115 // create a X window for WindowTreeHostX11. |
| 117 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); | 116 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); |
| 118 | 117 |
| 119 } // namespace test | 118 } // namespace test |
| 120 } // namespace aura | 119 } // namespace aura |
| 121 | 120 |
| 122 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ | 121 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |