| 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/web_contents.h" | 5 #include "content/public/browser/web_contents.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "content/public/common/child_process_host.h" | 9 #include "content/public/common/child_process_host.h" |
| 10 #include "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 opener_render_frame_id(MSG_ROUTING_NONE), | 22 opener_render_frame_id(MSG_ROUTING_NONE), |
| 23 opener_suppressed(false), | 23 opener_suppressed(false), |
| 24 created_with_opener(false), | 24 created_with_opener(false), |
| 25 routing_id(MSG_ROUTING_NONE), | 25 routing_id(MSG_ROUTING_NONE), |
| 26 main_frame_routing_id(MSG_ROUTING_NONE), | 26 main_frame_routing_id(MSG_ROUTING_NONE), |
| 27 main_frame_widget_routing_id(MSG_ROUTING_NONE), | 27 main_frame_widget_routing_id(MSG_ROUTING_NONE), |
| 28 initially_hidden(false), | 28 initially_hidden(false), |
| 29 guest_delegate(nullptr), | 29 guest_delegate(nullptr), |
| 30 context(nullptr), | 30 context(nullptr), |
| 31 renderer_initiated_creation(false), | 31 renderer_initiated_creation(false), |
| 32 initialize_renderer(false) { | 32 initialize_renderer(false), |
| 33 } | 33 source_web_contents(nullptr), |
| 34 disposition(WindowOpenDisposition::UNKNOWN), |
| 35 transition(ui::PAGE_TRANSITION_LINK) {} |
| 34 | 36 |
| 35 WebContents::CreateParams::CreateParams(const CreateParams& other) = default; | 37 WebContents::CreateParams::CreateParams(const CreateParams& other) = default; |
| 36 | 38 |
| 37 WebContents::CreateParams::~CreateParams() { | 39 WebContents::CreateParams::~CreateParams() { |
| 38 } | 40 } |
| 39 | 41 |
| 40 } // namespace content | 42 } // namespace content |
| OLD | NEW |