| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2012 Google Inc. All rights reserved. | 2  * Copyright (C) 2012 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 | 5  * modification, are permitted provided that the following conditions | 
| 6  * are met: | 6  * are met: | 
| 7  * 1.  Redistributions of source code must retain the above copyright | 7  * 1.  Redistributions of source code must retain the above copyright | 
| 8  *     notice, this list of conditions and the following disclaimer. | 8  *     notice, this list of conditions and the following disclaimer. | 
| 9  * 2.  Redistributions in binary form must reproduce the above copyright | 9  * 2.  Redistributions in binary form must reproduce the above copyright | 
| 10  *     notice, this list of conditions and the following disclaimer in the | 10  *     notice, this list of conditions and the following disclaimer in the | 
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 180     Node* touchNode = webViewImpl->bestTapNode(platformEvent); | 180     Node* touchNode = webViewImpl->bestTapNode(platformEvent); | 
| 181     ASSERT_TRUE(touchNode); | 181     ASSERT_TRUE(touchNode); | 
| 182 | 182 | 
| 183     webViewImpl->enableTapHighlight(platformEvent); | 183     webViewImpl->enableTapHighlight(platformEvent); | 
| 184     ASSERT_TRUE(webViewImpl->linkHighlight()); | 184     ASSERT_TRUE(webViewImpl->linkHighlight()); | 
| 185 | 185 | 
| 186     GraphicsLayer* highlightLayer = webViewImpl->linkHighlight()->currentGraphic
     sLayerForTesting(); | 186     GraphicsLayer* highlightLayer = webViewImpl->linkHighlight()->currentGraphic
     sLayerForTesting(); | 
| 187     ASSERT_TRUE(highlightLayer); | 187     ASSERT_TRUE(highlightLayer); | 
| 188     EXPECT_TRUE(highlightLayer->linkHighlight()); | 188     EXPECT_TRUE(highlightLayer->linkHighlight()); | 
| 189 | 189 | 
| 190     touchNode->remove(IGNORE_EXCEPTION_STATE); | 190     touchNode->remove(IGNORE_EXCEPTION); | 
| 191     webViewImpl->layout(); | 191     webViewImpl->layout(); | 
| 192     EXPECT_FALSE(highlightLayer->linkHighlight()); | 192     EXPECT_FALSE(highlightLayer->linkHighlight()); | 
| 193 | 193 | 
| 194     webViewImpl->close(); | 194     webViewImpl->close(); | 
| 195     Platform::current()->unitTestSupport()->unregisterAllMockedURLs(); | 195     Platform::current()->unitTestSupport()->unregisterAllMockedURLs(); | 
| 196 } | 196 } | 
| 197 | 197 | 
| 198 } // namespace | 198 } // namespace | 
| OLD | NEW | 
|---|