Index: content/common/frame_owner_properties.h |
diff --git a/content/common/frame_owner_properties.h b/content/common/frame_owner_properties.h |
index d1a54de060cd26e85143bdf2e16045b46d219028..12325a9483fc9f0e8b5f02bbdb34c848778baeb4 100644 |
--- a/content/common/frame_owner_properties.h |
+++ b/content/common/frame_owner_properties.h |
@@ -7,6 +7,7 @@ |
#include <vector> |
+#include "content/common/content_export.h" |
#include "third_party/WebKit/public/platform/modules/permissions/WebPermissionType.h" |
#include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
@@ -15,7 +16,7 @@ namespace content { |
// Used for IPC transport of WebFrameOwnerProperties. WebFrameOwnerProperties |
// can't be used directly as it contains a WebVector which doesn't have |
// ParamTraits defined. |
-struct FrameOwnerProperties { |
+struct CONTENT_EXPORT FrameOwnerProperties { |
FrameOwnerProperties(); |
FrameOwnerProperties(const FrameOwnerProperties& other); |
explicit FrameOwnerProperties( |
@@ -24,6 +25,11 @@ struct FrameOwnerProperties { |
blink::WebFrameOwnerProperties ToWebFrameOwnerProperties() const; |
+ bool operator==(const FrameOwnerProperties& other) const; |
+ bool operator!=(const FrameOwnerProperties& other) const { |
+ return !(*this == other); |
+ } |
+ |
blink::WebFrameOwnerProperties::ScrollingMode scrolling_mode; |
int margin_width; |
int margin_height; |