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

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 2345 matching lines...) Expand 10 before | Expand all | Expand 10 after
2356 } 2356 }
2357 2357
2358 void WebContentsImpl::OnOpenDateTimeDialog( 2358 void WebContentsImpl::OnOpenDateTimeDialog(
2359 const ViewHostMsg_DateTimeDialogValue_Params& value) { 2359 const ViewHostMsg_DateTimeDialogValue_Params& value) {
2360 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), 2360 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this),
2361 GetRenderViewHost(), 2361 GetRenderViewHost(),
2362 value.dialog_type, 2362 value.dialog_type,
2363 value.dialog_value, 2363 value.dialog_value,
2364 value.minimum, 2364 value.minimum,
2365 value.maximum, 2365 value.maximum,
2366 value.step); 2366 value.step,
2367 value.suggestions);
2367 } 2368 }
2368 2369
2369 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { 2370 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) {
2370 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( 2371 java_bridge_dispatcher_host_manager_->OnGetChannelHandle(
2371 message_source_, reply_msg); 2372 message_source_, reply_msg);
2372 } 2373 }
2373 2374
2374 #endif 2375 #endif
2375 2376
2376 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path, 2377 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path,
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
3736 } 3737 }
3737 3738
3738 void WebContentsImpl::OnFrameRemoved( 3739 void WebContentsImpl::OnFrameRemoved(
3739 RenderViewHostImpl* render_view_host, 3740 RenderViewHostImpl* render_view_host,
3740 int64 frame_id) { 3741 int64 frame_id) {
3741 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3742 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3742 FrameDetached(render_view_host, frame_id)); 3743 FrameDetached(render_view_host, frame_id));
3743 } 3744 }
3744 3745
3745 } // namespace content 3746 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/date_time_chooser_android.cc ('k') | content/common/date_time_suggestion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698