OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Simon Hausmann (hausmann@kde.org) | 4 * (C) 2000 Simon Hausmann (hausmann@kde.org) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
206 bool HTMLFrameElementBase::isHTMLContentAttribute(const Attribute& attribute) co nst | 206 bool HTMLFrameElementBase::isHTMLContentAttribute(const Attribute& attribute) co nst |
207 { | 207 { |
208 return attribute.name() == srcdocAttr || HTMLFrameOwnerElement::isHTMLConten tAttribute(attribute); | 208 return attribute.name() == srcdocAttr || HTMLFrameOwnerElement::isHTMLConten tAttribute(attribute); |
209 } | 209 } |
210 | 210 |
211 // FIXME: Remove this code once we have input routing in the browser | 211 // FIXME: Remove this code once we have input routing in the browser |
212 // process. See http://crbug.com/339659. | 212 // process. See http://crbug.com/339659. |
213 void HTMLFrameElementBase::defaultEventHandler(Event* event) | 213 void HTMLFrameElementBase::defaultEventHandler(Event* event) |
214 { | 214 { |
215 if (contentFrame() && contentFrame()->isRemoteFrame()) { | 215 if (contentFrame() && contentFrame()->isRemoteFrame()) { |
216 contentFrame()->chromeClient().forwardInputEvent(toRemoteFrame(contentFr ame()), event); | 216 toRemoteFrame(contentFrame())->forwardInputEvent(event); |
Nate Chapin
2014/10/16 19:18:43
Is there a ChromeClient.h include to remove along
Charlie Reis
2014/10/16 20:09:02
Done.
| |
217 return; | 217 return; |
218 } | 218 } |
219 HTMLFrameOwnerElement::defaultEventHandler(event); | 219 HTMLFrameOwnerElement::defaultEventHandler(event); |
220 } | 220 } |
221 | 221 |
222 } // namespace blink | 222 } // namespace blink |
OLD | NEW |