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

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

Issue 85643002: Transfer date/time value to chooser as double (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@doubledate2
Patch Set: used ui::TextInputType 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 2286 matching lines...) Expand 10 before | Expand all | Expand 10 after
2297 const gfx::RectF& active_rect) { 2297 const gfx::RectF& active_rect) {
2298 if (delegate_) 2298 if (delegate_)
2299 delegate_->FindMatchRectsReply(this, version, rects, active_rect); 2299 delegate_->FindMatchRectsReply(this, version, rects, active_rect);
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.year, 2307 value.dialog_value,
2308 value.month,
2309 value.day,
2310 value.hour,
2311 value.minute,
2312 value.second,
2313 value.milli,
2314 value.week,
2315 value.minimum, 2308 value.minimum,
2316 value.maximum, 2309 value.maximum,
2317 value.step); 2310 value.step);
2318 } 2311 }
2319 2312
2320 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { 2313 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) {
2321 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( 2314 java_bridge_dispatcher_host_manager_->OnGetChannelHandle(
2322 message_source_, reply_msg); 2315 message_source_, reply_msg);
2323 } 2316 }
2324 2317
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
3683 } 3676 }
3684 3677
3685 void WebContentsImpl::OnFrameRemoved( 3678 void WebContentsImpl::OnFrameRemoved(
3686 RenderViewHostImpl* render_view_host, 3679 RenderViewHostImpl* render_view_host,
3687 int64 frame_id) { 3680 int64 frame_id) {
3688 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3681 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3689 FrameDetached(render_view_host, frame_id)); 3682 FrameDetached(render_view_host, frame_id));
3690 } 3683 }
3691 3684
3692 } // namespace content 3685 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698