Bugfix: Combobox: Ignore button events when disabled

Because of the transparent buttons, even if the combobox is disabled,
the user can click and show the dropdown menu. The root cause is that
the transparent button didn't follow the combobox's 'enabled/disabled'
state. This CL fixes this bug to check |enabled_| of the combobox at
ButtonPressed. On the other hand, the keyboard events are processed by
the combobox directly, so we don't have to case about them this time.

BUG=351164
TEST=views_unittests --gtest_filter=ComboboxTest.Click*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256687 0039d316-1c4b-4281-b951-d872f2087c98
Fix various issues in RedirectToFileResourceHandler.

- Handle errors in creating temporary files.
- Cancel on write failure instead of resuming. This used to work, but got
  lost in some refactoring in r142108.
- Fix the OnResponseCompleted resume logic to account for partial writes.
- Don't lose write errors which occur after OnResponseCompleted is received.
- WeakPtrFactory goes after other members.
- OnWillStart was never forwarded to downstream handlers.
- Make sure the file is closed before deleting it.

Also add a lot of machinery so we can better unit test this stack.

BUG=316634,347663
TEST=ResourceDispatcherHostTest.DownloadToFile
     ResourceDispatcherHostTest.RegisterDownloadedTempFile
     ResourceLoaderTest.RedirectToFile*
     TemporaryFileStreamTest.Basic

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256688 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 256687
Add additional information to pinning reports.

We suspect that malware might be corrupting our pinning information somehow.

BUG=none

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

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

It's only used in test code. Preparatory CL to introduce
a LOG_STRIP_PRIVATE_DATA log level, so we don't have to
break the ordering of levels.

BUG=349502

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

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