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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 25 matching lines...) Expand all
36 36
37 namespace webkit_glue { 37 namespace webkit_glue {
38 struct WebIntentData; 38 struct WebIntentData;
39 struct WebIntentServiceData; 39 struct WebIntentServiceData;
40 } 40 }
41 41
42 namespace content { 42 namespace content {
43 class BrowserPluginEmbedder; 43 class BrowserPluginEmbedder;
44 class BrowserPluginGuest; 44 class BrowserPluginGuest;
45 class ColorChooser; 45 class ColorChooser;
46 class DateTimeChooserAndroid;
46 class DownloadItem; 47 class DownloadItem;
47 class InterstitialPageImpl; 48 class InterstitialPageImpl;
48 class JavaScriptDialogCreator; 49 class JavaScriptDialogCreator;
49 class RenderViewHost; 50 class RenderViewHost;
50 class RenderViewHostDelegateView; 51 class RenderViewHostDelegateView;
51 class RenderViewHostImpl; 52 class RenderViewHostImpl;
52 class RenderWidgetHostImpl; 53 class RenderWidgetHostImpl;
53 class SavePackage; 54 class SavePackage;
54 class SessionStorageNamespaceImpl; 55 class SessionStorageNamespaceImpl;
55 class SiteInstance; 56 class SiteInstance;
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 bool user_gesture); 541 bool user_gesture);
541 void OnFindReply(int request_id, 542 void OnFindReply(int request_id,
542 int number_of_matches, 543 int number_of_matches,
543 const gfx::Rect& selection_rect, 544 const gfx::Rect& selection_rect,
544 int active_match_ordinal, 545 int active_match_ordinal,
545 bool final_update); 546 bool final_update);
546 #if defined(OS_ANDROID) 547 #if defined(OS_ANDROID)
547 void OnFindMatchRectsReply(int version, 548 void OnFindMatchRectsReply(int version,
548 const std::vector<gfx::RectF>& rects, 549 const std::vector<gfx::RectF>& rects,
549 const gfx::RectF& active_rect); 550 const gfx::RectF& active_rect);
551
552 void OnOpenDateTimeDialog(int type, const std::string& value);
550 #endif 553 #endif
551 void OnCrashedPlugin(const FilePath& plugin_path, base::ProcessId plugin_pid); 554 void OnCrashedPlugin(const FilePath& plugin_path, base::ProcessId plugin_pid);
552 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); 555 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
553 void OnOpenColorChooser(int color_chooser_id, SkColor color); 556 void OnOpenColorChooser(int color_chooser_id, SkColor color);
554 void OnEndColorChooser(int color_chooser_id); 557 void OnEndColorChooser(int color_chooser_id);
555 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); 558 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color);
556 void OnPepperPluginHung(int plugin_child_id, 559 void OnPepperPluginHung(int plugin_child_id,
557 const FilePath& path, 560 const FilePath& path,
558 bool is_hung); 561 bool is_hung);
559 void OnWebUISend(const GURL& source_url, 562 void OnWebUISend(const GURL& source_url,
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 // remember it. 825 // remember it.
823 bool temporary_zoom_settings_; 826 bool temporary_zoom_settings_;
824 827
825 // The intrinsic size of the page. 828 // The intrinsic size of the page.
826 gfx::Size preferred_size_; 829 gfx::Size preferred_size_;
827 830
828 // Content restrictions, used to disable print/copy etc based on content's 831 // Content restrictions, used to disable print/copy etc based on content's
829 // (full-page plugins for now only) permissions. 832 // (full-page plugins for now only) permissions.
830 int content_restrictions_; 833 int content_restrictions_;
831 834
835 #if defined(OS_ANDROID)
836 // Date time chooser opened by this tab.
837 // Only used in Android since all other platforms use a multi field UI.
838 scoped_ptr<DateTimeChooserAndroid> date_time_chooser_;
839 #endif
840
832 // Color chooser that was opened by this tab. 841 // Color chooser that was opened by this tab.
833 ColorChooser* color_chooser_; 842 ColorChooser* color_chooser_;
834 843
835 // Manages the embedder state for browser plugins, if this WebContents is an 844 // Manages the embedder state for browser plugins, if this WebContents is an
836 // embedder; NULL otherwise. 845 // embedder; NULL otherwise.
837 scoped_ptr<BrowserPluginEmbedder> browser_plugin_embedder_; 846 scoped_ptr<BrowserPluginEmbedder> browser_plugin_embedder_;
838 // Manages the guest state for browser plugin, if this WebContents is a guest; 847 // Manages the guest state for browser plugin, if this WebContents is a guest;
839 // NULL otherwise. 848 // NULL otherwise.
840 scoped_ptr<BrowserPluginGuest> browser_plugin_guest_; 849 scoped_ptr<BrowserPluginGuest> browser_plugin_guest_;
841 850
(...skipping 12 matching lines...) Expand all
854 // Maps the ids of pending favicon downloads to their callbacks 863 // Maps the ids of pending favicon downloads to their callbacks
855 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; 864 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap;
856 FaviconDownloadMap favicon_download_map_; 865 FaviconDownloadMap favicon_download_map_;
857 866
858 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 867 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
859 }; 868 };
860 869
861 } // namespace content 870 } // namespace content
862 871
863 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 872 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698