Fix cast.gyp to avoid empty targets

cast.gyp contains targets without source file. These are not valid targets for
MSVC and XCode. Avoid these targets to allow building of cast_unittest.

R=hubbe@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226607 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226607
PNaCl SDK docs: Update native-client-modules and application-structure
to reflect current examples.

native-client-modules.rst has no PNaCl-specific information and is
updated to say so. The tutorial example is redundant in the two pages,
but at least it now correctly reflects the current SDK examples

R=sbc@chromium.org, eliben@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3634
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226608 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226608
Ensure that in Desktop AURA the WindowModalityController class is at the head of the event pre target handlers list.

This ensures that it handles input events first when modal windows are at the top of the Zorder.

This logic has been added to the DesktopNativeWidgetAura::InstallWindowModalityController function which is called by the
DesktopRootWindowHost implementations on windows and linux when the root window is created.

The logic in ash shell.cc has also been changed to instantiate the WindowModalityController object at the beginning. The
class WindowModalityController now takes the EventTarget as an argument in its ctor and adds itself to the pre target
list. Added a DCHECK here to check if the pre target list in the EventTarget is empty. The WindowModalityController removes
itself from the pre target list in its dtor.

BUG=299662
R=sky@chromium.org, sky
TEST=Covered by Desktop AURA widget test WindowMouseModalityTest

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

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