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

Unified Diff: content/browser/tab_contents/tab_contents.cc

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/browser/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index b6c4e8517fdebc88e063d710499232a8361047e9..e2f332d1bb8b21ea2ddc7d9de480768fb77fc6c3 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -365,6 +365,21 @@ bool TabContents::OnMessageReceived(const IPC::Message& message) {
return handled;
}
+void TabContents::OpenColorChooser(RenderViewHost* render_view_host,
+ const WebKit::WebColor& color) {
+ delegate_->OpenColorChooser(this, color);
+}
+
+void TabContents::EndColorChooser(RenderViewHost* render_view_host) {
+ delegate_->EndColorChooser(this);
+}
+
+void TabContents::SetSelectedColorInColorChooser(
+ RenderViewHost* render_view_host,
+ const WebKit::WebColor& color) {
+ delegate_->SetSelectedColorInColorChooser(this, color);
+}
+
void TabContents::RunFileChooser(
RenderViewHost* render_view_host,
const content::FileChooserParams& params) {

Powered by Google App Engine
This is Rietveld 408576698