| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index ecfcaa5f6d205f01593093ec8c953f85f13a1c65..aca0bb31897ef902f7f13f48da62169dd1054c07 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -36,6 +36,7 @@
|
| #include "chrome/browser/browser_shutdown.h"
|
| #include "chrome/browser/character_encoding.h"
|
| #include "chrome/browser/chrome_page_zoom.h"
|
| +#include "chrome/browser/color_select_helper.h"
|
| #include "chrome/browser/content_settings/host_content_settings_map.h"
|
| #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
|
| #include "chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h"
|
| @@ -4010,6 +4011,19 @@ content::JavaScriptDialogCreator* Browser::GetJavaScriptDialogCreator() {
|
| return GetJavaScriptDialogCreatorInstance();
|
| }
|
|
|
| +void Browser::OpenColorChooser(WebContents* tab,
|
| + const WebKit::WebColor& color) {
|
| + color_select_helper_.reset(new ColorSelectHelper());
|
| + color_select_helper_->OpenColorChooser(tab, color);
|
| +}
|
| +void Browser::EndColorChooser(WebContents* tab) {
|
| + color_select_helper_->EndColorChooser(tab);
|
| +}
|
| +void Browser::SetSelectedColorInColorChooser(WebContents* tab,
|
| + const WebKit::WebColor& color) {
|
| + color_select_helper_->SetSelectedColorInColorChooser(tab, color);
|
| +}
|
| +
|
| void Browser::RunFileChooser(WebContents* tab,
|
| const content::FileChooserParams& params) {
|
| RunFileChooserHelper(tab, params);
|
|
|