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

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
« no previous file with comments | « content/browser/android/date_time_chooser_android.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after
2311 const gfx::RectF& active_rect) { 2311 const gfx::RectF& active_rect) {
2312 if (delegate_) 2312 if (delegate_)
2313 delegate_->FindMatchRectsReply(this, version, rects, active_rect); 2313 delegate_->FindMatchRectsReply(this, version, rects, active_rect);
2314 } 2314 }
2315 2315
2316 void WebContentsImpl::OnOpenDateTimeDialog( 2316 void WebContentsImpl::OnOpenDateTimeDialog(
2317 const ViewHostMsg_DateTimeDialogValue_Params& value) { 2317 const ViewHostMsg_DateTimeDialogValue_Params& value) {
2318 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), 2318 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this),
2319 GetRenderViewHost(), 2319 GetRenderViewHost(),
2320 value.dialog_type, 2320 value.dialog_type,
2321 value.year, 2321 value.dialog_value,
2322 value.month,
2323 value.day,
2324 value.hour,
2325 value.minute,
2326 value.second,
2327 value.milli,
2328 value.week,
2329 value.minimum, 2322 value.minimum,
2330 value.maximum, 2323 value.maximum,
2331 value.step); 2324 value.step);
2332 } 2325 }
2333 2326
2334 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { 2327 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) {
2335 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( 2328 java_bridge_dispatcher_host_manager_->OnGetChannelHandle(
2336 message_source_, reply_msg); 2329 message_source_, reply_msg);
2337 } 2330 }
2338 2331
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
3701 } 3694 }
3702 3695
3703 void WebContentsImpl::OnFrameRemoved( 3696 void WebContentsImpl::OnFrameRemoved(
3704 RenderViewHostImpl* render_view_host, 3697 RenderViewHostImpl* render_view_host,
3705 int64 frame_id) { 3698 int64 frame_id) {
3706 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3699 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3707 FrameDetached(render_view_host, frame_id)); 3700 FrameDetached(render_view_host, frame_id));
3708 } 3701 }
3709 3702
3710 } // namespace content 3703 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/date_time_chooser_android.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698