Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2334)

Unified Diff: athena/content/public/dialogs.h

Issue 544953003: Supprot V2 app: step1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/content/public/DEPS ('k') | athena/content/shell/dialogs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/public/dialogs.h
diff --git a/athena/content/public/dialogs.h b/athena/content/public/dialogs.h
new file mode 100644
index 0000000000000000000000000000000000000000..16d39bb2a2c273b024c1ebfe19c904acfdc5546b
--- /dev/null
+++ b/athena/content/public/dialogs.h
@@ -0,0 +1,34 @@
+// 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.
+
+#ifndef ATHENA_CONTENT_PUBLIC_DIALOGS_H_
+#define ATHENA_CONTENT_PUBLIC_DIALOGS_H_
+
+#include <vector>
+
+#include "third_party/skia/include/core/SkColor.h"
+
+namespace content {
+class ColorChooser;
+class JavaScriptDialogManager;
+class WebContents;
+struct ColorSuggestion;
+struct FileChooserParams;
+}
+
+namespace athena {
+
+// Open Color chooser window.
+content::ColorChooser* OpenColorChooser(
+ content::WebContents* web_contents,
+ SkColor color,
+ const std::vector<content::ColorSuggestion>& suggestions);
+
+// Open FileChooser window.
+void OpenFileChooser(content::WebContents* web_contents,
+ const content::FileChooserParams& params);
+
+} // namespace athena
+
+#endif // ATHENA_CONTENT_PUBLIC_DIALOGS_H_
« no previous file with comments | « athena/content/public/DEPS ('k') | athena/content/shell/dialogs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698