Browser freezes when adding new incognito tab after removing it

When do layout, the position of new tab may be changed since other tab
closed, we need to get the position again at the time.

Change-Id: Ia5bcc15a0074678f401d6b3e93026e5ef5d2af7d
Author: weiweix.ji <weiweix.ji@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 66643
Handle DownloadManager expceptions

Handles illegal state exceptions thrown by DownloadManager
on two ocassions:
* the directory sdcard/Downloads is an ordinary file
* could not create dirctory sdcard/Downloads

Change will log an error, additionally toast with information
will pop up.

Change-Id: If853d3218a188bc77c187362a70697126b90989d
Import translations. DO NOT MERGE

Change-Id: I2413f0ccd190e2a2cf13dd57c6d8a692b2a9d21d
Auto-generated-cl: translation import
Use a gradient drawable for the tab window background

Fixes banding and scaling issues caused by the image drawable.

Change-Id: Ib3ff903c0d9d97a04b9a4f92de42ba69d6e47a0a
Import translations. DO NOT MERGE

Change-Id: I2614065043900ab561b6755b6182d34b6b1fe6ab
Auto-generated-cl: translation import
am f9e1705d: De-classicify Android Browser part 2

* commit 'f9e1705d4012706664a2bdf63a50b8a784b833dd':
  De-classicify Android Browser part 2
am 89be497b: (-s ours) Import translations. DO NOT MERGE

* commit '89be497b4bdd63a926046524ff9ed31fa23c90b7':
  Import translations. DO NOT MERGE
am f1de75d7: (-s ours) am 89be497b: (-s ours) Import translations. DO NOT MERGE

* commit 'f1de75d761c8078018e3a9357820aafc9a2b8a6c':
  Import translations. DO NOT MERGE
am d6078da6: Make web contents debugging always enabled (as in Chrome)

* commit 'd6078da64fff2339591df22564dac7127ef1f678':
  Make web contents debugging always enabled (as in Chrome)
am 6b5067a3: am d6078da6: Make web contents debugging always enabled (as in Chrome)

* commit '6b5067a32b9801d3da7e974de26427b2325ea32f':
  Make web contents debugging always enabled (as in Chrome)
Merge "Browser freezes when adding new incognito tab after removing it"
am 90883e66: Merge "Browser freezes when adding new incognito tab after removing it"

* commit '90883e666eb7675b9bc6d852cb732b65196781cf':
  Browser freezes when adding new incognito tab after removing it
am b675f1c9: am 90883e66: Merge "Browser freezes when adding new incognito tab after removing it"

* commit 'b675f1c9af2e4e3e039a0cb69d934a5bba1830e4':
  Browser freezes when adding new incognito tab after removing it
Update Browser to use TEXT_AUTOSIZING

Also enable Web Debugging conditionally based on the platform OS level
(to document the best-practice, as much as anything else)

Change-Id: Ib89c6e6250370c520ad0c571e6e5a166369f1f40
Fix the problem that the favicons on the history page are shown ramdomly when the page is scrolled.

Steps to reproduce:
1. Visit some URLs to fill the history page.
2. Go to the history page.
3. Scroll up and down repeatedly.

What happened:
The favicons on the left side of the history page are shown ramdomly.

Change-Id: I243ec67899b13c5482e1503f7eab23dd9a5aa1f5
Signed-off-by: Sungmann Cho <sungmann.cho@navercorp.com>
am 0d49e161: (-s ours) Fix exception in Browser Settings

* commit '0d49e161632661fbe4b16fd174acf401dec42e7a':
  Fix exception in Browser Settings
DO NOT MERGE reset to goog/klp-volantis-dev
Remove deprecated locales

Bug:11340849
Change-Id: Id8f80537c07ad67bbd599c50a9a06cf0b512784a
am ed827cda: (-s ours) DO NOT MERGE reset to goog/klp-volantis-dev

* commit 'ed827cdaf4542ab4bbe6f31b1016f9b13a7dcf33':
Do not let intents request viewing private browser files

Bug: 9793586
Change-Id: I8f6f03b05556ee4d6846c15752de9be54c003060