Changeset 102873 in webkit
- Timestamp:
- Dec 14, 2011 7:39:51 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r102863 r102873 1 2011-12-14 Kenichi Ishibashi <bashi@chromium.org> 2 3 [Chromium] Implement PluginViewBase::getFormValue 4 https://bugs.webkit.org/show_bug.cgi?id=64434 5 6 Adds getFormValue() to WebPluginContainerImpl as an implementation of PluginViewBase::getFormValue(). 7 8 Reviewed by Darin Fisher. 9 10 No new tests. No behavior change at this time. We should add a test for PPAPI after chromium supports the feature. 11 12 * public/WebPlugin.h: Added getFormValue(). 13 * src/WebPluginContainerImpl.cpp: 14 (WebKit::WebPluginContainerImpl::getFormValue): Added. 15 * src/WebPluginContainerImpl.h: Added getFormValue(). 16 1 17 2011-12-14 Sami Kyostila <skyostil@chromium.org> 2 18 -
trunk/Source/WebKit/chromium/public/WebPlugin.h
r101224 r102873 58 58 59 59 virtual NPObject* scriptableObject() = 0; 60 61 // Returns true if the form submission value is successfully obtained 62 // from the plugin. The value would be associated with the name attribute 63 // of the corresponding object element. 64 virtual bool getFormValue(WebString&) { return false; } 60 65 61 66 virtual void paint(WebCanvas*, const WebRect&) = 0; -
trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.cpp
r102250 r102873 465 465 } 466 466 467 bool WebPluginContainerImpl::getFormValue(String& value) 468 { 469 WebString webValue; 470 if (m_webPlugin->getFormValue(webValue)) { 471 value = webValue; 472 return true; 473 } 474 return false; 475 } 476 467 477 void WebPluginContainerImpl::willDestroyPluginLoadObserver(WebPluginLoadObserver* observer) 468 478 { -
trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.h
r101035 r102873 39 39 #include <wtf/PassRefPtr.h> 40 40 #include <wtf/Vector.h> 41 #include <wtf/text/WTFString.h> 41 42 42 43 struct NPObject; … … 70 71 return adoptRef(new WebPluginContainerImpl(element, webPlugin)); 71 72 } 73 74 // PluginViewBase methods 75 virtual bool getFormValue(String&); 72 76 73 77 // Widget methods
Note: See TracChangeset
for help on using the changeset viewer.