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

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: 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 2283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2294 const gfx::RectF& active_rect) { 2294 const gfx::RectF& active_rect) {
2295 if (delegate_) 2295 if (delegate_)
2296 delegate_->FindMatchRectsReply(this, version, rects, active_rect); 2296 delegate_->FindMatchRectsReply(this, version, rects, active_rect);
2297 } 2297 }
2298 2298
2299 void WebContentsImpl::OnOpenDateTimeDialog( 2299 void WebContentsImpl::OnOpenDateTimeDialog(
2300 const ViewHostMsg_DateTimeDialogValue_Params& value) { 2300 const ViewHostMsg_DateTimeDialogValue_Params& value) {
2301 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), 2301 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this),
2302 GetRenderViewHost(), 2302 GetRenderViewHost(),
2303 value.dialog_type, 2303 value.dialog_type,
2304 value.year, 2304 value.dialog_value,
2305 value.month,
2306 value.day,
2307 value.hour,
2308 value.minute,
2309 value.second,
2310 value.milli,
2311 value.week,
2312 value.minimum, 2305 value.minimum,
2313 value.maximum, 2306 value.maximum,
2314 value.step); 2307 value.step);
2315 } 2308 }
2316 2309
2317 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { 2310 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) {
2318 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( 2311 java_bridge_dispatcher_host_manager_->OnGetChannelHandle(
2319 message_source_, reply_msg); 2312 message_source_, reply_msg);
2320 } 2313 }
2321 2314
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
3677 } 3670 }
3678 3671
3679 void WebContentsImpl::OnFrameRemoved( 3672 void WebContentsImpl::OnFrameRemoved(
3680 RenderViewHostImpl* render_view_host, 3673 RenderViewHostImpl* render_view_host,
3681 int64 frame_id) { 3674 int64 frame_id) {
3682 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3675 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3683 FrameDetached(render_view_host, frame_id)); 3676 FrameDetached(render_view_host, frame_id));
3684 } 3677 }
3685 3678
3686 } // namespace content 3679 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698