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

Side by Side Diff: ios/chrome/browser/tabs/tab.h

Issue 2741413007: Refactoring Reload in NavigationManager and CRWWebController. (Closed)
Patch Set: Rebase and Remove DCHECK in |loadWithParams| as it has already been taken care of Created 3 years, 9 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 IOS_CHROME_BROWSER_TABS_TAB_H_ 5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_H_
6 #define IOS_CHROME_BROWSER_TABS_TAB_H_ 6 #define IOS_CHROME_BROWSER_TABS_TAB_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 - (web::NavigationManagerImpl*)navigationManagerImpl; 251 - (web::NavigationManagerImpl*)navigationManagerImpl;
252 252
253 // Update the tab's history by replacing all previous navigations with 253 // Update the tab's history by replacing all previous navigations with
254 // |navigations|. 254 // |navigations|.
255 - (void)replaceHistoryWithNavigations: 255 - (void)replaceHistoryWithNavigations:
256 (const std::vector<sessions::SerializedNavigationEntry>&)navigations 256 (const std::vector<sessions::SerializedNavigationEntry>&)navigations
257 currentIndex:(NSInteger)currentIndex; 257 currentIndex:(NSInteger)currentIndex;
258 258
259 // Navigate forwards or backwards to |item|. 259 // Navigate forwards or backwards to |item|.
260 - (void)goToItem:(const web::NavigationItem*)item; 260 - (void)goToItem:(const web::NavigationItem*)item;
261 - (void)reload;
262 261
263 // Navigates forwards or backwards. 262 // Navigates forwards or backwards.
264 // TODO(crbug.com/661664): These are passthroughs to CRWWebController. Convert 263 // TODO(crbug.com/661664): These are passthroughs to CRWWebController. Convert
265 // all callers and remove these methods. 264 // all callers and remove these methods.
266 - (void)goBack; 265 - (void)goBack;
267 - (void)goForward; 266 - (void)goForward;
268 267
269 // Records the state (scroll position, form values, whatever can be 268 // Records the state (scroll position, form values, whatever can be
270 // harvested) from the current page into the current session entry. 269 // harvested) from the current page into the current session entry.
271 - (void)recordStateInHistory; 270 - (void)recordStateInHistory;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 345
347 // Called when this tab is hidden. 346 // Called when this tab is hidden.
348 - (void)wasHidden; 347 - (void)wasHidden;
349 348
350 // Evaluates U2F result. 349 // Evaluates U2F result.
351 - (void)evaluateU2FResultFromURL:(const GURL&)url; 350 - (void)evaluateU2FResultFromURL:(const GURL&)url;
352 351
353 @end 352 @end
354 353
355 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ 354 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/geolocation/omnibox_geolocation_controller.mm ('k') | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698