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

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

Issue 2816873002: Update PaintLayer size during layout, not after.
Patch Set: Speculatively remove call to UpdateScrollbars() Created 3 years, 7 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 float InputEventsScaleFactor() const; 221 float InputEventsScaleFactor() const;
222 222
223 // Offset used to convert incoming input events while emulating device metics. 223 // Offset used to convert incoming input events while emulating device metics.
224 IntSize InputEventsOffsetForEmulation() const; 224 IntSize InputEventsOffsetForEmulation() const;
225 void SetInputEventsTransformForEmulation(const IntSize&, float); 225 void SetInputEventsTransformForEmulation(const IntSize&, float);
226 226
227 void DidChangeScrollOffset(); 227 void DidChangeScrollOffset();
228 void DidUpdateElasticOverscroll(); 228 void DidUpdateElasticOverscroll();
229 229
230 void ViewportSizeChanged(bool width_changed, bool height_changed); 230 void ViewportSizeChanged(bool width_changed, bool height_changed);
231 void MarkViewportConstrainedObjectsForLayout(bool width_changed,
232 bool height_changed);
231 233
232 AtomicString MediaType() const; 234 AtomicString MediaType() const;
233 void SetMediaType(const AtomicString&); 235 void SetMediaType(const AtomicString&);
234 void AdjustMediaTypeForPrinting(bool printing); 236 void AdjustMediaTypeForPrinting(bool printing);
235 237
236 WebDisplayMode DisplayMode() { return display_mode_; } 238 WebDisplayMode DisplayMode() { return display_mode_; }
237 void SetDisplayMode(WebDisplayMode); 239 void SetDisplayMode(WebDisplayMode);
238 240
239 DisplayShape GetDisplayShape() { return display_shape_; } 241 DisplayShape GetDisplayShape() { return display_shape_; }
240 void SetDisplayShape(DisplayShape); 242 void SetDisplayShape(DisplayShape);
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 frameViewBase.IsFrameView()); 1275 frameViewBase.IsFrameView());
1274 DEFINE_TYPE_CASTS(FrameView, 1276 DEFINE_TYPE_CASTS(FrameView,
1275 ScrollableArea, 1277 ScrollableArea,
1276 scrollableArea, 1278 scrollableArea,
1277 scrollableArea->IsFrameView(), 1279 scrollableArea->IsFrameView(),
1278 scrollableArea.IsFrameView()); 1280 scrollableArea.IsFrameView());
1279 1281
1280 } // namespace blink 1282 } // namespace blink
1281 1283
1282 #endif // FrameView_h 1284 #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