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

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

Issue 2643643003: Remove unused and obsolete Tab -currentRedirectedURLs method. (Closed)
Patch Set: Created 3 years, 11 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 | « ios/chrome/browser/tabs/tab.h ('k') | ios/web/navigation/crw_session_controller.h » ('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 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 #import "ios/chrome/browser/tabs/tab.h" 5 #import "ios/chrome/browser/tabs/tab.h"
6 6
7 #import <CoreLocation/CoreLocation.h> 7 #import <CoreLocation/CoreLocation.h>
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 1574
1575 [self.readerModeController exitReaderMode]; 1575 [self.readerModeController exitReaderMode];
1576 } 1576 }
1577 1577
1578 #pragma mark - 1578 #pragma mark -
1579 1579
1580 - (void)openAppStore:(NSString*)appId { 1580 - (void)openAppStore:(NSString*)appId {
1581 [storeKitLauncher_ openAppStore:appId]; 1581 [storeKitLauncher_ openAppStore:appId];
1582 } 1582 }
1583 1583
1584 - (std::vector<GURL>)currentRedirectedUrls {
1585 DCHECK([self navigationManager]);
1586 return
1587 [[self navigationManager]->GetSessionController() currentRedirectedUrls];
1588 }
1589
1590 - (BOOL)useDesktopUserAgent { 1584 - (BOOL)useDesktopUserAgent {
1591 web::NavigationItem* currentItem = self.currentSessionEntry.navigationItem; 1585 web::NavigationItem* currentItem = self.currentSessionEntry.navigationItem;
1592 return currentItem && currentItem->IsOverridingUserAgent(); 1586 return currentItem && currentItem->IsOverridingUserAgent();
1593 } 1587 }
1594 1588
1595 - (void)enableDesktopUserAgent { 1589 - (void)enableDesktopUserAgent {
1596 DCHECK_EQ(self.useDesktopUserAgent, NO); 1590 DCHECK_EQ(self.useDesktopUserAgent, NO);
1597 DCHECK([self navigationManager]); 1591 DCHECK([self navigationManager]);
1598 [[self navigationManager]->GetSessionController() 1592 [[self navigationManager]->GetSessionController()
1599 useDesktopUserAgentForNextPendingEntry]; 1593 useDesktopUserAgentForNextPendingEntry];
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 2369
2376 - (TabModel*)parentTabModel { 2370 - (TabModel*)parentTabModel {
2377 return parentTabModel_; 2371 return parentTabModel_;
2378 } 2372 }
2379 2373
2380 - (FormInputAccessoryViewController*)inputAccessoryViewController { 2374 - (FormInputAccessoryViewController*)inputAccessoryViewController {
2381 return inputAccessoryViewController_.get(); 2375 return inputAccessoryViewController_.get();
2382 } 2376 }
2383 2377
2384 @end 2378 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab.h ('k') | ios/web/navigation/crw_session_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698