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

Unified Diff: content/browser/host_zoom_map_observer.h

Issue 2581143002: Maintain HostZoom connection per-frame on browser side (Closed)
Patch Set: Rebase Created 4 years 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 | « no previous file | content/browser/host_zoom_map_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/host_zoom_map_observer.h
diff --git a/content/browser/host_zoom_map_observer.h b/content/browser/host_zoom_map_observer.h
index 4d0e730b86afbb398664ee5d2f3a5327716bf163..b61bad0b5f02af22ed02c6d0ac119c73dba09fae 100644
--- a/content/browser/host_zoom_map_observer.h
+++ b/content/browser/host_zoom_map_observer.h
@@ -21,8 +21,9 @@ class HostZoomMapObserver : private WebContentsObserver {
// WebContentsObserver implementation:
void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
void RenderFrameCreated(RenderFrameHost* rfh) override;
+ void RenderFrameDeleted(RenderFrameHost* rfh) override;
- mojom::HostZoomAssociatedPtr host_zoom_;
+ std::map<RenderFrameHost*, mojom::HostZoomAssociatedPtr> host_zoom_ptrs_;
};
} // namespace content
« no previous file with comments | « no previous file | content/browser/host_zoom_map_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698