[Files.app] Fix the test failure due to r232408

r232408 caused ExtensionIconManagerTest.LoadComponentExtensionResource failure
although r232408 fixed ImageLoaderTest.IsComponentExtensionResource.
This CL fixes it as well as ImageLoaderTest.IsComponentExtensionResource.

BUG=none
TEST=manually tested
NOTRY=True
R=yoshiki@chromium.org
TBR=csharp@chromium.org, yoshiki@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232447 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232447
Move Autofill keyboard listening into AutofillPopupControllerImpl

AutofillPopupDelegate is part of the core Autofill code and thus cannot
reference content::KeyboardListener. This CL eliminates keyboard listening
from the AutofillPopupDelegate API and moves the responsibility of deciding
whether AutofillPopupControllerImpl should listen for keyboard input into the
creator of AutofillPopupControllerImpl: the creator should pass
AutofillPopupControllerImpl the WebContents instance in which input should be
listened for, or NULL if it is not desired that the
AutofillPopupControllerImpl listen for keyboard input.

BUG=302499

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232448 0039d316-1c4b-4281-b951-d872f2087c98
Ensure handle_ fits in FD_SETSIZE.

Speculative attempt to diagnose stack corruption issues.

BUG=313843
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232449 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232448
[rAc OSX] Fix Autofill dialog size computations on Retina displays.

On a Retina display, passing the height CGFLOAT_MAX to NSButtonCell's
-cellSizeForBounds: results in an overflow causing the returned size to be
NaN. Since NSButtons do not support multi-line labels anyway, call sizeToFit to
determine the checkbox's size instead.

BUG=313884
TEST=Autofill dialog renders correctly on Retina display when signed in.
R=groby@chromium.org

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

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