blob: 1898fb7beaa2778c1937d378457e017bf75b5396 (
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
|
// Copyright (c) 2011 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/browser/tab_contents/page_navigator.h"
#include "content/public/common/page_transition_types.h"
#include "webkit/glue/window_open_disposition.h"
class GURL;
OpenURLParams::OpenURLParams(
const GURL& url,
const GURL& referrer,
WindowOpenDisposition disposition,
content::PageTransition transition,
bool is_renderer_initiated)
: url(url),
referrer(referrer),
disposition(disposition),
transition(transition),
is_renderer_initiated(is_renderer_initiated) {
}
OpenURLParams::OpenURLParams()
: disposition(UNKNOWN),
transition(content::PageTransitionFromInt(0)),
is_renderer_initiated(false) {
}
OpenURLParams::~OpenURLParams() {
}
|