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

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: Use new webKit enum instead of string comparissons 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 RendererDateTimePickerImpl;
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 // MULTIPLE FIELDS
Peter Beverloo 2012/12/05 11:57:03 nit: s/android/Android/. I'd clarify what MULTIPLE
Miguel Garcia 2012/12/05 16:23:16 Done.
503 virtual bool openDateTimeChooser(const WebKit::WebDateTimeChooserParams&,
504 WebKit::WebDateTimeChooserCompletion*);
497 #endif 505 #endif
498 506
499 // WebKit::WebFrameClient implementation ------------------------------------- 507 // WebKit::WebFrameClient implementation -------------------------------------
500 508
501 virtual WebKit::WebPlugin* createPlugin( 509 virtual WebKit::WebPlugin* createPlugin(
502 WebKit::WebFrame* frame, 510 WebKit::WebFrame* frame,
503 const WebKit::WebPluginParams& params); 511 const WebKit::WebPluginParams& params);
504 virtual WebKit::WebSharedWorker* createSharedWorker( 512 virtual WebKit::WebSharedWorker* createSharedWorker(
505 WebKit::WebFrame* frame, const WebKit::WebURL& url, 513 WebKit::WebFrame* frame, const WebKit::WebURL& url,
506 const WebKit::WebString& name, unsigned long long documentId); 514 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. 1436 // created in the renderer process.
1429 scoped_ptr<webkit_media::MediaPlayerBridgeManagerImpl> media_bridge_manager_; 1437 scoped_ptr<webkit_media::MediaPlayerBridgeManagerImpl> media_bridge_manager_;
1430 1438
1431 // Holds the message used to return find results to the browser during 1439 // Holds the message used to return find results to the browser during
1432 // synchronous find-in-page requests. Only non-null during these requests. 1440 // synchronous find-in-page requests. Only non-null during these requests.
1433 scoped_ptr<IPC::Message> synchronous_find_reply_message_; 1441 scoped_ptr<IPC::Message> synchronous_find_reply_message_;
1434 1442
1435 // The active find-in-page match ordinal during synchronous requests. 1443 // The active find-in-page match ordinal during synchronous requests.
1436 // Needed to be remembered across WebKit callbacks. 1444 // Needed to be remembered across WebKit callbacks.
1437 int synchronous_find_active_match_ordinal_; 1445 int synchronous_find_active_match_ordinal_;
1438 #endif 1446
1447 // A date/time picker object for input type=date and similar.
Peter Beverloo 2012/12/05 11:57:03 s/for input type=date and similar/for date and tim
Miguel Garcia 2012/12/05 16:23:16 Done.
1448 scoped_ptr<RendererDateTimePickerImpl> date_time_picker_client_;
1449 #endif
Peter Beverloo 2012/12/05 11:57:03 No indenting for the #endif.
Miguel Garcia 2012/12/05 16:23:16 Done.
1439 1450
1440 // Misc ---------------------------------------------------------------------- 1451 // Misc ----------------------------------------------------------------------
1441 1452
1442 // The current and pending file chooser completion objects. If the queue is 1453 // The current and pending file chooser completion objects. If the queue is
1443 // nonempty, the first item represents the currently running file chooser 1454 // nonempty, the first item represents the currently running file chooser
1444 // callback, and the remaining elements are the other file chooser completion 1455 // callback, and the remaining elements are the other file chooser completion
1445 // still waiting to be run (in order). 1456 // still waiting to be run (in order).
1446 struct PendingFileChooser; 1457 struct PendingFileChooser;
1447 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; 1458 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_;
1448 1459
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 // use the Observer interface to filter IPC messages and receive frame change 1561 // use the Observer interface to filter IPC messages and receive frame change
1551 // notifications. 1562 // notifications.
1552 // --------------------------------------------------------------------------- 1563 // ---------------------------------------------------------------------------
1553 1564
1554 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1565 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1555 }; 1566 };
1556 1567
1557 } // namespace content 1568 } // namespace content
1558 1569
1559 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1570 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698