Converts usage of EmbeddedContentViewActivity to CustomTabActivity.
This CL changes all call sites of EmbedContentViewActivity to use CustomTabActivity. Didn't delete the EmbedContentViewActivity code yet, also not sure if we should clean the chrome strings for the titles if we don't need them. There are a couple of details in the UI: 1. Title is now using html document title instead of chrome strings. Not sure which one should we use here. 2. The color of the toolbar is same as EmbeddedContentViewActivity. But the color of icons or other components depends on their own logic and theme color of the activity, etc. 3. The url bar is not hidden for now, since the security icon color on tablet is not correct.(Black icon on a dark background). Don't have a spec so not sure if we would hide the url bar here and fix the icon color logic. Screen shots are attached in crbug. BUG=673522 Review-Url: https://codereview.chromium.org/2571553003 Cr-Commit-Position: refs/heads/master@{#439168}
Showing
Please register or sign in to comment