| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 Widget::MoveLoopEscapeBehavior escape_behavior) override; | 176 Widget::MoveLoopEscapeBehavior escape_behavior) override; |
| 177 void EndMoveLoop() override; | 177 void EndMoveLoop() override; |
| 178 void SetVisibilityChangedAnimationsEnabled(bool value) override; | 178 void SetVisibilityChangedAnimationsEnabled(bool value) override; |
| 179 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; | 179 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; |
| 180 void SetVisibilityAnimationTransition( | 180 void SetVisibilityAnimationTransition( |
| 181 Widget::VisibilityTransition transition) override; | 181 Widget::VisibilityTransition transition) override; |
| 182 bool IsTranslucentWindowOpacitySupported() const override; | 182 bool IsTranslucentWindowOpacitySupported() const override; |
| 183 void OnSizeConstraintsChanged() override; | 183 void OnSizeConstraintsChanged() override; |
| 184 void RepostNativeEvent(gfx::NativeEvent native_event) override; | 184 void RepostNativeEvent(gfx::NativeEvent native_event) override; |
| 185 std::string GetName() const override; | 185 std::string GetName() const override; |
| 186 Widget::Widgets GetAllOwnedTopLevelWidgets() const override; |
| 186 | 187 |
| 187 // Overridden from aura::WindowDelegate: | 188 // Overridden from aura::WindowDelegate: |
| 188 gfx::Size GetMinimumSize() const override; | 189 gfx::Size GetMinimumSize() const override; |
| 189 gfx::Size GetMaximumSize() const override; | 190 gfx::Size GetMaximumSize() const override; |
| 190 void OnBoundsChanged(const gfx::Rect& old_bounds, | 191 void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 191 const gfx::Rect& new_bounds) override {} | 192 const gfx::Rect& new_bounds) override {} |
| 192 gfx::NativeCursor GetCursor(const gfx::Point& point) override; | 193 gfx::NativeCursor GetCursor(const gfx::Point& point) override; |
| 193 int GetNonClientComponent(const gfx::Point& point) const override; | 194 int GetNonClientComponent(const gfx::Point& point) const override; |
| 194 bool ShouldDescendIntoChildForEventHandling( | 195 bool ShouldDescendIntoChildForEventHandling( |
| 195 aura::Window* child, | 196 aura::Window* child, |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 // The following factory is used for calls to close the NativeWidgetAura | 315 // The following factory is used for calls to close the NativeWidgetAura |
| 315 // instance. | 316 // instance. |
| 316 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 317 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
| 317 | 318 |
| 318 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 319 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 319 }; | 320 }; |
| 320 | 321 |
| 321 } // namespace views | 322 } // namespace views |
| 322 | 323 |
| 323 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 324 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |