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

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

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 #ifndef CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_WINDOW_PARAMS_H_ 5 #ifndef CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_WINDOW_PARAMS_H_
6 #define CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_WINDOW_PARAMS_H_ 6 #define CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_WINDOW_PARAMS_H_
7 7
8 #include "chrome/browser/ui/browser_navigator_params.h" 8 #include "chrome/browser/ui/browser_navigator_params.h"
9 #include "content/public/common/referrer.h" 9 #include "content/public/common/referrer.h"
10 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 10 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
11 #include "ui/base/window_open_disposition.h" 11 #include "ui/base/window_open_disposition.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace content { 14 namespace content {
15 class WebContents; 15 class WebContents;
16 } // namespace content 16 } // namespace content
17 17
18 class BlockedWindowParams { 18 class BlockedWindowParams {
19 public: 19 public:
20 BlockedWindowParams(const GURL& target_url, 20 BlockedWindowParams(const GURL& target_url,
21 const content::Referrer& referrer, 21 const content::Referrer& referrer,
22 WindowOpenDisposition disposition, 22 WindowOpenDisposition disposition,
23 const blink::WebWindowFeatures& features, 23 const blink::WebWindowFeatures& features,
24 bool user_gesture, 24 bool user_gesture,
25 bool opener_suppressed, 25 bool opener_suppressed,
26 int render_process_id, 26 int render_process_id,
27 int opener_render_frame_id); 27 int opener_render_frame_id);
28 BlockedWindowParams(const BlockedWindowParams& other);
28 29
29 chrome::NavigateParams CreateNavigateParams( 30 chrome::NavigateParams CreateNavigateParams(
30 content::WebContents* web_contents) const; 31 content::WebContents* web_contents) const;
31 32
32 blink::WebWindowFeatures features() const { 33 blink::WebWindowFeatures features() const {
33 return features_; 34 return features_;
34 } 35 }
35 36
36 int opener_render_frame_id() const { 37 int opener_render_frame_id() const {
37 return opener_render_frame_id_; 38 return opener_render_frame_id_;
(...skipping 12 matching lines...) Expand all
50 content::Referrer referrer_; 51 content::Referrer referrer_;
51 WindowOpenDisposition disposition_; 52 WindowOpenDisposition disposition_;
52 blink::WebWindowFeatures features_; 53 blink::WebWindowFeatures features_;
53 bool user_gesture_; 54 bool user_gesture_;
54 bool opener_suppressed_; 55 bool opener_suppressed_;
55 int render_process_id_; 56 int render_process_id_;
56 int opener_render_frame_id_; 57 int opener_render_frame_id_;
57 }; 58 };
58 59
59 #endif // CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_WINDOW_PARAMS_H_ 60 #endif // CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_WINDOW_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698