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

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

Issue 16982005: Allow objects without scrollbars to be scrollable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed ScrollbarGroup pageStep Created 7 years, 4 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
« no previous file with comments | « Source/core/editing/EditorCommand.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 void updateCompositingLayersAfterLayout(); 120 void updateCompositingLayersAfterLayout();
121 121
122 bool hasCompositedContent() const; 122 bool hasCompositedContent() const;
123 bool isEnclosedInCompositingLayer() const; 123 bool isEnclosedInCompositingLayer() const;
124 124
125 // Returns true when a paint with the PaintBehaviorFlattenCompositingLayers flag set gives 125 // Returns true when a paint with the PaintBehaviorFlattenCompositingLayers flag set gives
126 // a faithful representation of the content. 126 // a faithful representation of the content.
127 bool isSoftwareRenderable() const; 127 bool isSoftwareRenderable() const;
128 128
129 void resetScrollbars(); 129 void resetScrollbars();
130 void resetScrollbarsAndClearContentsSize();
131 void prepareForDetach(); 130 void prepareForDetach();
132 void detachCustomScrollbars(); 131 void detachCustomScrollbars();
133 virtual void recalculateScrollbarOverlayStyle(); 132 virtual void recalculateScrollbarOverlayStyle();
134 133
135 void clear(); 134 void clear();
136 135
137 bool isTransparent() const; 136 bool isTransparent() const;
138 void setTransparent(bool isTransparent); 137 void setTransparent(bool isTransparent);
139 138
140 // True if the FrameView is not transparent, and the base background color i s opaque. 139 // True if the FrameView is not transparent, and the base background color i s opaque.
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 ASSERT(!widget || widget->isFrameView()); 578 ASSERT(!widget || widget->isFrameView());
580 return static_cast<const FrameView*>(widget); 579 return static_cast<const FrameView*>(widget);
581 } 580 }
582 581
583 // This will catch anyone doing an unnecessary cast. 582 // This will catch anyone doing an unnecessary cast.
584 void toFrameView(const FrameView*); 583 void toFrameView(const FrameView*);
585 584
586 } // namespace WebCore 585 } // namespace WebCore
587 586
588 #endif // FrameView_h 587 #endif // FrameView_h
OLDNEW
« no previous file with comments | « Source/core/editing/EditorCommand.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698