OLD | NEW |
| (Empty) |
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 | |
12 namespace content { | |
13 class ColorChooser; | |
14 class JavaScriptDialogManager; | |
15 class WebContents; | |
16 struct ColorSuggestion; | |
17 struct FileChooserParams; | |
18 } | |
19 | |
20 namespace athena { | |
21 | |
22 // Open Color chooser window. | |
23 content::ColorChooser* OpenColorChooser( | |
24 content::WebContents* web_contents, | |
25 SkColor color, | |
26 const std::vector<content::ColorSuggestion>& suggestions); | |
27 | |
28 // Open FileChooser window. | |
29 void OpenFileChooser(content::WebContents* web_contents, | |
30 const content::FileChooserParams& params); | |
31 | |
32 } // namespace athena | |
33 | |
34 #endif // ATHENA_CONTENT_PUBLIC_DIALOGS_H_ | |
OLD | NEW |