| 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(const GURL& url, | 9 OpenURLParams::OpenURLParams(const GURL& url, |
| 10 const Referrer& referrer, | 10 const Referrer& referrer, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 transition(transition), | 56 transition(transition), |
| 57 is_renderer_initiated(is_renderer_initiated), | 57 is_renderer_initiated(is_renderer_initiated), |
| 58 should_replace_current_entry(false), | 58 should_replace_current_entry(false), |
| 59 user_gesture(!is_renderer_initiated), | 59 user_gesture(!is_renderer_initiated), |
| 60 started_from_context_menu(false) {} | 60 started_from_context_menu(false) {} |
| 61 | 61 |
| 62 OpenURLParams::OpenURLParams() | 62 OpenURLParams::OpenURLParams() |
| 63 : uses_post(false), | 63 : uses_post(false), |
| 64 frame_tree_node_id(-1), | 64 frame_tree_node_id(-1), |
| 65 disposition(WindowOpenDisposition::UNKNOWN), | 65 disposition(WindowOpenDisposition::UNKNOWN), |
| 66 use_new_renderer_for_new_contents(false), |
| 66 transition(ui::PAGE_TRANSITION_LINK), | 67 transition(ui::PAGE_TRANSITION_LINK), |
| 67 is_renderer_initiated(false), | 68 is_renderer_initiated(false), |
| 68 should_replace_current_entry(false), | 69 should_replace_current_entry(false), |
| 69 user_gesture(true), | 70 user_gesture(true), |
| 70 started_from_context_menu(false) {} | 71 started_from_context_menu(false) {} |
| 71 | 72 |
| 72 OpenURLParams::OpenURLParams(const OpenURLParams& other) = default; | 73 OpenURLParams::OpenURLParams(const OpenURLParams& other) = default; |
| 73 | 74 |
| 74 OpenURLParams::~OpenURLParams() { | 75 OpenURLParams::~OpenURLParams() { |
| 75 } | 76 } |
| 76 | 77 |
| 77 } // namespace content | 78 } // namespace content |
| OLD | NEW |