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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 void zoomLimitsChanged(double minimumZoomLevel, | 206 void zoomLimitsChanged(double minimumZoomLevel, |
207 double maximumZoomLevel) override; | 207 double maximumZoomLevel) override; |
208 float textZoomFactor() override; | 208 float textZoomFactor() override; |
209 float setTextZoomFactor(float) override; | 209 float setTextZoomFactor(float) override; |
210 bool zoomToMultipleTargetsRect(const WebRect&) override; | 210 bool zoomToMultipleTargetsRect(const WebRect&) override; |
211 float pageScaleFactor() const override; | 211 float pageScaleFactor() const override; |
212 void setDefaultPageScaleLimits(float minScale, float maxScale) override; | 212 void setDefaultPageScaleLimits(float minScale, float maxScale) override; |
213 void setInitialPageScaleOverride(float) override; | 213 void setInitialPageScaleOverride(float) override; |
214 void setMaximumLegibleScale(float) override; | 214 void setMaximumLegibleScale(float) override; |
215 void setPageScaleFactor(float) override; | 215 void setPageScaleFactor(float) override; |
| 216 float clampPageScaleFactorToLimits(float) const override; |
216 void setVisualViewportOffset(const WebFloatPoint&) override; | 217 void setVisualViewportOffset(const WebFloatPoint&) override; |
217 WebFloatPoint visualViewportOffset() const override; | 218 WebFloatPoint visualViewportOffset() const override; |
218 WebFloatSize visualViewportSize() const override; | 219 WebFloatSize visualViewportSize() const override; |
219 void resetScrollAndScaleState() override; | 220 void resetScrollAndScaleState() override; |
220 void setIgnoreViewportTagScaleLimits(bool) override; | 221 void setIgnoreViewportTagScaleLimits(bool) override; |
221 WebSize contentsPreferredMinimumSize() override; | 222 WebSize contentsPreferredMinimumSize() override; |
222 void setDisplayMode(WebDisplayMode) override; | 223 void setDisplayMode(WebDisplayMode) override; |
223 | 224 |
224 void setDeviceScaleFactor(float) override; | 225 void setDeviceScaleFactor(float) override; |
225 void setZoomFactorForDeviceScaleFactor(float) override; | 226 void setZoomFactorForDeviceScaleFactor(float) override; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 float expensiveBackgroundThrottlingInitialBudget() override; | 273 float expensiveBackgroundThrottlingInitialBudget() override; |
273 float expensiveBackgroundThrottlingMaxBudget() override; | 274 float expensiveBackgroundThrottlingMaxBudget() override; |
274 float expensiveBackgroundThrottlingMaxDelay() override; | 275 float expensiveBackgroundThrottlingMaxDelay() override; |
275 | 276 |
276 void didUpdateFullscreenSize(); | 277 void didUpdateFullscreenSize(); |
277 | 278 |
278 float defaultMinimumPageScaleFactor() const; | 279 float defaultMinimumPageScaleFactor() const; |
279 float defaultMaximumPageScaleFactor() const; | 280 float defaultMaximumPageScaleFactor() const; |
280 float minimumPageScaleFactor() const; | 281 float minimumPageScaleFactor() const; |
281 float maximumPageScaleFactor() const; | 282 float maximumPageScaleFactor() const; |
282 float clampPageScaleFactorToLimits(float) const; | |
283 void resetScaleStateImmediately(); | 283 void resetScaleStateImmediately(); |
284 | 284 |
285 HitTestResult coreHitTestResultAt(const WebPoint&); | 285 HitTestResult coreHitTestResultAt(const WebPoint&); |
286 void invalidateRect(const IntRect&); | 286 void invalidateRect(const IntRect&); |
287 | 287 |
288 void setBaseBackgroundColor(WebColor); | 288 void setBaseBackgroundColor(WebColor); |
289 void setBackgroundColorOverride(WebColor); | 289 void setBackgroundColorOverride(WebColor); |
290 void setZoomFactorOverride(float); | 290 void setZoomFactorOverride(float); |
291 void setCompositorDeviceScaleFactorOverride(float); | 291 void setCompositorDeviceScaleFactorOverride(float); |
292 void setDeviceEmulationTransform(const TransformationMatrix&); | 292 void setDeviceEmulationTransform(const TransformationMatrix&); |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
740 }; | 740 }; |
741 | 741 |
742 // We have no ways to check if the specified WebView is an instance of | 742 // We have no ways to check if the specified WebView is an instance of |
743 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 743 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
745 | 745 |
746 } // namespace blink | 746 } // namespace blink |
747 | 747 |
748 #endif | 748 #endif |
OLD | NEW |