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

Unified Diff: chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc

Issue 2125063002: Make Desktop Capture New Feature Default On (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove include Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.mm ('k') | extensions/common/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc
diff --git a/chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc b/chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc
index b76839af9b4d32eef386d89d9890b6394436bb3c..4773b4c12f83511dacbf9a82874e1b224211d203 100644
--- a/chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc
+++ b/chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc
@@ -438,8 +438,8 @@ void DesktopMediaPickerViews::NotifyDialogResult(DesktopMediaID source) {
// static
std::unique_ptr<DesktopMediaPicker> DesktopMediaPicker::Create() {
- if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
- extensions::switches::kDisableDesktopCapturePickerOldUI)) {
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ extensions::switches::kDisableDesktopCapturePickerNewUI)) {
return std::unique_ptr<DesktopMediaPicker>(
new deprecated::DesktopMediaPickerViews());
}
« no previous file with comments | « chrome/browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.mm ('k') | extensions/common/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698