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

Side by Side Diff: ios/chrome/browser/ui/browser_view_controller.mm

Issue 2680263003: Remove the iOS QR Code scanner experiment code. (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
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 4084 matching lines...) Expand 10 before | Expand all | Expand 10 after
4095 [self showReadingList]; 4095 [self showReadingList];
4096 break; 4096 break;
4097 case IDC_VOICE_SEARCH: 4097 case IDC_VOICE_SEARCH:
4098 // If the voice search command is coming from a UIView sender, store it 4098 // If the voice search command is coming from a UIView sender, store it
4099 // before sending the command up the responder chain. 4099 // before sending the command up the responder chain.
4100 if ([sender isKindOfClass:[UIView class]]) 4100 if ([sender isKindOfClass:[UIView class]])
4101 _voiceSearchButton.reset(sender); 4101 _voiceSearchButton.reset(sender);
4102 [super chromeExecuteCommand:sender]; 4102 [super chromeExecuteCommand:sender];
4103 break; 4103 break;
4104 case IDC_SHOW_QR_SCANNER: 4104 case IDC_SHOW_QR_SCANNER:
4105 if (experimental_flags::IsQRCodeReaderEnabled()) { 4105 [self showQRScanner];
4106 [self showQRScanner];
4107 }
4108 break; 4106 break;
4109 default: 4107 default:
4110 // Unknown commands get sent up the responder chain. 4108 // Unknown commands get sent up the responder chain.
4111 [super chromeExecuteCommand:sender]; 4109 [super chromeExecuteCommand:sender];
4112 break; 4110 break;
4113 } 4111 }
4114 } 4112 }
4115 4113
4116 - (void)closeCurrentTab { 4114 - (void)closeCurrentTab {
4117 Tab* currentTab = [_model currentTab]; 4115 Tab* currentTab = [_model currentTab];
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
5135 5133
5136 - (UIView*)voiceSearchButton { 5134 - (UIView*)voiceSearchButton {
5137 return _voiceSearchButton; 5135 return _voiceSearchButton;
5138 } 5136 }
5139 5137
5140 - (id<LogoAnimationControllerOwner>)logoAnimationControllerOwner { 5138 - (id<LogoAnimationControllerOwner>)logoAnimationControllerOwner {
5141 return [self currentLogoAnimationControllerOwner]; 5139 return [self currentLogoAnimationControllerOwner];
5142 } 5140 }
5143 5141
5144 @end 5142 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/resources/Settings.bundle/Experimental.plist ('k') | ios/chrome/browser/ui/qr_scanner/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698