diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 06:36:28 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 06:36:28 +0000 |
commit | 4873c7de675554a357717ddedc1fcaca2820de19 (patch) | |
tree | cd6446547d3b9d57f634187aecb1853c5ecbc8fb /webkit/glue/window_open_disposition.h | |
parent | 3b846396a90174835320be2ff50afe8dd4e31590 (diff) | |
download | chromium_src-4873c7de675554a357717ddedc1fcaca2820de19.zip chromium_src-4873c7de675554a357717ddedc1fcaca2820de19.tar.gz chromium_src-4873c7de675554a357717ddedc1fcaca2820de19.tar.bz2 |
Reverting 20855.
Review URL: http://codereview.chromium.org/149744
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20859 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/window_open_disposition.h')
-rw-r--r-- | webkit/glue/window_open_disposition.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/glue/window_open_disposition.h b/webkit/glue/window_open_disposition.h index b3096c7..23b59c0 100644 --- a/webkit/glue/window_open_disposition.h +++ b/webkit/glue/window_open_disposition.h @@ -5,6 +5,8 @@ #ifndef WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ #define WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ +#include "webkit/api/public/WebNavigationPolicy.h" + enum WindowOpenDisposition { SUPPRESS_OPEN, CURRENT_TAB, @@ -19,4 +21,10 @@ enum WindowOpenDisposition { IGNORE_ACTION }; +// Conversion functions: +WindowOpenDisposition NavigationPolicyToDisposition( + WebKit::WebNavigationPolicy policy); +//WebKit::WebNavigationPolicy DispositionToNavigationPolicy( +// WindowOpenDisposition disposition); + #endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ |