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

Unified Diff: content/common/swapped_out_messages.cc

Issue 1408393003: Propagate pageScaleFactor to GuestViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant initialization of AwLayoutSizer's page scale factor in tests Created 5 years, 1 month 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
Index: content/common/swapped_out_messages.cc
diff --git a/content/common/swapped_out_messages.cc b/content/common/swapped_out_messages.cc
index f937a7feac9b9baeae5ef97a429ad9424dac8eea..7980014711d57649c88d130710e36741ee185d3c 100644
--- a/content/common/swapped_out_messages.cc
+++ b/content/common/swapped_out_messages.cc
@@ -31,6 +31,8 @@ bool SwappedOutMessages::CanSendWhileSwappedOut(const IPC::Message* msg) {
case ViewHostMsg_DocumentDetached::ID:
// Allow cross-process JavaScript calls.
case ViewHostMsg_RouteCloseEvent::ID:
+ // Send page scale factor reset notification upon cross-process navigations.
+ case ViewHostMsg_PageScaleFactorChanged::ID:
// Handled by RenderFrameHost.
case FrameHostMsg_BeforeUnload_ACK::ID:
case FrameHostMsg_SwapOut_ACK::ID:

Powered by Google App Engine
This is Rietveld 408576698