| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "core/frame/LocalDOMWindow.h" | 30 #include "core/frame/LocalDOMWindow.h" |
| 31 #include "core/loader/FrameLoaderTypes.h" | 31 #include "core/loader/FrameLoaderTypes.h" |
| 32 #include "core/loader/NavigationPolicy.h" | 32 #include "core/loader/NavigationPolicy.h" |
| 33 #include "platform/wtf/text/WTFString.h" | 33 #include "platform/wtf/text/WTFString.h" |
| 34 | 34 |
| 35 // To avoid conflicts with the CreateWindow macro from the Windows SDK... | 35 // To avoid conflicts with the CreateWindow macro from the Windows SDK... |
| 36 #undef CreateWindow | 36 #undef CreateWindow |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 class ExceptionState; |
| 39 class LocalFrame; | 40 class LocalFrame; |
| 40 struct FrameLoadRequest; | 41 struct FrameLoadRequest; |
| 41 struct WindowFeatures; | 42 struct WindowFeatures; |
| 42 | 43 |
| 43 DOMWindow* CreateWindow(const String& url_string, | 44 DOMWindow* CreateWindow(const String& url_string, |
| 44 const AtomicString& frame_name, | 45 const AtomicString& frame_name, |
| 45 const WindowFeatures&, | 46 const WindowFeatures&, |
| 46 LocalDOMWindow& calling_window, | 47 LocalDOMWindow& calling_window, |
| 47 LocalFrame& first_frame, | 48 LocalFrame& first_frame, |
| 48 LocalFrame& opener_frame); | 49 LocalFrame& opener_frame, |
| 50 ExceptionState&); |
| 49 | 51 |
| 50 void CreateWindowForRequest(const FrameLoadRequest&, | 52 void CreateWindowForRequest(const FrameLoadRequest&, |
| 51 LocalFrame& opener_frame, | 53 LocalFrame& opener_frame, |
| 52 NavigationPolicy); | 54 NavigationPolicy); |
| 53 | 55 |
| 54 } // namespace blink | 56 } // namespace blink |
| 55 | 57 |
| 56 #endif // CreateWindow_h | 58 #endif // CreateWindow_h |
| OLD | NEW |