| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
| 4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
| 5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
| 8 reserved. | 8 reserved. |
| 9 | 9 |
| 10 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 unsigned = 0) const final; | 460 unsigned = 0) const final; |
| 461 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final; | 461 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final; |
| 462 | 462 |
| 463 LayoutRect ScrollIntoView(const LayoutRect& rect_in_content, | 463 LayoutRect ScrollIntoView(const LayoutRect& rect_in_content, |
| 464 const ScrollAlignment& align_x, | 464 const ScrollAlignment& align_x, |
| 465 const ScrollAlignment& align_y, | 465 const ScrollAlignment& align_y, |
| 466 ScrollType = kProgrammaticScroll) override; | 466 ScrollType = kProgrammaticScroll) override; |
| 467 | 467 |
| 468 // The window that hosts the FrameView. The FrameView will communicate scrolls | 468 // The window that hosts the FrameView. The FrameView will communicate scrolls |
| 469 // and repaints to the host window in the window's coordinate space. | 469 // and repaints to the host window in the window's coordinate space. |
| 470 HostWindow* GetHostWindow() const; | 470 PlatformChromeClient* GetChromeClient() const; |
| 471 | 471 |
| 472 typedef HeapHashSet<Member<FrameViewBase>> ChildrenSet; | 472 typedef HeapHashSet<Member<FrameViewBase>> ChildrenSet; |
| 473 typedef HeapHashSet<Member<PluginView>> PluginsSet; | 473 typedef HeapHashSet<Member<PluginView>> PluginsSet; |
| 474 | 474 |
| 475 // Functions for child manipulation and inspection. | 475 // Functions for child manipulation and inspection. |
| 476 void SetParent(FrameViewBase*) override; | 476 void SetParent(FrameViewBase*) override; |
| 477 void RemoveChild(FrameViewBase*); | 477 void RemoveChild(FrameViewBase*); |
| 478 void AddChild(FrameViewBase*); | 478 void AddChild(FrameViewBase*); |
| 479 const ChildrenSet* Children() const { return &children_; } | 479 const ChildrenSet* Children() const { return &children_; } |
| 480 void RemovePlugin(PluginView*); | 480 void RemovePlugin(PluginView*); |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1271 frameViewBase.IsFrameView()); | 1271 frameViewBase.IsFrameView()); |
| 1272 DEFINE_TYPE_CASTS(FrameView, | 1272 DEFINE_TYPE_CASTS(FrameView, |
| 1273 ScrollableArea, | 1273 ScrollableArea, |
| 1274 scrollableArea, | 1274 scrollableArea, |
| 1275 scrollableArea->IsFrameView(), | 1275 scrollableArea->IsFrameView(), |
| 1276 scrollableArea.IsFrameView()); | 1276 scrollableArea.IsFrameView()); |
| 1277 | 1277 |
| 1278 } // namespace blink | 1278 } // namespace blink |
| 1279 | 1279 |
| 1280 #endif // FrameView_h | 1280 #endif // FrameView_h |
| OLD | NEW |