Modify hit test masks for tabs and tab close buttons

In preparation for landing rect-based event targeting 
(issue 129794), the tab close button will need a hit 
test mask and the hit test mask for a tab will need 
to be modified. This will take into consideration the 
possibility where the tab close button of one tab is 
occluded by another tab when in stacked tab / touch 
layout mode.

BUG=306186
TEST=TabStripTest.TabHitTestMaskWhenStacked

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232797 0039d316-1c4b-4281-b951-d872f2087c98
Parameterize the PrefService that PersonalDataManager uses.

Rather than having PersonalDataManager obtain the PrefService that it uses from
its BrowserContext, have the client pass in the PrefService to use.
Incremental step toward abstracting BrowserContext knowledge out of
PersonalDataManager.

BUG=303050

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232798 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232797
Update iOS user agent generation

- Removes obsolote iOS 5 handling
- Updates Safari version to match iOS 7 release
- Changes the OS generation code to make it clearer

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232799 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232799
Simplify file_system_api::GetLastChooseEntryDirectory().

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232800 0039d316-1c4b-4281-b951-d872f2087c98
UMA instrumentation for CloudPrint connector.

BUG=314284
NOTRY=true
R=noamsml@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232801 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232801
[Net] Assert that URLRequests with LOAD_IGNORE_LIMITS have MAXIMUM_PRIORITY

Also remove the priority juggling in ClientSocketPoolBaseHelper, and instead
assert that any requests with ignore_limits = true also has priority =
MAXIMUM_PRIORITY.

BUG=166689
R=asanka@chromium.org, gene@chromium.org, joaodasilva@chromium.org, mmenke@chromium.org, simonjam@chromium.org
TBR=benm@chromium.org, jamesr@chromium.org

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

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