Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: Source/core/frame/FrameView.h

Issue 1318603005: Revert of Replace pinch scrollbars with regular scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 338
339 IntPoint maximumScrollPosition() const override; 339 IntPoint maximumScrollPosition() const override;
340 340
341 // ScrollableArea interface 341 // ScrollableArea interface
342 void invalidateScrollbarRect(Scrollbar*, const IntRect&) override; 342 void invalidateScrollbarRect(Scrollbar*, const IntRect&) override;
343 void getTickmarks(Vector<IntRect>&) const override; 343 void getTickmarks(Vector<IntRect>&) const override;
344 void scrollTo(const DoublePoint&); 344 void scrollTo(const DoublePoint&);
345 IntRect scrollableAreaBoundingBox() const override; 345 IntRect scrollableAreaBoundingBox() const override;
346 bool scrollAnimatorEnabled() const override; 346 bool scrollAnimatorEnabled() const override;
347 bool usesCompositedScrolling() const override; 347 bool usesCompositedScrolling() const override;
348 GraphicsLayer* layerForScrollbarContainer() const override;
349 GraphicsLayer* layerForScrolling() const override; 348 GraphicsLayer* layerForScrolling() const override;
350 GraphicsLayer* layerForHorizontalScrollbar() const override; 349 GraphicsLayer* layerForHorizontalScrollbar() const override;
351 GraphicsLayer* layerForVerticalScrollbar() const override; 350 GraphicsLayer* layerForVerticalScrollbar() const override;
352 GraphicsLayer* layerForScrollCorner() const override; 351 GraphicsLayer* layerForScrollCorner() const override;
353 int scrollSize(ScrollbarOrientation) const override; 352 int scrollSize(ScrollbarOrientation) const override;
354 bool isScrollCornerVisible() const override; 353 bool isScrollCornerVisible() const override;
355 bool userInputScrollable(ScrollbarOrientation) const override; 354 bool userInputScrollable(ScrollbarOrientation) const override;
356 bool shouldPlaceVerticalScrollbarOnLeft() const override; 355 bool shouldPlaceVerticalScrollbarOnLeft() const override;
357 virtual LayoutRect scrollIntoView( 356 virtual LayoutRect scrollIntoView(
358 const LayoutRect& rectInContent, 357 const LayoutRect& rectInContent,
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 static const unsigned visualPixelThreshold = 32 * 32; 859 static const unsigned visualPixelThreshold = 32 * 32;
861 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 860 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
862 setIsVisuallyNonEmpty(); 861 setIsVisuallyNonEmpty();
863 } 862 }
864 863
865 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 864 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
866 865
867 } // namespace blink 866 } // namespace blink
868 867
869 #endif // FrameView_h 868 #endif // FrameView_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/scrolling/overflow-clip-with-page-scale.html ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698