Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ |
| 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 232 Delegate* delegate_; | 232 Delegate* delegate_; |
| 233 std::unique_ptr<Policy> policy_; | 233 std::unique_ptr<Policy> policy_; |
| 234 | 234 |
| 235 // Holds the number of main frame commits executed in this tab. Used by the | 235 // Holds the number of main frame commits executed in this tab. Used by the |
| 236 // SearchIPCRouter to ensure that delayed IPC replies are ignored. | 236 // SearchIPCRouter to ensure that delayed IPC replies are ignored. |
| 237 int commit_counter_; | 237 int commit_counter_; |
| 238 | 238 |
| 239 // Set to true, when the tab corresponding to |this| instance is active. | 239 // Set to true, when the tab corresponding to |this| instance is active. |
| 240 bool is_active_tab_; | 240 bool is_active_tab_; |
| 241 | 241 |
| 242 content::WebContentsFrameBindingSet<chrome::mojom::Instant> bindings_; | 242 // Binding for the connected main frame. We only allow one frame to connect at |
| 243 // the moment, but this could be extended to a map of connected frames, if | |
| 244 // 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
| |
| 245 mojo::AssociatedBinding<chrome::mojom::Instant> binding_; | |
| 243 | 246 |
| 244 std::unique_ptr<SearchBoxClientFactory> search_box_client_factory_; | 247 std::unique_ptr<SearchBoxClientFactory> search_box_client_factory_; |
| 245 | 248 |
| 246 DISALLOW_COPY_AND_ASSIGN(SearchIPCRouter); | 249 DISALLOW_COPY_AND_ASSIGN(SearchIPCRouter); |
| 247 }; | 250 }; |
| 248 | 251 |
| 249 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ | 252 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ |
| OLD | NEW |