dialogs.cc revision 1320f92c476a1ad9d19dba2a48c72b75566198e9
1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "athena/content/public/dialogs.h" 6 7#include "chrome/browser/file_select_helper.h" 8#include "chrome/browser/ui/browser_dialogs.h" 9 10namespace athena { 11 12content::ColorChooser* OpenColorChooser( 13 content::WebContents* web_contents, 14 SkColor initial_color, 15 const std::vector<content::ColorSuggestion>& suggestions) { 16 return chrome::ShowColorChooser(web_contents, initial_color); 17} 18 19void OpenFileChooser(content::WebContents* web_contents, 20 const content::FileChooserParams& params) { 21 return FileSelectHelper::RunFileChooser(web_contents, params); 22} 23 24} // namespace athena 25