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 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef FrameTestHelpers_h | 31 #ifndef FrameTestHelpers_h |
32 #define FrameTestHelpers_h | 32 #define FrameTestHelpers_h |
33 | 33 |
| 34 #include <gmock/gmock.h> |
| 35 #include <gtest/gtest.h> |
| 36 #include <memory> |
| 37 #include <string> |
34 #include "core/frame/Settings.h" | 38 #include "core/frame/Settings.h" |
35 #include "platform/RuntimeEnabledFeatures.h" | 39 #include "platform/RuntimeEnabledFeatures.h" |
36 #include "platform/scroll/ScrollbarTheme.h" | 40 #include "platform/scroll/ScrollbarTheme.h" |
37 #include "public/platform/WebMouseEvent.h" | 41 #include "public/platform/WebMouseEvent.h" |
38 #include "public/platform/WebString.h" | 42 #include "public/platform/WebString.h" |
39 #include "public/platform/WebURLRequest.h" | 43 #include "public/platform/WebURLRequest.h" |
40 #include "public/web/WebFrameClient.h" | 44 #include "public/web/WebFrameClient.h" |
41 #include "public/web/WebFrameOwnerProperties.h" | 45 #include "public/web/WebFrameOwnerProperties.h" |
42 #include "public/web/WebHistoryItem.h" | 46 #include "public/web/WebHistoryItem.h" |
43 #include "public/web/WebRemoteFrameClient.h" | 47 #include "public/web/WebRemoteFrameClient.h" |
44 #include "public/web/WebSettings.h" | 48 #include "public/web/WebSettings.h" |
45 #include "public/web/WebViewClient.h" | 49 #include "public/web/WebViewClient.h" |
46 #include "web/WebViewImpl.h" | 50 #include "web/WebViewImpl.h" |
47 #include <gmock/gmock.h> | |
48 #include <gtest/gtest.h> | |
49 #include <memory> | |
50 #include <string> | |
51 | 51 |
52 namespace blink { | 52 namespace blink { |
53 | 53 |
54 class WebFrame; | 54 class WebFrame; |
55 class WebLocalFrameImpl; | 55 class WebLocalFrameImpl; |
56 class WebRemoteFrameImpl; | 56 class WebRemoteFrameImpl; |
57 class WebSettings; | 57 class WebSettings; |
58 enum class WebCachePolicy; | 58 enum class WebCachePolicy; |
59 | 59 |
60 namespace FrameTestHelpers { | 60 namespace FrameTestHelpers { |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 WebDOMMessageEvent) override {} | 277 WebDOMMessageEvent) override {} |
278 | 278 |
279 private: | 279 private: |
280 Persistent<WebRemoteFrameImpl> const m_frame; | 280 Persistent<WebRemoteFrameImpl> const m_frame; |
281 }; | 281 }; |
282 | 282 |
283 } // namespace FrameTestHelpers | 283 } // namespace FrameTestHelpers |
284 } // namespace blink | 284 } // namespace blink |
285 | 285 |
286 #endif // FrameTestHelpers_h | 286 #endif // FrameTestHelpers_h |
OLD | NEW |