OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_OZONE_H_ | 5 #ifndef UI_AURA_WINDOW_TREE_HOST_OZONE_H_ |
6 #define UI_AURA_WINDOW_TREE_HOST_OZONE_H_ | 6 #define UI_AURA_WINDOW_TREE_HOST_OZONE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 // WindowTreeHost: | 31 // WindowTreeHost: |
32 virtual ui::EventSource* GetEventSource() OVERRIDE; | 32 virtual ui::EventSource* GetEventSource() OVERRIDE; |
33 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 33 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
34 virtual void Show() OVERRIDE; | 34 virtual void Show() OVERRIDE; |
35 virtual void Hide() OVERRIDE; | 35 virtual void Hide() OVERRIDE; |
36 virtual gfx::Rect GetBounds() const OVERRIDE; | 36 virtual gfx::Rect GetBounds() const OVERRIDE; |
37 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 37 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
38 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 38 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
39 virtual void SetCapture() OVERRIDE; | 39 virtual void SetCapture() OVERRIDE; |
40 virtual void ReleaseCapture() OVERRIDE; | 40 virtual void ReleaseCapture() OVERRIDE; |
41 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | |
42 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; | 41 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; |
43 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 42 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
44 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; | 43 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; |
45 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; | 44 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; |
46 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; | 45 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; |
47 | 46 |
48 // ui::EventSource overrides. | 47 // ui::EventSource overrides. |
49 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; | 48 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
50 | 49 |
51 gfx::AcceleratedWidget widget_; | 50 gfx::AcceleratedWidget widget_; |
52 gfx::Rect bounds_; | 51 gfx::Rect bounds_; |
53 | 52 |
54 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); | 53 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); |
55 }; | 54 }; |
56 | 55 |
57 } // namespace aura | 56 } // namespace aura |
58 | 57 |
59 #endif // UI_AURA_WINDOW_TREE_HOST_OZONE_H_ | 58 #endif // UI_AURA_WINDOW_TREE_HOST_OZONE_H_ |
OLD | NEW |