Merge revision 1093 changes:

- Fix popup window behavioral errors introduced by revision 1085 changes (issue #816).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1364@1094 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-02-09 22:39:04 +00:00
parent e1011d563f
commit d8e9606e8c
19 changed files with 270 additions and 317 deletions

View File

@@ -44,9 +44,9 @@ class CefContentBrowserClient : public content::ContentBrowserClient {
// these methods.
// During popup window creation there is a race between the call to
// CefBrowserMessageFilter::OnGetNewBrowserInfo on the IO thread and the call
// to CefBrowserHostImpl::WebContentsCreated on the UI thread. To resolve this
// race CefBrowserInfo may be created when requested for the first time and
// before the associated CefBrowserHostImpl is created.
// to CefBrowserHostImpl::ShouldCreateWebContents on the UI thread. To resolve
// this race CefBrowserInfo may be created when requested for the first time
// and before the associated CefBrowserHostImpl is created.
scoped_refptr<CefBrowserInfo> CreateBrowserInfo();
scoped_refptr<CefBrowserInfo> GetOrCreateBrowserInfo(int render_process_id,
int render_view_id);
@@ -93,7 +93,8 @@ class CefContentBrowserClient : public content::ContentBrowserClient {
// Store additional state from the ViewHostMsg_CreateWindow message that will
// be used when CanCreateWindow() is called.
struct LastCreateWindowParams {
int opener_id;
int opener_process_id;
int opener_view_id;
int64 opener_frame_id;
GURL target_url;
string16 target_frame_name;