Attempt to re-land FocusManager removal from Aura.

content_browsertests ContentWindowReparent test was failing, presumably because a focus notification wasn't being broadcast by the new test focus client.

R=sky@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229480 0039d316-1c4b-4281-b951-d872f2087c98
Teach mojo_shell how to load http URLs

After this CL, we can load content over HTTP. In order to make
that work, I needed to introduce a number of basic concepts
into the shell, including an IO thread and a directory to
store data (such as the HTTP cache).

I've tried to keep the net dependencies separated from the
bulk of the mojo_shell code because I expect we'll want to
move the net dependencies to an app that runs on top of the
Mojo platform rather than linked into the mojo_shell itself.
To that end, the mojo::loader::Loader class doesn't leak any
net headers to its clients.

The version of the loader in this CL is extremely basic. We'll
undoubtedly make it fancier as time goes on. The next step
after this CL is to store the result in a file and then load
that file as a shared object.

R=aa@chromium.org, darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229481 0039d316-1c4b-4281-b951-d872f2087c98
Update the text on the chrome://downloads warning confirmation

This changes the text on the chrome://downloads confirmation for known malware.

BUG=305387
R=asanka@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229482 0039d316-1c4b-4281-b951-d872f2087c98
This CL updates how dangerous downloads are shown on the chrome://downloads page.

(1) It adds the appropriate warning icon to the download info block, for all types of dangerous files.

(2) For known malware: it changes the options to be links that say "Restore malicious file" and "Remove from list".

BUG=305387
TEST=
1. Download a malicious file (e.g., http://download.safebrowsingtest.com/download/test)
2. chrome://downloads should show "Restore malicious file" and "Remove from list" actions next to download, and there should be a red image next to it.
3. Download a dangerous file like a SWF
4. chrome://downloads should show "Keep" and "Discard" buttons & a yellow icon next to the download.

R=asanka@chromium.org, jhawkins@chromium.org

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

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

TBR=sky@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229484 0039d316-1c4b-4281-b951-d872f2087c98
Valgrind: Widen a suppression and disable a flaky test.

BUG=290435,309149
NOTRY=true
R=groby@chromium.org
TBR=groby

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229485 0039d316-1c4b-4281-b951-d872f2087c98
Revert "Teach mojo_shell how to load http URLs"

This reverts commit 2410e4c01a215a487490e7bf87c4369cb8c13e53.

This CL doens't compile on Linux x64.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229486 0039d316-1c4b-4281-b951-d872f2087c98
Revert 229455 "Gets hiding animations to work again"

> Gets hiding animations to work again
> 
> This broke when bounds changes was consolidated into
> DesktopNativeWidgetAura::OnRootWindowHostResized. We can't resize the
> child layers when this happens as otherwise we're going to force a
> paint of the layers and thus the views. But at this point nothing is
> valid and we don't want to paint anyway.
> 
> Also removing a call to Show() early on as it may trigger animations
> that we don't want. A Show() at this time is before the creator has
> had a chance to turn them off.
> 
> BUG=none
> TEST=none
> R=ananta@chromium.org, ben@chromium.org, grt@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229285
> 
> Review URL: https://codereview.chromium.org/27043007

TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229487 0039d316-1c4b-4281-b951-d872f2087c98
Revert 229469 "Disables ChromeFrameTestWithWebServer.WidgetModeI..."

> Disables ChromeFrameTestWithWebServer.WidgetModeIE_ObjectFocus
> 
> BUG=308847
> TEST=none
> R=grt@chromium.org
> TBR=grt@chromium.org
> 
> Review URL: https://codereview.chromium.org/29863002

TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229488 0039d316-1c4b-4281-b951-d872f2087c98
Remove the redundant glossary; remove trailing whitespace.

This should complete the PNaCl-ization of this section.

BUG= none
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229489 0039d316-1c4b-4281-b951-d872f2087c98
Valgrind: Bump up the parallelism for webkit layout tests.

NOTRY=true
TBR=timurrrr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229490 0039d316-1c4b-4281-b951-d872f2087c98
Register only one plugin in EncryptedMediaTest.

- Only register ClearKeyCdm when we test external clear key. Only register
Widevine CDM when we test Widevine.
- Add WVEncryptedMediaTest so that we can test non-parameterized tests.

BUG=307745
TEST=none
R=ddorwin@chromium.org

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

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

- Add cdm_helper.h to hold types used by CdmWrapper.
- Add cdm_wrapper.h to separate declaration and definition.
- Rename CdmWrapper to CdmAdater to better match the binary name, which is
  "*cdmadapter.*".

BUG=306647
TEST=none
R=dalecurtis@chromium.org, ddorwin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229494 0039d316-1c4b-4281-b951-d872f2087c98
[Net] Separate out NUM_PRIORITIES from RequestPriority enum

Introduce MAXIMUM_PRIORITY instead and use this when appropriate.

This is so that one can assume that a RequestPriority instance contains
only a valid priority.

BUG=307757
R=rch@chromium.org
TBR=simonjam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229495 0039d316-1c4b-4281-b951-d872f2087c98
Teach mojo_shell how to load http URLs

After this CL, we can load content over HTTP. In order to make
that work, I needed to introduce a number of basic concepts
into the shell, including an IO thread and a directory to
store data (such as the HTTP cache).

I've tried to keep the net dependencies separated from the
bulk of the mojo_shell code because I expect we'll want to
move the net dependencies to an app that runs on top of the
Mojo platform rather than linked into the mojo_shell itself.
To that end, the mojo::loader::Loader class doesn't leak any
net headers to its clients.

The version of the loader in this CL is extremely basic. We'll
undoubtedly make it fancier as time goes on. The next step
after this CL is to store the result in a file and then load
that file as a shared object.

R=aa@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229496 0039d316-1c4b-4281-b951-d872f2087c98
NaCl: Update revision in DEPS, r12241 -> r12277

This pulls in the following Native Client changes:

r12242: (jvoung) Update LLVM rev to pull in cherrypick of 187787.
r12243: (jvoung) Update PNaCl in TOOL_REVISIONS from 12187 to 12242.
r12244: (jvoung) Bump newlib revision for PNaCl too.
r12245: (khim) Handle a case when gcl is not available
r12246: (jvoung) Update expectations for TestCondvarSignalNoOp, etc. and README for tips.
r12247: (sehr) Make trusted tests work with memcheck....
r12249: (jvoung) Update PNaCl in TOOL_REVISIONS from 12242 to 12244.
r12250: (stichnot) Don't fail early if an exclude file has a problem.
r12251: (jvoung) Turn on some PNaCl mixed / native-object tests now that TC roll finished.
r12252: (mseaborn) Unsandboxed IRT: Add missing "const" to top-level IRT interface structs
r12253: (mseaborn) Unsandboxed IRT: Implement thread+futex interfaces, and some timer interfaces
r12254: (thakis) Store result of | operator in a variable instead of just the filename.
r12255: (khim) Use as/cc/ld flags in all situations
r12256: (petarj) [MIPS] Call AddBiasForPNaCl for float_rounding_mode_test
r12257: (dschuff) Use native objects instead of bitcode objects when building the IRT in debug mode.
r12258: (mcgrathr) Call dummy AssertSameType functions to avoid unused warnings
r12259: (mcgrathr) Remove miscellaneous unused variables and functions
r12260: (stichnot) Update the known failures file, and the llvm-test-suite DEPS.
r12261: (mcgrathr) Conditionalize conditionally-used variable kNaClTempPrefixVar
r12262: (mcgrathr) Update chrome_rev in DEPS
r12264: (mcgrathr) Revert "Update chrome_rev in DEPS"
r12266: (sbc) Roll glibc revision in REVISIONS.
r12267: (jfb) Support iconv to/from UTF-{8,16,32} for newlib (NaCl and PNaCl).
r12268: (jfb) Allow our infrastructure to run libc++ tests.
r12269: (khim) Remove untracked files from git repos
r12270: (dschuff) When building Debug IRT, use -O2 instead of -O0 for the frontend
r12271: (mseaborn) Unsandboxed IRT: Pass argv and environment arrays through to user code
r12272: (stichnot) Update llvm-test-suite DEPS and known-failure lists.
r12273: (dschuff) Use parallel builds in build_nexe.py even without goma
r12274: (jvoung) Avoid passing the made-up --pnacl-* flags to clang.
r12275: (jvoung) Adjust runtime_vortex and ammp for x86-32 and x86-64.
r12276: (jfb) Test that iconv support to/from UTF-{8,16,32} for newlib (NaCl and PNaCl) works.
r12277: (thakis) Improve | logic after r12254.

BUG=none
TEST=nacl_integration

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229498 0039d316-1c4b-4281-b951-d872f2087c98
Valgrind: Widen a couple of layout test suppressions.

BUG=222883,290440
NOTRY=true
TBR=groby@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229500 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] nacl_io: Add plumbing for new IRT interfaces.

This change adds newlib wrapping for the new IRT syscalls
that were added recently.  It also adds plubming for them
through to the kernel_proxy.

BUG=307572
R=noelallen@chromium.org

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

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