Browser: disable incognito mode

Chromium Webview does not support incognito mode which will result
in force close, disabling for now.

Change-Id: I501a609f94c115b9a9d1755ef0ea73eb9b29c823
Browser: fix pie crash

Introduced in 5623a091605bf1d88687dc589a61ee6b54c554fe.

Change-Id: I83f44be84fb70e2777ab1414c0af2a368c435fb8
Browser: update translations

Change-Id: I1ba37cc91c0af74a7a5f1d5eecd5ae694ffb5a46
Merge "Browser: update translations" into cm-11.0
Browser: Fix browser force close

Issue: Cursor was accessed by handler thread
       when it was closed. During Orientation change,
       BrowserBookmarksPage#onDestroyView is called
       which clears all the loaders [and cursors].
       Simultaneously ThreadedCursorAdapter#loadRowObject
       is getting called which then calls
       BrowserBookmarksAdapter#getRowObject
       where closed cursor is accessed and force close happens.

Fix: Synchronized cursors wrt main thread and handler thread.
     Checked mCursorAdapter for invalid conditions

CRs-Fixed: 576176
Change-Id: I9f16c2f1a55f35e8256bbf56afce3538850f9d42
Browser: LT translaions

Port CM 10.2 strings to CM 11.0

Change-Id: Iaa6e87cece4d35a59087ed84218a73682de6dbb1
Merge "Browser: LT translaions" into cm-11.0
Browser: CS translation

- fixed type and header

Change-Id: Icebff39fe6e00cf0c6bed9164109a4c678273da6
Revert "Browser: disable incognito mode"

This reverts commit 5623a091605bf1d88687dc589a61ee6b54c554fe.

 This is the 2nd commit message:

Revert "Browser: fix pie crash"

This reverts commit 06929f1b1103f5a5651a8fc71e6b6e6b10bde71d.

Change-Id: I23f2e34ee125785bba8981f0611ba4986a9beaab
Implement client-side incognito mode

Since WebView deprecated privateBrowsing in API 17 (and killed it
for good in API 19), we were left without incognito in the Browser
app. Follow the docs' recommendations and implement it with "manual"
control of privacy-related engine options

* Internally track incognito state for tabs
* Disable all forms of storage and cache on private webviews
* Disable all cookie activity while an incognito tab is active
* Stop trying to use the deprecated "privateBrowsing" argument
  when creating webViews, always set to false

Change-Id: I23f2e34ee125635bba8981f0711ba4986a9beaab
Show a startup page in incognito mode

Change-Id: Ib1d4be6890c81b73a46f026b6fcbb2f1e8de567d
Browser: LT translations

Improved translations

Change-Id: I901d77916658915eeff03c27d0df0a4c2eac2293
Browser: correct copyright notices

Change-Id: I857f6f5eb7f8c3725735078b3d3c9297e7151bd7
Always show the action bar overflow

As with native action bars.

Change-Id: I460ee02b370d7f220a8702d2e7644a7c775e3b21
Browser: AST translations

Change-Id: I9663105f021191383c1146bedbcf582add630b9b
BrowserSettings: update desktop UA string to match Chrome 30

Now that we're using a Chromium-based WebView which closely matches
Chrome 30, we should report as a newer Chrome version when masquerading
as a desktop browser.

Change-Id: I301a8cfac9a83e66a6749872943e80ff5c4740a1
Replace removed NARROW_COLUMNS layout mode with TEXT_AUTOSIZING

For reasons which I completely fail to understand, Google elected not to
implement the very useful NARROW_COLUMNS layout mode (double-tap to
reflow text) in Chromium WebView, and instead chose to implement
TEXT_AUTOSIZING (buggy heuristic-based font inflation).  But complaining
isn't going to get it back, and font inflation is better than nothing on
small screens, so replace NARROW_COLUMNS with TEXT_AUTOSIZING to restore
some support for resizing text to be legible on screen.

Change-Id: Ieeb03d38e8a7386e8e8f811c570aa17bfabf4337
browser: properly handle get center tab

Change-Id: Ibec6a7b80e399b99fe2e6df64a7c4b1cc6c38728
JIRA: CYAN-3235
Issue: https://jira.cyanogenmod.org/browse/CYAN-3235
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "browser: properly handle get center tab" into cm-11.0
Merge "Browser: AST translations" into cm-11.0