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

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

Issue 2741413007: Refactoring Reload in NavigationManager and CRWWebController. (Closed)
Patch Set: fixed more check_for_repost errors 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 - (web::NavigationManagerImpl*)navigationManagerImpl; 248 - (web::NavigationManagerImpl*)navigationManagerImpl;
249 249
250 // Update the tab's history by replacing all previous navigations with 250 // Update the tab's history by replacing all previous navigations with
251 // |navigations|. 251 // |navigations|.
252 - (void)replaceHistoryWithNavigations: 252 - (void)replaceHistoryWithNavigations:
253 (const std::vector<sessions::SerializedNavigationEntry>&)navigations 253 (const std::vector<sessions::SerializedNavigationEntry>&)navigations
254 currentIndex:(NSInteger)currentIndex; 254 currentIndex:(NSInteger)currentIndex;
255 255
256 // Navigate forwards or backwards to |item|. 256 // Navigate forwards or backwards to |item|.
257 - (void)goToItem:(const web::NavigationItem*)item; 257 - (void)goToItem:(const web::NavigationItem*)item;
258 - (void)reload;
259 258
260 // Navigates forwards or backwards. 259 // Navigates forwards or backwards.
261 // TODO(crbug.com/661664): These are passthroughs to CRWWebController. Convert 260 // TODO(crbug.com/661664): These are passthroughs to CRWWebController. Convert
262 // all callers and remove these methods. 261 // all callers and remove these methods.
263 - (void)goBack; 262 - (void)goBack;
264 - (void)goForward; 263 - (void)goForward;
265 264
266 // Records the state (scroll position, form values, whatever can be 265 // Records the state (scroll position, form values, whatever can be
267 // harvested) from the current page into the current session entry. 266 // harvested) from the current page into the current session entry.
268 - (void)recordStateInHistory; 267 - (void)recordStateInHistory;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 342
344 // Called when this tab is hidden. 343 // Called when this tab is hidden.
345 - (void)wasHidden; 344 - (void)wasHidden;
346 345
347 // Evaluates U2F result. 346 // Evaluates U2F result.
348 - (void)evaluateU2FResultFromURL:(const GURL&)url; 347 - (void)evaluateU2FResultFromURL:(const GURL&)url;
349 348
350 @end 349 @end
351 350
352 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_ 351 #endif // IOS_CHROME_BROWSER_TABS_TAB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698