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

Unified Diff: chrome/browser/ui/search/search_ipc_router.h

Issue 2688453002: NTP: simplify mojo connection setup (Closed)
Patch Set: Restore IsRenderedInInstantProcess check Created 3 years, 10 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
Index: chrome/browser/ui/search/search_ipc_router.h
diff --git a/chrome/browser/ui/search/search_ipc_router.h b/chrome/browser/ui/search/search_ipc_router.h
index 4339824965a9ee0c2b12c51ba55b4e7d28530187..687b1a663d3b8f44bbc4172d4ca67ad771be1f99 100644
--- a/chrome/browser/ui/search/search_ipc_router.h
+++ b/chrome/browser/ui/search/search_ipc_router.h
@@ -239,7 +239,10 @@ class SearchIPCRouter : public content::WebContentsObserver,
// Set to true, when the tab corresponding to |this| instance is active.
bool is_active_tab_;
- content::WebContentsFrameBindingSet<chrome::mojom::Instant> bindings_;
+ // Binding for the connected main frame. We only allow one frame to connect at
+ // the moment, but this could be extended to a map of connected frames, if
+ // desired.
Marc Treib 2017/02/08 10:00:36 I don't really understand what this means. The NTP
tibell 2017/02/09 03:35:28 tl;dr: this CL doesn't change any behavior, just h
Marc Treib 2017/02/09 09:30:47 Thanks for the detailed explanation! On 2017/02/0
+ mojo::AssociatedBinding<chrome::mojom::Instant> binding_;
std::unique_ptr<SearchBoxClientFactory> search_box_client_factory_;
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_ipc_router.cc » ('j') | chrome/browser/ui/search/search_ipc_router.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698