Index: ui/base/window_open_disposition.h |
diff --git a/ui/base/window_open_disposition.h b/ui/base/window_open_disposition.h |
index 2f2edd362fceaad6c98a11b547a5b646c6595ed5..6eab62bb61c2c2c6ae603596e671093ea5f37c4d 100644 |
--- a/ui/base/window_open_disposition.h |
+++ b/ui/base/window_open_disposition.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
sky
2013/08/06 14:20:08
You don't need to update copyright year.
|
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -8,18 +8,11 @@ |
#include "ui/base/ui_export.h" |
enum WindowOpenDisposition { |
- UNKNOWN, |
- 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 |
+ |
+#define WINDOW_OPEN_DISPOSITION(label, value) label = value, |
+#include "window_open_disposition_list.h" |
+#undef WINDOW_OPEN_DISPOSITION |
+ |
}; |
namespace ui { |