| Index: athena/content/chrome/dialogs.cc
|
| diff --git a/athena/content/chrome/dialogs.cc b/athena/content/chrome/dialogs.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..04230605cc4f6fbd3c59d5e0363020f1b307045b
|
| --- /dev/null
|
| +++ b/athena/content/chrome/dialogs.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2014 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 "athena/content/public/dialogs.h"
|
| +
|
| +#include "chrome/browser/file_select_helper.h"
|
| +#include "chrome/browser/ui/browser_dialogs.h"
|
| +
|
| +namespace athena {
|
| +
|
| +content::ColorChooser* OpenColorChooser(
|
| + content::WebContents* web_contents,
|
| + SkColor initial_color,
|
| + const std::vector<content::ColorSuggestion>& suggestions) {
|
| + return chrome::ShowColorChooser(web_contents, initial_color);
|
| +}
|
| +
|
| +void OpenFileChooser(content::WebContents* web_contents,
|
| + const content::FileChooserParams& params) {
|
| + return FileSelectHelper::RunFileChooser(web_contents, params);
|
| +}
|
| +
|
| +} // namespace athena
|
|
|