| 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_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 Widget::MoveLoopResult RunMoveLoop( | 171 Widget::MoveLoopResult RunMoveLoop( |
| 172 const gfx::Vector2d& drag_offset, | 172 const gfx::Vector2d& drag_offset, |
| 173 Widget::MoveLoopSource source, | 173 Widget::MoveLoopSource source, |
| 174 Widget::MoveLoopEscapeBehavior escape_behavior) override; | 174 Widget::MoveLoopEscapeBehavior escape_behavior) override; |
| 175 void EndMoveLoop() override; | 175 void EndMoveLoop() override; |
| 176 void SetVisibilityChangedAnimationsEnabled(bool value) override; | 176 void SetVisibilityChangedAnimationsEnabled(bool value) override; |
| 177 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; | 177 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; |
| 178 void SetVisibilityAnimationTransition( | 178 void SetVisibilityAnimationTransition( |
| 179 Widget::VisibilityTransition transition) override; | 179 Widget::VisibilityTransition transition) override; |
| 180 ui::NativeTheme* GetNativeTheme() const override; | 180 ui::NativeTheme* GetNativeTheme() const override; |
| 181 void OnRootViewLayout() override; | |
| 182 bool IsTranslucentWindowOpacitySupported() const override; | 181 bool IsTranslucentWindowOpacitySupported() const override; |
| 183 void OnSizeConstraintsChanged() override; | 182 void OnSizeConstraintsChanged() override; |
| 184 void RepostNativeEvent(gfx::NativeEvent native_event) override; | 183 void RepostNativeEvent(gfx::NativeEvent native_event) override; |
| 185 std::string GetName() const override; | 184 std::string GetName() const override; |
| 186 | 185 |
| 187 // Overridden from aura::WindowDelegate: | 186 // Overridden from aura::WindowDelegate: |
| 188 gfx::Size GetMinimumSize() const override; | 187 gfx::Size GetMinimumSize() const override; |
| 189 gfx::Size GetMaximumSize() const override; | 188 gfx::Size GetMaximumSize() const override; |
| 190 void OnBoundsChanged(const gfx::Rect& old_bounds, | 189 void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 191 const gfx::Rect& new_bounds) override {} | 190 const gfx::Rect& new_bounds) override {} |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 // The following factory is used for calls to close the NativeWidgetAura | 308 // The following factory is used for calls to close the NativeWidgetAura |
| 310 // instance. | 309 // instance. |
| 311 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 310 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
| 312 | 311 |
| 313 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 312 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 314 }; | 313 }; |
| 315 | 314 |
| 316 } // namespace views | 315 } // namespace views |
| 317 | 316 |
| 318 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 317 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |