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

Side by Side Diff: ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.h

Issue 2862783002: [iOS Clean] Wired up ContextMenuCommands. (Closed)
Patch Set: Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_WEB_CONTEXT_MENU_CONTEXT_MENU_COORDINATOR_H_ 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTEXT_MENU_CONTEXT_MENU_COORDINATOR_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTEXT_MENU_CONTEXT_MENU_COORDINATOR_H_ 6 #define IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTEXT_MENU_CONTEXT_MENU_COORDINATOR_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h" 10 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h"
11 11
12 namespace web {
13 struct ContextMenuParams;
14 }
15
12 // A coordinator for a UI element that displays the web view associated with 16 // A coordinator for a UI element that displays the web view associated with
13 // |webState|. 17 // |webState|.
14 // HACK: Named WebContentMenuCoordinator to avoid collision with the 18 // HACK: Named WebContentMenuCoordinator to avoid collision with the
15 // old architecture ContextMenuCoordinator class. 19 // old architecture ContextMenuCoordinator class.
16 @interface WebContextMenuCoordinator : BrowserCoordinator 20 @interface WebContextMenuCoordinator : BrowserCoordinator
21
22 // Initializer that takes the parameters used to specify which context menu
23 // options to display.
24 - (instancetype)initWithParams:(const web::ContextMenuParams&)params
25 NS_DESIGNATED_INITIALIZER;
26 - (instancetype)init NS_UNAVAILABLE;
27
17 @end 28 @end
18 29
19 #endif // IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTEXT_MENU_CONTEXT_MENU_COORDINATOR _H_ 30 #endif // IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTEXT_MENU_CONTEXT_MENU_COORDINATOR _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698