| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include <gmock/gmock.h> | 34 #include <gmock/gmock.h> |
| 35 #include <gtest/gtest.h> | 35 #include <gtest/gtest.h> |
| 36 #include <memory> | 36 #include <memory> |
| 37 #include <string> | 37 #include <string> |
| 38 #include "core/exported/WebViewBase.h" | 38 #include "core/exported/WebViewBase.h" |
| 39 #include "core/frame/Settings.h" | 39 #include "core/frame/Settings.h" |
| 40 #include "platform/RuntimeEnabledFeatures.h" | 40 #include "platform/RuntimeEnabledFeatures.h" |
| 41 #include "platform/scroll/ScrollbarTheme.h" | 41 #include "platform/scroll/ScrollbarTheme.h" |
| 42 #include "public/platform/Platform.h" | 42 #include "public/platform/Platform.h" |
| 43 #include "public/platform/WebCachePolicy.h" |
| 43 #include "public/platform/WebMouseEvent.h" | 44 #include "public/platform/WebMouseEvent.h" |
| 44 #include "public/platform/WebString.h" | 45 #include "public/platform/WebString.h" |
| 45 #include "public/platform/WebURLRequest.h" | 46 #include "public/platform/WebURLRequest.h" |
| 46 #include "public/web/WebFrameClient.h" | 47 #include "public/web/WebFrameClient.h" |
| 47 #include "public/web/WebFrameOwnerProperties.h" | 48 #include "public/web/WebFrameOwnerProperties.h" |
| 48 #include "public/web/WebHistoryItem.h" | 49 #include "public/web/WebHistoryItem.h" |
| 49 #include "public/web/WebRemoteFrameClient.h" | 50 #include "public/web/WebRemoteFrameClient.h" |
| 50 #include "public/web/WebSettings.h" | 51 #include "public/web/WebSettings.h" |
| 51 #include "public/web/WebViewClient.h" | 52 #include "public/web/WebViewClient.h" |
| 52 | 53 |
| 53 namespace blink { | 54 namespace blink { |
| 54 | 55 |
| 55 class WebFrame; | 56 class WebFrame; |
| 56 class WebLocalFrameBase; | 57 class WebLocalFrameBase; |
| 57 class WebRemoteFrameImpl; | 58 class WebRemoteFrameImpl; |
| 58 class WebSettings; | 59 class WebSettings; |
| 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 |
| 67 // Loads a url into the specified WebFrame for testing purposes. Pumps any | 67 // Loads a url into the specified WebFrame for testing purposes. Pumps any |
| 68 // pending resource requests, as well as waiting for the threaded parser to | 68 // pending resource requests, as well as waiting for the threaded parser to |
| 69 // finish, before returning. | 69 // finish, before returning. |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 WebDOMMessageEvent) override {} | 307 WebDOMMessageEvent) override {} |
| 308 | 308 |
| 309 private: | 309 private: |
| 310 Persistent<WebRemoteFrameImpl> const frame_; | 310 Persistent<WebRemoteFrameImpl> const frame_; |
| 311 }; | 311 }; |
| 312 | 312 |
| 313 } // namespace FrameTestHelpers | 313 } // namespace FrameTestHelpers |
| 314 } // namespace blink | 314 } // namespace blink |
| 315 | 315 |
| 316 #endif // FrameTestHelpers_h | 316 #endif // FrameTestHelpers_h |
| OLD | NEW |