| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "public/web/WebFrameClient.h" | 46 #include "public/web/WebFrameClient.h" |
| 47 #include "public/web/WebFrameOwnerProperties.h" | 47 #include "public/web/WebFrameOwnerProperties.h" |
| 48 #include "public/web/WebHistoryItem.h" | 48 #include "public/web/WebHistoryItem.h" |
| 49 #include "public/web/WebRemoteFrameClient.h" | 49 #include "public/web/WebRemoteFrameClient.h" |
| 50 #include "public/web/WebSettings.h" | 50 #include "public/web/WebSettings.h" |
| 51 #include "public/web/WebViewClient.h" | 51 #include "public/web/WebViewClient.h" |
| 52 | 52 |
| 53 namespace blink { | 53 namespace blink { |
| 54 | 54 |
| 55 class WebFrame; | 55 class WebFrame; |
| 56 class WebLocalFrameImpl; | 56 class WebLocalFrameBase; |
| 57 class WebRemoteFrameImpl; | 57 class WebRemoteFrameImpl; |
| 58 class WebSettings; | 58 class WebSettings; |
| 59 enum class WebCachePolicy; | 59 enum class WebCachePolicy; |
| 60 | 60 |
| 61 namespace FrameTestHelpers { | 61 namespace FrameTestHelpers { |
| 62 | 62 |
| 63 class TestWebFrameClient; | 63 class TestWebFrameClient; |
| 64 class TestWebWidgetClient; | 64 class TestWebWidgetClient; |
| 65 class TestWebViewClient; | 65 class TestWebViewClient; |
| 66 | 66 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 84 void PumpPendingRequestsForFrameToLoad(WebFrame*); | 84 void PumpPendingRequestsForFrameToLoad(WebFrame*); |
| 85 | 85 |
| 86 WebMouseEvent CreateMouseEvent(WebInputEvent::Type, | 86 WebMouseEvent CreateMouseEvent(WebInputEvent::Type, |
| 87 WebMouseEvent::Button, | 87 WebMouseEvent::Button, |
| 88 const IntPoint&, | 88 const IntPoint&, |
| 89 int modifiers); | 89 int modifiers); |
| 90 | 90 |
| 91 // Calls WebRemoteFrame::createLocalChild, but with some arguments prefilled | 91 // Calls WebRemoteFrame::createLocalChild, but with some arguments prefilled |
| 92 // with default test values (i.e. with a default |client| or |properties| and/or | 92 // with default test values (i.e. with a default |client| or |properties| and/or |
| 93 // with a precalculated |uniqueName|). | 93 // with a precalculated |uniqueName|). |
| 94 WebLocalFrameImpl* CreateLocalChild( | 94 WebLocalFrameBase* CreateLocalChild( |
| 95 WebRemoteFrame* parent, | 95 WebRemoteFrame* parent, |
| 96 const WebString& name = WebString(), | 96 const WebString& name = WebString(), |
| 97 WebFrameClient* = nullptr, | 97 WebFrameClient* = nullptr, |
| 98 WebWidgetClient* = nullptr, | 98 WebWidgetClient* = nullptr, |
| 99 WebFrame* previous_sibling = nullptr, | 99 WebFrame* previous_sibling = nullptr, |
| 100 const WebFrameOwnerProperties& = WebFrameOwnerProperties()); | 100 const WebFrameOwnerProperties& = WebFrameOwnerProperties()); |
| 101 WebRemoteFrameImpl* CreateRemoteChild(WebRemoteFrame* parent, | 101 WebRemoteFrameImpl* CreateRemoteChild(WebRemoteFrame* parent, |
| 102 WebRemoteFrameClient*, | 102 WebRemoteFrameClient*, |
| 103 const WebString& name = WebString()); | 103 const WebString& name = WebString()); |
| 104 | 104 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 WebDOMMessageEvent) override {} | 303 WebDOMMessageEvent) override {} |
| 304 | 304 |
| 305 private: | 305 private: |
| 306 Persistent<WebRemoteFrameImpl> const frame_; | 306 Persistent<WebRemoteFrameImpl> const frame_; |
| 307 }; | 307 }; |
| 308 | 308 |
| 309 } // namespace FrameTestHelpers | 309 } // namespace FrameTestHelpers |
| 310 } // namespace blink | 310 } // namespace blink |
| 311 | 311 |
| 312 #endif // FrameTestHelpers_h | 312 #endif // FrameTestHelpers_h |
| OLD | NEW |