| 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_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; | 135 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; |
| 136 void SetVisibilityAnimationTransition( | 136 void SetVisibilityAnimationTransition( |
| 137 Widget::VisibilityTransition transition) override; | 137 Widget::VisibilityTransition transition) override; |
| 138 bool IsTranslucentWindowOpacitySupported() const override; | 138 bool IsTranslucentWindowOpacitySupported() const override; |
| 139 void OnSizeConstraintsChanged() override; | 139 void OnSizeConstraintsChanged() override; |
| 140 void RepostNativeEvent(gfx::NativeEvent native_event) override; | 140 void RepostNativeEvent(gfx::NativeEvent native_event) override; |
| 141 std::string GetName() const override; | 141 std::string GetName() const override; |
| 142 Widget::Widgets GetAllOwnedTopLevelWidgets() const override; |
| 142 | 143 |
| 143 // Overridden from aura::WindowDelegate: | 144 // Overridden from aura::WindowDelegate: |
| 144 gfx::Size GetMinimumSize() const override; | 145 gfx::Size GetMinimumSize() const override; |
| 145 gfx::Size GetMaximumSize() const override; | 146 gfx::Size GetMaximumSize() const override; |
| 146 void OnBoundsChanged(const gfx::Rect& old_bounds, | 147 void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 147 const gfx::Rect& new_bounds) override; | 148 const gfx::Rect& new_bounds) override; |
| 148 gfx::NativeCursor GetCursor(const gfx::Point& point) override; | 149 gfx::NativeCursor GetCursor(const gfx::Point& point) override; |
| 149 int GetNonClientComponent(const gfx::Point& point) const override; | 150 int GetNonClientComponent(const gfx::Point& point) const override; |
| 150 bool ShouldDescendIntoChildForEventHandling( | 151 bool ShouldDescendIntoChildForEventHandling( |
| 151 aura::Window* child, | 152 aura::Window* child, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 // The following factory is used for calls to close the NativeWidgetAura | 237 // The following factory is used for calls to close the NativeWidgetAura |
| 237 // instance. | 238 // instance. |
| 238 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 239 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
| 239 | 240 |
| 240 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 241 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 241 }; | 242 }; |
| 242 | 243 |
| 243 } // namespace views | 244 } // namespace views |
| 244 | 245 |
| 245 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 246 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |