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

Unified Diff: content/common/frame_owner_properties.cc

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/common/frame_owner_properties.h ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_owner_properties.cc
diff --git a/content/common/frame_owner_properties.cc b/content/common/frame_owner_properties.cc
index 2957fb329417da372a5b2e7c59b1855c854a4ad8..aca8709cbc09885515b032908dd4d6d66bde08d4 100644
--- a/content/common/frame_owner_properties.cc
+++ b/content/common/frame_owner_properties.cc
@@ -41,4 +41,13 @@ blink::WebFrameOwnerProperties FrameOwnerProperties::ToWebFrameOwnerProperties()
return result;
}
+bool FrameOwnerProperties::operator==(const FrameOwnerProperties& other) const {
+ return scrolling_mode == other.scrolling_mode &&
+ margin_width == other.margin_width &&
+ margin_height == other.margin_height &&
+ allow_fullscreen == other.allow_fullscreen &&
+ std::equal(delegated_permissions.begin(), delegated_permissions.end(),
+ other.delegated_permissions.begin());
+}
+
} // namespace content
« no previous file with comments | « content/common/frame_owner_properties.h ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698