Reorganize code; no functional change.
* AnimateStateTransition() is never called; remove. * OpenDownload(), Reenable(), DrawIcon(), UpdateColorsFromTheme(), GetErrorIconSize(), and ReleaseDropdown() are only referenced in one function apiece. Inline them into their callers, which in many cases will provide future refactoring opportunities. In a couple of cases (OnPaint() and ButtonPressed()) the callers are unwieldy as a result; these will be refactored in an upcoming CL. * Reorder a few other functions to try and group related functions together more. * Improve .h comments slightly. Bug: none Change-Id: Ic6801d70b3dadd1c696ee0d97fb8daf5b23f85c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303863 Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by:David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#789611}
Showing
This diff is collapsed.
Please register or sign in to comment