Don't try to load a plugin after the webview plugin is gone

BUG=334082
R=bauerb@chromium.org,inferno@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244754 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244754
Remove unused typedef in base/bind.h

Remove unused typedef in base/bind.h to fix TestShell build with gcc 4.8.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244755 0039d316-1c4b-4281-b951-d872f2087c98
This is part 1 of implemeting phantom windows for the window controls when using --ash-enable-alternate-caption-button

Other notable changes:
- Switched to using layer animations instead of gfx::SlideAnimation
- Renamed PhantomWindowController::phantom_widget_ and PhantomWindowController::phantom_widget_start_ to PhantomWindowController::phantom_widget_in_target_root_ and PhantomWindowController::phantom_widget_in_start_root_ respectively.
- Removed PhantomWindowController::Hide(). Hiding the phantom window can now only be done via destroying the PhantomWindowController

BUG=328930
TEST=PhantomWindowControllerTest.*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244756 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] Allow O_CREAT for extant /dev/ files.

Previously, calling fopen on /dev/null (among others) with modes w, a,
w+ or a+ would supply the flag O_CREAT to the Open call on the node.
Even if the node existed, this would result in EINVAL being returned.
This change enables O_CREAT to be supplied as long as the node exists.

R=binji@chromium.org, sbc@chromium.org
BUG=333474

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

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