Hide X11 dependencies when use_x11=0.

When using a non X11 build with Ozone, we still have dependencies on
X11. This patch tries to hide X11 and related dependencies when
use_x11=0

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251981 0039d316-1c4b-4281-b951-d872f2087c98
Refactor device scale factor on Mac and fix CoreAnimation bug

Rename some functions to be more meaningful:
- RWHVMac::scale_factor -> RWHVMac::ViewScaleFactor
- RWHVCocoa::deviceScaleFactor_ -> RWHVMac::backing_store_scale_factor
- ::ScaleFactor(NSView*) -> ScaleFactorForView(NSView*)

Move code to update the scale factor of the backing store from
being in RWHVCocoa::updateTabBackingStoreScaleFactor to be
in RWHVMac::UpdateBackingStoreScaleFactor.

Work around a bug where updating the contentsScale of a
CAOpenGLLayer that dynamically changes its isAsynchronous
property results in corruption by re-creating the CAOpenGLLayer
when a change in scale factor is detected.

BUG=245900

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251982 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251982
Fixed broken link in home page

Also updated Udacity Mobile Web Development Course link

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251983 0039d316-1c4b-4281-b951-d872f2087c98
Fixes memory leak in 149313003.

The leak was caused by the modular testing not forcing the run-and-clear of
clean-up callbacks.  This left a callback owned by the object which increment
the refcount of the object.  These callbacks should be removed and a different
method of ensuring cleanup should be employed.

Ideally we can find a way to get rid of the ref-counting on the object to avoid
this sort of issue in the future, but currently the operation manager lives on
the IO thread and the Operation must work on the FILE thread.  A sequenced task
queue or a worker may be useful.

Previous CL: https://codereview.chromium.org/149313003/

BUG=292956
BUG=337883
BUG=335404

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251984 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251984
Automated Commit: Committing new LKGM version 5499.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251985 0039d316-1c4b-4281-b951-d872f2087c98
Set correct viewport size for an out of process iframe.

This patch adds an IPC for iframe parameter initialization when it has
been swapped out for out of process rendering.

It changes where CrossProcessFrameConnector is being created because
it was being created too late; it is much more useful for it to be able
to receive messages from the swapped out frame as soon as that frame is
swapped out.

There is currently no mechanism for dynamically changing the size of an
iframe. It is not yet clear how this will be implemented in Blink.

Dependency on Blink CL: https://codereview.chromium.org/135163006/

R=creis@chromium.org, jam@chromium.org
BUG=325803

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251986 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251985
SVN changes up to revision 251986
Remove pp_ifdef from resource files in chrome/browser and chrome/renderer.

Generated using:
> git grep -l pp_ifdef | xargs sed -i "s:pp_ifdef('\([^']\+\)'):\1:g"

BUG=343235

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251987 0039d316-1c4b-4281-b951-d872f2087c98
Fix copy number counting in Files.app.

BUG=343835

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251988 0039d316-1c4b-4281-b951-d872f2087c98
Remove reserved value check in IndependentAndDisposableSamples.

Earlier versions of ISO 14496-12 indicated that the upper 2 bits of
the sample_info was reserved and must be 0. The current version of
ISO 14496-12:2012 now allows these bits to be non-zero so we need to
remove the check so the content will play. The new non-zero values are
not needed by the current code so we don't need any extra logic.

BUG=344737

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251989 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251989
[Files.app] Use util.visitURL to open the webstore link

chrome.windows.create has been obsolete and should not be used.

BUG=343317
TEST=manually tested

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251990 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251990
Center the experimental app list [ChromeOS]

This CL centers the app list for ChromeOS when the --enable-experimental-app-list flag
is on as a followup to https://codereview.chromium.org/162753002 .

BUG=344442

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251991 0039d316-1c4b-4281-b951-d872f2087c98
linux_aura: Default use_gnome_keyring% to on when use_aura=1.

BUG=342106

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251992 0039d316-1c4b-4281-b951-d872f2087c98
Implement viewporting for the out of process PDF plugin.

BUG=303491

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

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