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

Side by Side Diff: ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.h

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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 @protocol BrowserCommands; 10 @protocol BrowserCommands;
(...skipping 24 matching lines...) Expand all
35 extern NSString* const kToolsMenuReadingListId; 35 extern NSString* const kToolsMenuReadingListId;
36 extern NSString* const kToolsMenuRequestMobileId; 36 extern NSString* const kToolsMenuRequestMobileId;
37 37
38 typedef NS_ENUM(int, ToolsMenuItemID) { 38 typedef NS_ENUM(int, ToolsMenuItemID) {
39 // All of these items should be < 0. 39 // All of these items should be < 0.
40 TOOLS_STOP_ITEM = -1, 40 TOOLS_STOP_ITEM = -1,
41 TOOLS_RELAOD_ITEM = -2, 41 TOOLS_RELAOD_ITEM = -2,
42 TOOLS_BOOKMARK_ITEM = -3, 42 TOOLS_BOOKMARK_ITEM = -3,
43 TOOLS_BOOKMARK_EDIT = -4, 43 TOOLS_BOOKMARK_EDIT = -4,
44 TOOLS_SHARE_ITEM = -5, 44 TOOLS_SHARE_ITEM = -5,
45 TOOLS_MENU_ITEM = -6,
45 }; 46 };
46 47
47 // Tools Popup Table Delegate Protocol 48 // Tools Popup Table Delegate Protocol
48 @protocol ToolsPopupTableDelegate<NSObject> 49 @protocol ToolsPopupTableDelegate<NSObject>
49 // Called when a menu item for command |commandID| is selected. 50 // Called when a menu item for command |commandID| is selected.
50 // TODO(stuartmorgan): This is a temporary shim. Remove it once: 51 // TODO(stuartmorgan): This is a temporary shim. Remove it once:
51 // - the automatic command-based metrics system is in place, and 52 // - the automatic command-based metrics system is in place, and
52 // - we figure out a better way to dismiss the menu (maybe a provided block?) 53 // - we figure out a better way to dismiss the menu (maybe a provided block?)
53 - (void)commandWasSelected:(int)commandID; 54 - (void)commandWasSelected:(int)commandID;
54 @end 55 @end
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Informs tools popup menu whether the switch to reader mode is possible. 103 // Informs tools popup menu whether the switch to reader mode is possible.
103 - (void)setCanUseReaderMode:(BOOL)enabled; 104 - (void)setCanUseReaderMode:(BOOL)enabled;
104 105
105 - (void)animateContentIn; 106 - (void)animateContentIn;
106 107
107 - (void)hideContent; 108 - (void)hideContent;
108 109
109 @end 110 @end
110 111
111 #endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_ 112 #endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/toolbar/toolbar_controller.mm ('k') | ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698