Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: content/public/browser/web_contents.h

Issue 20924002: Try to restore window.opener when opening blocked popups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class WebContents : public PageNavigator, 73 class WebContents : public PageNavigator,
74 public IPC::Sender, 74 public IPC::Sender,
75 public base::SupportsUserData { 75 public base::SupportsUserData {
76 public: 76 public:
77 struct CONTENT_EXPORT CreateParams { 77 struct CONTENT_EXPORT CreateParams {
78 explicit CreateParams(BrowserContext* context); 78 explicit CreateParams(BrowserContext* context);
79 CreateParams(BrowserContext* context, SiteInstance* site); 79 CreateParams(BrowserContext* context, SiteInstance* site);
80 80
81 BrowserContext* browser_context; 81 BrowserContext* browser_context;
82 SiteInstance* site_instance; 82 SiteInstance* site_instance;
83 WebContents* opener;
83 int routing_id; 84 int routing_id;
84 int main_frame_routing_id; 85 int main_frame_routing_id;
85 86
86 // Initial size of the new WebContent's view. Can be (0, 0) if not needed. 87 // Initial size of the new WebContent's view. Can be (0, 0) if not needed.
87 gfx::Size initial_size; 88 gfx::Size initial_size;
88 89
89 // Used to specify the location context which display the new view should 90 // Used to specify the location context which display the new view should
90 // belong. This can be NULL if not needed. 91 // belong. This can be NULL if not needed.
91 gfx::NativeView context; 92 gfx::NativeView context;
92 }; 93 };
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 453
453 private: 454 private:
454 // This interface should only be implemented inside content. 455 // This interface should only be implemented inside content.
455 friend class WebContentsImpl; 456 friend class WebContentsImpl;
456 WebContents() {} 457 WebContents() {}
457 }; 458 };
458 459
459 } // namespace content 460 } // namespace content
460 461
461 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 462 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698