Fix a crash when file chooser dialog is closed after the window is destroyed

Remove the |parent| property associated with the |dialog| to avoid a
NOT_REACHED() hit when the dialog is closed after the window is destroyed.

BUG=297877

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247362 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247362
Revert of Returning kApp window handles in GetWebViewIds to make them discoverable (https://codereview.chromium.org/115243009/)

Reason for revert:
This CL breaks some java tests on Windows (http://build.chromium.org/p/chromium.chromedriver/builders/Win7/builds/1580) and Mac (http://build.chromium.org/p/chromium.chromedriver/builders/Mac%2010.6/builds/3207).

The root cause is that "Settings" is of type "app" in chrome 33, while it is of type "background_page" for chrome 31, 32 and TOT for some  reason that is unknown to me.

I'd like to revert this CL first, because I can't find a good fix for it and also found some other problems during looking into the break (I will put up a CL that points out these problems).

Original issue's description:
> Returning kApp window handles in GetWebViewIds to make them discoverable
> 
> Previously this change caused some tests to fail but should be fixed now with  https://chromiumcodereview.appspot.com/113673003/
> 
> BUG=
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242587

TBR=frankf@chromium.org,chrisgao@chromium.org,bustamante@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247363 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247363
Show register promos at the top of the cloud print printer list

Show registration promos in the cloud print printer list, and always show them
on top regardless of when they come in.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247364 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 165865:165883

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247366 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247366
[Mac] Edit the profile name and avatar directly in the avatar bubble.

Clicking on the profile name will display a textfield, and hovering over the 
profile photo will display a custom button, which when clicked, will navigate
to the chrome://settings profile editing page.

The implementations is inspired from the views one in /chrome/browser/ui/views/profile_chooser_view.cc

Screenshots: https://docs.google.com/drawings/d/13gmNorwo9QbsZLi2UXMh7M2wkvcrvsIUuneUywuAhf0/edit?usp=sharing

BUG=324036

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247368 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247368
ChromeOS: Replace PO2TS::GetPrimaryAccountId() with SMB::GetAuthenticatedAccountId.

The functionality is the same, just moving the code to a new place.

BUG=333995

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247369 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247369
Fix duplicate condition in target base that was added in r233804.

That's where you know the gyp file is too large. :)

R=spang@chromium.org, thakis@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247370 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247370
Fix copy/paste bug where BytesTotal was used instead of BytesTransferred

BUG=337937

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247371 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247371
The issue was that the window slider was initialized and then immediately quiried if the slide was in progress. It happened to return "yes" in this case, which prevented the OverscrollNavOverlay window from being removed (at least until the user interacted with the screen).

Fixed by making sure WindowSlider::IsSlideInProgress() returns "false" if sliding has never been started.

BUG=336930

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247372 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247372
[Files.app] Call the parent constructor in the constructor of DirectoryTreeItem

DirectoryTreeItem didn't use the constructor of the parent class so it may be incompatible with the original tree.js and can't get the advantage of the tree.js (eg. a11y support). This patch has it call the constructor.

BUG=295899
TEST=manually tested
R=hirono@chromium.org

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

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