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

Side by Side Diff: webkit/glue/window_open_disposition.h

Issue 11798003: Move NavigationPolicyToDisposition() function into render_view_impl.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 11 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/webkit_glue.gypi ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h "
9 #include "webkit/glue/webkit_glue_export.h"
10
11 enum WindowOpenDisposition { 8 enum WindowOpenDisposition {
12 UNKNOWN, 9 UNKNOWN,
13 SUPPRESS_OPEN, 10 SUPPRESS_OPEN,
14 CURRENT_TAB, 11 CURRENT_TAB,
15 // Indicates that only one tab with the url should exist in the same window. 12 // Indicates that only one tab with the url should exist in the same window.
16 SINGLETON_TAB, 13 SINGLETON_TAB,
17 NEW_FOREGROUND_TAB, 14 NEW_FOREGROUND_TAB,
18 NEW_BACKGROUND_TAB, 15 NEW_BACKGROUND_TAB,
19 NEW_POPUP, 16 NEW_POPUP,
20 NEW_WINDOW, 17 NEW_WINDOW,
21 SAVE_TO_DISK, 18 SAVE_TO_DISK,
22 OFF_THE_RECORD, 19 OFF_THE_RECORD,
23 IGNORE_ACTION 20 IGNORE_ACTION
24 }; 21 };
25 22
26 // Conversion function:
27 WEBKIT_GLUE_EXPORT WindowOpenDisposition NavigationPolicyToDisposition(
28 WebKit::WebNavigationPolicy policy);
29
30 #endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_ 23 #endif // WEBKIT_GLUE_WINDOW_OPEN_DISPOSITION_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/glue/window_open_disposition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698