| 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 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1221 FocusedNodeDetails details = {is_editable_node, node_bounds_in_screen}; | 1221 FocusedNodeDetails details = {is_editable_node, node_bounds_in_screen}; |
| 1222 NotificationService::current()->Notify(NOTIFICATION_FOCUS_CHANGED_IN_PAGE, | 1222 NotificationService::current()->Notify(NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
| 1223 Source<RenderViewHost>(this), | 1223 Source<RenderViewHost>(this), |
| 1224 Details<FocusedNodeDetails>(&details)); | 1224 Details<FocusedNodeDetails>(&details)); |
| 1225 } | 1225 } |
| 1226 | 1226 |
| 1227 void RenderViewHostImpl::OnUserGesture() { | 1227 void RenderViewHostImpl::OnUserGesture() { |
| 1228 delegate_->OnUserGesture(); | 1228 delegate_->OnUserGesture(); |
| 1229 } | 1229 } |
| 1230 | 1230 |
| 1231 void RenderViewHostImpl::OnUserInteraction( |
| 1232 const blink::WebInputEvent::Type type) { |
| 1233 delegate_->OnUserInteraction(type); |
| 1234 } |
| 1235 |
| 1231 void RenderViewHostImpl::OnClosePageACK() { | 1236 void RenderViewHostImpl::OnClosePageACK() { |
| 1232 GetWidget()->decrement_in_flight_event_count(); | 1237 GetWidget()->decrement_in_flight_event_count(); |
| 1233 ClosePageIgnoringUnloadEvents(); | 1238 ClosePageIgnoringUnloadEvents(); |
| 1234 } | 1239 } |
| 1235 | 1240 |
| 1236 void RenderViewHostImpl::NotifyRendererUnresponsive() { | 1241 void RenderViewHostImpl::NotifyRendererUnresponsive() { |
| 1237 delegate_->RendererUnresponsive(this); | 1242 delegate_->RendererUnresponsive(this); |
| 1238 } | 1243 } |
| 1239 | 1244 |
| 1240 void RenderViewHostImpl::NotifyRendererResponsive() { | 1245 void RenderViewHostImpl::NotifyRendererResponsive() { |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1460 } else { | 1465 } else { |
| 1461 render_view_ready_on_process_launch_ = true; | 1466 render_view_ready_on_process_launch_ = true; |
| 1462 } | 1467 } |
| 1463 } | 1468 } |
| 1464 | 1469 |
| 1465 void RenderViewHostImpl::RenderViewReady() { | 1470 void RenderViewHostImpl::RenderViewReady() { |
| 1466 delegate_->RenderViewReady(this); | 1471 delegate_->RenderViewReady(this); |
| 1467 } | 1472 } |
| 1468 | 1473 |
| 1469 } // namespace content | 1474 } // namespace content |
| OLD | NEW |