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

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

Issue 1410313006: Separate RenderViewHost from RenderWidgetHost, part 5: move calls to the RenderWidgetHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no functionality change Created 5 years, 1 month 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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "content/browser/renderer_host/render_widget_host_delegate.h" 6 #include "content/browser/renderer_host/render_widget_host_delegate.h"
7 #include "ui/gfx/geometry/rect.h"
7 8
8 namespace content { 9 namespace content {
9 10
10 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( 11 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent(
11 const NativeWebKeyboardEvent& event, 12 const NativeWebKeyboardEvent& event,
12 bool* is_keyboard_shortcut) { 13 bool* is_keyboard_shortcut) {
13 return false; 14 return false;
14 } 15 }
15 16
16 bool RenderWidgetHostDelegate::HandleWheelEvent( 17 bool RenderWidgetHostDelegate::HandleWheelEvent(
(...skipping 23 matching lines...) Expand all
40 } 41 }
41 #endif 42 #endif
42 43
43 // If a delegate does not override this, the RenderWidgetHostView will 44 // If a delegate does not override this, the RenderWidgetHostView will
44 // assume it is the sole platform event consumer. 45 // assume it is the sole platform event consumer.
45 RenderWidgetHostInputEventRouter* 46 RenderWidgetHostInputEventRouter*
46 RenderWidgetHostDelegate::GetInputEventRouter() { 47 RenderWidgetHostDelegate::GetInputEventRouter() {
47 return nullptr; 48 return nullptr;
48 } 49 }
49 50
51 gfx::Rect RenderWidgetHostDelegate::GetRootWindowResizerRect(
52 RenderWidgetHostImpl* render_widget_host) const {
53 return gfx::Rect();
54 };
55
50 } // namespace content 56 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698