[rAC, OSX] Ensure proper dialog button text.

Dialog (confirm/cancel) buttons had a fixed text. Changed that to allow
controller to supply different text for different states. (Mainly CVV
challenges)

BUG=315212
TEST=Force a CVV challenge, ensure the confirmation button says
"Verify", not "Continue".

R=isherman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235916 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 235916
Port Mojo's sample_service.cc to JavaScript

This CL completes the manual implementation of sample_service.js and tests it
using sample_test.js, which exactly mirrors the testing of sample_service.cc by
sample_service.cc.

(I've also moved sample_service.js into mojo/public/bindings/sample/mojom to
better mirror the C++ implementation.)

BUG=317398

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235917 0039d316-1c4b-4281-b951-d872f2087c98
Preserve should_replace_current_entry across request transfers.

When a request transfer happens, we lose the should_replace_current_entry bit
of the navigation. This results in us getting history wrong when, say, a hosted
Google Calendar app is installed and we client-redirect to it while not logged
in, triggering a server redirect to accounts.google.com and a request transfer.

Push this state down to the renderer into NavigationState so it can be
stapled to the request, bubbled back up to the CrossSiteResourceHandler and
into the transferred navigation.

Also test and fix a case where the state does not round-trip correctly if a
fresh renderer with a browser-initiated navigation decides to fork the
navigation back up to the browser anyway.

BUG=311721
TEST=SitePerProcessBrowserTest.ReplaceEntryCrossProcessThenTransfers
     SitePerProcessBrowserTest.ReplaceEntryInProcessThenTransfers
     SitePerProcessBrowserTest.ReplaceEntryCrossProcessTwice

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235918 0039d316-1c4b-4281-b951-d872f2087c98
Raises presubmit warning to include libgtk2ui from c/b/ui/views.

Files under that directory should be accessed through ui/views/linux_ui/linux_ui.h
but sometimes the compiler unexpectedly succeeds to compile files.

BUG=None
R=erg@chromium.org, ben@chromium.org
TEST=None

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

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