| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2010, 2011, 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 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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 { | 526 { |
| 527 m_editCommandName.clear(); | 527 m_editCommandName.clear(); |
| 528 m_editCommandValue.clear(); | 528 m_editCommandValue.clear(); |
| 529 } | 529 } |
| 530 | 530 |
| 531 void WebViewHost::setGamepadData(const WebGamepads& pads) | 531 void WebViewHost::setGamepadData(const WebGamepads& pads) |
| 532 { | 532 { |
| 533 webkit_support::SetGamepadData(pads); | 533 webkit_support::SetGamepadData(pads); |
| 534 } | 534 } |
| 535 | 535 |
| 536 void WebViewHost::setDeviceMotionHandler(WebDeviceMotionHandler* handler) |
| 537 { |
| 538 webkit_support::SetDeviceMotionHandler(handler); |
| 539 } |
| 540 |
| 536 void WebViewHost::printMessage(const std::string& message) | 541 void WebViewHost::printMessage(const std::string& message) |
| 537 { | 542 { |
| 538 printf("%s", message.c_str()); | 543 printf("%s", message.c_str()); |
| 539 } | 544 } |
| 540 | 545 |
| 541 void WebViewHost::postTask(WebTask* task) | 546 void WebViewHost::postTask(WebTask* task) |
| 542 { | 547 { |
| 543 ::postTask(task); | 548 ::postTask(task); |
| 544 } | 549 } |
| 545 | 550 |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1003 webView()->willExitFullScreen(); | 1008 webView()->willExitFullScreen(); |
| 1004 webView()->didExitFullScreen(); | 1009 webView()->didExitFullScreen(); |
| 1005 } | 1010 } |
| 1006 | 1011 |
| 1007 webkit_support::TestMediaStreamClient* WebViewHost::testMediaStreamClient() | 1012 webkit_support::TestMediaStreamClient* WebViewHost::testMediaStreamClient() |
| 1008 { | 1013 { |
| 1009 if (!m_testMediaStreamClient.get()) | 1014 if (!m_testMediaStreamClient.get()) |
| 1010 m_testMediaStreamClient = adoptPtr(new webkit_support::TestMediaStreamCl
ient()); | 1015 m_testMediaStreamClient = adoptPtr(new webkit_support::TestMediaStreamCl
ient()); |
| 1011 return m_testMediaStreamClient.get(); | 1016 return m_testMediaStreamClient.get(); |
| 1012 } | 1017 } |
| OLD | NEW |