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

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

Issue 2509843004: Disable overlay scrollbars to hide them on non-Mac. (Closed)
Patch Set: Fix tests Created 4 years, 1 month 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 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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 // TODO(ymalik): This should be hidden and all calls should go through 808 // TODO(ymalik): This should be hidden and all calls should go through
809 // setHas*Scrollbar functions above. 809 // setHas*Scrollbar functions above.
810 Scrollbar* createScrollbar(ScrollbarOrientation) override; 810 Scrollbar* createScrollbar(ScrollbarOrientation) override;
811 811
812 protected: 812 protected:
813 void destroyScrollbar(ScrollbarOrientation) override; 813 void destroyScrollbar(ScrollbarOrientation) override;
814 }; 814 };
815 815
816 void updateScrollOffset(const ScrollOffset&, ScrollType) override; 816 void updateScrollOffset(const ScrollOffset&, ScrollType) override;
817 817
818 void updateScrollbarEnabledState();
819
818 void updateLifecyclePhasesInternal( 820 void updateLifecyclePhasesInternal(
819 DocumentLifecycle::LifecycleState targetState); 821 DocumentLifecycle::LifecycleState targetState);
820 822
821 void invalidateTreeIfNeededRecursive(); 823 void invalidateTreeIfNeededRecursive();
822 void scrollContentsIfNeededRecursive(); 824 void scrollContentsIfNeededRecursive();
823 void updateStyleAndLayoutIfNeededRecursive(); 825 void updateStyleAndLayoutIfNeededRecursive();
824 void updatePaintProperties(); 826 void updatePaintProperties();
825 void synchronizedPaint(); 827 void synchronizedPaint();
826 void synchronizedPaintRecursively(GraphicsLayer*); 828 void synchronizedPaintRecursively(GraphicsLayer*);
827 829
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 widget.isFrameView()); 1150 widget.isFrameView());
1149 DEFINE_TYPE_CASTS(FrameView, 1151 DEFINE_TYPE_CASTS(FrameView,
1150 ScrollableArea, 1152 ScrollableArea,
1151 scrollableArea, 1153 scrollableArea,
1152 scrollableArea->isFrameView(), 1154 scrollableArea->isFrameView(),
1153 scrollableArea.isFrameView()); 1155 scrollableArea.isFrameView());
1154 1156
1155 } // namespace blink 1157 } // namespace blink
1156 1158
1157 #endif // FrameView_h 1159 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698