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_X11_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
7 | 7 |
8 #include <X11/extensions/shape.h> | 8 #include <X11/extensions/shape.h> |
9 #include <X11/Xlib.h> | 9 #include <X11/Xlib.h> |
10 | 10 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 126 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
127 virtual void OnRootViewLayout() const OVERRIDE; | 127 virtual void OnRootViewLayout() const OVERRIDE; |
128 virtual void OnNativeWidgetFocus() OVERRIDE; | 128 virtual void OnNativeWidgetFocus() OVERRIDE; |
129 virtual void OnNativeWidgetBlur() OVERRIDE; | 129 virtual void OnNativeWidgetBlur() OVERRIDE; |
130 virtual bool IsAnimatingClosed() const OVERRIDE; | 130 virtual bool IsAnimatingClosed() const OVERRIDE; |
131 | 131 |
132 // Overridden from aura::WindowTreeHost: | 132 // Overridden from aura::WindowTreeHost: |
133 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 133 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
134 virtual void Show() OVERRIDE; | 134 virtual void Show() OVERRIDE; |
135 virtual void Hide() OVERRIDE; | 135 virtual void Hide() OVERRIDE; |
136 virtual void ToggleFullScreen() OVERRIDE; | |
137 virtual gfx::Rect GetBounds() const OVERRIDE; | 136 virtual gfx::Rect GetBounds() const OVERRIDE; |
138 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 137 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
139 virtual gfx::Insets GetInsets() const OVERRIDE; | |
140 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; | |
141 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 138 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
142 virtual void SetCapture() OVERRIDE; | 139 virtual void SetCapture() OVERRIDE; |
143 virtual void ReleaseCapture() OVERRIDE; | 140 virtual void ReleaseCapture() OVERRIDE; |
144 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | 141 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; |
145 virtual bool ConfineCursorToRootWindow() OVERRIDE; | |
146 virtual void UnConfineCursor() OVERRIDE; | |
147 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; | 142 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; |
148 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 143 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
149 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; | 144 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; |
150 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; | 145 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; |
151 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; | 146 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; |
152 | 147 |
153 // Overridden frm ui::EventSource | 148 // Overridden frm ui::EventSource |
154 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; | 149 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
155 | 150 |
156 private: | 151 private: |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 // attention to the window or completely ignore the hint. We stop flashing | 293 // attention to the window or completely ignore the hint. We stop flashing |
299 // the frame when |xwindow_| gains focus or handles a mouse button event. | 294 // the frame when |xwindow_| gains focus or handles a mouse button event. |
300 bool urgency_hint_set_; | 295 bool urgency_hint_set_; |
301 | 296 |
302 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 297 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
303 }; | 298 }; |
304 | 299 |
305 } // namespace views | 300 } // namespace views |
306 | 301 |
307 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 302 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
OLD | NEW |