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

Unified Diff: ios/chrome/test/app/chrome_test_util.mm

Issue 2970553002: [ios] Remove IDC_CLOSE_TAB
Patch Set: Add comment for chrome_test_util.h" Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/test/app/chrome_test_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/app/chrome_test_util.mm
diff --git a/ios/chrome/test/app/chrome_test_util.mm b/ios/chrome/test/app/chrome_test_util.mm
index 32d669fb7cbb35df9c28b48a24307bdc1ab895af..a6cb4ca02ac55fb1df767abc72217e47d341dd0e 100644
--- a/ios/chrome/test/app/chrome_test_util.mm
+++ b/ios/chrome/test/app/chrome_test_util.mm
@@ -133,6 +133,12 @@ NSUInteger GetRegisteredKeyCommandsCount() {
return mainBVC.keyCommands.count;
}
+id<BrowserCommands> BrowserCommandDispatcherForMainBVC() {
+ BrowserViewController* mainBVC =
+ GetMainController().browserViewInformation.mainBVC;
+ return mainBVC.browserCommandDispatcher;
+}
+
void RunCommandWithActiveViewController(GenericChromeCommand* command) {
[GetActiveViewController() chromeExecuteCommand:command];
}
« no previous file with comments | « ios/chrome/test/app/chrome_test_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698