1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Intentionally no include guards because this file is meant to be included
6 // inside a macro to generate enum values.
8 WINDOW_OPEN_DISPOSITION(UNKNOWN
, 0)
9 WINDOW_OPEN_DISPOSITION(SUPPRESS_OPEN
, 1)
10 WINDOW_OPEN_DISPOSITION(CURRENT_TAB
, 2)
11 // Indicates that only one tab with the url should exist in the same window.
12 WINDOW_OPEN_DISPOSITION(SINGLETON_TAB
, 3)
13 WINDOW_OPEN_DISPOSITION(NEW_FOREGROUND_TAB
, 4)
14 WINDOW_OPEN_DISPOSITION(NEW_BACKGROUND_TAB
, 5)
15 WINDOW_OPEN_DISPOSITION(NEW_POPUP
, 6)
16 WINDOW_OPEN_DISPOSITION(NEW_WINDOW
, 7)
17 WINDOW_OPEN_DISPOSITION(SAVE_TO_DISK
, 8)
18 WINDOW_OPEN_DISPOSITION(OFF_THE_RECORD
, 9)
19 WINDOW_OPEN_DISPOSITION(IGNORE_ACTION
, 10)
20 // Update when adding a new disposition.
21 WINDOW_OPEN_DISPOSITION(WINDOW_OPEN_DISPOSITION_LAST
, 10)