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

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

Issue 2699223003: [tab_grid] Hack-in new tab FAB action. (Closed)
Patch Set: Address comments. Created 3 years, 10 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
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/commands/tab_commands.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // ====== New Architecture ===== 5 // ====== New Architecture =====
6 // = This code is only used in the new iOS Chrome architecture. = 6 // = This code is only used in the new iOS Chrome architecture. =
7 // ============================================================================ 7 // ============================================================================
8 8
9 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_TAB_GRID_ACTIONS_H_ 9 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_TAB_GRID_ACTIONS_H_
10 #define IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_TAB_GRID_ACTIONS_H_ 10 #define IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_TAB_GRID_ACTIONS_H_
11 11
12 #import <Foundation/Foundation.h> 12 #import <Foundation/Foundation.h>
13 13
14 // Target/Action methods relating to the tab grid. 14 // Target/Action methods relating to the tab grid.
15 // (Actions should only be used to communicate into or between the View 15 // (Actions should only be used to communicate into or between the View
16 // Controller layer). 16 // Controller layer).
17 @protocol TabGridActions 17 @protocol TabGridActions
18 @optional 18 @optional
19 // Dismisses whatever UI is currently active and shows the tab grid. 19 // Dismisses whatever UI is currently active and shows the tab grid.
20 - (void)showTabGrid:(id)sender; 20 - (void)showTabGrid:(id)sender;
21
22 // Create new tab and display.
23 - (void)createNewTab:(id)sender;
21 @end 24 @end
22 25
23 #endif // IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_TAB_GRID_ACTIONS_H_ 26 #endif // IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_TAB_GRID_ACTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/commands/tab_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698