OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const WindowFeatures&, | 46 const WindowFeatures&, |
47 LocalDOMWindow& calling_window, | 47 LocalDOMWindow& calling_window, |
48 LocalFrame& first_frame, | 48 LocalFrame& first_frame, |
49 LocalFrame& opener_frame, | 49 LocalFrame& opener_frame, |
50 ExceptionState&); | 50 ExceptionState&); |
51 | 51 |
52 void CreateWindowForRequest(const FrameLoadRequest&, | 52 void CreateWindowForRequest(const FrameLoadRequest&, |
53 LocalFrame& opener_frame, | 53 LocalFrame& opener_frame, |
54 NavigationPolicy); | 54 NavigationPolicy); |
55 | 55 |
| 56 // Exposed for testing |
| 57 CORE_EXPORT NavigationPolicy |
| 58 EffectiveNavigationPolicy(NavigationPolicy, |
| 59 const WebInputEvent* current_event, |
| 60 bool toolbar_visible); |
| 61 |
56 } // namespace blink | 62 } // namespace blink |
57 | 63 |
58 #endif // CreateWindow_h | 64 #endif // CreateWindow_h |
OLD | NEW |