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

Side by Side Diff: chrome/browser/ui/startup/bad_flags_prompt.cc

Issue 1568913003: Add enable flag for pointer events in about://flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 4 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/startup/bad_flags_prompt.h" 5 #include "chrome/browser/ui/startup/bad_flags_prompt.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 76 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
77 // Speech dispatcher is buggy, it can crash and it can make Chrome freeze. 77 // Speech dispatcher is buggy, it can crash and it can make Chrome freeze.
78 // http://crbug.com/327295 78 // http://crbug.com/327295
79 switches::kEnableSpeechDispatcher, 79 switches::kEnableSpeechDispatcher,
80 #endif 80 #endif
81 81
82 // These flags control Blink feature state, which is not supported and is 82 // These flags control Blink feature state, which is not supported and is
83 // intended only for use by Chromium developers. 83 // intended only for use by Chromium developers.
84 switches::kDisableBlinkFeatures, 84 switches::kDisableBlinkFeatures,
85 switches::kEnableBlinkFeatures, 85 switches::kEnableBlinkFeatures,
86 switches::kEnablePointerEvents,
86 87
87 // This flag allows people to whitelist certain origins as secure, even 88 // This flag allows people to whitelist certain origins as secure, even
88 // if they are not. 89 // if they are not.
89 switches::kUnsafelyTreatInsecureOriginAsSecure, 90 switches::kUnsafelyTreatInsecureOriginAsSecure,
90 91
91 // This flag enables Web Bluetooth. Since the UI for Web Bluetooth is 92 // This flag enables Web Bluetooth. Since the UI for Web Bluetooth is
92 // not yet implemented, websites could take control over paired devices 93 // not yet implemented, websites could take control over paired devices
93 // without the users knowledge, so we need to show a warning for when 94 // without the users knowledge, so we need to show a warning for when
94 // the flag is enabled. 95 // the flag is enabled.
95 switches::kEnableWebBluetooth, 96 switches::kEnableWebBluetooth,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 user_data_dir.LossyDisplayName()); 140 user_data_dir.LossyDisplayName());
140 141
141 if (cleanup_resource_bundle) 142 if (cleanup_resource_bundle)
142 ResourceBundle::CleanupSharedInstance(); 143 ResourceBundle::CleanupSharedInstance();
143 144
144 // More complex dialogs cannot be shown before the earliest calls here. 145 // More complex dialogs cannot be shown before the earliest calls here.
145 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING); 146 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING);
146 } 147 }
147 148
148 } // namespace chrome 149 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698