| 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 e621d89918a2fda717e93b03232b9e6e2376b43d..b1e80466bd56466dc32ff6ebf2815b71419408a2 100644
|
| --- a/content/browser/tab_contents/tab_contents.cc
|
| +++ b/content/browser/tab_contents/tab_contents.cc
|
| @@ -510,6 +510,10 @@ bool TabContents::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_CrashedPlugin, OnCrashedPlugin)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_OpenColorChooser, OnOpenColorChooser)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_EndColorChooser, OnEndColorChooser)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_SetSelectedColorInColorChooser,
|
| + OnSetSelectedColorInColorChooser)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP_EX()
|
|
|
| @@ -521,6 +525,20 @@ bool TabContents::OnMessageReceived(const IPC::Message& message) {
|
| return handled;
|
| }
|
|
|
| +void TabContents::OnOpenColorChooser(int color_chooser_id,
|
| + const SkColor& color) {
|
| + delegate_->OpenColorChooser(this, color_chooser_id, color);
|
| +}
|
| +
|
| +void TabContents::OnEndColorChooser(int color_chooser_id) {
|
| + delegate_->EndColorChooser(this, color_chooser_id);
|
| +}
|
| +
|
| +void TabContents::OnSetSelectedColorInColorChooser(
|
| + int color_chooser_id, const SkColor& color) {
|
| + delegate_->SetSelectedColorInColorChooser(this, color_chooser_id, color);
|
| +}
|
| +
|
| void TabContents::RunFileChooser(
|
| RenderViewHost* render_view_host,
|
| const content::FileChooserParams& params) {
|
|
|