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

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

Issue 1407173005: Revert of OOPIF: Route keyboard events to focused frame in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@focus-page
Patch Set: 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 7
8 namespace content { 8 namespace content {
9 9
10 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( 10 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent(
(...skipping 29 matching lines...) Expand all
40 } 40 }
41 #endif 41 #endif
42 42
43 // If a delegate does not override this, the RenderWidgetHostView will 43 // If a delegate does not override this, the RenderWidgetHostView will
44 // assume it is the sole platform event consumer. 44 // assume it is the sole platform event consumer.
45 RenderWidgetHostInputEventRouter* 45 RenderWidgetHostInputEventRouter*
46 RenderWidgetHostDelegate::GetInputEventRouter() { 46 RenderWidgetHostDelegate::GetInputEventRouter() {
47 return nullptr; 47 return nullptr;
48 } 48 }
49 49
50 // If a delegate does not override this, the RenderWidgetHostView will
51 // assume its own RenderWidgetHost should consume keyboard events.
52 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost() {
53 return nullptr;
54 }
55
56 } // namespace content 50 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698