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

Side by Side Diff: chrome/browser/ui/blocked_content/blocked_window_params.cc

Issue 1381633002: Cleanup: IWYU for browser_navigator.h and browser_navigator_params.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix merge conflict Created 5 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/ui/blocked_content/blocked_window_params.h" 5 #include "chrome/browser/ui/blocked_content/blocked_window_params.h"
6 6
7 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/ui/browser_navigator_params.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model.h"
9 #include "content/public/browser/render_process_host.h" 10 #include "content/public/browser/render_process_host.h"
10 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
11 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 12 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
12 #include "url/gurl.h" 13 #include "url/gurl.h"
13 14
14 BlockedWindowParams::BlockedWindowParams( 15 BlockedWindowParams::BlockedWindowParams(
15 const GURL& target_url, 16 const GURL& target_url,
16 const content::Referrer& referrer, 17 const content::Referrer& referrer,
17 WindowOpenDisposition disposition, 18 WindowOpenDisposition disposition,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 nav_params.window_bounds.set_y(features_.y); 53 nav_params.window_bounds.set_y(features_.y);
53 if (features_.widthSet) 54 if (features_.widthSet)
54 nav_params.window_bounds.set_width(features_.width); 55 nav_params.window_bounds.set_width(features_.width);
55 if (features_.heightSet) 56 if (features_.heightSet)
56 nav_params.window_bounds.set_height(features_.height); 57 nav_params.window_bounds.set_height(features_.height);
57 58
58 nav_params.disposition = disposition_; 59 nav_params.disposition = disposition_;
59 60
60 return nav_params; 61 return nav_params;
61 } 62 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698