New ScreenCaptureNotificationUI implementation for Cocoa

Reimplemented ScreenCaptureNotificationUICocoa to make it consisten
with the Views implementation.

BUG=190156

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227188 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227188
[rAC, OSX] Validate only enabled fields.

Un-editable fields are field by the controller with values that do not
need to be validated - skip them during validation runs.

BUG=277321
R=rsesek@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227189 0039d316-1c4b-4281-b951-d872f2087c98
Fix misuse of STL in InvalidatorRegistrar

The invocation of std::set_intersection() in InvalidatorRegistrar was
using the wrong kind of output iterator, which would lead to crashes
under some conditions (eg. valgrind).  It was technically invalid under
any conditions; we were "lucky" that it didn't crash most of the time.

BUG=304250

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

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