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/window_tree_host.h" | 8 #include "ui/aura/window_tree_host.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // Overridden from aura::WindowTreeHost: | 108 // Overridden from aura::WindowTreeHost: |
109 virtual ui::EventSource* GetEventSource() OVERRIDE; | 109 virtual ui::EventSource* GetEventSource() OVERRIDE; |
110 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 110 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
111 virtual void Show() OVERRIDE; | 111 virtual void Show() OVERRIDE; |
112 virtual void Hide() OVERRIDE; | 112 virtual void Hide() OVERRIDE; |
113 virtual gfx::Rect GetBounds() const OVERRIDE; | 113 virtual gfx::Rect GetBounds() const OVERRIDE; |
114 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 114 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
115 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 115 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
116 virtual void SetCapture() OVERRIDE; | 116 virtual void SetCapture() OVERRIDE; |
117 virtual void ReleaseCapture() OVERRIDE; | 117 virtual void ReleaseCapture() OVERRIDE; |
118 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | |
119 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; | 118 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; |
120 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 119 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
121 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; | 120 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; |
122 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; | 121 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; |
123 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; | 122 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; |
124 | 123 |
125 // Overridden frm ui::EventSource | 124 // Overridden frm ui::EventSource |
126 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; | 125 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
127 | 126 |
128 // Overridden from aura::client::AnimationHost | 127 // Overridden from aura::client::AnimationHost |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 static bool is_cursor_visible_; | 270 static bool is_cursor_visible_; |
272 | 271 |
273 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 272 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
274 | 273 |
275 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 274 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
276 }; | 275 }; |
277 | 276 |
278 } // namespace views | 277 } // namespace views |
279 | 278 |
280 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 279 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |