Refactor FrameHeaderOriginText to be reusable by GlassBrowserFrameView
This CL: - Renames FrameHeaderOriginText to HostedAppOriginText as it's not intended to be used for anything other than hosted app windows and for consistency with other HostedApp* views. - Moves HostedAppOriginText from ash/frame to chrome/browser/ui/views/frame. - Moves the animation timing logic from BrowserNonClientFrameViewAsh into HostedAppButtonContainer. This is in preparation to add the origin text animation to GlassBrowserFrameView (see https://chromium-review.googlesource.com/c/chromium/src/+/1136270). There are no behavioural changes in this CL. Bug: 854479 Change-Id: I69934e5b4595356d10e707011a231f9c095338db Reviewed-on: https://chromium-review.googlesource.com/1134713 Commit-Queue: Alan Cutter <alancutter@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#577445}
Showing
Please register or sign in to comment