diff options
Diffstat (limited to 'views/widget/native_widget_views.h')
-rw-r--r-- | views/widget/native_widget_views.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/views/widget/native_widget_views.h b/views/widget/native_widget_views.h index b0c2ea3..eaa2804 100644 --- a/views/widget/native_widget_views.h +++ b/views/widget/native_widget_views.h @@ -47,12 +47,7 @@ class VIEWS_EXPORT NativeWidgetViews : public internal::NativeWidgetPrivate { internal::NativeWidgetDelegate* delegate() const { return delegate_; } protected: - friend class internal::NativeWidgetView; - - // Event handlers that subclass can implmenet custom behavior. - virtual void OnBoundsChanged(const gfx::Rect& new_bounds, - const gfx::Rect& old_bounds); - virtual bool OnMouseEvent(const MouseEvent& event); + friend class NativeWidgetView; // Overridden from internal::NativeWidgetPrivate: virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; @@ -135,7 +130,6 @@ class VIEWS_EXPORT NativeWidgetViews : public internal::NativeWidgetPrivate { virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; virtual bool ConvertPointFromAncestor( const Widget* ancestor, gfx::Point* point) const OVERRIDE; - virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; // Overridden from internal::InputMethodDelegate virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE; @@ -147,8 +141,6 @@ class VIEWS_EXPORT NativeWidgetViews : public internal::NativeWidgetPrivate { internal::NativeWidgetPrivate* GetParentNativeWidget(); const internal::NativeWidgetPrivate* GetParentNativeWidget() const; - bool HandleWindowOperation(const MouseEvent& event); - internal::NativeWidgetDelegate* delegate_; internal::NativeWidgetView* view_; @@ -167,6 +159,8 @@ class VIEWS_EXPORT NativeWidgetViews : public internal::NativeWidgetPrivate { gfx::Rect restored_bounds_; ui::Transform restored_transform_; + Widget* hosting_widget_; + // See class documentation for Widget in widget.h for a note about ownership. Widget::InitParams::Ownership ownership_; |