Add a heuristic to try to avoid distorted aspect ratios on Mac.

The test case here is a Logitech B910 opened at 320x240.  QTKit
satisfies this request by opening at 16:9 and downscaling to 4:3, resulting
in an image that is squished (and has severe artifacts due to the low-quality
scaler used in QTKit).

This CL detects that squishing, and retries at 320x180, resulting in an image
with square pixels and no weird scaling artifacts.

BUG=303298

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232583 0039d316-1c4b-4281-b951-d872f2087c98
Extract convert_dict target from chrome.gyp.

The gyp files under chrome/ are really not well organized, kind of a mess,
so it is hard to find the right places to put things. As most of the things goes
into browser, browser_ui or common libraries, this isn't much an issue though.
But we can do better.

BUG=None
TEST=build/gyp_chromium chrome/tools/convert_dict/convert_dict.gyp
ninja -C out/Debug convert_dict
R=thestig@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232584 0039d316-1c4b-4281-b951-d872f2087c98
Add OzonePlatform initialization to CreateDesktopScreen

We need to make sure ozone is initialized before we can create the screen.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232585 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232585
cros: Allow Shift+F6 to dismiss system tray.

- Allow special menu key (Shift+F6) to dismiss system tray in keyboard
  driven OOBE.
- Move keyboard driven OOBE init code from CreateLoginDisplay to
  InitLoginWindowAndView because CreateLoginDisplay is called for sigin screen
  and it's a bit too late.

BUG=305003

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

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