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

Side by Side Diff: ios/chrome/browser/ui/commands/browser_commands.h

Issue 2965943002: [ios] Remove IDC_BACK and IDC_FORWARD
Patch Set: Rebase, self review. Created 3 years, 5 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_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_
6 #define IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ 6 #define IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_
7 7
8 // Protocol for commands that will generally be handled by the "current tab", 8 // Protocol for commands that will generally be handled by the "current tab",
9 // which in practice is the BrowserViewController instance displaying the tab. 9 // which in practice is the BrowserViewController instance displaying the tab.
10 @protocol BrowserCommands 10 @protocol BrowserCommands
11 11
12 // Close the current tab. 12 // Close the current tab.
13 - (void)closeCurrentTab; 13 - (void)closeCurrentTab;
14 14
15 // Navigate backwards in the current tab's history.
16 - (void)goBack;
17
18 // Navigate forwards in the current tab's history.
19 - (void)goForward;
20
15 @end 21 @end
16 22
17 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ 23 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/browser_view_controller_unittest.mm ('k') | ios/chrome/browser/ui/commands/ios_command_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698