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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed comment Created 8 years, 11 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
Index: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index d19ee91ff2b1e7319ca04c9daef686845669f4a0..576f4060864b139de99023dccb78593ea70f8a5e 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -52,6 +52,10 @@ namespace webkit_glue {
struct WebIntentData;
}
+namespace WebKit {
+typedef unsigned WebColor;
+}
+
namespace content {
struct OpenURLParams;
@@ -317,6 +321,12 @@ class CONTENT_EXPORT WebContentsDelegate {
// and displays nothing.
virtual JavaScriptDialogCreator* GetJavaScriptDialogCreator();
+ virtual void OpenColorChooser(WebContents* tab,
jam 2012/01/27 18:13:40 ditto
keishi 2012/02/06 15:01:57 Done.
+ const WebKit::WebColor& color) {}
+ virtual void EndColorChooser(WebContents* tab) {}
+ virtual void SetSelectedColorInColorChooser(WebContents* tab,
+ const WebKit::WebColor& color) {}
+
// Called when a file selection is to be done.
virtual void RunFileChooser(WebContents* tab,
const FileChooserParams& params) {}

Powered by Google App Engine
This is Rietveld 408576698