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

Side by Side Diff: chrome/browser/ui/search/search_ipc_router.h

Issue 2685863002: NTP: Rename mojo methods, fixing a TODO (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_ipc_router.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Called when the tab corresponding to |this| instance is activated. 168 // Called when the tab corresponding to |this| instance is activated.
169 void OnTabActivated(); 169 void OnTabActivated();
170 170
171 // Called when the tab corresponding to |this| instance is deactivated. 171 // Called when the tab corresponding to |this| instance is deactivated.
172 void OnTabDeactivated(); 172 void OnTabDeactivated();
173 173
174 // chrome::mojom::Instant: 174 // chrome::mojom::Instant:
175 void InstantSupportDetermined(int page_seq_no, 175 void InstantSupportDetermined(int page_seq_no,
176 bool supports_instant) override; 176 bool supports_instant) override;
177 void FocusOmnibox(int page_id, OmniboxFocusState state) override; 177 void FocusOmnibox(int page_id, OmniboxFocusState state) override;
178 void SearchBoxDeleteMostVisitedItem(int page_seq_no, 178 void DeleteMostVisitedItem(int page_seq_no, const GURL& url) override;
179 const GURL& url) override; 179 void UndoMostVisitedDeletion(int page_seq_no, const GURL& url) override;
180 void SearchBoxUndoMostVisitedDeletion(int page_seq_no, 180 void UndoAllMostVisitedDeletions(int page_seq_no) override;
181 const GURL& url) override;
182 void SearchBoxUndoAllMostVisitedDeletions(int page_seq_no) override;
183 void LogEvent(int page_seq_no, 181 void LogEvent(int page_seq_no,
184 NTPLoggingEventType event, 182 NTPLoggingEventType event,
185 base::TimeDelta time) override; 183 base::TimeDelta time) override;
186 void LogMostVisitedImpression(int page_seq_no, 184 void LogMostVisitedImpression(int page_seq_no,
187 int position, 185 int position,
188 ntp_tiles::NTPTileSource tile_source) override; 186 ntp_tiles::NTPTileSource tile_source) override;
189 void LogMostVisitedNavigation(int page_seq_no, 187 void LogMostVisitedNavigation(int page_seq_no,
190 int position, 188 int position,
191 ntp_tiles::NTPTileSource tile_source) override; 189 ntp_tiles::NTPTileSource tile_source) override;
192 void PasteAndOpenDropdown(int page_seq_no, 190 void PasteAndOpenDropdown(int page_seq_no,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 bool is_active_tab_; 238 bool is_active_tab_;
241 239
242 content::WebContentsFrameBindingSet<chrome::mojom::Instant> bindings_; 240 content::WebContentsFrameBindingSet<chrome::mojom::Instant> bindings_;
243 241
244 std::unique_ptr<SearchBoxClientFactory> search_box_client_factory_; 242 std::unique_ptr<SearchBoxClientFactory> search_box_client_factory_;
245 243
246 DISALLOW_COPY_AND_ASSIGN(SearchIPCRouter); 244 DISALLOW_COPY_AND_ASSIGN(SearchIPCRouter);
247 }; 245 };
248 246
249 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_ 247 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_IPC_ROUTER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_ipc_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698