| 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 reserv
ed. | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 8 | 8 |
| 9 This library is free software; you can redistribute it and/or | 9 This library is free software; you can redistribute it and/or |
| 10 modify it under the terms of the GNU Library General Public | 10 modify it under the terms of the GNU Library General Public |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 bool shouldScrollOnMainThread() const override; | 368 bool shouldScrollOnMainThread() const override; |
| 369 GraphicsLayer* layerForScrolling() const override; | 369 GraphicsLayer* layerForScrolling() const override; |
| 370 GraphicsLayer* layerForHorizontalScrollbar() const override; | 370 GraphicsLayer* layerForHorizontalScrollbar() const override; |
| 371 GraphicsLayer* layerForVerticalScrollbar() const override; | 371 GraphicsLayer* layerForVerticalScrollbar() const override; |
| 372 GraphicsLayer* layerForScrollCorner() const override; | 372 GraphicsLayer* layerForScrollCorner() const override; |
| 373 int scrollSize(ScrollbarOrientation) const override; | 373 int scrollSize(ScrollbarOrientation) const override; |
| 374 bool isScrollCornerVisible() const override; | 374 bool isScrollCornerVisible() const override; |
| 375 bool userInputScrollable(ScrollbarOrientation) const override; | 375 bool userInputScrollable(ScrollbarOrientation) const override; |
| 376 bool shouldPlaceVerticalScrollbarOnLeft() const override; | 376 bool shouldPlaceVerticalScrollbarOnLeft() const override; |
| 377 Widget* getWidget() override; | 377 Widget* getWidget() override; |
| 378 CompositorAnimationTimeline* compositorAnimationTimeline() const override; |
| 378 | 379 |
| 379 LayoutRect scrollIntoView( | 380 LayoutRect scrollIntoView( |
| 380 const LayoutRect& rectInContent, | 381 const LayoutRect& rectInContent, |
| 381 const ScrollAlignment& alignX, | 382 const ScrollAlignment& alignX, |
| 382 const ScrollAlignment& alignY, | 383 const ScrollAlignment& alignY, |
| 383 ScrollType = ProgrammaticScroll) override; | 384 ScrollType = ProgrammaticScroll) override; |
| 384 | 385 |
| 385 // The window that hosts the FrameView. The FrameView will communicate scrol
ls and repaints to the | 386 // The window that hosts the FrameView. The FrameView will communicate scrol
ls and repaints to the |
| 386 // host window in the window's coordinate space. | 387 // host window in the window's coordinate space. |
| 387 HostWindow* getHostWindow() const; | 388 HostWindow* getHostWindow() const; |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 929 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 929 setIsVisuallyNonEmpty(); | 930 setIsVisuallyNonEmpty(); |
| 930 } | 931 } |
| 931 | 932 |
| 932 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 933 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 933 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 934 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
| 934 | 935 |
| 935 } // namespace blink | 936 } // namespace blink |
| 936 | 937 |
| 937 #endif // FrameView_h | 938 #endif // FrameView_h |
| OLD | NEW |