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

Side by Side Diff: ios/chrome/browser/ui/tools_menu/tools_popup_controller.mm

Issue 2969103002: [ios] Remove IDC_SHOW_TOOLS_MENU
Patch Set: Created 3 years, 5 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/ui/tools_menu/tools_menu_view_tools_cell.mm ('k') | no next file » | 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/ui/tools_menu/tools_popup_controller.h" 5 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h"
6 6
7 #import <QuartzCore/QuartzCore.h> 7 #import <QuartzCore/QuartzCore.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/user_metrics.h" 10 #include "base/metrics/user_metrics.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 case IDC_PRINT: 219 case IDC_PRINT:
220 base::RecordAction(UserMetricsAction("MobileMenuPrint")); 220 base::RecordAction(UserMetricsAction("MobileMenuPrint"));
221 break; 221 break;
222 case IDC_REPORT_AN_ISSUE: 222 case IDC_REPORT_AN_ISSUE:
223 self.containerView.hidden = YES; 223 self.containerView.hidden = YES;
224 base::RecordAction(UserMetricsAction("MobileMenuReportAnIssue")); 224 base::RecordAction(UserMetricsAction("MobileMenuReportAnIssue"));
225 break; 225 break;
226 case IDC_VIEW_SOURCE: 226 case IDC_VIEW_SOURCE:
227 // Debug only; no metric. 227 // Debug only; no metric.
228 break; 228 break;
229 case IDC_SHOW_TOOLS_MENU: 229 case TOOLS_MENU_ITEM:
230 // Do nothing when tapping the tools menu a second time. 230 // Do nothing when tapping the tools menu a second time.
231 break; 231 break;
232 case IDC_SHOW_READING_LIST: 232 case IDC_SHOW_READING_LIST:
233 base::RecordAction(UserMetricsAction("MobileMenuReadingList")); 233 base::RecordAction(UserMetricsAction("MobileMenuReadingList"));
234 break; 234 break;
235 default: 235 default:
236 NOTREACHED(); 236 NOTREACHED();
237 break; 237 break;
238 } 238 }
239 239
240 // Close the menu. 240 // Close the menu.
241 [self.delegate dismissPopupMenu:self]; 241 [self.delegate dismissPopupMenu:self];
242 } 242 }
243 243
244 @end 244 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/tools_menu/tools_menu_view_tools_cell.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698