| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Simon Hausmann <hausmann@kde.org> | 5 * 2000 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000 Stefan Schimanski <1Stein@gmx.de> | 6 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 7 * 2001 George Staikos <staikos@kde.org> | 7 * 2001 George Staikos <staikos@kde.org> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 9 * rights reserved. | 9 * rights reserved. |
| 10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> | 10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 DCHECK(GetDocument()); | 986 DCHECK(GetDocument()); |
| 987 node = GetDocument()->FocusedElement(); | 987 node = GetDocument()->FocusedElement(); |
| 988 } | 988 } |
| 989 | 989 |
| 990 if (node) { | 990 if (node) { |
| 991 return node->GetWebPluginContainerBase(); | 991 return node->GetWebPluginContainerBase(); |
| 992 } | 992 } |
| 993 return nullptr; | 993 return nullptr; |
| 994 } | 994 } |
| 995 | 995 |
| 996 void LocalFrame::SetViewportIntersectionFromParent( |
| 997 const IntRect& viewport_intersection) { |
| 998 if (remote_viewport_intersection_ != viewport_intersection) { |
| 999 remote_viewport_intersection_ = viewport_intersection; |
| 1000 if (View()) |
| 1001 View()->ScheduleAnimation(); |
| 1002 } |
| 1003 } |
| 1004 |
| 996 } // namespace blink | 1005 } // namespace blink |
| OLD | NEW |