| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 #if ENABLE(OILPAN) | 633 #if ENABLE(OILPAN) |
| 634 if (!m_webPlugin) | 634 if (!m_webPlugin) |
| 635 #else | 635 #else |
| 636 if (hasOneRef()) | 636 if (hasOneRef()) |
| 637 #endif | 637 #endif |
| 638 return v8::Local<v8::Object>(); | 638 return v8::Local<v8::Object>(); |
| 639 | 639 |
| 640 return object; | 640 return object; |
| 641 } | 641 } |
| 642 | 642 |
| 643 bool WebPluginContainerImpl::getFormValue(String& value) | |
| 644 { | |
| 645 WebString webValue; | |
| 646 if (m_webPlugin->getFormValue(webValue)) { | |
| 647 value = webValue; | |
| 648 return true; | |
| 649 } | |
| 650 return false; | |
| 651 } | |
| 652 | |
| 653 bool WebPluginContainerImpl::supportsKeyboardFocus() const | 643 bool WebPluginContainerImpl::supportsKeyboardFocus() const |
| 654 { | 644 { |
| 655 return m_webPlugin->supportsKeyboardFocus(); | 645 return m_webPlugin->supportsKeyboardFocus(); |
| 656 } | 646 } |
| 657 | 647 |
| 658 bool WebPluginContainerImpl::supportsInputMethod() const | 648 bool WebPluginContainerImpl::supportsInputMethod() const |
| 659 { | 649 { |
| 660 return m_webPlugin->supportsInputMethod(); | 650 return m_webPlugin->supportsInputMethod(); |
| 661 } | 651 } |
| 662 | 652 |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 959 // frame view. | 949 // frame view. |
| 960 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRec
t); | 950 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRec
t); |
| 961 } | 951 } |
| 962 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects); | 952 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects); |
| 963 // Convert to the plugin position. | 953 // Convert to the plugin position. |
| 964 for (size_t i = 0; i < cutOutRects.size(); i++) | 954 for (size_t i = 0; i < cutOutRects.size(); i++) |
| 965 cutOutRects[i].move(-frameRect().x(), -frameRect().y()); | 955 cutOutRects[i].move(-frameRect().x(), -frameRect().y()); |
| 966 } | 956 } |
| 967 | 957 |
| 968 } // namespace blink | 958 } // namespace blink |
| OLD | NEW |