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

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 23623019: Support datalist for date/time input types on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 #include "content/browser/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 2289 matching lines...) Expand 10 before | Expand all | Expand 10 after
2300 } 2300 }
2301 2301
2302 void WebContentsImpl::OnOpenDateTimeDialog( 2302 void WebContentsImpl::OnOpenDateTimeDialog(
2303 const ViewHostMsg_DateTimeDialogValue_Params& value) { 2303 const ViewHostMsg_DateTimeDialogValue_Params& value) {
2304 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), 2304 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this),
2305 GetRenderViewHost(), 2305 GetRenderViewHost(),
2306 value.dialog_type, 2306 value.dialog_type,
2307 value.dialog_value, 2307 value.dialog_value,
2308 value.minimum, 2308 value.minimum,
2309 value.maximum, 2309 value.maximum,
2310 value.step); 2310 value.step,
2311 value.suggestions);
2311 } 2312 }
2312 2313
2313 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { 2314 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) {
2314 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( 2315 java_bridge_dispatcher_host_manager_->OnGetChannelHandle(
2315 message_source_, reply_msg); 2316 message_source_, reply_msg);
2316 } 2317 }
2317 2318
2318 #endif 2319 #endif
2319 2320
2320 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path, 2321 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path,
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
3676 } 3677 }
3677 3678
3678 void WebContentsImpl::OnFrameRemoved( 3679 void WebContentsImpl::OnFrameRemoved(
3679 RenderViewHostImpl* render_view_host, 3680 RenderViewHostImpl* render_view_host,
3680 int64 frame_id) { 3681 int64 frame_id) {
3681 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3682 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3682 FrameDetached(render_view_host, frame_id)); 3683 FrameDetached(render_view_host, frame_id));
3683 } 3684 }
3684 3685
3685 } // namespace content 3686 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698