| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 #include "platform/scroll/ScrollbarTestSuite.h" | 98 #include "platform/scroll/ScrollbarTestSuite.h" |
| 99 #include "platform/scroll/ScrollbarTheme.h" | 99 #include "platform/scroll/ScrollbarTheme.h" |
| 100 #include "platform/scroll/ScrollbarThemeMock.h" | 100 #include "platform/scroll/ScrollbarThemeMock.h" |
| 101 #include "platform/scroll/ScrollbarThemeOverlayMock.h" | 101 #include "platform/scroll/ScrollbarThemeOverlayMock.h" |
| 102 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" | 102 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" |
| 103 #include "platform/testing/URLTestHelpers.h" | 103 #include "platform/testing/URLTestHelpers.h" |
| 104 #include "platform/testing/UnitTestHelpers.h" | 104 #include "platform/testing/UnitTestHelpers.h" |
| 105 #include "platform/weborigin/KURLHash.h" | 105 #include "platform/weborigin/KURLHash.h" |
| 106 #include "platform/weborigin/SchemeRegistry.h" | 106 #include "platform/weborigin/SchemeRegistry.h" |
| 107 #include "platform/weborigin/SecurityOrigin.h" | 107 #include "platform/weborigin/SecurityOrigin.h" |
| 108 #include "platform/wtf/Forward.h" |
| 109 #include "platform/wtf/PtrUtil.h" |
| 110 #include "platform/wtf/dtoa/utils.h" |
| 108 #include "public/platform/Platform.h" | 111 #include "public/platform/Platform.h" |
| 109 #include "public/platform/WebCache.h" | 112 #include "public/platform/WebCache.h" |
| 110 #include "public/platform/WebCachePolicy.h" | 113 #include "public/platform/WebCachePolicy.h" |
| 111 #include "public/platform/WebClipboard.h" | 114 #include "public/platform/WebClipboard.h" |
| 112 #include "public/platform/WebFloatRect.h" | 115 #include "public/platform/WebFloatRect.h" |
| 113 #include "public/platform/WebMockClipboard.h" | 116 #include "public/platform/WebMockClipboard.h" |
| 114 #include "public/platform/WebSecurityOrigin.h" | 117 #include "public/platform/WebSecurityOrigin.h" |
| 115 #include "public/platform/WebThread.h" | 118 #include "public/platform/WebThread.h" |
| 116 #include "public/platform/WebURL.h" | 119 #include "public/platform/WebURL.h" |
| 117 #include "public/platform/WebURLLoaderClient.h" | 120 #include "public/platform/WebURLLoaderClient.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 145 #include "testing/gtest/include/gtest/gtest.h" | 148 #include "testing/gtest/include/gtest/gtest.h" |
| 146 #include "v8/include/v8.h" | 149 #include "v8/include/v8.h" |
| 147 #include "web/TextFinder.h" | 150 #include "web/TextFinder.h" |
| 148 #include "web/WebLocalFrameImpl.h" | 151 #include "web/WebLocalFrameImpl.h" |
| 149 #include "web/WebRemoteFrameImpl.h" | 152 #include "web/WebRemoteFrameImpl.h" |
| 150 #include "web/WebViewImpl.h" | 153 #include "web/WebViewImpl.h" |
| 151 #include "web/tests/FrameTestHelpers.h" | 154 #include "web/tests/FrameTestHelpers.h" |
| 152 #include "web/tests/sim/SimDisplayItemList.h" | 155 #include "web/tests/sim/SimDisplayItemList.h" |
| 153 #include "web/tests/sim/SimRequest.h" | 156 #include "web/tests/sim/SimRequest.h" |
| 154 #include "web/tests/sim/SimTest.h" | 157 #include "web/tests/sim/SimTest.h" |
| 155 #include "wtf/Forward.h" | |
| 156 #include "wtf/PtrUtil.h" | |
| 157 #include "wtf/dtoa/utils.h" | |
| 158 | 158 |
| 159 using blink::URLTestHelpers::toKURL; | 159 using blink::URLTestHelpers::toKURL; |
| 160 using blink::testing::runPendingTasks; | 160 using blink::testing::runPendingTasks; |
| 161 using testing::ElementsAre; | 161 using testing::ElementsAre; |
| 162 using testing::Mock; | 162 using testing::Mock; |
| 163 using testing::_; | 163 using testing::_; |
| 164 | 164 |
| 165 namespace blink { | 165 namespace blink { |
| 166 | 166 |
| 167 ::std::ostream& operator<<(::std::ostream& os, const WebFloatSize& size) { | 167 ::std::ostream& operator<<(::std::ostream& os, const WebFloatSize& size) { |
| (...skipping 11462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11630 FrameTestHelpers::loadFrame(localFrame, "data:text/html,some page"); | 11630 FrameTestHelpers::loadFrame(localFrame, "data:text/html,some page"); |
| 11631 | 11631 |
| 11632 // Local frame with remote parent should have transparent baseBackgroundColor. | 11632 // Local frame with remote parent should have transparent baseBackgroundColor. |
| 11633 Color color = localFrame->frameView()->baseBackgroundColor(); | 11633 Color color = localFrame->frameView()->baseBackgroundColor(); |
| 11634 EXPECT_EQ(Color::transparent, color); | 11634 EXPECT_EQ(Color::transparent, color); |
| 11635 | 11635 |
| 11636 view->close(); | 11636 view->close(); |
| 11637 } | 11637 } |
| 11638 | 11638 |
| 11639 } // namespace blink | 11639 } // namespace blink |
| OLD | NEW |