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