Changeset 103147 in webkit
- Timestamp:
- Dec 17, 2011 9:10:41 AM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r103135 r103147 1 2011-12-17 Kenichi Ishibashi <bashi@chromium.org> 2 3 [Chromium] Implement PluginViewBase::getFormValue 4 https://bugs.webkit.org/show_bug.cgi?id=64434 5 6 Reviewed by Darin Fisher. 7 8 This patch was landed as r102873, but reverted because of Chromium Mac build failure. 9 The fix was landed as Chromium r114920. The patch should be safe to land. 10 11 No new tests. No behavior change at this time. We should add a test for PPAPI after chromium supports the feature. 12 13 * public/WebPlugin.h: Added getFormValue(). 14 * src/WebPluginContainerImpl.cpp: 15 (WebKit::WebPluginContainerImpl::getFormValue): Added. 16 * src/WebPluginContainerImpl.h: Added getFormValue(). 17 1 18 2011-12-16 James Robinson <jamesr@chromium.org> 2 19 -
trunk/Source/WebKit/chromium/public/WebPlugin.h
r102881 r103147 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
r102881 r103147 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
r102881 r103147 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.