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

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

Issue 702913002: Updating custom scrollbar style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments by rune Created 6 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 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 void updateAcceleratedCompositingSettings(); 127 void updateAcceleratedCompositingSettings();
128 128
129 void recalcOverflowAfterStyleChange(); 129 void recalcOverflowAfterStyleChange();
130 130
131 bool isEnclosedInCompositingLayer() const; 131 bool isEnclosedInCompositingLayer() const;
132 132
133 void resetScrollbars(); 133 void resetScrollbars();
134 void prepareForDetach(); 134 void prepareForDetach();
135 void detachCustomScrollbars(); 135 void detachCustomScrollbars();
136 void recalculateCustomScrollbarStyle();
136 virtual void recalculateScrollbarOverlayStyle(); 137 virtual void recalculateScrollbarOverlayStyle();
137 138
138 void clear(); 139 void clear();
139 140
140 bool isTransparent() const; 141 bool isTransparent() const;
141 void setTransparent(bool isTransparent); 142 void setTransparent(bool isTransparent);
142 143
143 // True if the FrameView is not transparent, and the base background color i s opaque. 144 // True if the FrameView is not transparent, and the base background color i s opaque.
144 bool hasOpaqueBackground() const; 145 bool hasOpaqueBackground() const;
145 146
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 } 829 }
829 830
830 private: 831 private:
831 RawPtrWillBeMember<FrameView> m_view; 832 RawPtrWillBeMember<FrameView> m_view;
832 bool m_originalValue; 833 bool m_originalValue;
833 }; 834 };
834 835
835 } // namespace blink 836 } // namespace blink
836 837
837 #endif // FrameView_h 838 #endif // FrameView_h
OLDNEW
« no previous file with comments | « LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash-expected.txt ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698