| OLD | NEW |
| 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 Loading... |
| 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 // The only case this method should return true is when a guest WebContents |
| 51 // is the delegate (<guestview>). |
| 52 bool RenderWidgetHostDelegate::DidForwardVisibilityChangeToGuest(bool visible) { |
| 53 return false; |
| 54 } |
| 55 |
| 50 } // namespace content | 56 } // namespace content |
| OLD | NEW |