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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webworker_impl.cc ('k') | webkit/glue/window_open_disposition.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_
6 #define WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ 6 #define WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_
7 7
8 #include "webkit/api/public/WebNavigationPolicy.h"
9
8 enum WindowOpenDisposition { 10 enum WindowOpenDisposition {
9 SUPPRESS_OPEN, 11 SUPPRESS_OPEN,
10 CURRENT_TAB, 12 CURRENT_TAB,
11 // Indicates that only one tab with the url should exist in the same window. 13 // Indicates that only one tab with the url should exist in the same window.
12 SINGLETON_TAB, 14 SINGLETON_TAB,
13 NEW_FOREGROUND_TAB, 15 NEW_FOREGROUND_TAB,
14 NEW_BACKGROUND_TAB, 16 NEW_BACKGROUND_TAB,
15 NEW_POPUP, 17 NEW_POPUP,
16 NEW_WINDOW, 18 NEW_WINDOW,
17 SAVE_TO_DISK, 19 SAVE_TO_DISK,
18 OFF_THE_RECORD, 20 OFF_THE_RECORD,
19 IGNORE_ACTION 21 IGNORE_ACTION
20 }; 22 };
21 23
24 // Conversion functions:
25 WindowOpenDisposition NavigationPolicyToDisposition(
26 WebKit::WebNavigationPolicy policy);
27 //WebKit::WebNavigationPolicy DispositionToNavigationPolicy(
28 // WindowOpenDisposition disposition);
29
22 #endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ 30 #endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_
OLDNEW
« 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