| 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <stack> | 9 #include <stack> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 virtual bool IsInactiveRenderingDisabled() const OVERRIDE; | 738 virtual bool IsInactiveRenderingDisabled() const OVERRIDE; |
| 739 virtual void EnableInactiveRendering() OVERRIDE; | 739 virtual void EnableInactiveRendering() OVERRIDE; |
| 740 virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE; | 740 virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE; |
| 741 virtual void OnNativeFocus(gfx::NativeView old_focused_view) OVERRIDE; | 741 virtual void OnNativeFocus(gfx::NativeView old_focused_view) OVERRIDE; |
| 742 virtual void OnNativeBlur(gfx::NativeView new_focused_view) OVERRIDE; | 742 virtual void OnNativeBlur(gfx::NativeView new_focused_view) OVERRIDE; |
| 743 virtual void OnNativeWidgetVisibilityChanging(bool visible) OVERRIDE; | 743 virtual void OnNativeWidgetVisibilityChanging(bool visible) OVERRIDE; |
| 744 virtual void OnNativeWidgetVisibilityChanged(bool visible) OVERRIDE; | 744 virtual void OnNativeWidgetVisibilityChanged(bool visible) OVERRIDE; |
| 745 virtual void OnNativeWidgetCreated(bool desktop_widget) OVERRIDE; | 745 virtual void OnNativeWidgetCreated(bool desktop_widget) OVERRIDE; |
| 746 virtual void OnNativeWidgetDestroying() OVERRIDE; | 746 virtual void OnNativeWidgetDestroying() OVERRIDE; |
| 747 virtual void OnNativeWidgetDestroyed() OVERRIDE; | 747 virtual void OnNativeWidgetDestroyed() OVERRIDE; |
| 748 virtual gfx::Size GetMinimumSize() OVERRIDE; | 748 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 749 virtual gfx::Size GetMaximumSize() OVERRIDE; | 749 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
| 750 virtual void OnNativeWidgetMove() OVERRIDE; | 750 virtual void OnNativeWidgetMove() OVERRIDE; |
| 751 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; | 751 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; |
| 752 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; | 752 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; |
| 753 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; | 753 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; |
| 754 virtual bool HasFocusManager() const OVERRIDE; | 754 virtual bool HasFocusManager() const OVERRIDE; |
| 755 virtual bool OnNativeWidgetPaintAccelerated( | 755 virtual bool OnNativeWidgetPaintAccelerated( |
| 756 const gfx::Rect& dirty_region) OVERRIDE; | 756 const gfx::Rect& dirty_region) OVERRIDE; |
| 757 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; | 757 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; |
| 758 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; | 758 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; |
| 759 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 759 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 bool movement_disabled_; | 930 bool movement_disabled_; |
| 931 | 931 |
| 932 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; | 932 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; |
| 933 | 933 |
| 934 DISALLOW_COPY_AND_ASSIGN(Widget); | 934 DISALLOW_COPY_AND_ASSIGN(Widget); |
| 935 }; | 935 }; |
| 936 | 936 |
| 937 } // namespace views | 937 } // namespace views |
| 938 | 938 |
| 939 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 939 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
| OLD | NEW |