OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ppapi/proxy/ppapi_proxy_test.h" | 5 #include "ppapi/proxy/ppapi_proxy_test.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 } | 275 } |
276 | 276 |
277 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( | 277 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( |
278 const void* logfontw) { | 278 const void* logfontw) { |
279 } | 279 } |
280 | 280 |
281 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL( | 281 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL( |
282 const std::string& url) { | 282 const std::string& url) { |
283 } | 283 } |
284 | 284 |
| 285 PP_Resource PluginProxyTestHarness::PluginDelegateMock::CreateBrowserFont( |
| 286 Connection connection, |
| 287 PP_Instance instance, |
| 288 const PP_BrowserFont_Trusted_Description& desc, |
| 289 const Preferences& prefs) { |
| 290 return 0; |
| 291 } |
| 292 |
285 // PluginProxyTest ------------------------------------------------------------- | 293 // PluginProxyTest ------------------------------------------------------------- |
286 | 294 |
287 PluginProxyTest::PluginProxyTest() : PluginProxyTestHarness(SINGLETON_GLOBALS) { | 295 PluginProxyTest::PluginProxyTest() : PluginProxyTestHarness(SINGLETON_GLOBALS) { |
288 } | 296 } |
289 | 297 |
290 PluginProxyTest::~PluginProxyTest() { | 298 PluginProxyTest::~PluginProxyTest() { |
291 } | 299 } |
292 | 300 |
293 void PluginProxyTest::SetUp() { | 301 void PluginProxyTest::SetUp() { |
294 SetUpHarness(); | 302 SetUpHarness(); |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 plugin_thread_.message_loop_proxy()->PostTask(FROM_HERE, | 583 plugin_thread_.message_loop_proxy()->PostTask(FROM_HERE, |
576 base::Bind(&RunTaskOnRemoteHarness, | 584 base::Bind(&RunTaskOnRemoteHarness, |
577 task, | 585 task, |
578 &task_complete)); | 586 &task_complete)); |
579 task_complete.Wait(); | 587 task_complete.Wait(); |
580 } | 588 } |
581 | 589 |
582 | 590 |
583 } // namespace proxy | 591 } // namespace proxy |
584 } // namespace ppapi | 592 } // namespace ppapi |
OLD | NEW |