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

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: CR Fixes Created 7 years, 6 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 setIsInWindow(bool); 129 void setIsInWindow(bool);
130 130
131 void resetScrollbars(); 131 void resetScrollbars();
132 void resetScrollbarsAndClearContentsSize();
133 void prepareForDetach(); 132 void prepareForDetach();
134 void detachCustomScrollbars(); 133 void detachCustomScrollbars();
135 virtual void recalculateScrollbarOverlayStyle(); 134 virtual void recalculateScrollbarOverlayStyle();
136 135
137 void clear(); 136 void clear();
138 137
139 bool isTransparent() const; 138 bool isTransparent() const;
140 void setTransparent(bool isTransparent); 139 void setTransparent(bool isTransparent);
141 140
142 // True if the FrameView is not transparent, and the base background color i s opaque. 141 // 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
581 ASSERT(!widget || widget->isFrameView()); 580 ASSERT(!widget || widget->isFrameView());
582 return static_cast<const FrameView*>(widget); 581 return static_cast<const FrameView*>(widget);
583 } 582 }
584 583
585 // This will catch anyone doing an unnecessary cast. 584 // This will catch anyone doing an unnecessary cast.
586 void toFrameView(const FrameView*); 585 void toFrameView(const FrameView*);
587 586
588 } // namespace WebCore 587 } // namespace WebCore
589 588
590 #endif // FrameView_h 589 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698