Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: webkit/glue/window_open_disposition.h

Issue 149620: Use WebWidget from the WebKit API. This change also makes... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webworker_impl.cc ('k') | webkit/glue/window_open_disposition.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/window_open_disposition.h
===================================================================
--- webkit/glue/window_open_disposition.h (revision 20851)
+++ webkit/glue/window_open_disposition.h (working copy)
@@ -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 @@
IGNORE_ACTION
};
+// Conversion functions:
+WindowOpenDisposition NavigationPolicyToDisposition(
+ WebKit::WebNavigationPolicy policy);
+//WebKit::WebNavigationPolicy DispositionToNavigationPolicy(
+// WindowOpenDisposition disposition);
+
#endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_
« no previous file with comments | « webkit/glue/webworker_impl.cc ('k') | webkit/glue/window_open_disposition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698