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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 13150004: Support color chooser inside extesions, apps, chrome frame, dev tool (Closed) Base URL: http://git.chromium.org/chromium/src.git@ngcolor
Patch Set: Removed chrome/browser/ui/color_chooser.cc Created 7 years, 8 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: chrome/browser/ui/views/external_tab_container_win.cc
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc
index 74341520c7ea08fbb1f5f398896a3be0ece671d4..9ba22a4f139a4be385853c9bd06d45e0906e7f31 100644
--- a/chrome/browser/ui/views/external_tab_container_win.cc
+++ b/chrome/browser/ui/views/external_tab_container_win.cc
@@ -47,6 +47,7 @@
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/url_constants.h"
+#include "content/public/browser/color_chooser.h"
#include "content/public/browser/load_notification_details.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "content/public/browser/navigation_details.h"
@@ -819,6 +820,11 @@ void ExternalTabContainerWin::ShowRepostFormWarningDialog(WebContents* source) {
source);
}
+content::ColorChooser* ExternalTabContainerWin::OpenColorChooser(
+ WebContents* web_contents, SkColor initial_color) {
+ return content::ColorChooser::Open(web_contents, initial_color);
+}
+
void ExternalTabContainerWin::RunFileChooser(
WebContents* tab,
const content::FileChooserParams& params) {

Powered by Google App Engine
This is Rietveld 408576698