Chromium Code Reviews| Index: content/components/web_contents_delegate_android/web_contents_delegate_android.cc |
| diff --git a/content/components/web_contents_delegate_android/web_contents_delegate_android.cc b/content/components/web_contents_delegate_android/web_contents_delegate_android.cc |
| index e212b2c7bbcabc9e091d589a64b903ffe192593e..bb266de59db9eb978e98fcd0abf83997750e4f5b 100644 |
| --- a/content/components/web_contents_delegate_android/web_contents_delegate_android.cc |
| +++ b/content/components/web_contents_delegate_android/web_contents_delegate_android.cc |
| @@ -8,6 +8,7 @@ |
| #include "base/android/jni_android.h" |
| #include "base/android/jni_string.h" |
| +#include "content/components/web_contents_delegate_android/color_chooser_android.h" |
| #include "content/public/browser/android/content_view_core.h" |
| #include "content/public/browser/render_widget_host_view.h" |
| #include "content/public/browser/invalidate_type.h" |
| @@ -45,6 +46,14 @@ WebContentsDelegateAndroid::GetJavaDelegate(JNIEnv* env) const { |
| // WebContentsDelegate methods |
| // ---------------------------------------------------------------------------- |
| +ColorChooser* WebContentsDelegateAndroid::OpenColorChooser( |
| + WebContents* web_contents, |
| + int color_chooser_id, |
| + SkColor color) { |
| + return ColorChooser::Create(color_chooser_id, web_contents, color); |
| +} |
| + |
| + |
|
Peter Beverloo
2012/11/23 17:55:48
nit: only a single blank line.
Miguel Garcia
2012/11/26 11:35:10
Done.
|
| // OpenURLFromTab() will be called when we're performing a browser-intiated |
| // navigation. The most common scenario for this is opening new tabs (see |
| // RenderViewImpl::decidePolicyForNavigation for more details). |