Revert 268405 "Make sure that ScratchBuffer::Allocate() always r..."
[chromium-blink-merge.git] / content / browser / renderer_host / render_widget_host_delegate.cc
blob23687d0f24d5a841f53b2e02cbd2b42fd6d90e0f
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
3 // found in the LICENSE file.
5 #include "content/browser/renderer_host/render_widget_host_delegate.h"
7 namespace content {
9 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent(
10 const NativeWebKeyboardEvent& event,
11 bool* is_keyboard_shortcut) {
12 return false;
15 bool RenderWidgetHostDelegate::HandleWheelEvent(
16 const blink::WebMouseWheelEvent& event) {
17 return false;
20 bool RenderWidgetHostDelegate::PreHandleGestureEvent(
21 const blink::WebGestureEvent& event) {
22 return false;
25 bool RenderWidgetHostDelegate::HandleGestureEvent(
26 const blink::WebGestureEvent& event) {
27 return false;
30 #if defined(OS_WIN)
31 gfx::NativeViewAccessible
32 RenderWidgetHostDelegate::GetParentNativeViewAccessible() {
33 return NULL;
35 #endif
37 } // namespace content