| 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 ToolsMenuConfiguration; | 10 @class ToolsMenuConfiguration; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 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 kToolsMenuSuggestionsId; | 34 extern NSString* const kToolsMenuSuggestionsId; |
| 35 extern NSString* const kToolsMenuReadingListId; | 35 extern NSString* const kToolsMenuReadingListId; |
| 36 extern NSString* const kToolsMenuRequestMobileId; |
| 36 | 37 |
| 37 // Tools Popup Table Delegate Protocol | 38 // Tools Popup Table Delegate Protocol |
| 38 @protocol ToolsPopupTableDelegate<NSObject> | 39 @protocol ToolsPopupTableDelegate<NSObject> |
| 39 // Called when a menu item for command |commandID| is selected. | 40 // Called when a menu item for command |commandID| is selected. |
| 40 // TODO(stuartmorgan): This is a temporary shim. Remove it once: | 41 // TODO(stuartmorgan): This is a temporary shim. Remove it once: |
| 41 // - the automatic command-based metrics system is in place, and | 42 // - the automatic command-based metrics system is in place, and |
| 42 // - we figure out a better way to dismiss the menu (maybe a provided block?) | 43 // - we figure out a better way to dismiss the menu (maybe a provided block?) |
| 43 - (void)commandWasSelected:(int)commandID; | 44 - (void)commandWasSelected:(int)commandID; |
| 44 @end | 45 @end |
| 45 | 46 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // Informs tools popup menu whether the switch to reader mode is possible. | 90 // Informs tools popup menu whether the switch to reader mode is possible. |
| 90 - (void)setCanUseReaderMode:(BOOL)enabled; | 91 - (void)setCanUseReaderMode:(BOOL)enabled; |
| 91 | 92 |
| 92 - (void)animateContentIn; | 93 - (void)animateContentIn; |
| 93 | 94 |
| 94 - (void)hideContent; | 95 - (void)hideContent; |
| 95 | 96 |
| 96 @end | 97 @end |
| 97 | 98 |
| 98 #endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_ | 99 #endif // IOS_CHROME_BROWSER_UI_TOOLS_MENU_TOOLS_MENU_VIEW_CONTROLLER_H_ |
| OLD | NEW |