| 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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 virtual void OnNativeBlur(gfx::NativeView new_focused_view) OVERRIDE; | 749 virtual void OnNativeBlur(gfx::NativeView new_focused_view) OVERRIDE; |
| 750 virtual void OnNativeWidgetVisibilityChanging(bool visible) OVERRIDE; | 750 virtual void OnNativeWidgetVisibilityChanging(bool visible) OVERRIDE; |
| 751 virtual void OnNativeWidgetVisibilityChanged(bool visible) OVERRIDE; | 751 virtual void OnNativeWidgetVisibilityChanged(bool visible) OVERRIDE; |
| 752 virtual void OnNativeWidgetCreated(bool desktop_widget) OVERRIDE; | 752 virtual void OnNativeWidgetCreated(bool desktop_widget) OVERRIDE; |
| 753 virtual void OnNativeWidgetDestroying() OVERRIDE; | 753 virtual void OnNativeWidgetDestroying() OVERRIDE; |
| 754 virtual void OnNativeWidgetDestroyed() OVERRIDE; | 754 virtual void OnNativeWidgetDestroyed() OVERRIDE; |
| 755 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 755 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 756 virtual gfx::Size GetMaximumSize() const OVERRIDE; | 756 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
| 757 virtual void OnNativeWidgetMove() OVERRIDE; | 757 virtual void OnNativeWidgetMove() OVERRIDE; |
| 758 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; | 758 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; |
| 759 virtual void OnNativeWidgetWindowShowStateChanged( |
| 760 ui::WindowShowState old) OVERRIDE; |
| 759 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; | 761 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; |
| 760 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; | 762 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; |
| 761 virtual bool HasFocusManager() const OVERRIDE; | 763 virtual bool HasFocusManager() const OVERRIDE; |
| 762 virtual bool OnNativeWidgetPaintAccelerated( | 764 virtual bool OnNativeWidgetPaintAccelerated( |
| 763 const gfx::Rect& dirty_region) OVERRIDE; | 765 const gfx::Rect& dirty_region) OVERRIDE; |
| 764 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; | 766 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; |
| 765 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; | 767 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; |
| 766 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 768 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
| 767 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 769 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
| 768 virtual void OnMouseCaptureLost() OVERRIDE; | 770 virtual void OnMouseCaptureLost() OVERRIDE; |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 bool movement_disabled_; | 942 bool movement_disabled_; |
| 941 | 943 |
| 942 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; | 944 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; |
| 943 | 945 |
| 944 DISALLOW_COPY_AND_ASSIGN(Widget); | 946 DISALLOW_COPY_AND_ASSIGN(Widget); |
| 945 }; | 947 }; |
| 946 | 948 |
| 947 } // namespace views | 949 } // namespace views |
| 948 | 950 |
| 949 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 951 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
| OLD | NEW |