summaryrefslogtreecommitdiffstats
path: root/ui/views/metrics.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 16:25:56 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 16:25:56 +0000
commitfca8dc0de7785069b2bb721aca6966fd11f45a0a (patch)
treec3f01985bec47ab376b00710abf20184f1110f22 /ui/views/metrics.cc
parente212a306bfbdaac64b4e1a5134dd42b7a0d773af (diff)
downloadchromium_src-fca8dc0de7785069b2bb721aca6966fd11f45a0a.zip
chromium_src-fca8dc0de7785069b2bb721aca6966fd11f45a0a.tar.gz
chromium_src-fca8dc0de7785069b2bb721aca6966fd11f45a0a.tar.bz2
views: Improve the constant names of the ButtonState enum.
We rename then to STATE_FOO, so it is less confusing: Rather than: if (state == views::CustomButton::BS_HOT) { ... } We now have: if (state == views::CustomButton::STATE_HOVERED) { ... } A bit more verbose, but much better to read. R=sky@chromium.org TBR=jochen@chromium.org # for content/shell Review URL: https://chromiumcodereview.appspot.com/11275272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167684 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/metrics.cc')
0 files changed, 0 insertions, 0 deletions