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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 11418295: Use WebCore:DateTimeChooser for date/time form types instead of considering them text fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 class WebMediaPlayerManagerAndroid; 96 class WebMediaPlayerManagerAndroid;
97 } 97 }
98 #endif 98 #endif
99 99
100 namespace WebKit { 100 namespace WebKit {
101 class WebApplicationCacheHost; 101 class WebApplicationCacheHost;
102 class WebApplicationCacheHostClient; 102 class WebApplicationCacheHostClient;
103 class WebCompositorOutputSurface; 103 class WebCompositorOutputSurface;
104 class WebDOMMessageEvent; 104 class WebDOMMessageEvent;
105 class WebDataSource; 105 class WebDataSource;
106 class WebDateTimeChooserCompletion;
107 class WebDateTimeChooserParams;
106 class WebDragData; 108 class WebDragData;
107 class WebGeolocationClient; 109 class WebGeolocationClient;
108 class WebGestureEvent; 110 class WebGestureEvent;
109 class WebIconURL; 111 class WebIconURL;
110 class WebImage; 112 class WebImage;
111 class WebPeerConnection00Handler; 113 class WebPeerConnection00Handler;
112 class WebPeerConnection00HandlerClient; 114 class WebPeerConnection00HandlerClient;
113 class WebMediaPlayer; 115 class WebMediaPlayer;
114 class WebMediaPlayerClient; 116 class WebMediaPlayerClient;
115 class WebMouseEvent; 117 class WebMouseEvent;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 class JavaBridgeDispatcher; 150 class JavaBridgeDispatcher;
149 class LoadProgressTracker; 151 class LoadProgressTracker;
150 class MediaStreamDispatcher; 152 class MediaStreamDispatcher;
151 class MediaStreamImpl; 153 class MediaStreamImpl;
152 class MouseLockDispatcher; 154 class MouseLockDispatcher;
153 class NavigationState; 155 class NavigationState;
154 class NotificationProvider; 156 class NotificationProvider;
155 class RenderViewObserver; 157 class RenderViewObserver;
156 class RenderViewTest; 158 class RenderViewTest;
157 class RendererAccessibility; 159 class RendererAccessibility;
160 class RendererDateTimePicker;
158 class RendererPpapiHost; 161 class RendererPpapiHost;
159 class RendererWebColorChooserImpl; 162 class RendererWebColorChooserImpl;
160 class RenderWidgetFullscreenPepper; 163 class RenderWidgetFullscreenPepper;
161 class SpeechRecognitionDispatcher; 164 class SpeechRecognitionDispatcher;
162 class WebIntentsHost; 165 class WebIntentsHost;
163 class WebPluginDelegateProxy; 166 class WebPluginDelegateProxy;
164 struct CustomContextMenuContext; 167 struct CustomContextMenuContext;
165 struct FileChooserParams; 168 struct FileChooserParams;
166 struct RenderViewImplParams; 169 struct RenderViewImplParams;
167 170
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 const WebKit::WebString& title); 490 const WebKit::WebString& title);
488 virtual WebKit::WebPageVisibilityState visibilityState() const; 491 virtual WebKit::WebPageVisibilityState visibilityState() const;
489 virtual WebKit::WebUserMediaClient* userMediaClient(); 492 virtual WebKit::WebUserMediaClient* userMediaClient();
490 virtual void draggableRegionsChanged(); 493 virtual void draggableRegionsChanged();
491 494
492 #if defined(OS_ANDROID) 495 #if defined(OS_ANDROID)
493 virtual void scheduleContentIntent(const WebKit::WebURL& intent); 496 virtual void scheduleContentIntent(const WebKit::WebURL& intent);
494 virtual void cancelScheduledContentIntents(); 497 virtual void cancelScheduledContentIntents();
495 virtual WebKit::WebContentDetectionResult detectContentAround( 498 virtual WebKit::WebContentDetectionResult detectContentAround(
496 const WebKit::WebHitTestResult& touch_hit); 499 const WebKit::WebHitTestResult& touch_hit);
500
501 // Only used on Android since all other platforms implement
502 // date and time input fields using
503 // MULTIPLE FIELDS
Avi (use Gerrit) 2012/12/05 16:37:01 Is "MULTIPLE FIELDS" a code thing that you're capi
Miguel Garcia 2012/12/05 17:02:43 Yes, that's how the WebKit feature is called. On
504 virtual bool openDateTimeChooser(const WebKit::WebDateTimeChooserParams&,
505 WebKit::WebDateTimeChooserCompletion*);
497 #endif 506 #endif
498 507
499 // WebKit::WebFrameClient implementation ------------------------------------- 508 // WebKit::WebFrameClient implementation -------------------------------------
500 509
501 virtual WebKit::WebPlugin* createPlugin( 510 virtual WebKit::WebPlugin* createPlugin(
502 WebKit::WebFrame* frame, 511 WebKit::WebFrame* frame,
503 const WebKit::WebPluginParams& params); 512 const WebKit::WebPluginParams& params);
504 virtual WebKit::WebSharedWorker* createSharedWorker( 513 virtual WebKit::WebSharedWorker* createSharedWorker(
505 WebKit::WebFrame* frame, const WebKit::WebURL& url, 514 WebKit::WebFrame* frame, const WebKit::WebURL& url,
506 const WebKit::WebString& name, unsigned long long documentId); 515 const WebKit::WebString& name, unsigned long long documentId);
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 // created in the renderer process. 1437 // created in the renderer process.
1429 scoped_ptr<webkit_media::MediaPlayerBridgeManagerImpl> media_bridge_manager_; 1438 scoped_ptr<webkit_media::MediaPlayerBridgeManagerImpl> media_bridge_manager_;
1430 1439
1431 // Holds the message used to return find results to the browser during 1440 // Holds the message used to return find results to the browser during
1432 // synchronous find-in-page requests. Only non-null during these requests. 1441 // synchronous find-in-page requests. Only non-null during these requests.
1433 scoped_ptr<IPC::Message> synchronous_find_reply_message_; 1442 scoped_ptr<IPC::Message> synchronous_find_reply_message_;
1434 1443
1435 // The active find-in-page match ordinal during synchronous requests. 1444 // The active find-in-page match ordinal during synchronous requests.
1436 // Needed to be remembered across WebKit callbacks. 1445 // Needed to be remembered across WebKit callbacks.
1437 int synchronous_find_active_match_ordinal_; 1446 int synchronous_find_active_match_ordinal_;
1447
1448 // A date/time picker object for date and time related input elements.
1449 scoped_ptr<RendererDateTimePicker> date_time_picker_client_;
1438 #endif 1450 #endif
1439 1451
1440 // Misc ---------------------------------------------------------------------- 1452 // Misc ----------------------------------------------------------------------
1441 1453
1442 // The current and pending file chooser completion objects. If the queue is 1454 // The current and pending file chooser completion objects. If the queue is
1443 // nonempty, the first item represents the currently running file chooser 1455 // nonempty, the first item represents the currently running file chooser
1444 // callback, and the remaining elements are the other file chooser completion 1456 // callback, and the remaining elements are the other file chooser completion
1445 // still waiting to be run (in order). 1457 // still waiting to be run (in order).
1446 struct PendingFileChooser; 1458 struct PendingFileChooser;
1447 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; 1459 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 // use the Observer interface to filter IPC messages and receive frame change 1562 // use the Observer interface to filter IPC messages and receive frame change
1551 // notifications. 1563 // notifications.
1552 // --------------------------------------------------------------------------- 1564 // ---------------------------------------------------------------------------
1553 1565
1554 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1566 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1555 }; 1567 };
1556 1568
1557 } // namespace content 1569 } // namespace content
1558 1570
1559 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1571 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698