Create hosted apps from any website for streamlined hosted apps.

This CL replaces the "Create application shortcuts" button in
Wrench Menu > Tools with "Create app for this website" for the
streamlined hosted app experience.

Rather than creating shortcuts, this button creates a hosted
app that points to the website. From there, the user can right click
the hosted app and press "Create shortcuts" if they wish.

BUG=

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235012

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235623 0039d316-1c4b-4281-b951-d872f2087c98
Fix debug build when enable_plugins==0

There's lots of link errors in debug builds with enable_plugins==0:

../../content/browser/loader/buffered_resource_handler.cc:441: error: undefined reference to 'content::PluginServiceImpl::GetInstance()'
../../content/browser/renderer_host/render_message_filter.cc:666: error: undefined reference to 'content::PluginServiceImpl::GetInstance()'
../../content/browser/renderer_host/render_message_filter.cc:671: error: undefined reference to 'content::PluginServiceImpl::GetInstance()'
../../content/browser/renderer_host/render_message_filter.cc:679: error: undefined reference to 'content::PluginServiceImpl::GetInstance()'
../../content/browser/renderer_host/render_message_filter.cc:727: error: undefined reference to 'content::PluginServiceImpl::OpenChannelToNpapiPlugin(int, int, GURL const&, GURL const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, content::PluginProc
essHost::Client*)'
../../content/browser/renderer_host/render_message_filter.cc:737: error: undefined reference to 'content::PluginServiceImpl::OpenChannelToPpapiPlugin(int, base::FilePath const&, base::FilePath const&, content::PpapiPluginProcessHost::PluginClient*)'
../../content/browser/renderer_host/render_message_filter.cc:759: error: undefined reference to 'content::BrowserPpapiHostImpl::AddInstance(int, content::PepperRendererInstanceData const&)'
../../content/browser/renderer_host/render_message_filter.cc:762: error: undefined reference to 'content::PpapiPluginProcessHost::DidCreateOutOfProcessInstance(int, int, content::PepperRendererInstanceData const&)'
../../content/browser/renderer_host/render_message_filter.cc:776: error: undefined reference to 'content::BrowserPpapiHostImpl::DeleteInstance(int)'
../../content/browser/renderer_host/render_message_filter.cc:779: error: undefined reference to 'content::PpapiPluginProcessHost::DidDeleteOutOfProcessInstance(int, int)'
../../content/browser/renderer_host/render_message_filter.cc:789: error: undefined reference to 'content::PluginServiceImpl::OpenChannelToPpapiBroker(int, base::FilePath const&, content::PpapiPluginProcessHost::BrokerClient*)'
../../content/child/npapi/npobject_util.cc:131: error: undefined reference to 'content::PluginHost::Singleton()'
../../content/child/npapi/npobject_util.cc:131: error: undefined reference to 'content::PluginHost::PatchNPNetscapeFuncs(_NPNetscapeFuncs*)'

These do not occur in release builds because the dead code containing
these references is removed.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235624 0039d316-1c4b-4281-b951-d872f2087c98
Allow Graphics2D stretch the plugin contents when resizing the plugin.

When a plugin element is resized, the new size is asynchronously sent from the
renderer to the plugin process. There is a delay between the plugin
being resized and a new plugin frame being drawn by the plugin. The current
behavior is to leave the current frame on the screen until a new frame is
received. This results in a flickering effect while the plugin draws the new
frame.

Many plugins stretch their contents to fill the given plugin element. With this
change, plugins have the option to allow the last frame painted to the renderer
to be stretched in proportion to
how much a plugin element has changed in size since it received its last
Flush(). This eliminates the flickering effect in these cases.

The setting is provided under a PPB_Graphics2D_Dev SetResizeMode function.

BUG=
R=piman@chromium.org, tsepez@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235625 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 235625
Remove blacklisting of Mac OS 10.6 and 10.7.

Add blacklisting of VMWare driver on 10.7 because it hangs.

Disable compositing expectation test on 10.7 because it will
give different results depending on whether it is running on
a VM or real hardware.

TBR=vangelis
BUG=266186

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235626 0039d316-1c4b-4281-b951-d872f2087c98
Remove deleted frames from PasswordAutofillAgent::provisionally_saved_forms_

In PasswordAutofillAgent::provisionally_saved_forms_ frames which might have been deleted were referenced as keys.

This CL checks for a frame being deleted and removes the item from the above map, which has that frame as key.

An alternative would be to never dereference such pointers to frames. At that point we should consider dropping them from the map entirely.

BUG=318966,282522

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

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