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

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: Renamed to shouldDisableInvisibleScrollbars 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 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 // TODO(ymalik): This should be hidden and all calls should go through 807 // TODO(ymalik): This should be hidden and all calls should go through
808 // setHas*Scrollbar functions above. 808 // setHas*Scrollbar functions above.
809 Scrollbar* createScrollbar(ScrollbarOrientation) override; 809 Scrollbar* createScrollbar(ScrollbarOrientation) override;
810 810
811 protected: 811 protected:
812 void destroyScrollbar(ScrollbarOrientation) override; 812 void destroyScrollbar(ScrollbarOrientation) override;
813 }; 813 };
814 814
815 void updateScrollOffset(const ScrollOffset&, ScrollType) override; 815 void updateScrollOffset(const ScrollOffset&, ScrollType) override;
816 816
817 void updateScrollbarEnabledState();
818
817 void updateLifecyclePhasesInternal( 819 void updateLifecyclePhasesInternal(
818 DocumentLifecycle::LifecycleState targetState); 820 DocumentLifecycle::LifecycleState targetState);
819 821
820 void invalidateTreeIfNeededRecursive(); 822 void invalidateTreeIfNeededRecursive();
821 void scrollContentsIfNeededRecursive(); 823 void scrollContentsIfNeededRecursive();
822 void updateStyleAndLayoutIfNeededRecursive(); 824 void updateStyleAndLayoutIfNeededRecursive();
823 void updatePaintProperties(); 825 void updatePaintProperties();
824 void synchronizedPaint(); 826 void synchronizedPaint();
825 void synchronizedPaintRecursively(GraphicsLayer*); 827 void synchronizedPaintRecursively(GraphicsLayer*);
826 828
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 widget.isFrameView()); 1151 widget.isFrameView());
1150 DEFINE_TYPE_CASTS(FrameView, 1152 DEFINE_TYPE_CASTS(FrameView,
1151 ScrollableArea, 1153 ScrollableArea,
1152 scrollableArea, 1154 scrollableArea,
1153 scrollableArea->isFrameView(), 1155 scrollableArea->isFrameView(),
1154 scrollableArea.isFrameView()); 1156 scrollableArea.isFrameView());
1155 1157
1156 } // namespace blink 1158 } // namespace blink
1157 1159
1158 #endif // FrameView_h 1160 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698