| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "public/web/WebHelperPlugin.h" | 5 #include "public/web/WebHelperPlugin.h" |
| 6 | 6 |
| 7 #include "platform/testing/UnitTestHelpers.h" | 7 #include "platform/testing/UnitTestHelpers.h" |
| 8 #include "public/web/WebFrameClient.h" | 8 #include "public/web/WebFrameClient.h" |
| 9 #include "public/web/WebLocalFrame.h" | 9 #include "public/web/WebLocalFrame.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 TEST_F(WebHelperPluginTest, CreateFailsWithPlaceholder) | 85 TEST_F(WebHelperPluginTest, CreateFailsWithPlaceholder) |
| 86 { | 86 { |
| 87 m_frameClient.setCreatePlaceholder(true); | 87 m_frameClient.setCreatePlaceholder(true); |
| 88 | 88 |
| 89 m_plugin = adoptPtr(WebHelperPlugin::create("hello", m_helper.webView()->mai
nFrame()->toWebLocalFrame())); | 89 m_plugin = adoptPtr(WebHelperPlugin::create("hello", m_helper.webView()->mai
nFrame()->toWebLocalFrame())); |
| 90 EXPECT_EQ(0, m_plugin.get()); | 90 EXPECT_EQ(0, m_plugin.get()); |
| 91 } | 91 } |
| 92 | 92 |
| 93 } // namespace | 93 } // namespace |
| 94 | 94 |
| 95 } // namespace | 95 } // namespace blink |
| OLD | NEW |