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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
7 | 7 |
8 #include "ui/aura/client/animation_host.h" | 8 #include "ui/aura/client/animation_host.h" |
9 #include "ui/aura/window_tree_host.h" | 9 #include "ui/aura/window_tree_host.h" |
10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 virtual gfx::Insets GetInsets() const OVERRIDE; | 115 virtual gfx::Insets GetInsets() const OVERRIDE; |
116 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; | 116 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; |
117 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 117 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
118 virtual void SetCapture() OVERRIDE; | 118 virtual void SetCapture() OVERRIDE; |
119 virtual void ReleaseCapture() OVERRIDE; | 119 virtual void ReleaseCapture() OVERRIDE; |
120 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | 120 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; |
121 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 121 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
122 virtual void UnConfineCursor() OVERRIDE; | 122 virtual void UnConfineCursor() OVERRIDE; |
123 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; | 123 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; |
124 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 124 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
125 virtual void PrepareForShutdown() OVERRIDE; | |
126 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; | 125 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; |
127 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; | 126 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; |
128 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; | 127 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; |
129 | 128 |
130 // Overridden frm ui::EventSource | 129 // Overridden frm ui::EventSource |
131 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; | 130 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
132 | 131 |
133 // Overridden from aura::client::AnimationHost | 132 // Overridden from aura::client::AnimationHost |
134 virtual void SetHostTransitionOffsets( | 133 virtual void SetHostTransitionOffsets( |
135 const gfx::Vector2d& top_left_delta, | 134 const gfx::Vector2d& top_left_delta, |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 static bool is_cursor_visible_; | 275 static bool is_cursor_visible_; |
277 | 276 |
278 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 277 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
279 | 278 |
280 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 279 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
281 }; | 280 }; |
282 | 281 |
283 } // namespace views | 282 } // namespace views |
284 | 283 |
285 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 284 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |