diff options
Diffstat (limited to 'views/widget')
-rw-r--r-- | views/widget/widget_win.cc | 3 | ||||
-rw-r--r-- | views/widget/widget_win.h | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc index e58978f..56702e7 100644 --- a/views/widget/widget_win.cc +++ b/views/widget/widget_win.cc @@ -136,7 +136,6 @@ WidgetWin::WidgetWin() : close_widget_factory_(this), active_mouse_tracking_flags_(0), has_capture_(false), - current_action_(FA_NONE), window_style_(0), window_ex_style_(kWindowDefaultExStyle), use_layered_buffer_(true), @@ -787,7 +786,6 @@ bool WidgetWin::ProcessMousePressed(const CPoint& point, if (!has_capture_) { SetCapture(); has_capture_ = true; - current_action_ = FA_FORWARDING; } return true; } @@ -813,7 +811,6 @@ void WidgetWin::ProcessMouseReleased(const CPoint& point, UINT flags) { // OnMouseReleased blocks. if (has_capture_ && ReleaseCaptureOnMouseReleased()) { has_capture_ = false; - current_action_ = FA_NONE; ReleaseCapture(); } is_mouse_down_ = false; diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h index ae846aa..3a120db 100644 --- a/views/widget/widget_win.h +++ b/views/widget/widget_win.h @@ -514,8 +514,6 @@ class WidgetWin : public Widget, // is true. virtual bool ReleaseCaptureOnMouseReleased() { return true; } - enum FrameAction {FA_NONE = 0, FA_RESIZING, FA_MOVING, FA_FORWARDING}; - virtual RootView* CreateRootView(); // Returns true if this WidgetWin is opaque. @@ -524,9 +522,6 @@ class WidgetWin : public Widget, // The root of the View hierarchy attached to this window. scoped_ptr<RootView> root_view_; - // Current frame ui action - FrameAction current_action_; - // Whether or not we have capture the mouse. bool has_capture_; |