OLD | NEW |
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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 void zoomLimitsChanged(double minimumZoomLevel, | 200 void zoomLimitsChanged(double minimumZoomLevel, |
201 double maximumZoomLevel) override; | 201 double maximumZoomLevel) override; |
202 float textZoomFactor() override; | 202 float textZoomFactor() override; |
203 float setTextZoomFactor(float) override; | 203 float setTextZoomFactor(float) override; |
204 bool zoomToMultipleTargetsRect(const WebRect&) override; | 204 bool zoomToMultipleTargetsRect(const WebRect&) override; |
205 float pageScaleFactor() const override; | 205 float pageScaleFactor() const override; |
206 void setDefaultPageScaleLimits(float minScale, float maxScale) override; | 206 void setDefaultPageScaleLimits(float minScale, float maxScale) override; |
207 void setInitialPageScaleOverride(float) override; | 207 void setInitialPageScaleOverride(float) override; |
208 void setMaximumLegibleScale(float) override; | 208 void setMaximumLegibleScale(float) override; |
209 void setPageScaleFactor(float) override; | 209 void setPageScaleFactor(float) override; |
| 210 float clampPageScaleFactorToLimits(float) const override; |
210 void setVisualViewportOffset(const WebFloatPoint&) override; | 211 void setVisualViewportOffset(const WebFloatPoint&) override; |
211 WebFloatPoint visualViewportOffset() const override; | 212 WebFloatPoint visualViewportOffset() const override; |
212 WebFloatSize visualViewportSize() const override; | 213 WebFloatSize visualViewportSize() const override; |
213 void resetScrollAndScaleState() override; | 214 void resetScrollAndScaleState() override; |
214 void setIgnoreViewportTagScaleLimits(bool) override; | 215 void setIgnoreViewportTagScaleLimits(bool) override; |
215 WebSize contentsPreferredMinimumSize() override; | 216 WebSize contentsPreferredMinimumSize() override; |
216 void setDisplayMode(WebDisplayMode) override; | 217 void setDisplayMode(WebDisplayMode) override; |
217 | 218 |
218 void setDeviceScaleFactor(float) override; | 219 void setDeviceScaleFactor(float) override; |
219 void setZoomFactorForDeviceScaleFactor(float) override; | 220 void setZoomFactorForDeviceScaleFactor(float) override; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 | 278 |
278 // WebScheduler::InterventionReporter implementation: | 279 // WebScheduler::InterventionReporter implementation: |
279 void ReportIntervention(const WebString& message) override; | 280 void ReportIntervention(const WebString& message) override; |
280 | 281 |
281 void didUpdateFullscreenSize(); | 282 void didUpdateFullscreenSize(); |
282 | 283 |
283 float defaultMinimumPageScaleFactor() const; | 284 float defaultMinimumPageScaleFactor() const; |
284 float defaultMaximumPageScaleFactor() const; | 285 float defaultMaximumPageScaleFactor() const; |
285 float minimumPageScaleFactor() const; | 286 float minimumPageScaleFactor() const; |
286 float maximumPageScaleFactor() const; | 287 float maximumPageScaleFactor() const; |
287 float clampPageScaleFactorToLimits(float) const; | |
288 void resetScaleStateImmediately(); | 288 void resetScaleStateImmediately(); |
289 | 289 |
290 HitTestResult coreHitTestResultAt(const WebPoint&); | 290 HitTestResult coreHitTestResultAt(const WebPoint&); |
291 void invalidateRect(const IntRect&); | 291 void invalidateRect(const IntRect&); |
292 | 292 |
293 void setIgnoreInputEvents(bool newValue); | 293 void setIgnoreInputEvents(bool newValue); |
294 void setBaseBackgroundColor(WebColor); | 294 void setBaseBackgroundColor(WebColor); |
295 void setBackgroundColorOverride(WebColor); | 295 void setBackgroundColorOverride(WebColor); |
296 void setZoomFactorOverride(float); | 296 void setZoomFactorOverride(float); |
297 void setCompositorDeviceScaleFactorOverride(float); | 297 void setCompositorDeviceScaleFactorOverride(float); |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 761 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
762 }; | 762 }; |
763 | 763 |
764 // We have no ways to check if the specified WebView is an instance of | 764 // We have no ways to check if the specified WebView is an instance of |
765 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 765 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
766 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 766 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
767 | 767 |
768 } // namespace blink | 768 } // namespace blink |
769 | 769 |
770 #endif | 770 #endif |
OLD | NEW |