OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ | 5 #ifndef UI_BASE_WINDOW_OPEN_DISPOSITION_H_ |
6 #define WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ | 6 #define UI_BASE_WINDOW_OPEN_DISPOSITION_H_ |
7 | 7 |
8 enum WindowOpenDisposition { | 8 enum WindowOpenDisposition { |
9 UNKNOWN, | 9 UNKNOWN, |
10 SUPPRESS_OPEN, | 10 SUPPRESS_OPEN, |
11 CURRENT_TAB, | 11 CURRENT_TAB, |
12 // Indicates that only one tab with the url should exist in the same window. | 12 // Indicates that only one tab with the url should exist in the same window. |
13 SINGLETON_TAB, | 13 SINGLETON_TAB, |
14 NEW_FOREGROUND_TAB, | 14 NEW_FOREGROUND_TAB, |
15 NEW_BACKGROUND_TAB, | 15 NEW_BACKGROUND_TAB, |
16 NEW_POPUP, | 16 NEW_POPUP, |
17 NEW_WINDOW, | 17 NEW_WINDOW, |
18 SAVE_TO_DISK, | 18 SAVE_TO_DISK, |
19 OFF_THE_RECORD, | 19 OFF_THE_RECORD, |
20 IGNORE_ACTION | 20 IGNORE_ACTION |
21 }; | 21 }; |
22 | 22 |
23 #endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ | 23 #endif // UI_BASE_WINDOW_OPEN_DISPOSITION_H_ |
OLD | NEW |