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

Side by Side Diff: ios/clean/chrome/browser/ui/actions/settings_actions.h

Issue 2810603002: [ios clean] Adds ToolsMenu to TabGrid (Closed)
Patch Set: Rebase 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_ACTIONS_SETTINGS_ACTIONS_H_ 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_SETTINGS_ACTIONS_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_SETTINGS_ACTIONS_H_ 6 #define IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_SETTINGS_ACTIONS_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9 // HACK: This whole file and the two remaining action calls need to
10 // Target/Action methods relating to the Settings UI. 10 // dissapear. We just need to decide how VC's will deal with tap/actions that
11 // (Actions should only be used to communicate into or between the View 11 // were set by the mediator or some other file. Target/Action methods relating
12 // Controller layer). 12 // to the Settings UI. (Actions should only be used to communicate into or
13 // between the View Controller layer).
13 @protocol SettingsActions 14 @protocol SettingsActions
14 @optional 15 @optional
15 // Show the Settings UI over whatever UI is currently active. 16 // Show the Settings UI over whatever UI is currently active.
16 - (void)showSettings:(id)sender; 17 - (void)showSettings:(id)sender;
18 // Shows the ToolsMenu from the TabGrid button. This way we can access settings.
19 - (void)showToolsMenu:(id)sender;
17 @end 20 @end
18 21
19 #endif // IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_SETTINGS_ACTIONS_H_ 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_SETTINGS_ACTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698