| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 #include <X11/extensions/shape.h> | 10 #include <X11/extensions/shape.h> |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 const gfx::Vector2d& drag_offset, | 130 const gfx::Vector2d& drag_offset, |
| 131 Widget::MoveLoopSource source, | 131 Widget::MoveLoopSource source, |
| 132 Widget::MoveLoopEscapeBehavior escape_behavior) override; | 132 Widget::MoveLoopEscapeBehavior escape_behavior) override; |
| 133 void EndMoveLoop() override; | 133 void EndMoveLoop() override; |
| 134 void SetVisibilityChangedAnimationsEnabled(bool value) override; | 134 void SetVisibilityChangedAnimationsEnabled(bool value) override; |
| 135 bool ShouldUseNativeFrame() const override; | 135 bool ShouldUseNativeFrame() const override; |
| 136 bool ShouldWindowContentsBeTransparent() const override; | 136 bool ShouldWindowContentsBeTransparent() const override; |
| 137 void FrameTypeChanged() override; | 137 void FrameTypeChanged() override; |
| 138 void SetFullscreen(bool fullscreen) override; | 138 void SetFullscreen(bool fullscreen) override; |
| 139 bool IsFullscreen() const override; | 139 bool IsFullscreen() const override; |
| 140 void SetOpacity(unsigned char opacity) override; | 140 void SetOpacity(float opacity) override; |
| 141 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 141 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 142 const gfx::ImageSkia& app_icon) override; | 142 const gfx::ImageSkia& app_icon) override; |
| 143 void InitModalType(ui::ModalType modal_type) override; | 143 void InitModalType(ui::ModalType modal_type) override; |
| 144 void FlashFrame(bool flash_frame) override; | 144 void FlashFrame(bool flash_frame) override; |
| 145 void OnRootViewLayout() override; | 145 void OnRootViewLayout() override; |
| 146 void OnNativeWidgetFocus() override; | 146 void OnNativeWidgetFocus() override; |
| 147 void OnNativeWidgetBlur() override; | 147 void OnNativeWidgetBlur() override; |
| 148 bool IsAnimatingClosed() const override; | 148 bool IsAnimatingClosed() const override; |
| 149 bool IsTranslucentWindowOpacitySupported() const override; | 149 bool IsTranslucentWindowOpacitySupported() const override; |
| 150 void SizeConstraintsChanged() override; | 150 void SizeConstraintsChanged() override; |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 base::CancelableCallback<void()> delayed_resize_task_; | 350 base::CancelableCallback<void()> delayed_resize_task_; |
| 351 | 351 |
| 352 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 352 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
| 353 | 353 |
| 354 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 354 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 355 }; | 355 }; |
| 356 | 356 |
| 357 } // namespace views | 357 } // namespace views |
| 358 | 358 |
| 359 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 359 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |