Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Unified Diff: content/common/frame_owner_properties.h

Issue 2156883002: Use content::FrameOwnerProperties instead of blink::WebFrameOwnerProperties in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-delegation-frame-owner-properties
Patch Set: Use this everywhere Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/common/frame_owner_properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/common/frame_owner_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698