| 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 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |