summaryrefslogtreecommitdiff
path: root/chromium/content/public/browser/navigation_controller.cc
blob: 28abe1171a94526439c92b10167c07c8731fab0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/public/browser/navigation_controller.h"

#include "base/memory/ref_counted_memory.h"
#include "build/build_config.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/common/was_activated_option.h"

namespace content {

NavigationController::LoadURLParams::LoadURLParams(const GURL& url)
    : url(url),
      load_type(LOAD_TYPE_DEFAULT),
      transition_type(ui::PAGE_TRANSITION_LINK),
      frame_tree_node_id(RenderFrameHost::kNoFrameTreeNodeId),
      is_renderer_initiated(false),
      override_user_agent(UA_OVERRIDE_INHERIT),
      post_data(nullptr),
      can_load_local_resources(false),
      should_replace_current_entry(false),
      has_user_gesture(false),
      should_clear_history_list(false),
      started_from_context_menu(false),
      navigation_ui_data(nullptr),
      was_activated(WasActivatedOption::kUnknown),
      reload_type(ReloadType::NONE) {}

NavigationController::LoadURLParams::~LoadURLParams() {
}

}  // namespace content