CC: Organize and optimize format lookups.

There was a minor regression in tile management by
using one of these functions. This puts them all in one
place and uses array look-ups to fix the perf regression.

BUG=297578

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228578 0039d316-1c4b-4281-b951-d872f2087c98
Fix Views TabbedPane RTL path drawing.

Use the mirrored x coordinate of the selected tab view.

BUG=307174
TEST=Website Settings and Collected Cookies Tabbed Panes look correct for LTR and RTL Chrome UI on Win and CrOS.
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228579 0039d316-1c4b-4281-b951-d872f2087c98
Delete unused code from browser/device_orientation.

Device Orientation has been reimplemented using the
new shared-memory approach (see crbug.com/261165)
and therefore quite some code has become obsolete.
It is now safe to remove it, reducing the code
footprint by 2K+ lines yeey!

BUG=261165

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228580 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 228580
Honor creation_flags for external extensions with update URL

+ Propagate REQUIRE_PERMISSIONS_CONSENT when app updates from CWS

BUG=305695
TEST=manual + existing tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228581 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 228581