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

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

Issue 315653003: Remove dead notification for number of wheel event handlers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 IPC_MESSAGE_HANDLER(ViewHostMsg_RequestMove, OnRequestMove) 983 IPC_MESSAGE_HANDLER(ViewHostMsg_RequestMove, OnRequestMove)
984 IPC_MESSAGE_HANDLER(ViewHostMsg_DocumentAvailableInMainFrame, 984 IPC_MESSAGE_HANDLER(ViewHostMsg_DocumentAvailableInMainFrame,
985 OnDocumentAvailableInMainFrame) 985 OnDocumentAvailableInMainFrame)
986 IPC_MESSAGE_HANDLER(ViewHostMsg_ToggleFullscreen, OnToggleFullscreen) 986 IPC_MESSAGE_HANDLER(ViewHostMsg_ToggleFullscreen, OnToggleFullscreen)
987 IPC_MESSAGE_HANDLER(ViewHostMsg_DidContentsPreferredSizeChange, 987 IPC_MESSAGE_HANDLER(ViewHostMsg_DidContentsPreferredSizeChange,
988 OnDidContentsPreferredSizeChange) 988 OnDidContentsPreferredSizeChange)
989 IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeScrollOffset, 989 IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeScrollOffset,
990 OnDidChangeScrollOffset) 990 OnDidChangeScrollOffset)
991 IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, 991 IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame,
992 OnDidChangeScrollOffsetPinningForMainFrame) 992 OnDidChangeScrollOffsetPinningForMainFrame)
993 IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeNumWheelEvents,
994 OnDidChangeNumWheelEvents)
995 IPC_MESSAGE_HANDLER(ViewHostMsg_RouteCloseEvent, 993 IPC_MESSAGE_HANDLER(ViewHostMsg_RouteCloseEvent,
996 OnRouteCloseEvent) 994 OnRouteCloseEvent)
997 IPC_MESSAGE_HANDLER(ViewHostMsg_RouteMessageEvent, OnRouteMessageEvent) 995 IPC_MESSAGE_HANDLER(ViewHostMsg_RouteMessageEvent, OnRouteMessageEvent)
998 IPC_MESSAGE_HANDLER(DragHostMsg_StartDragging, OnStartDragging) 996 IPC_MESSAGE_HANDLER(DragHostMsg_StartDragging, OnStartDragging)
999 IPC_MESSAGE_HANDLER(DragHostMsg_UpdateDragCursor, OnUpdateDragCursor) 997 IPC_MESSAGE_HANDLER(DragHostMsg_UpdateDragCursor, OnUpdateDragCursor)
1000 IPC_MESSAGE_HANDLER(DragHostMsg_TargetDrop_ACK, OnTargetDropACK) 998 IPC_MESSAGE_HANDLER(DragHostMsg_TargetDrop_ACK, OnTargetDropACK)
1001 IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus) 999 IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus)
1002 IPC_MESSAGE_HANDLER(ViewHostMsg_FocusedNodeChanged, OnFocusedNodeChanged) 1000 IPC_MESSAGE_HANDLER(ViewHostMsg_FocusedNodeChanged, OnFocusedNodeChanged)
1003 IPC_MESSAGE_HANDLER(ViewHostMsg_ClosePage_ACK, OnClosePageACK) 1001 IPC_MESSAGE_HANDLER(ViewHostMsg_ClosePage_ACK, OnClosePageACK)
1004 IPC_MESSAGE_HANDLER(ViewHostMsg_DidZoomURL, OnDidZoomURL) 1002 IPC_MESSAGE_HANDLER(ViewHostMsg_DidZoomURL, OnDidZoomURL)
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 if (view_) 1207 if (view_)
1210 view_->ScrollOffsetChanged(); 1208 view_->ScrollOffsetChanged();
1211 } 1209 }
1212 1210
1213 void RenderViewHostImpl::OnDidChangeScrollOffsetPinningForMainFrame( 1211 void RenderViewHostImpl::OnDidChangeScrollOffsetPinningForMainFrame(
1214 bool is_pinned_to_left, bool is_pinned_to_right) { 1212 bool is_pinned_to_left, bool is_pinned_to_right) {
1215 if (view_) 1213 if (view_)
1216 view_->SetScrollOffsetPinning(is_pinned_to_left, is_pinned_to_right); 1214 view_->SetScrollOffsetPinning(is_pinned_to_left, is_pinned_to_right);
1217 } 1215 }
1218 1216
1219 void RenderViewHostImpl::OnDidChangeNumWheelEvents(int count) {
1220 }
1221
1222 void RenderViewHostImpl::OnRouteCloseEvent() { 1217 void RenderViewHostImpl::OnRouteCloseEvent() {
1223 // Have the delegate route this to the active RenderViewHost. 1218 // Have the delegate route this to the active RenderViewHost.
1224 delegate_->RouteCloseEvent(this); 1219 delegate_->RouteCloseEvent(this);
1225 } 1220 }
1226 1221
1227 void RenderViewHostImpl::OnRouteMessageEvent( 1222 void RenderViewHostImpl::OnRouteMessageEvent(
1228 const ViewMsg_PostMessage_Params& params) { 1223 const ViewMsg_PostMessage_Params& params) {
1229 // Give to the delegate to route to the active RenderViewHost. 1224 // Give to the delegate to route to the active RenderViewHost.
1230 delegate_->RouteMessageEvent(this, params); 1225 delegate_->RouteMessageEvent(this, params);
1231 } 1226 }
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1671 FrameTree* frame_tree = delegate_->GetFrameTree(); 1666 FrameTree* frame_tree = delegate_->GetFrameTree();
1672 1667
1673 frame_tree->ResetForMainFrameSwap(); 1668 frame_tree->ResetForMainFrameSwap();
1674 } 1669 }
1675 1670
1676 void RenderViewHostImpl::SelectWordAroundCaret() { 1671 void RenderViewHostImpl::SelectWordAroundCaret() {
1677 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID())); 1672 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID()));
1678 } 1673 }
1679 1674
1680 } // namespace content 1675 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698