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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2417783005: [Master/Overview CL] Make PageScaleFactor work for oopif subframe.
Patch Set: Created 4 years, 2 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void zoomLimitsChanged(double minimumZoomLevel, 201 void zoomLimitsChanged(double minimumZoomLevel,
202 double maximumZoomLevel) override; 202 double maximumZoomLevel) override;
203 float textZoomFactor() override; 203 float textZoomFactor() override;
204 float setTextZoomFactor(float) override; 204 float setTextZoomFactor(float) override;
205 bool zoomToMultipleTargetsRect(const WebRect&) override; 205 bool zoomToMultipleTargetsRect(const WebRect&) override;
206 float pageScaleFactor() const override; 206 float pageScaleFactor() const override;
207 void setDefaultPageScaleLimits(float minScale, float maxScale) override; 207 void setDefaultPageScaleLimits(float minScale, float maxScale) override;
208 void setInitialPageScaleOverride(float) override; 208 void setInitialPageScaleOverride(float) override;
209 void setMaximumLegibleScale(float) override; 209 void setMaximumLegibleScale(float) override;
210 void setPageScaleFactor(float) override; 210 void setPageScaleFactor(float) override;
211 float clampPageScaleFactorToLimits(float) const override;
211 void setVisualViewportOffset(const WebFloatPoint&) override; 212 void setVisualViewportOffset(const WebFloatPoint&) override;
212 WebFloatPoint visualViewportOffset() const override; 213 WebFloatPoint visualViewportOffset() const override;
213 WebFloatSize visualViewportSize() const override; 214 WebFloatSize visualViewportSize() const override;
214 void resetScrollAndScaleState() override; 215 void resetScrollAndScaleState() override;
215 void setIgnoreViewportTagScaleLimits(bool) override; 216 void setIgnoreViewportTagScaleLimits(bool) override;
216 WebSize contentsPreferredMinimumSize() override; 217 WebSize contentsPreferredMinimumSize() override;
217 void setDisplayMode(WebDisplayMode) override; 218 void setDisplayMode(WebDisplayMode) override;
218 219
219 void setDeviceScaleFactor(float) override; 220 void setDeviceScaleFactor(float) override;
220 void setZoomFactorForDeviceScaleFactor(float) override; 221 void setZoomFactorForDeviceScaleFactor(float) override;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 279
279 // WebScheduler::InterventionReporter implementation: 280 // WebScheduler::InterventionReporter implementation:
280 void ReportIntervention(const WebString& message) override; 281 void ReportIntervention(const WebString& message) override;
281 282
282 void didUpdateFullscreenSize(); 283 void didUpdateFullscreenSize();
283 284
284 float defaultMinimumPageScaleFactor() const; 285 float defaultMinimumPageScaleFactor() const;
285 float defaultMaximumPageScaleFactor() const; 286 float defaultMaximumPageScaleFactor() const;
286 float minimumPageScaleFactor() const; 287 float minimumPageScaleFactor() const;
287 float maximumPageScaleFactor() const; 288 float maximumPageScaleFactor() const;
288 float clampPageScaleFactorToLimits(float) const;
289 void resetScaleStateImmediately(); 289 void resetScaleStateImmediately();
290 290
291 HitTestResult coreHitTestResultAt(const WebPoint&); 291 HitTestResult coreHitTestResultAt(const WebPoint&);
292 void invalidateRect(const IntRect&); 292 void invalidateRect(const IntRect&);
293 293
294 void setIgnoreInputEvents(bool newValue); 294 void setIgnoreInputEvents(bool newValue);
295 void setBaseBackgroundColor(WebColor); 295 void setBaseBackgroundColor(WebColor);
296 void setBackgroundColorOverride(WebColor); 296 void setBackgroundColorOverride(WebColor);
297 void setZoomFactorOverride(float); 297 void setZoomFactorOverride(float);
298 void setCompositorDeviceScaleFactorOverride(float); 298 void setCompositorDeviceScaleFactorOverride(float);
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 776 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
777 }; 777 };
778 778
779 // We have no ways to check if the specified WebView is an instance of 779 // We have no ways to check if the specified WebView is an instance of
780 // WebViewImpl because WebViewImpl is the only implementation of WebView. 780 // WebViewImpl because WebViewImpl is the only implementation of WebView.
781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
782 782
783 } // namespace blink 783 } // namespace blink
784 784
785 #endif 785 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698