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 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 FocusedNodeDetails details = {is_editable_node, node_bounds_in_screen}; | 1199 FocusedNodeDetails details = {is_editable_node, node_bounds_in_screen}; |
1200 NotificationService::current()->Notify(NOTIFICATION_FOCUS_CHANGED_IN_PAGE, | 1200 NotificationService::current()->Notify(NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
1201 Source<RenderViewHost>(this), | 1201 Source<RenderViewHost>(this), |
1202 Details<FocusedNodeDetails>(&details)); | 1202 Details<FocusedNodeDetails>(&details)); |
1203 } | 1203 } |
1204 | 1204 |
1205 void RenderViewHostImpl::OnUserGesture() { | 1205 void RenderViewHostImpl::OnUserGesture() { |
1206 delegate_->OnUserGesture(); | 1206 delegate_->OnUserGesture(); |
1207 } | 1207 } |
1208 | 1208 |
| 1209 void RenderViewHostImpl::OnUserInput(const blink::WebInputEvent::Type type) { |
| 1210 delegate_->OnUserInput(type); |
| 1211 } |
| 1212 |
1209 void RenderViewHostImpl::OnClosePageACK() { | 1213 void RenderViewHostImpl::OnClosePageACK() { |
1210 decrement_in_flight_event_count(); | 1214 decrement_in_flight_event_count(); |
1211 ClosePageIgnoringUnloadEvents(); | 1215 ClosePageIgnoringUnloadEvents(); |
1212 } | 1216 } |
1213 | 1217 |
1214 void RenderViewHostImpl::NotifyRendererUnresponsive() { | 1218 void RenderViewHostImpl::NotifyRendererUnresponsive() { |
1215 delegate_->RendererUnresponsive(this); | 1219 delegate_->RendererUnresponsive(this); |
1216 } | 1220 } |
1217 | 1221 |
1218 void RenderViewHostImpl::NotifyRendererResponsive() { | 1222 void RenderViewHostImpl::NotifyRendererResponsive() { |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1439 } else { | 1443 } else { |
1440 render_view_ready_on_process_launch_ = true; | 1444 render_view_ready_on_process_launch_ = true; |
1441 } | 1445 } |
1442 } | 1446 } |
1443 | 1447 |
1444 void RenderViewHostImpl::RenderViewReady() { | 1448 void RenderViewHostImpl::RenderViewReady() { |
1445 delegate_->RenderViewReady(this); | 1449 delegate_->RenderViewReady(this); |
1446 } | 1450 } |
1447 | 1451 |
1448 } // namespace content | 1452 } // namespace content |
OLD | NEW |