Chromium Code Reviews| Index: chrome/browser/ui/browser_dialogs_mac.cc |
| diff --git a/chrome/browser/ui/browser_dialogs_mac.cc b/chrome/browser/ui/browser_dialogs_mac.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1d67a323e947e837dfb2273435149ae864c0a14e |
| --- /dev/null |
| +++ b/chrome/browser/ui/browser_dialogs_mac.cc |
| @@ -0,0 +1,17 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/ui/browser_dialogs.h" |
| + |
| +#include "base/command_line.h" |
| +#include "chrome/common/chrome_switches.cc" |
|
Ruud van Asseldonk
2015/10/14 13:50:08
Is the inclusion of the source file here a typo?
|
| + |
| +namespace chrome { |
| + |
| +bool ToolkitViewsDialogsEnabled() { |
| + return base::CommandLine::ForCurrentProcess()->HasSwitch( |
| + switches::kEnableMacViewsDialogs); |
| +} |
| + |
| +} // namespace chrome |