Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 @class ToolsMenuContext; | 10 @class ToolsMenuContext; |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 extern NSString* const kToolsMenuOtherDevicesId; | 24 extern NSString* const kToolsMenuOtherDevicesId; |
| 25 extern NSString* const kToolsMenuHistoryId; | 25 extern NSString* const kToolsMenuHistoryId; |
| 26 extern NSString* const kToolsMenuReportAnIssueId; | 26 extern NSString* const kToolsMenuReportAnIssueId; |
| 27 extern NSString* const kToolsMenuShareId; | 27 extern NSString* const kToolsMenuShareId; |
| 28 extern NSString* const kToolsMenuDataSavingsId; | 28 extern NSString* const kToolsMenuDataSavingsId; |
| 29 extern NSString* const kToolsMenuFindInPageId; | 29 extern NSString* const kToolsMenuFindInPageId; |
| 30 extern NSString* const kToolsMenuReaderMode; | 30 extern NSString* const kToolsMenuReaderMode; |
| 31 extern NSString* const kToolsMenuRequestDesktopId; | 31 extern NSString* const kToolsMenuRequestDesktopId; |
| 32 extern NSString* const kToolsMenuSettingsId; | 32 extern NSString* const kToolsMenuSettingsId; |
| 33 extern NSString* const kToolsMenuHelpId; | 33 extern NSString* const kToolsMenuHelpId; |
| 34 extern NSString* const kToolsMenuSuggestionsUIId; | |
|
marq (ping after 24h)
2017/01/19 16:32:32
Readability nit: in every case here, 'Id' should b
gambard
2017/01/19 17:50:12
Done.
| |
| 34 | 35 |
| 35 // Tools Popup Table Delegate Protocol | 36 // Tools Popup Table Delegate Protocol |
| 36 @protocol ToolsPopupTableDelegate<NSObject> | 37 @protocol ToolsPopupTableDelegate<NSObject> |
| 37 // Called when a menu item for command |commandID| is selected. | 38 // Called when a menu item for command |commandID| is selected. |
| 38 // TODO(stuartmorgan): This is a temporary shim. Remove it once: | 39 // TODO(stuartmorgan): This is a temporary shim. Remove it once: |
| 39 // - the automatic command-based metrics system is in place, and | 40 // - the automatic command-based metrics system is in place, and |
| 40 // - we figure out a better way to dismiss the menu (maybe a provided block?) | 41 // - we figure out a better way to dismiss the menu (maybe a provided block?) |
| 41 - (void)commandWasSelected:(int)commandID; | 42 - (void)commandWasSelected:(int)commandID; |
| 42 @end | 43 @end |
| 43 | 44 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 87 // Informs tools popup menu whether "Request Desktop Site" can be enabled. | 88 // Informs tools popup menu whether "Request Desktop Site" can be enabled. |
| 88 - (void)setCanUseDesktopUserAgent:(BOOL)value; | 89 - (void)setCanUseDesktopUserAgent:(BOOL)value; |
| 89 | 90 |
| 90 - (void)animateContentIn; | 91 - (void)animateContentIn; |
| 91 | 92 |
| 92 - (void)hideContent; | 93 - (void)hideContent; |
| 93 | 94 |
| 94 @end | 95 @end |
| 95 | 96 |
| 96 #endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_ | 97 #endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_ |
| OLD | NEW |