| 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 18 matching lines...) Expand all Loading... |
| 29 #include "content/browser/renderer_host/dip_util.h" | 29 #include "content/browser/renderer_host/dip_util.h" |
| 30 #include "content/browser/renderer_host/render_process_host_impl.h" | 30 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 31 #include "content/browser/renderer_host/render_view_host_delegate.h" | 31 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 32 #include "content/common/accessibility_messages.h" | 32 #include "content/common/accessibility_messages.h" |
| 33 #include "content/common/browser_plugin/browser_plugin_messages.h" | 33 #include "content/common/browser_plugin/browser_plugin_messages.h" |
| 34 #include "content/common/desktop_notification_messages.h" | 34 #include "content/common/desktop_notification_messages.h" |
| 35 #include "content/common/drag_messages.h" | 35 #include "content/common/drag_messages.h" |
| 36 #include "content/common/inter_process_time_ticks_converter.h" | 36 #include "content/common/inter_process_time_ticks_converter.h" |
| 37 #include "content/common/speech_recognition_messages.h" | 37 #include "content/common/speech_recognition_messages.h" |
| 38 #include "content/common/swapped_out_messages.h" | 38 #include "content/common/swapped_out_messages.h" |
| 39 #include "content/common/view_input_messages.h" |
| 39 #include "content/common/view_messages.h" | 40 #include "content/common/view_messages.h" |
| 40 #include "content/port/browser/render_view_host_delegate_view.h" | 41 #include "content/port/browser/render_view_host_delegate_view.h" |
| 41 #include "content/port/browser/render_widget_host_view_port.h" | 42 #include "content/port/browser/render_widget_host_view_port.h" |
| 42 #include "content/public/browser/browser_accessibility_state.h" | 43 #include "content/public/browser/browser_accessibility_state.h" |
| 43 #include "content/public/browser/browser_context.h" | 44 #include "content/public/browser/browser_context.h" |
| 44 #include "content/public/browser/browser_message_filter.h" | 45 #include "content/public/browser/browser_message_filter.h" |
| 45 #include "content/public/browser/content_browser_client.h" | 46 #include "content/public/browser/content_browser_client.h" |
| 46 #include "content/public/browser/dom_operation_notification_details.h" | 47 #include "content/public/browser/dom_operation_notification_details.h" |
| 47 #include "content/public/browser/native_web_keyboard_event.h" | 48 #include "content/public/browser/native_web_keyboard_event.h" |
| 48 #include "content/public/browser/notification_details.h" | 49 #include "content/public/browser/notification_details.h" |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 } | 555 } |
| 555 | 556 |
| 556 int RenderViewHostImpl::GetPendingRequestId() { | 557 int RenderViewHostImpl::GetPendingRequestId() { |
| 557 return pending_request_id_; | 558 return pending_request_id_; |
| 558 } | 559 } |
| 559 | 560 |
| 560 #if defined(OS_ANDROID) | 561 #if defined(OS_ANDROID) |
| 561 void RenderViewHostImpl::ActivateNearestFindResult(int request_id, | 562 void RenderViewHostImpl::ActivateNearestFindResult(int request_id, |
| 562 float x, | 563 float x, |
| 563 float y) { | 564 float y) { |
| 564 Send(new ViewMsg_ActivateNearestFindResult(GetRoutingID(), request_id, x, y)); | 565 Send(new ViewInputMsg_ActivateNearestFindResult(GetRoutingID(), |
| 566 request_id, x, y)); |
| 565 } | 567 } |
| 566 | 568 |
| 567 void RenderViewHostImpl::RequestFindMatchRects(int current_version) { | 569 void RenderViewHostImpl::RequestFindMatchRects(int current_version) { |
| 568 Send(new ViewMsg_FindMatchRects(GetRoutingID(), current_version)); | 570 Send(new ViewMsg_FindMatchRects(GetRoutingID(), current_version)); |
| 569 } | 571 } |
| 570 #endif | 572 #endif |
| 571 | 573 |
| 572 void RenderViewHostImpl::DragTargetDragEnter( | 574 void RenderViewHostImpl::DragTargetDragEnter( |
| 573 const WebDropData& drop_data, | 575 const WebDropData& drop_data, |
| 574 const gfx::Point& client_pt, | 576 const gfx::Point& client_pt, |
| (...skipping 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2035 is_waiting_for_beforeunload_ack_ = false; | 2037 is_waiting_for_beforeunload_ack_ = false; |
| 2036 is_waiting_for_unload_ack_ = false; | 2038 is_waiting_for_unload_ack_ = false; |
| 2037 has_timed_out_on_unload_ = false; | 2039 has_timed_out_on_unload_ = false; |
| 2038 } | 2040 } |
| 2039 | 2041 |
| 2040 void RenderViewHostImpl::ClearPowerSaveBlockers() { | 2042 void RenderViewHostImpl::ClearPowerSaveBlockers() { |
| 2041 STLDeleteValues(&power_save_blockers_); | 2043 STLDeleteValues(&power_save_blockers_); |
| 2042 } | 2044 } |
| 2043 | 2045 |
| 2044 } // namespace content | 2046 } // namespace content |
| OLD | NEW |