Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 14487003: Add a new pair of IPC categories for messages that need handling as input events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addresses feedback Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 15 matching lines...) Expand all
26 #include "content/browser/dom_storage/session_storage_namespace_impl.h" 26 #include "content/browser/dom_storage/session_storage_namespace_impl.h"
27 #include "content/browser/gpu/gpu_surface_tracker.h" 27 #include "content/browser/gpu/gpu_surface_tracker.h"
28 #include "content/browser/host_zoom_map_impl.h" 28 #include "content/browser/host_zoom_map_impl.h"
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/input_messages.h"
36 #include "content/common/inter_process_time_ticks_converter.h" 37 #include "content/common/inter_process_time_ticks_converter.h"
37 #include "content/common/speech_recognition_messages.h" 38 #include "content/common/speech_recognition_messages.h"
38 #include "content/common/swapped_out_messages.h" 39 #include "content/common/swapped_out_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"
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 InputMsg_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
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
OLDNEW
« no previous file with comments | « content/browser/renderer_host/ime_adapter_android.cc ('k') | content/browser/renderer_host/render_view_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698