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

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

Issue 2692853016: Change PaintLayer::m_layoutObject to a reference. (Closed)
Patch Set: Added TODO Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/frame/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 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 void adjustMediaTypeForPrinting(bool printing); 223 void adjustMediaTypeForPrinting(bool printing);
224 224
225 WebDisplayMode displayMode() { return m_displayMode; } 225 WebDisplayMode displayMode() { return m_displayMode; }
226 void setDisplayMode(WebDisplayMode); 226 void setDisplayMode(WebDisplayMode);
227 227
228 DisplayShape displayShape() { return m_displayShape; } 228 DisplayShape displayShape() { return m_displayShape; }
229 void setDisplayShape(DisplayShape); 229 void setDisplayShape(DisplayShape);
230 230
231 // Fixed-position objects. 231 // Fixed-position objects.
232 typedef HashSet<LayoutObject*> ViewportConstrainedObjectSet; 232 typedef HashSet<LayoutObject*> ViewportConstrainedObjectSet;
233 void addViewportConstrainedObject(LayoutObject*); 233 void addViewportConstrainedObject(LayoutObject&);
234 void removeViewportConstrainedObject(LayoutObject*); 234 void removeViewportConstrainedObject(LayoutObject&);
235 const ViewportConstrainedObjectSet* viewportConstrainedObjects() const { 235 const ViewportConstrainedObjectSet* viewportConstrainedObjects() const {
236 return m_viewportConstrainedObjects.get(); 236 return m_viewportConstrainedObjects.get();
237 } 237 }
238 bool hasViewportConstrainedObjects() const { 238 bool hasViewportConstrainedObjects() const {
239 return m_viewportConstrainedObjects && 239 return m_viewportConstrainedObjects &&
240 m_viewportConstrainedObjects->size() > 0; 240 m_viewportConstrainedObjects->size() > 0;
241 } 241 }
242 242
243 // Objects with background-attachment:fixed. 243 // Objects with background-attachment:fixed.
244 void addBackgroundAttachmentFixedObject(LayoutObject*); 244 void addBackgroundAttachmentFixedObject(LayoutObject*);
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 widget.isFrameView()); 1251 widget.isFrameView());
1252 DEFINE_TYPE_CASTS(FrameView, 1252 DEFINE_TYPE_CASTS(FrameView,
1253 ScrollableArea, 1253 ScrollableArea,
1254 scrollableArea, 1254 scrollableArea,
1255 scrollableArea->isFrameView(), 1255 scrollableArea->isFrameView(),
1256 scrollableArea.isFrameView()); 1256 scrollableArea.isFrameView());
1257 1257
1258 } // namespace blink 1258 } // namespace blink
1259 1259
1260 #endif // FrameView_h 1260 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698