OLD | NEW |
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 2278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2289 const gfx::RectF& active_rect) { | 2289 const gfx::RectF& active_rect) { |
2290 if (delegate_) | 2290 if (delegate_) |
2291 delegate_->FindMatchRectsReply(this, version, rects, active_rect); | 2291 delegate_->FindMatchRectsReply(this, version, rects, active_rect); |
2292 } | 2292 } |
2293 | 2293 |
2294 void WebContentsImpl::OnOpenDateTimeDialog( | 2294 void WebContentsImpl::OnOpenDateTimeDialog( |
2295 const ViewHostMsg_DateTimeDialogValue_Params& value) { | 2295 const ViewHostMsg_DateTimeDialogValue_Params& value) { |
2296 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), | 2296 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), |
2297 GetRenderViewHost(), | 2297 GetRenderViewHost(), |
2298 value.dialog_type, | 2298 value.dialog_type, |
2299 value.year, | 2299 value.current_value, |
2300 value.month, | |
2301 value.day, | |
2302 value.hour, | |
2303 value.minute, | |
2304 value.second, | |
2305 value.milli, | |
2306 value.week, | |
2307 value.minimum, | 2300 value.minimum, |
2308 value.maximum, | 2301 value.maximum, |
2309 value.step); | 2302 value.step); |
2310 } | 2303 } |
2311 | 2304 |
2312 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { | 2305 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { |
2313 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( | 2306 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( |
2314 message_source_, reply_msg); | 2307 message_source_, reply_msg); |
2315 } | 2308 } |
2316 | 2309 |
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3663 } | 3656 } |
3664 | 3657 |
3665 void WebContentsImpl::OnFrameRemoved( | 3658 void WebContentsImpl::OnFrameRemoved( |
3666 RenderViewHostImpl* render_view_host, | 3659 RenderViewHostImpl* render_view_host, |
3667 int64 frame_id) { | 3660 int64 frame_id) { |
3668 FOR_EACH_OBSERVER(WebContentsObserver, observers_, | 3661 FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
3669 FrameDetached(render_view_host, frame_id)); | 3662 FrameDetached(render_view_host, frame_id)); |
3670 } | 3663 } |
3671 | 3664 |
3672 } // namespace content | 3665 } // namespace content |
OLD | NEW |