| Index: chrome/browser/mojo_runner_util.cc
|
| diff --git a/chrome/browser/ui/browser_dialogs_mac.cc b/chrome/browser/mojo_runner_util.cc
|
| similarity index 64%
|
| copy from chrome/browser/ui/browser_dialogs_mac.cc
|
| copy to chrome/browser/mojo_runner_util.cc
|
| index cf79ad9561df3e45aa4c2970ecb2359b40332faa..5b6228035921833bc6023aa40bc493ca05b3dde4 100644
|
| --- a/chrome/browser/ui/browser_dialogs_mac.cc
|
| +++ b/chrome/browser/mojo_runner_util.cc
|
| @@ -2,16 +2,15 @@
|
| // 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 "chrome/browser/mojo_runner_util.h"
|
|
|
| #include "base/command_line.h"
|
| -#include "chrome/common/chrome_switches.h"
|
|
|
| namespace chrome {
|
|
|
| -bool ToolkitViewsDialogsEnabled() {
|
| +bool IsRunningInMojoRunner() {
|
| return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableMacViewsDialogs);
|
| + "mojo-platform-channel-handle");
|
| }
|
|
|
| } // namespace chrome
|
|
|