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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void InvalidateRect(const IntRect&) override; 112 void InvalidateRect(const IntRect&) override;
113 void ScheduleAnimation(LocalFrame*) override; 113 void ScheduleAnimation(LocalFrame*) override;
114 IntRect ViewportToScreen(const IntRect&, const FrameViewBase*) const override; 114 IntRect ViewportToScreen(const IntRect&, const FrameViewBase*) const override;
115 float WindowToViewportScalar(const float) const override; 115 float WindowToViewportScalar(const float) const override;
116 WebScreenInfo GetScreenInfo() const override; 116 WebScreenInfo GetScreenInfo() const override;
117 WTF::Optional<IntRect> VisibleContentRectForPainting() const override; 117 WTF::Optional<IntRect> VisibleContentRectForPainting() const override;
118 void ContentsSizeChanged(LocalFrame*, const IntSize&) const override; 118 void ContentsSizeChanged(LocalFrame*, const IntSize&) const override;
119 void PageScaleFactorChanged() const override; 119 void PageScaleFactorChanged() const override;
120 float ClampPageScaleFactorToLimits(float scale) const override; 120 float ClampPageScaleFactorToLimits(float scale) const override;
121 void MainFrameScrollOffsetChanged() const override; 121 void MainFrameScrollOffsetChanged() const override;
122 void ResizeAfterLayout(LocalFrame*) const override;
122 void LayoutUpdated(LocalFrame*) const override; 123 void LayoutUpdated(LocalFrame*) const override;
123 void ShowMouseOverURL(const HitTestResult&) override; 124 void ShowMouseOverURL(const HitTestResult&) override;
124 void SetToolTip(LocalFrame&, const String&, TextDirection) override; 125 void SetToolTip(LocalFrame&, const String&, TextDirection) override;
125 void DispatchViewportPropertiesDidChange( 126 void DispatchViewportPropertiesDidChange(
126 const ViewportDescription&) const override; 127 const ViewportDescription&) const override;
127 void PrintDelegate(LocalFrame*) override; 128 void PrintDelegate(LocalFrame*) override;
128 void AnnotatedRegionsChanged() override; 129 void AnnotatedRegionsChanged() override;
129 ColorChooser* OpenColorChooser(LocalFrame*, 130 ColorChooser* OpenColorChooser(LocalFrame*,
130 ColorChooserClient*, 131 ColorChooserClient*,
131 const Color&) override; 132 const Color&) override;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 252
252 DEFINE_TYPE_CASTS(ChromeClientImpl, 253 DEFINE_TYPE_CASTS(ChromeClientImpl,
253 ChromeClient, 254 ChromeClient,
254 client, 255 client,
255 client->IsChromeClientImpl(), 256 client->IsChromeClientImpl(),
256 client.IsChromeClientImpl()); 257 client.IsChromeClientImpl());
257 258
258 } // namespace blink 259 } // namespace blink
259 260
260 #endif 261 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698