Stop sending Shadow DOM nodes.

We're using iframes to render most visited and suggestions in M28. We need to wait for server side changes, so intend to merge this post-branch as a minimal fix. CL 14931003 is intended for M29 and has a more complete fix.

BUG=237863

Review URL: https://chromiumcodereview.appspot.com/14928002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202245 0039d316-1c4b-4281-b951-d872f2087c98
Views: Form validatation message bubble is closed immediately after opening.

We should show the bubble widget with Widget::ShowInactive to avoid to
take focus away from the anchor form control because the anchor form
control hides the validation message bubble when it looses focus.

BUG=242697

Review URL: https://chromiumcodereview.appspot.com/15667009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202246 0039d316-1c4b-4281-b951-d872f2087c98
Allow the IAccessible parent to be known late in the game.

In the case of a tab loading in the background, accessibility
notifications may arrive from the renderer before the tab's WebContents
is added to a WebView. In this case, the accessible parent isn't yet
known. Handle this case by allowing the RWHVA's
BrowserAccessibilityManager to be created without an accessible parent
and then receive that parent (from a WebContentsImpl) when the
WebContents is finally attached to a WebView.

BUG=242524
R=dmazzoni@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15744014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202247 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Fix credentials tests on windows.

On windows you can't open a file for reading while it is still open for writing.
This patch makes sure we close the file for writing before reading it.

BUG=243955
TEST=python tools\telemetry\run_tests Credentials
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/15778007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202248 0039d316-1c4b-4281-b951-d872f2087c98
Suppress race involving policy::BrowserPolicyConnector::CreatePolicyService

TBR=joaodasilva@chromium.org
BUG=243963

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202249 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Make telemetry faster on win7.

This makes unittests run much faster on win7. It is actually bearable now.

DNS for localhost is slow (ie. 1s per request) when ipv6 is enabled on win7.

BUG=None
TEST=python tools\telemetry\run_tests
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/15787005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202250 0039d316-1c4b-4281-b951-d872f2087c98
Android: Disable download resumption tests

BUG=215894
BUG=243823
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16022006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202251 0039d316-1c4b-4281-b951-d872f2087c98
[SPDY] Keep track of whether we have no more data to send in SpdyStream

Replace pending_send_flags_ and has_upload_data_ with send_status_, and
update/check its value as necessary.

Make SpdyStream::Send{Request,StreamData}() take a SpdySendStatus
parameter.

Remove OnSendBodyComplete()'s return value, since it's now redundant.

Rename SendRequest() and related functions to SendRequestHeaders().

Change references to "send headers" to "send request".

Fix some discovered erroneous data in tests.

BUG=243643
R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202252 0039d316-1c4b-4281-b951-d872f2087c98
Update valgrind suppressions for ConvertYUVToRGB32.

Function was recently converted from extern C to C++, signature
needed updating.

BUG=113076
TEST=none
TBR=bruening

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202253 0039d316-1c4b-4281-b951-d872f2087c98
setCookie shouldn't convert WebString to 16 bits

Previously, setCookie forced WebString to have a 16 bit backing buffer by
calling WebString::data() in the common case, that means we'd create and retain
a 16 bit version of the string in addition to the 8 bit version. We're working
to remove WebString::data() from the API because it's a memory footgun.

In profiling Mobile Gmail, this line of code triggered 50% of the remaining 16
bit upconversions (after my other in-flight changes land).

R=jamesr
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16022010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202257 0039d316-1c4b-4281-b951-d872f2087c98
Ensure that we honor settings like session restore, open a set of urls, when the ASH session is started.

We also need to ensure that if there are browsers open in the desktop, the ASH session on startup
behaves like the new window operation, i.e. a window with a blank tab.

We use the StartupBrowserCreatorImpl::Launch function to ensure that the session startup settings etc
are automatically honored. I had to plumb the desired host desktop type through a bunch of functions
in this class.

BUG=243072
R=sky@chromium.org
TEST=Should be covered with browser_tests when we get them running in ASH. This is tracked here http://code.google.com/p/chromium/issues/detail?id=179830

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

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

This class does not do any more conversion than TraceEventDataConverter
but adds unnecessary complexity.

BUG=

Review URL: https://chromiumcodereview.appspot.com/15674005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202259 0039d316-1c4b-4281-b951-d872f2087c98
Refactors header-footer ticket item out of ticket store.

BUG=

Review URL: https://chromiumcodereview.appspot.com/15781002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202260 0039d316-1c4b-4281-b951-d872f2087c98
Remove calls to deprecated no-op methods of WebSettings

R=darin

Review URL: https://chromiumcodereview.appspot.com/15338010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202261 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1518.0 to 1519.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202263 0039d316-1c4b-4281-b951-d872f2087c98
Fixed style nit in Mac code so no one else has to deal with it.

BUG=NONE

Review URL: https://chromiumcodereview.appspot.com/15758004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202265 0039d316-1c4b-4281-b951-d872f2087c98
Autofill dialog: don't save duplicate shipping addresses to Wallet.

When autofill_dialog in wallet mode, and user select "same-as-billing", avoid to save a duplicated shipping address when user already has an exact matched one in his/her wallet. This applies to both rAC and Autocheckout.

BUG=225442

Review URL: https://chromiumcodereview.appspot.com/14765013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202266 0039d316-1c4b-4281-b951-d872f2087c98
Allow sandboxed OS X processes to open /dev/urandom

Match Linux/POSIX and Windows in allowing sandboxed processes access to
OS entropy (RtlGenRandom on Win, /dev/urandom on Linux/POSIX).

BUG=242702
R=jeremy
TBR=cevans@chromium.org, piman@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15637004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202267 0039d316-1c4b-4281-b951-d872f2087c98
Supports screen rotation / ui-scaling in snapshot_aura.cc

BUG=235007,236370
TEST=covered by the new tests
R=oshima@chromium.org, sky@chromium.org, backer@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15160006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202268 0039d316-1c4b-4281-b951-d872f2087c98
Fix cross-window focus in Chrome Frame.

Text input wasn't working due to requirements of the IME/TSF machinery
that weren't being met by ExternalTabContainerWin.

* ExternalTabContainerWin now provides an implementation for
  WebContentsDelegate::WebContentsFocused that calls into its WebView's
  OnWebContentsFocused method. This mimics BrowserView, and permits
  proper focus tracking via the FocusManager.

* ExternalTabContainerWin now provides a specialization of
  DesktopRootWindowHostWin that saves and restores focus on blur/focus
  events. The stock DRWHW does this based on window activation, but this
  doesn't work for ETCW since the ETCW's DRWHW doesn't receive
  activation messages due to it being a child of an IE window rather
  than a top-level window.

* IEEventSink::SendKeys now sets focus to the renderer before sending
  key down/up messages.

BUG=241081

Review URL: https://chromiumcodereview.appspot.com/15944007

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