dialogs.h 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#ifndef ATHENA_CONTENT_PUBLIC_DIALOGS_H_ 6#define ATHENA_CONTENT_PUBLIC_DIALOGS_H_ 7 8#include <vector> 9 10#include "third_party/skia/include/core/SkColor.h" 11 12namespace content { 13class ColorChooser; 14class JavaScriptDialogManager; 15class WebContents; 16struct ColorSuggestion; 17struct FileChooserParams; 18} 19 20namespace athena { 21 22// Open Color chooser window. 23content::ColorChooser* OpenColorChooser( 24 content::WebContents* web_contents, 25 SkColor color, 26 const std::vector<content::ColorSuggestion>& suggestions); 27 28// Open FileChooser window. 29void OpenFileChooser(content::WebContents* web_contents, 30 const content::FileChooserParams& params); 31 32} // namespace athena 33 34#endif // ATHENA_CONTENT_PUBLIC_DIALOGS_H_ 35