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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 virtual GraphicsLayer* layerForScrolling() const override; | 351 virtual GraphicsLayer* layerForScrolling() const override; |
352 virtual GraphicsLayer* layerForHorizontalScrollbar() const override; | 352 virtual GraphicsLayer* layerForHorizontalScrollbar() const override; |
353 virtual GraphicsLayer* layerForVerticalScrollbar() const override; | 353 virtual GraphicsLayer* layerForVerticalScrollbar() const override; |
354 virtual GraphicsLayer* layerForScrollCorner() const override; | 354 virtual GraphicsLayer* layerForScrollCorner() const override; |
355 virtual int scrollSize(ScrollbarOrientation) const override; | 355 virtual int scrollSize(ScrollbarOrientation) const override; |
356 virtual void setScrollOffset(const IntPoint&) override; | 356 virtual void setScrollOffset(const IntPoint&) override; |
357 virtual void setScrollOffset(const DoublePoint&) override; | 357 virtual void setScrollOffset(const DoublePoint&) override; |
358 virtual bool isScrollCornerVisible() const override; | 358 virtual bool isScrollCornerVisible() const override; |
359 virtual bool userInputScrollable(ScrollbarOrientation) const override; | 359 virtual bool userInputScrollable(ScrollbarOrientation) const override; |
360 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override; | 360 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override; |
361 virtual bool scroll(ScrollDirection, ScrollGranularity, float delta = 1) ove
rride; | 361 virtual ScrollResultOneDimensional scroll(ScrollDirection, ScrollGranularity
, float delta = 1) override; |
362 virtual LayoutRect scrollIntoView( | 362 virtual LayoutRect scrollIntoView( |
363 const LayoutRect& rectInContent, | 363 const LayoutRect& rectInContent, |
364 const ScrollAlignment& alignX, | 364 const ScrollAlignment& alignX, |
365 const ScrollAlignment& alignY) override; | 365 const ScrollAlignment& alignY) override; |
366 | 366 |
367 // The window that hosts the FrameView. The FrameView will communicate scrol
ls and repaints to the | 367 // The window that hosts the FrameView. The FrameView will communicate scrol
ls and repaints to the |
368 // host window in the window's coordinate space. | 368 // host window in the window's coordinate space. |
369 HostWindow* hostWindow() const override; | 369 HostWindow* hostWindow() const override; |
370 | 370 |
371 // Returns a clip rect in host window coordinates. Used to clip the blit on
a scroll. | 371 // Returns a clip rect in host window coordinates. Used to clip the blit on
a scroll. |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 static const unsigned visualPixelThreshold = 32 * 32; | 876 static const unsigned visualPixelThreshold = 32 * 32; |
877 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 877 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
878 setIsVisuallyNonEmpty(); | 878 setIsVisuallyNonEmpty(); |
879 } | 879 } |
880 | 880 |
881 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 881 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
882 | 882 |
883 } // namespace blink | 883 } // namespace blink |
884 | 884 |
885 #endif // FrameView_h | 885 #endif // FrameView_h |
OLD | NEW |