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 26 matching lines...) Expand all Loading... |
37 virtual gfx::Insets GetInsets() const OVERRIDE; | 37 virtual gfx::Insets GetInsets() const OVERRIDE; |
38 virtual void SetInsets(const gfx::Insets& bounds) OVERRIDE; | 38 virtual void SetInsets(const gfx::Insets& bounds) OVERRIDE; |
39 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 39 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
40 virtual void SetCapture() OVERRIDE; | 40 virtual void SetCapture() OVERRIDE; |
41 virtual void ReleaseCapture() OVERRIDE; | 41 virtual void ReleaseCapture() OVERRIDE; |
42 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | 42 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; |
43 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 43 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
44 virtual void UnConfineCursor() OVERRIDE; | 44 virtual void UnConfineCursor() OVERRIDE; |
45 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; | 45 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; |
46 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 46 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
47 virtual void PrepareForShutdown() OVERRIDE; | |
48 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; | 47 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; |
49 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; | 48 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; |
50 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; | 49 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; |
51 | 50 |
52 // ui::EventSource overrides. | 51 // ui::EventSource overrides. |
53 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; | 52 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
54 | 53 |
55 gfx::AcceleratedWidget widget_; | 54 gfx::AcceleratedWidget widget_; |
56 gfx::Rect bounds_; | 55 gfx::Rect bounds_; |
57 | 56 |
58 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); | 57 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); |
59 }; | 58 }; |
60 | 59 |
61 } // namespace aura | 60 } // namespace aura |
62 | 61 |
63 #endif // UI_AURA_WINDOW_TREE_HOST_OZONE_H_ | 62 #endif // UI_AURA_WINDOW_TREE_HOST_OZONE_H_ |
OLD | NEW |