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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 virtual bool IsInactiveRenderingDisabled() const OVERRIDE; | 609 virtual bool IsInactiveRenderingDisabled() const OVERRIDE; |
610 virtual void EnableInactiveRendering() OVERRIDE; | 610 virtual void EnableInactiveRendering() OVERRIDE; |
611 virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE; | 611 virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE; |
612 virtual void OnNativeFocus(gfx::NativeView focused_view) OVERRIDE; | 612 virtual void OnNativeFocus(gfx::NativeView focused_view) OVERRIDE; |
613 virtual void OnNativeBlur(gfx::NativeView focused_view) OVERRIDE; | 613 virtual void OnNativeBlur(gfx::NativeView focused_view) OVERRIDE; |
614 virtual void OnNativeWidgetVisibilityChanged(bool visible) OVERRIDE; | 614 virtual void OnNativeWidgetVisibilityChanged(bool visible) OVERRIDE; |
615 virtual void OnNativeWidgetCreated() OVERRIDE; | 615 virtual void OnNativeWidgetCreated() OVERRIDE; |
616 virtual void OnNativeWidgetDestroying() OVERRIDE; | 616 virtual void OnNativeWidgetDestroying() OVERRIDE; |
617 virtual void OnNativeWidgetDestroyed() OVERRIDE; | 617 virtual void OnNativeWidgetDestroyed() OVERRIDE; |
618 virtual gfx::Size GetMinimumSize() OVERRIDE; | 618 virtual gfx::Size GetMinimumSize() OVERRIDE; |
| 619 virtual gfx::Size GetMaximumSize() OVERRIDE; |
619 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; | 620 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; |
620 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; | 621 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; |
621 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; | 622 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; |
622 virtual bool HasFocusManager() const OVERRIDE; | 623 virtual bool HasFocusManager() const OVERRIDE; |
623 virtual bool OnNativeWidgetPaintAccelerated( | 624 virtual bool OnNativeWidgetPaintAccelerated( |
624 const gfx::Rect& dirty_region) OVERRIDE; | 625 const gfx::Rect& dirty_region) OVERRIDE; |
625 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; | 626 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; |
626 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; | 627 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; |
627 virtual bool OnKeyEvent(const KeyEvent& event) OVERRIDE; | 628 virtual bool OnKeyEvent(const KeyEvent& event) OVERRIDE; |
628 virtual bool OnMouseEvent(const MouseEvent& event) OVERRIDE; | 629 virtual bool OnMouseEvent(const MouseEvent& event) OVERRIDE; |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 // duplicate move events even though the mouse hasn't moved. | 772 // duplicate move events even though the mouse hasn't moved. |
772 bool last_mouse_event_was_move_; | 773 bool last_mouse_event_was_move_; |
773 gfx::Point last_mouse_event_position_; | 774 gfx::Point last_mouse_event_position_; |
774 | 775 |
775 DISALLOW_COPY_AND_ASSIGN(Widget); | 776 DISALLOW_COPY_AND_ASSIGN(Widget); |
776 }; | 777 }; |
777 | 778 |
778 } // namespace views | 779 } // namespace views |
779 | 780 |
780 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 781 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |