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_WIN_H_ | 5 #ifndef UI_AURA_WINDOW_TREE_HOST_WIN_H_ |
6 #define UI_AURA_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_AURA_WINDOW_TREE_HOST_WIN_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.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 11 matching lines...) Expand all Loading... |
22 // WindowTreeHost: | 22 // WindowTreeHost: |
23 virtual ui::EventSource* GetEventSource() OVERRIDE; | 23 virtual ui::EventSource* GetEventSource() OVERRIDE; |
24 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 24 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
25 virtual void Show() OVERRIDE; | 25 virtual void Show() OVERRIDE; |
26 virtual void Hide() OVERRIDE; | 26 virtual void Hide() OVERRIDE; |
27 virtual gfx::Rect GetBounds() const OVERRIDE; | 27 virtual gfx::Rect GetBounds() const OVERRIDE; |
28 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 28 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
29 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 29 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
30 virtual void SetCapture() OVERRIDE; | 30 virtual void SetCapture() OVERRIDE; |
31 virtual void ReleaseCapture() OVERRIDE; | 31 virtual void ReleaseCapture() OVERRIDE; |
32 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | |
33 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; | 32 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; |
34 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; | 33 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; |
35 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; | 34 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; |
36 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; | 35 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; |
37 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 36 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
38 | 37 |
39 // ui::EventSource: | 38 // ui::EventSource: |
40 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; | 39 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
41 | 40 |
42 private: | 41 private: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // Set true to let WindowTreeHostWin use a popup window | 84 // Set true to let WindowTreeHostWin use a popup window |
86 // with no frame/title so that the window size and test's | 85 // with no frame/title so that the window size and test's |
87 // expectations matches. | 86 // expectations matches. |
88 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use); | 87 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use); |
89 | 88 |
90 } // namespace | 89 } // namespace |
91 | 90 |
92 } // namespace aura | 91 } // namespace aura |
93 | 92 |
94 #endif // UI_AURA_WINDOW_TREE_HOST_WIN_H_ | 93 #endif // UI_AURA_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |