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 2286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2297 const gfx::RectF& active_rect) { | 2297 const gfx::RectF& active_rect) { |
2298 if (delegate_) | 2298 if (delegate_) |
2299 delegate_->FindMatchRectsReply(this, version, rects, active_rect); | 2299 delegate_->FindMatchRectsReply(this, version, rects, active_rect); |
2300 } | 2300 } |
2301 | 2301 |
2302 void WebContentsImpl::OnOpenDateTimeDialog( | 2302 void WebContentsImpl::OnOpenDateTimeDialog( |
2303 const ViewHostMsg_DateTimeDialogValue_Params& value) { | 2303 const ViewHostMsg_DateTimeDialogValue_Params& value) { |
2304 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), | 2304 date_time_chooser_->ShowDialog(ContentViewCore::FromWebContents(this), |
2305 GetRenderViewHost(), | 2305 GetRenderViewHost(), |
2306 value.dialog_type, | 2306 value.dialog_type, |
2307 value.year, | 2307 value.dialog_value, |
2308 value.month, | |
2309 value.day, | |
2310 value.hour, | |
2311 value.minute, | |
2312 value.second, | |
2313 value.milli, | |
2314 value.week, | |
2315 value.minimum, | 2308 value.minimum, |
2316 value.maximum, | 2309 value.maximum, |
2317 value.step); | 2310 value.step, |
| 2311 value.suggestions); |
2318 } | 2312 } |
2319 | 2313 |
2320 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { | 2314 void WebContentsImpl::OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg) { |
2321 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( | 2315 java_bridge_dispatcher_host_manager_->OnGetChannelHandle( |
2322 message_source_, reply_msg); | 2316 message_source_, reply_msg); |
2323 } | 2317 } |
2324 | 2318 |
2325 #endif | 2319 #endif |
2326 | 2320 |
2327 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path, | 2321 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path, |
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3683 } | 3677 } |
3684 | 3678 |
3685 void WebContentsImpl::OnFrameRemoved( | 3679 void WebContentsImpl::OnFrameRemoved( |
3686 RenderViewHostImpl* render_view_host, | 3680 RenderViewHostImpl* render_view_host, |
3687 int64 frame_id) { | 3681 int64 frame_id) { |
3688 FOR_EACH_OBSERVER(WebContentsObserver, observers_, | 3682 FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
3689 FrameDetached(render_view_host, frame_id)); | 3683 FrameDetached(render_view_host, frame_id)); |
3690 } | 3684 } |
3691 | 3685 |
3692 } // namespace content | 3686 } // namespace content |
OLD | NEW |