Explicitly define "nacl_defines" when OS is "ios"

Plan for building for arm64 on iOS is to set "target_arch" to correct
value (currently default to "ia32"). As "nacl_defines" needs to be
defined even if "disable_nacl" is set to "1", define it to an empty list
when generating project for iOS so that changing the "target_arch"
won't cause build failures.

BUG=314720
R=jvoung@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250221 0039d316-1c4b-4281-b951-d872f2087c98
cc: Use std::map instead of hash_map for TaskGraphRunner namespaces.

This avoids some heap allocations and provides more than good enough
namespace lookup performance for the number of namespaces used in
practice. Also provides a ~300% performance improvement in cases
where the task graph only contains a single task.

BUG=246546

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250222 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Handle LockScreen D-Bus method calls.

Make Chrome handle LockScreen method calls from the session
manager in addition to the existing LockScreen signals. The
signal-handling code will be removed once the session
manager has been updated to make method calls.

BUG=341921

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250223 0039d316-1c4b-4281-b951-d872f2087c98
Need to also scale scroll offset, not just the scroll rect.

When not using the two-viewport model, the page scale layer ends up
coinciding with the viewport clip layer. Prior to this CL, in this
case the page scale was being applied to the scroll layer rect, but
not to the current scroll offset, when calculating the scrollbar
size/positioning. This CL apples the scale to the offset as well.

BUG=340631

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250224 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250225 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 166802:166855

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=166803:166855&mode=html
TBR=
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250226 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250227 0039d316-1c4b-4281-b951-d872f2087c98
Wrap log path in about:net-export.

Debug builds show the log file path, but because it doesn't wrap, the viewport
changes when the file is long. Force line-wrapping so net-export looks the same
size in debug and release.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250228 0039d316-1c4b-4281-b951-d872f2087c98
Re-enable broken --allow-scripting-gallery flag for content scripts

The --allow-scripting-gallery flag was not effective, because it was only
checked in ChromeExtensionsClient::IsScriptableURL.
However, scripting access is ultimately denied because the flag is not
checked in RendererPermissionsPolicyDelegate::CanExecuteScriptOnPage.

Contributed by Rob Wu <rob@robwu.nl>

BUG=342090
TEST=Start Chrome with the --allow-scripting-gallery flag and install an
extension that inserts a content script on all URLs (e.g. Adblock Plus).
Then visit the Chrome Web Store and open the F12 developer tools.
At the console tab, verify that the extension is listed at the dropdown
menu where one can switch between the JavaScript execution environments.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250229 0039d316-1c4b-4281-b951-d872f2087c98
Ensure that SAML IdPs use https on Chrome OS

This CL sets a CSP for the GAIA auth extension that ensures the entire
login flow, including redirects to SAML IdPs, uses https.

The FakeGaia and FakeSamlIdp classes used in SAML tests use the embedded
test server, which speaks http only. The CL therefore adds a test server
written in Python that speaks https and acts as a wrapper by forwarding
calls to the embedded test server over http.

TBR=asargent@chromium.org (for gaia_auth_extension_loader.cc)

BUG=337437
TEST=Full browser test coverage

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250114

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250230 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Fix comments for IPC messages that got renamed.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250231 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Small MessageInTransit fixes.

R=yzshen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250232 0039d316-1c4b-4281-b951-d872f2087c98
Findbugs: Fix public static fields in AwResource.java.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250233 0039d316-1c4b-4281-b951-d872f2087c98
aw: Disable testMagnificationWithZoomSupportOff

Failed on main waterfall twice just now.

http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/18520
http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/11855

Not these are test expectation failures, not the native crash reported
in crbug.com/341183.

BUG=341183, 340327
NOTRY=true
TBR=mnaganov

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250234 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Small cleanup of public/tests/test_support.h.

R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250235 0039d316-1c4b-4281-b951-d872f2087c98
Revert 250185 "Remove --enable-html-imports"

> Remove --enable-html-imports
> 
> The flag is merged into --enable-experimental-web-feaures.
> 
> TEST=none
> BUG=317429
> R=dglazkov@chromium.org,abarth@chromium.org
> 
> Review URL: https://codereview.chromium.org/152043004

TBR=morrita@chromium.org,dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250237 0039d316-1c4b-4281-b951-d872f2087c98
<webview>: Enable support for chrome-extension URLs on stable.

BUG=340291

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250238 0039d316-1c4b-4281-b951-d872f2087c98
sync: Stop integration tests on timeout

The integration tests' Await functions tend to return false on timeout
and hope that their callers will ASSERT_ on their return value.  That
doesn't always happen, though.  There are some old tests that expect the
Await functions to return false (for non-timeout related reasons) or
don't bother to check.  One such set of tests led to crbug.com/341215.

This change will force the tests to halt when the timeout occurs.  We
hope this will expose pre-existing issues that are hidden by the current
soft-timeout behavior.

Killing tests with a CHECK() is normally a bad idea.  It can prevent
other tests in the suite from running.  In this case we can get away
with it, since the integration test runner won't halt if one of its
tests is killed.

BUG=341301

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250240 0039d316-1c4b-4281-b951-d872f2087c98
Changes qwerty layout to be closer to Google layout.

BUG=332074

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250241 0039d316-1c4b-4281-b951-d872f2087c98
Widget::Show() should not active widgets that can't be activated.

Basically, if Widget::CanActivate() returns false, the widget should not
be activated.

BUG=336163
COLLABORATOR=benwells@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250242 0039d316-1c4b-4281-b951-d872f2087c98