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 10 namespace athena { 11 OpenColorChooser(content::WebContents * web_contents,SkColor initial_color,const std::vector<content::ColorSuggestion> & suggestions)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 OpenFileChooser(content::WebContents * web_contents,const content::FileChooserParams & params)19void OpenFileChooser(content::WebContents* web_contents, 20 const content::FileChooserParams& params) { 21 return FileSelectHelper::RunFileChooser(web_contents, params); 22 } 23 24 } // namespace athena 25