Revert of Use labels to display views tab titles. (https://codereview.chromium.org/323993002/)
Reason for revert: Appears to have a memory leak. See: http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%283%29/builds/3954 Original issue's description: > Use labels to display views tab titles. > > Add a Label view to Tab for displaying the title. > Remove Tab::PaintTitle, bounds and font members. > Remove unnecessary Tab::Get[Title|Icon]Bounds helpers. > Update the text on Tab::SetData, not during paint. > Use gfx::DirectionalityMode, remove the Label enum. > > Add gfx::ALIGN_TO_HEAD to gfx::HorizontalAlignment. > Add Label::GetHorizontalAlignment for ALIGN_TO_HEAD. > Always flip left/right in Label::SetHorizontalAlignment. > Have Tab and MessageBoxView use ALIGN_TO_HEAD. > > Update comments and tests, related minor cleanup. > > TODO: Make Label cache RenderText objects. > TODO: Make RenderText support ALIGN_TO_HEAD. > > BUG=240037 > TEST=No visible Views tab title changes. > R=sky@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276450 TBR=sky@chromium.org,msw@chromium.org NOTREECHECKS=true NOTRY=true BUG=240037 Review URL: https://codereview.chromium.org/327273005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276476 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment