diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 20:29:35 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 20:29:35 +0000 |
commit | ad3f5ca05a2f22374835860b4af148d1eec626ba (patch) | |
tree | 94f372c56561780e2bc3263336f4e22c5b02f60d /views | |
parent | eb9d07b321f6b83fe8d15a15be531aabc9d77a32 (diff) | |
download | chromium_src-ad3f5ca05a2f22374835860b4af148d1eec626ba.zip chromium_src-ad3f5ca05a2f22374835860b4af148d1eec626ba.tar.gz chromium_src-ad3f5ca05a2f22374835860b4af148d1eec626ba.tar.bz2 |
Removes some dead code from WidgetWin.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/115528
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-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_; |