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

Side by Side Diff: ios/clean/chrome/browser/ui/tools/menu_view_controller.h

Issue 2737563006: [ios] Adds support for Find in Page to the new architecture. (Closed)
Patch Set: Fix GN. Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CLEAN_CHROME_BROWSER_UI_TOOLS_MENU_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_MENU_VIEW_CONTROLLER_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_MENU_VIEW_CONTROLLER_H_ 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_MENU_VIEW_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/clean/chrome/browser/ui/tools/tools_consumer.h" 10 #import "ios/clean/chrome/browser/ui/tools/tools_consumer.h"
11 11
12 @protocol FindInPageVisibilityCommands;
12 @protocol ToolsMenuCommands; 13 @protocol ToolsMenuCommands;
13 14
14 // View controller that displays a vertical list of buttons to act as a menu. 15 // View controller that displays a vertical list of buttons to act as a menu.
15 // The view controller dismisses as soon as any of the buttons, or any area 16 // The view controller dismisses as soon as any of the buttons, or any area
16 // outside the presentation area, is tapped. 17 // outside the presentation area, is tapped.
17 @interface MenuViewController : UIViewController<ToolsConsumer> 18 @interface MenuViewController : UIViewController<ToolsConsumer>
19
18 // The dispatcher for this view controller. 20 // The dispatcher for this view controller.
19 @property(nonatomic, weak) id<ToolsMenuCommands> dispatcher; 21 @property(nonatomic, weak) id<FindInPageVisibilityCommands, ToolsMenuCommands>
22 dispatcher;
23
20 @end 24 @end
21 25
22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_MENU_VIEW_CONTROLLER_H_ 26 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_MENU_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/tools/BUILD.gn ('k') | ios/clean/chrome/browser/ui/tools/menu_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698