Line [1] tries to configure HD on the camera while opening it. Older
cameras have no HD and this line causes an error in the whole opening,
while it shouldn't since the configuration has happened OK and the client
might like to use a VGA or smaller resolution.

Solution: Like in Qtkit implementation, do not force any by-default resolution 
nor framerate.

(video_capture_device_mac.mm is anyway going to configure explicitly the
resolution and frame rate later on in the execution path; [2] for VGA
or smaller resolutions.)


[1] https://code.google.com/p/chromium/codesearch#chromium/src/media/video/capture/mac/video_capture_device_avfoundation_mac.mm&sq=package:chromium&l=117
[2] https://code.google.com/p/chromium/codesearch#chromium/src/media/video/capture/mac/video_capture_device_mac.mm&sq=package:chromium&l=170

BUG=328096, 288562

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240679 0039d316-1c4b-4281-b951-d872f2087c98
Revert 240536 "Mac-specific implementation of the GlobalShortcut..."

Reason for revert: patch suspected of causing flakiness on
tests EventUtilsTest.TestEventFlagsFromNSEvent and
EventUtilsTest.TestWindowOpenDispositionFromNSEvent on mac10.6 and
mac 10.8 (ui_unit_tests on chromium.webkit waterfall)

> Mac-specific implementation of the GlobalShortcutListener class that
> listens for global shortcuts. Handles basic keyboard intercepting and
> forwards its output to the base class for processing.
> 
> Adds two things:
> 1. Intercepts media keys. Uses an event tap for intercepting media keys
> (PlayPause, NextTrack, PreviousTrack).
> 2. Binds keyboard shortcuts (hot keys). Carbon RegisterEventHotKey API for
> binding to non-media key global hot keys (eg. Command-Shift-1).
> 
> Also added Mac tests.
> 
> BUG=302437
> 
> Review URL: https://codereview.chromium.org/60353008

TBR=smus@chromium.org

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

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