Make showing the page title in a custom tab a dev option
commitffdd7b0f8752de02a9292c15abf2912f67b627e4
authoryusufo <yusufo@chromium.org>
Sat, 27 Jun 2015 00:27:35 +0000 (26 17:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 27 Jun 2015 00:28:14 +0000 (27 00:28 +0000)
tree5107f5dd940e0c4feae513e45728d59e07a28558
parent997b040a0b836339ca46aee8346507ae8549a210
Make showing the page title in a custom tab a dev option

This defaults to showing only the url in a custom tab and gives
an extra to customize it, so that page title shows. We make the
change in postInflationLayout so that we dont get an extra measure.

BUG=504045

Review URL: https://codereview.chromium.org/1214553002

Cr-Commit-Position: refs/heads/master@{#336483}
chrome/android/java/res/layout/custom_tabs_toolbar.xml
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java
chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBar.java
chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java
chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java