diff options
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/renderer_host/render_view_host.cc | 20 | ||||
-rw-r--r-- | content/browser/renderer_host/render_view_host.h | 5 |
2 files changed, 25 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc index 3d360a2..8af8ed8 100644 --- a/content/browser/renderer_host/render_view_host.cc +++ b/content/browser/renderer_host/render_view_host.cc @@ -692,6 +692,12 @@ bool RenderViewHost::OnMessageReceived(const IPC::Message& msg) { IPC_MESSAGE_HANDLER(ViewHostMsg_OpenURL, OnMsgOpenURL) IPC_MESSAGE_HANDLER(ViewHostMsg_DidContentsPreferredSizeChange, OnMsgDidContentsPreferredSizeChange) + IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeScrollbarsForMainFrame, + OnMsgDidChangeScrollbarsForMainFrame) + IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, + OnMsgDidChangeScrollOffsetPinningForMainFrame) + IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeNumWheelEvents, + OnMsgDidChangeNumWheelEvents) IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunJavaScriptMessage, OnMsgRunJavaScriptMessage) IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunBeforeUnloadConfirm, @@ -1001,6 +1007,20 @@ void RenderViewHost::OnMsgDidContentsPreferredSizeChange( view->UpdatePreferredSize(new_size); } +void RenderViewHost::OnMsgDidChangeScrollbarsForMainFrame( + bool has_horizontal_scrollbar, bool has_vertical_scrollbar) { + // TODO(thakis): Implement, http://crbug.com/90228 +} + +void RenderViewHost::OnMsgDidChangeScrollOffsetPinningForMainFrame( + bool is_pinned_to_left, bool is_pinned_to_right) { + // TODO(thakis): Implement, http://crbug.com/90228 +} + +void RenderViewHost::OnMsgDidChangeNumWheelEvents(int count) { + // TODO(thakis): Implement, http://crbug.com/90228 +} + void RenderViewHost::OnMsgSelectionChanged(const std::string& text, const ui::Range& range, const gfx::Point& start, diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h index 17f560a..d5566c0 100644 --- a/content/browser/renderer_host/render_view_host.h +++ b/content/browser/renderer_host/render_view_host.h @@ -430,6 +430,11 @@ class RenderViewHost : public RenderWidgetHost { void OnMsgOpenURL(const GURL& url, const GURL& referrer, WindowOpenDisposition disposition); void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); + void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, + bool has_vertical_scrollbar); + void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, + bool is_pinned_to_right); + void OnMsgDidChangeNumWheelEvents(int count); void OnMsgSelectionChanged(const std::string& text, const ui::Range& range, const gfx::Point& start, const gfx::Point& end); void OnMsgPasteFromSelectionClipboard(); |