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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 11783088: Split Date/Time picker values from IME processing since date/time related form values have been com… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 310bca3ebc95cc11b1f97196a74312d180dfc8b9..271ee7ae63afa86901411ab36479c950a792d2b7 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -46,6 +46,7 @@ namespace content {
class BrowserPluginEmbedder;
class BrowserPluginGuest;
class ColorChooser;
+class DateTimeChooser;
class DownloadItem;
class InterstitialPageImpl;
class JavaScriptDialogCreator;
@@ -550,6 +551,8 @@ class CONTENT_EXPORT WebContentsImpl
void OnFindMatchRectsReply(int version,
const std::vector<gfx::RectF>& rects,
const gfx::RectF& active_rect);
+
+ void OnOpenDateTimeDialog(int type, const std::string& value);
#endif
void OnCrashedPlugin(const FilePath& plugin_path);
void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
@@ -840,6 +843,12 @@ class CONTENT_EXPORT WebContentsImpl
// (full-page plugins for now only) permissions.
int content_restrictions_;
+#if defined(OS_ANDROID)
+ // Date time chooser opened by this tab.
+ // Only used in Android since all other platforms use a multi field UI.
+ scoped_ptr<DateTimeChooser> date_time_chooser_;
+#endif
+
// Color chooser that was opened by this tab.
ColorChooser* color_chooser_;

Powered by Google App Engine
This is Rietveld 408576698