| 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_WIDGET_H_ | 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_ |
| 6 #define UI_VIEWS_WIDGET_WIDGET_H_ | 6 #define UI_VIEWS_WIDGET_WIDGET_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <stack> | 10 #include <stack> |
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 // closes. | 623 // closes. |
| 624 virtual void OnOwnerClosing(); | 624 virtual void OnOwnerClosing(); |
| 625 | 625 |
| 626 // Overridden from NativeWidgetDelegate: | 626 // Overridden from NativeWidgetDelegate: |
| 627 virtual bool IsModal() const OVERRIDE; | 627 virtual bool IsModal() const OVERRIDE; |
| 628 virtual bool IsDialogBox() const OVERRIDE; | 628 virtual bool IsDialogBox() const OVERRIDE; |
| 629 virtual bool CanActivate() const OVERRIDE; | 629 virtual bool CanActivate() const OVERRIDE; |
| 630 virtual bool IsInactiveRenderingDisabled() const OVERRIDE; | 630 virtual bool IsInactiveRenderingDisabled() const OVERRIDE; |
| 631 virtual void EnableInactiveRendering() OVERRIDE; | 631 virtual void EnableInactiveRendering() OVERRIDE; |
| 632 virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE; | 632 virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE; |
| 633 virtual void OnNativeFocus(gfx::NativeView focused_view) OVERRIDE; | 633 virtual void OnNativeFocus(gfx::NativeView old_focused_view) OVERRIDE; |
| 634 virtual void OnNativeBlur(gfx::NativeView focused_view) OVERRIDE; | 634 virtual void OnNativeBlur(gfx::NativeView new_focused_view) OVERRIDE; |
| 635 virtual void OnNativeWidgetVisibilityChanged(bool visible) OVERRIDE; | 635 virtual void OnNativeWidgetVisibilityChanged(bool visible) OVERRIDE; |
| 636 virtual void OnNativeWidgetCreated() OVERRIDE; | 636 virtual void OnNativeWidgetCreated() OVERRIDE; |
| 637 virtual void OnNativeWidgetDestroying() OVERRIDE; | 637 virtual void OnNativeWidgetDestroying() OVERRIDE; |
| 638 virtual void OnNativeWidgetDestroyed() OVERRIDE; | 638 virtual void OnNativeWidgetDestroyed() OVERRIDE; |
| 639 virtual gfx::Size GetMinimumSize() OVERRIDE; | 639 virtual gfx::Size GetMinimumSize() OVERRIDE; |
| 640 virtual gfx::Size GetMaximumSize() OVERRIDE; | 640 virtual gfx::Size GetMaximumSize() OVERRIDE; |
| 641 virtual void OnNativeWidgetMove() OVERRIDE; | 641 virtual void OnNativeWidgetMove() OVERRIDE; |
| 642 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; | 642 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; |
| 643 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; | 643 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; |
| 644 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; | 644 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 | 803 |
| 804 // Is |root_layers_| out of date? | 804 // Is |root_layers_| out of date? |
| 805 bool root_layers_dirty_; | 805 bool root_layers_dirty_; |
| 806 | 806 |
| 807 DISALLOW_COPY_AND_ASSIGN(Widget); | 807 DISALLOW_COPY_AND_ASSIGN(Widget); |
| 808 }; | 808 }; |
| 809 | 809 |
| 810 } // namespace views | 810 } // namespace views |
| 811 | 811 |
| 812 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 812 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
| OLD | NEW |