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

Unified Diff: chrome/browser/command_updater.cc

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
Index: chrome/browser/command_updater.cc
diff --git a/chrome/browser/command_updater.cc b/chrome/browser/command_updater.cc
index e93a729b59cd077c1dff25d0e313cf317622da41..63e50305256ce60d4394d512aa5d74ed0973d66a 100644
--- a/chrome/browser/command_updater.cc
+++ b/chrome/browser/command_updater.cc
@@ -41,7 +41,7 @@ bool CommandUpdater::IsCommandEnabled(int id) const {
}
bool CommandUpdater::ExecuteCommand(int id) {
- return ExecuteCommandWithDisposition(id, CURRENT_TAB);
+ return ExecuteCommandWithDisposition(id, WindowOpenDisposition::CURRENT_TAB);
}
bool CommandUpdater::ExecuteCommandWithDisposition(
« no previous file with comments | « chrome/browser/chromeos/policy/device_local_account_browsertest.cc ('k') | chrome/browser/crash_recovery_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698