Call PTOpenProvider to make sure that XPS works.

BUG=317027
TBR=noamsml

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251707 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251707
Altered several strings in first-run tutorial.

BUG=342397
TEST=manually
TBR=nkostylev

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251708 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash of the settings page in guest mode.

Add a check if the ManagedUserSyncService and
ManagedUserSharedSettingsService for the given profile exists.

BUG=344298
TEST=open settings page on Chrome OS in guest mode.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251709 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251708
<webview>: Speculative fix

I'm fairly confident this is the fix to bug 343383. From the stack traces,
it appears that during ChildFrameCompositorHelper destruction, DelegatedFrameProvider
is destroyed which accesses ChildFrameCompositingHelper::SendReclaimCompositorResourcesToBrowser.
That method accesses the BrowserPlugin weak pointer which is destroyed prior to
DelegatedFrameProvider's destruction. This change ensures that the weak pointer is the last
of the non-primitive members of ChildFrameCompositingHelper to get destroyed.

BUG=343383
TBR=nasko@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251710 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251710
[Telemetry] Add unit test for browser.foreground_tab

Followup to https://codereview.chromium.org/161473002

BUG=343168

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251711 0039d316-1c4b-4281-b951-d872f2087c98
This CL unsnaps a side snapped window if a user resizes a side snapped window such that the window no longer has valid side snapped bounds.
e.g. Resizing a snapped window to make it wider keeps the window snapped
     Resizing a snapped window such that it no longer takes up the entire workspace unsnaps the window

This CL also:
- Cleans up WorkspaceWindowResizer::UpdateSnapPhantomWindow()
- Avoids setting the "bounds changed by user" flag if the user clicks on the window header

BUG=341767, 338168
TEST=DockedWindowResizerTest.*
     WorkspaceWindowResizerTest.*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251712 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251712
Remove --disable-device-motion and --disable-device-orientation flags from chrome.

The Device Motion/Orientation feature has been shipped
in stable for a while. These flags can be safely removed
now as part of a more general clean-up effort
(see crbug.com/344319).

BUG=344319

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251713 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Move TextInputController from CppBoundClass to gin::Wrappable. (https://codereview.chromium.org/144013010/)

Reason for revert:
Broke LayoutTests/editing/selection/move-left-right.html, which uses TextInputController.


Original issue's description:
> Move TextInputController from CppBoundClass to gin::Wrappable.
> 
> Also, change the class to use chromium coding style.
> 
> BUG=297480, 331301
> R=jochen@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251692

TBR=jochen@chromium.org,tfarina@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=297480, 331301

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

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