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

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

Issue 165143003: Handle Ctrl+Mousewheel after renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable Ctrl+wheel checks on Mac Created 6 years, 9 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
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_widget_host_delegate.h" 5 #include "content/browser/renderer_host/render_widget_host_delegate.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( 9 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent(
10 const NativeWebKeyboardEvent& event, 10 const NativeWebKeyboardEvent& event,
11 bool* is_keyboard_shortcut) { 11 bool* is_keyboard_shortcut) {
12 return false; 12 return false;
13 } 13 }
14 14
15 bool RenderWidgetHostDelegate::PreHandleWheelEvent( 15 bool RenderWidgetHostDelegate::HandleWheelEvent(
16 const blink::WebMouseWheelEvent& event) { 16 const blink::WebMouseWheelEvent& event) {
17 return false; 17 return false;
18 } 18 }
19 19
20 bool RenderWidgetHostDelegate::PreHandleGestureEvent( 20 bool RenderWidgetHostDelegate::PreHandleGestureEvent(
21 const blink::WebGestureEvent& event) { 21 const blink::WebGestureEvent& event) {
22 return false; 22 return false;
23 } 23 }
24 24
25 #if defined(OS_WIN) 25 #if defined(OS_WIN)
26 gfx::NativeViewAccessible 26 gfx::NativeViewAccessible
27 RenderWidgetHostDelegate::GetParentNativeViewAccessible() { 27 RenderWidgetHostDelegate::GetParentNativeViewAccessible() {
28 return NULL; 28 return NULL;
29 } 29 }
30 #endif 30 #endif
31 31
32 } // namespace content 32 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_delegate.h ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698