GPU Rendering Preferences (Debug -> Advanced)
Revert "GPU Rendering Preferences (Debug -> Advanced)"

This reverts commit 2c0d5c04d4efa581b4d22f7b1f30be9bb54bf5b0.
Enable Browser Debug Menu
Browser : Open in incognito tab

Long click on a link now allows you to choose
between opening in incognito/regular tab.

Thank Martin for the bright idea :)

Change-Id: Iba8e7446e69ae66e0bd957910e6309fdb0e0b947
Revert "Enable Browser Debug Menu"

This reverts commit 72047061ee92cbf0fc851049b968e2a26fd61ebc.
move the UAString selection from debug to advanced

This helps the users on Tablets. Initially the UAString selection is
only possible when the Browser is built with debug enabled, by this
change, it is moved to advanced selection and available in the release
version.

Change-Id: If31e1e58be92e6b2e40ddf29bc98d4c4324f727d
CPU Upload path option in advanced settings

Now that debug settings are no longer enabled by default, this moves
the setting being targeted into advanced to allow it to still be
readily accessible.
This is a pointless change currently (as webkit already covers this
functionality) but should be done for the future.
Move some less "advanced" preferences to general options
Finalize configuration and move UAString to listing bottom
Browser: Update Manifest to allow Audio Settings via Browser.

-Fix to handle MODIFY_AUDIO_SETTINGS permission issue

(cherry picked from commit ef74be44d9883a9e39aa30cafac6dfe511eaf391)

Change-Id: I0dcc91550caeb8ca31788dc7f6cfd5c7989192ff
Merge commit 'a0cc8e39d3ecd65995a9f07a22f0f4a6015be693' into ics
Move some less "advanced" preferences to general options
DO NOT MERGE: Cherry-pick RealViewSwitcher.java from CAF

Cherry-pick "8c238b5eb1569c14da6596f621722ebabc0c7fbb" from CAF
    Add RealViewSwitcher.java

Change-Id: I7f63431dc6eae662d9bfe63eea6f955190cfd97e
Adding new Browser Labs feature: Slide Tab Transitions

Edge swipe from the sides of the screen to view the previous/next tab in
the same way as the Android homescreen navigates its views. The feature
is enabled by default and can be turned off in Browser settings under
Labs. It is only enabled for the phone UI, it will not run on the tablet
interface. Slide Tab Transitions is incompatible with Quick Actions.

There are still two known issues with the current patch:
- Clipping bug for pages that use the ACCELERATED_COMPOSITING codepath
- Flakiness with the title bar show/hide due to switch to non-embedded
  title bar

Using RealViewSwitcher.java widget from CAF with the following changes:
- Added onScrollStartedListener to notify when a View switch starts
- Added orientationChanged callback

Change-Id: I1f602bbee43b6945a4bac5043ebec8e29379dd3d
Extended quick controls for tablet-like controls
Support for runtime WOFF enablement

Change-Id: I6836d86be902eb8897d7b63920cd6159e1d811da
Feature Permission changes for Proteus device api framework

Change-Id: I4ccec0554c1e3f30e899b52479e21c1a9da7b1ca
RealViewSwitcher: Validate execution of onScreenSwitched().

Invoke onScreenSwitched() only if current and new screens indices are
unequal.

CRs-Fixed: 329432
(cherry picked from commit 06bf7f1ba36c89b4f7e01cbc8d19eef37f9af26f)

Change-Id: I5c30a91fa4ef2551f66ad9d63d8f2ef0b76c19da
Manage Slide Transitions incompatibility in Labs

Slide Tab Transitions is not compatible with Quick Controls because they
both use edge touch detection and solve the same problem. When one
setting is enabled, the other should be disabled. I.e. Slide Tab
Transitions must be disabled in the Labs Settings menu before Quick
Controls can be enabled.

Change-Id: I1b4a019efa50d2e7efb5e0ed643a9041665efaf3
CRs-fixed: 354231
(cherry picked from commit b139ae8afea868118d491dfcb106845f498c2847)
UserAgent not propagated from Browser to DownloadProvider

Browser does not propagate the userAgent to DownloadProvider
for downloads. When downloads are started the default userAgent
in DownloadProvider is used instead of using the userAgent of
the Browser. This makes downloads on some services / web pages
fail.

This is solved this by including the Browser userAgent in the
request to the DownloadManager.

Change-Id: If4e0f3c29eb7fd5fc585dd01987ae7f0b54ffc32