| 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/renderer_host/render_view_host_impl.h" | 5 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 971 WindowOpenDisposition disposition, | 971 WindowOpenDisposition disposition, |
| 972 const gfx::Rect& initial_rect, | 972 const gfx::Rect& initial_rect, |
| 973 bool user_gesture) { | 973 bool user_gesture) { |
| 974 delegate_->ShowCreatedWindow(route_id, disposition, initial_rect, | 974 delegate_->ShowCreatedWindow(route_id, disposition, initial_rect, |
| 975 user_gesture); | 975 user_gesture); |
| 976 Send(new ViewMsg_Move_ACK(route_id)); | 976 Send(new ViewMsg_Move_ACK(route_id)); |
| 977 } | 977 } |
| 978 | 978 |
| 979 void RenderViewHostImpl::OnShowWidget(int route_id, | 979 void RenderViewHostImpl::OnShowWidget(int route_id, |
| 980 const gfx::Rect& initial_rect) { | 980 const gfx::Rect& initial_rect) { |
| 981 if (is_active_) | 981 delegate_->ShowCreatedWidget(route_id, initial_rect); |
| 982 delegate_->ShowCreatedWidget(route_id, initial_rect); | |
| 983 Send(new ViewMsg_Move_ACK(route_id)); | 982 Send(new ViewMsg_Move_ACK(route_id)); |
| 984 } | 983 } |
| 985 | 984 |
| 986 void RenderViewHostImpl::OnShowFullscreenWidget(int route_id) { | 985 void RenderViewHostImpl::OnShowFullscreenWidget(int route_id) { |
| 987 if (is_active_) | 986 if (is_active_) |
| 988 delegate_->ShowCreatedFullscreenWidget(route_id); | 987 delegate_->ShowCreatedFullscreenWidget(route_id); |
| 989 Send(new ViewMsg_Move_ACK(route_id)); | 988 Send(new ViewMsg_Move_ACK(route_id)); |
| 990 } | 989 } |
| 991 | 990 |
| 992 void RenderViewHostImpl::OnRenderProcessGone(int status, int exit_code) { | 991 void RenderViewHostImpl::OnRenderProcessGone(int status, int exit_code) { |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1353 } else { | 1352 } else { |
| 1354 render_view_ready_on_process_launch_ = true; | 1353 render_view_ready_on_process_launch_ = true; |
| 1355 } | 1354 } |
| 1356 } | 1355 } |
| 1357 | 1356 |
| 1358 void RenderViewHostImpl::RenderViewReady() { | 1357 void RenderViewHostImpl::RenderViewReady() { |
| 1359 delegate_->RenderViewReady(this); | 1358 delegate_->RenderViewReady(this); |
| 1360 } | 1359 } |
| 1361 | 1360 |
| 1362 } // namespace content | 1361 } // namespace content |
| OLD | NEW |