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

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 14b7e1fda3cf6b39e58790f93c651484a2ce9956..eb7daaeee762b85d469772a40771522a9eb8e362 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -43,6 +43,7 @@ namespace content {
class BrowserPluginEmbedder;
class BrowserPluginGuest;
class ColorChooser;
+class DateTimeChooserAndroid;
class DownloadItem;
class InterstitialPageImpl;
class JavaScriptDialogCreator;
@@ -547,6 +548,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, base::ProcessId plugin_pid);
void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
@@ -829,6 +832,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<DateTimeChooserAndroid> date_time_chooser_;
+#endif
+
// Color chooser that was opened by this tab.
ColorChooser* color_chooser_;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698