Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index 13d1c1dd94a498e00b3e37247bae8d32f9d88d62..33450ac4a2ef22b12526ed819c59a2c6a3a43f10 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -94,14 +94,14 @@ class CONTENT_EXPORT WebContentsDelegate { |
// Creates a new tab with the already-created WebContents 'new_contents'. |
// The window for the added contents should be reparented correctly when this |
- // method returns. If |disposition| is NEW_POPUP, |initial_pos| should hold |
- // the initial position. If |was_blocked| is non-nullptr, then |*was_blocked| |
- // will be set to true if the popup gets blocked, and left unchanged |
- // otherwise. |
+ // method returns. If |disposition| is NEW_POPUP, |initial_rect| should hold |
+ // the initial position and size. If |was_blocked| is non-nullptr, then |
+ // |*was_blocked| will be set to true if the popup gets blocked, and left |
+ // unchanged otherwise. |
virtual void AddNewContents(WebContents* source, |
WebContents* new_contents, |
WindowOpenDisposition disposition, |
- const gfx::Rect& initial_pos, |
+ const gfx::Rect& initial_rect, |
bool user_gesture, |
bool* was_blocked) {} |