| OLD | NEW |
| 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 #include "content/public/browser/page_navigator.h" | 5 #include "content/public/browser/page_navigator.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 OpenURLParams::OpenURLParams( | 9 OpenURLParams::OpenURLParams( |
| 10 const GURL& url, | 10 const GURL& url, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 disposition(disposition), | 37 disposition(disposition), |
| 38 transition(transition), | 38 transition(transition), |
| 39 is_renderer_initiated(is_renderer_initiated), | 39 is_renderer_initiated(is_renderer_initiated), |
| 40 should_replace_current_entry(false), | 40 should_replace_current_entry(false), |
| 41 user_gesture(!is_renderer_initiated) { | 41 user_gesture(!is_renderer_initiated) { |
| 42 } | 42 } |
| 43 | 43 |
| 44 OpenURLParams::OpenURLParams() | 44 OpenURLParams::OpenURLParams() |
| 45 : uses_post(false), | 45 : uses_post(false), |
| 46 frame_tree_node_id(-1), | 46 frame_tree_node_id(-1), |
| 47 disposition(UNKNOWN), | 47 disposition(WindowOpenDisposition::UNKNOWN), |
| 48 transition(ui::PAGE_TRANSITION_LINK), | 48 transition(ui::PAGE_TRANSITION_LINK), |
| 49 is_renderer_initiated(false), | 49 is_renderer_initiated(false), |
| 50 should_replace_current_entry(false), | 50 should_replace_current_entry(false), |
| 51 user_gesture(true) { | 51 user_gesture(true) {} |
| 52 } | |
| 53 | 52 |
| 54 OpenURLParams::OpenURLParams(const OpenURLParams& other) = default; | 53 OpenURLParams::OpenURLParams(const OpenURLParams& other) = default; |
| 55 | 54 |
| 56 OpenURLParams::~OpenURLParams() { | 55 OpenURLParams::~OpenURLParams() { |
| 57 } | 56 } |
| 58 | 57 |
| 59 } // namespace content | 58 } // namespace content |
| OLD | NEW |