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

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

Issue 64913002: Transfer date/time value to chooser as double (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@datetime3
Patch Set: Created 7 years, 1 month 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/web_contents/web_contents_impl.h ('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 2279 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 #if defined(OS_ANDROID) 2290 #if defined(OS_ANDROID)
2291 void WebContentsImpl::OnFindMatchRectsReply( 2291 void WebContentsImpl::OnFindMatchRectsReply(
2292 int version, 2292 int version,
2293 const std::vector<gfx::RectF>& rects, 2293 const std::vector<gfx::RectF>& rects,
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 int identifier,
2300 const ViewHostMsg_DateTimeDialogValue_Params& value) { 2301 const ViewHostMsg_DateTimeDialogValue_Params& value) {
2301 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), 2302 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this),
2302 GetRenderViewHost(), 2303 GetRenderViewHost(),
2304 identifier,
2303 value.dialog_type, 2305 value.dialog_type,
2304 value.year, 2306 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, 2307 value.minimum,
2313 value.maximum, 2308 value.maximum,
2314 value.step); 2309 value.step);
2315 } 2310 }
2316 2311
2317 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { 2312 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) {
2318 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( 2313 java_bridge_dispatcher_host_manager_->OnGetChannelHandle(
2319 message_source_, reply_msg); 2314 message_source_, reply_msg);
2320 } 2315 }
2321 2316
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
3677 } 3672 }
3678 3673
3679 void WebContentsImpl::OnFrameRemoved( 3674 void WebContentsImpl::OnFrameRemoved(
3680 RenderViewHostImpl* render_view_host, 3675 RenderViewHostImpl* render_view_host,
3681 int64 frame_id) { 3676 int64 frame_id) {
3682 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3677 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3683 FrameDetached(render_view_host, frame_id)); 3678 FrameDetached(render_view_host, frame_id));
3684 } 3679 }
3685 3680
3686 } // namespace content 3681 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698