/[chrome]
Chromium logo

Revision 56766


Jump to revision: Previous Next
Author: pkasting@chromium.org
Date: Thu Aug 19 23:09:38 2010 UTC (4 years, 9 months ago)
Changed paths: 2
Log Message:
Cleanup: Remove dead code, use early returns to reduce indenting, shorten.

This makes one behavioral change: a mouse release with a successful HitTest and |canceled| true will set the state to HOT instead of NORMAL.  This seemed more correct to me.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3175027

Changed paths:

Path Details
Directorytrunk/src/views/controls/button/custom_button.cc modified , text changed
Directorytrunk/src/views/controls/button/custom_button.h modified , text changed

Powered by ViewVC 1.1.5 ViewVC Help