Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 547630 | Differences between
and this patch

Collapse All | Expand All

(-)a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp (+6 lines)
Lines 413-418 Link Here
413
    invalidateRect(rect);
413
    invalidateRect(rect);
414
}
414
}
415
415
416
void WebPluginContainerImpl::setNeedsLayout()
417
{
418
    if (m_element->layoutObject())
419
        m_element->layoutObject()->setNeedsLayout("Plugin needs layout");
420
}
421
416
void WebPluginContainerImpl::reportGeometry()
422
void WebPluginContainerImpl::reportGeometry()
417
{
423
{
418
    // We cannot compute geometry without a parent or layoutObject.
424
    // We cannot compute geometry without a parent or layoutObject.
(-)a/third_party/WebKit/Source/web/WebPluginContainerImpl.h (+1 lines)
Lines 102-107 Link Here
102
    virtual void invalidate() override;
102
    virtual void invalidate() override;
103
    virtual void invalidateRect(const WebRect&) override;
103
    virtual void invalidateRect(const WebRect&) override;
104
    virtual void scrollRect(const WebRect&) override;
104
    virtual void scrollRect(const WebRect&) override;
105
    virtual void setNeedsLayout() override;
105
    virtual void reportGeometry() override;
106
    virtual void reportGeometry() override;
106
    virtual void allowScriptObjects() override;
107
    virtual void allowScriptObjects() override;
107
    virtual void clearScriptObjects() override;
108
    virtual void clearScriptObjects() override;
(-)a/third_party/WebKit/public/web/WebPluginContainer.h (+6 lines)
Lines 63-68 Link Here
63
    virtual void invalidateRect(const WebRect&) = 0;
63
    virtual void invalidateRect(const WebRect&) = 0;
64
    virtual void scrollRect(const WebRect&) = 0;
64
    virtual void scrollRect(const WebRect&) = 0;
65
65
66
    // Causes the container to be marked as needing layout, which in turn will cause
67
    // layoutIfNeeded() to be called on any contained WebPlugin during the container's
68
    // web view's lifecycle update, and in particular before calling paint() on the
69
    // WebPlugin.
70
    virtual void setNeedsLayout() = 0;
71
66
    // Causes the container to report its current geometry via
72
    // Causes the container to report its current geometry via
67
    // WebPlugin::updateGeometry.
73
    // WebPlugin::updateGeometry.
68
    virtual void reportGeometry() = 0;
74
    virtual void reportGeometry() = 0;
(-)a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp (+5 lines)
Lines 193-198 void WebRuntimeFeatures::enablePagePopup Link Here
193
    RuntimeEnabledFeatures::setPagePopupEnabled(enable);
193
    RuntimeEnabledFeatures::setPagePopupEnabled(enable);
194
}
194
}
195
195
196
void WebRuntimeFeatures::enablePermissionsAPI(bool enable)
197
{
198
    RuntimeEnabledFeatures::setPermissionsEnabled(enable);
199
}
200
196
void WebRuntimeFeatures::enableRequestAutocomplete(bool enable)
201
void WebRuntimeFeatures::enableRequestAutocomplete(bool enable)
197
{
202
{
198
    RuntimeEnabledFeatures::setRequestAutocompleteEnabled(enable);
203
    RuntimeEnabledFeatures::setRequestAutocompleteEnabled(enable);
(-)a/third_party/WebKit/public/web/WebRuntimeFeatures.h (+2 lines)
Lines 101-106 public: Link Here
101
101
102
    BLINK_EXPORT static void enablePagePopup(bool);
102
    BLINK_EXPORT static void enablePagePopup(bool);
103
103
104
    BLINK_EXPORT static void enablePermissionsAPI(bool);
105
104
    BLINK_EXPORT static void enableRequestAutocomplete(bool);
106
    BLINK_EXPORT static void enableRequestAutocomplete(bool);
105
107
106
    BLINK_EXPORT static void enableScreenOrientation(bool);
108
    BLINK_EXPORT static void enableScreenOrientation(bool);

Return to bug 547630