blob: c9bfa0a847b0e1874e195b685dc513903e1f0569 [file] [log] [blame]
// Copyright (c) 2006-2008 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.
#ifndef WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_
#define WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_
#include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h"
enum WindowOpenDisposition {
SUPPRESS_OPEN,
CURRENT_TAB,
// Indicates that only one tab with the url should exist in the same window.
SINGLETON_TAB,
NEW_FOREGROUND_TAB,
NEW_BACKGROUND_TAB,
NEW_POPUP,
NEW_WINDOW,
SAVE_TO_DISK,
OFF_THE_RECORD,
IGNORE_ACTION
};
// Conversion function:
WindowOpenDisposition NavigationPolicyToDisposition(
WebKit::WebNavigationPolicy policy);
#endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_