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

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

Issue 2965963002: [ios] Remove IDC_STOP and IDC_RELOAD
Patch Set: Rebased. 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. 15 // Navigate backwards in the current tab's history.
16 - (void)goBack; 16 - (void)goBack;
17 17
18 // Navigate forwards in the current tab's history. 18 // Navigate forwards in the current tab's history.
19 - (void)goForward; 19 - (void)goForward;
20 20
21 // Stop loading the current web page.
22 - (void)stopLoading;
23
24 // Reload the current web page
25 - (void)reload;
26
21 @end 27 @end
22 28
23 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ 29 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/browser_view_controller.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