From fba16f51d79a27b275cd858d9e888c1ace518972 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Thu, 2 Apr 2009 22:30:35 +0000 Subject: Only create one downloads tab per window. If there is already a Downloads tab, then switch to it instead of creating new one. Introduce FOCUS_SINGLETON_TAB disposition. patch by Mohamed Mansour Review URL: http://codereview.chromium.org/60062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13045 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/window_open_disposition.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'webkit/glue') diff --git a/webkit/glue/window_open_disposition.h b/webkit/glue/window_open_disposition.h index 29edccc..7f97b4c 100644 --- a/webkit/glue/window_open_disposition.h +++ b/webkit/glue/window_open_disposition.h @@ -2,12 +2,13 @@ // 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__ +#ifndef WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ +#define WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ enum WindowOpenDisposition { SUPPRESS_OPEN, CURRENT_TAB, + SINGLETON_TAB, NEW_FOREGROUND_TAB, NEW_BACKGROUND_TAB, NEW_POPUP, @@ -17,4 +18,4 @@ enum WindowOpenDisposition { IGNORE_ACTION }; -#endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H__ +#endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ -- cgit v1.1