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/ui/browser_view_controller.mm

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase 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 #import "ios/chrome/browser/ui/browser_view_controller.h" 5 #import "ios/chrome/browser/ui/browser_view_controller.h"
6 6
7 #import <AssetsLibrary/AssetsLibrary.h> 7 #import <AssetsLibrary/AssetsLibrary.h>
8 #import <MobileCoreServices/MobileCoreServices.h> 8 #import <MobileCoreServices/MobileCoreServices.h>
9 #import <PassKit/PassKit.h> 9 #import <PassKit/PassKit.h>
10 #import <Photos/Photos.h> 10 #import <Photos/Photos.h>
(...skipping 2538 matching lines...) Expand 10 before | Expand all | Expand 10 after
2549 2549
2550 - (void)webState:(web::WebState*)webState 2550 - (void)webState:(web::WebState*)webState
2551 runRepostFormDialogWithCompletionHandler:(void (^)(BOOL))handler { 2551 runRepostFormDialogWithCompletionHandler:(void (^)(BOOL))handler {
2552 // Display the action sheet with the arrow pointing at the top center of the 2552 // Display the action sheet with the arrow pointing at the top center of the
2553 // web contents. 2553 // web contents.
2554 Tab* tab = LegacyTabHelper::GetTabForWebState(webState); 2554 Tab* tab = LegacyTabHelper::GetTabForWebState(webState);
2555 UIView* view = webState->GetView(); 2555 UIView* view = webState->GetView();
2556 CGPoint dialogLocation = 2556 CGPoint dialogLocation =
2557 CGPointMake(CGRectGetMidX(view.frame), 2557 CGPointMake(CGRectGetMidX(view.frame),
2558 CGRectGetMinY(view.frame) + [self headerHeightForTab:tab]); 2558 CGRectGetMinY(view.frame) + [self headerHeightForTab:tab]);
2559 auto helper = RepostFormTabHelper::FromWebState(webState); 2559 auto* helper = RepostFormTabHelper::FromWebState(webState);
2560 helper->PresentDialog(dialogLocation, base::BindBlock(^(bool shouldContinue) { 2560 helper->PresentDialog(dialogLocation, base::BindBlock(^(bool shouldContinue) {
2561 handler(shouldContinue); 2561 handler(shouldContinue);
2562 })); 2562 }));
2563 } 2563 }
2564 2564
2565 - (web::JavaScriptDialogPresenter*)javaScriptDialogPresenterForWebState: 2565 - (web::JavaScriptDialogPresenter*)javaScriptDialogPresenterForWebState:
2566 (web::WebState*)webState { 2566 (web::WebState*)webState {
2567 return _javaScriptDialogPresenter.get(); 2567 return _javaScriptDialogPresenter.get();
2568 } 2568 }
2569 2569
(...skipping 2451 matching lines...) Expand 10 before | Expand all | Expand 10 after
5021 5021
5022 - (UIView*)voiceSearchButton { 5022 - (UIView*)voiceSearchButton {
5023 return _voiceSearchButton; 5023 return _voiceSearchButton;
5024 } 5024 }
5025 5025
5026 - (id<LogoAnimationControllerOwner>)logoAnimationControllerOwner { 5026 - (id<LogoAnimationControllerOwner>)logoAnimationControllerOwner {
5027 return [self currentLogoAnimationControllerOwner]; 5027 return [self currentLogoAnimationControllerOwner];
5028 } 5028 }
5029 5029
5030 @end 5030 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.mm ('k') | ios/chrome/browser/ui/ntp/recent_tabs/synced_sessions.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698