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

Unified Diff: content/browser/host_zoom_map_observer.h

Issue 2581143002: Maintain HostZoom connection per-frame on browser side (Closed)
Patch Set: Handle unittest 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') | content/browser/host_zoom_map_observer.cc » ('J')
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..bf277e57d7ca0eb01bd1239e2349b3eaff22a18a 100644
--- a/content/browser/host_zoom_map_observer.h
+++ b/content/browser/host_zoom_map_observer.h
@@ -22,7 +22,9 @@ class HostZoomMapObserver : private WebContentsObserver {
void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
void RenderFrameCreated(RenderFrameHost* rfh) override;
- mojom::HostZoomAssociatedPtr host_zoom_;
+ void OnConnectionError(RenderFrameHost* rfh);
+
+ 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') | content/browser/host_zoom_map_observer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698