| 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 WebPageImportanceSignals* pageImportanceSignals() override; | 269 WebPageImportanceSignals* pageImportanceSignals() override; |
| 270 void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&)
override; | 270 void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&)
override; |
| 271 bool endActiveFlingAnimation() override; | 271 bool endActiveFlingAnimation() override; |
| 272 bool isFlinging() const override { return !!m_gestureAnimation.get(); } | 272 bool isFlinging() const override { return !!m_gestureAnimation.get(); } |
| 273 void setShowPaintRects(bool) override; | 273 void setShowPaintRects(bool) override; |
| 274 void setShowDebugBorders(bool); | 274 void setShowDebugBorders(bool); |
| 275 void setShowFPSCounter(bool) override; | 275 void setShowFPSCounter(bool) override; |
| 276 void setShowScrollBottleneckRects(bool) override; | 276 void setShowScrollBottleneckRects(bool) override; |
| 277 void acceptLanguagesChanged() override; | 277 void acceptLanguagesChanged() override; |
| 278 | 278 |
| 279 // WebViewImpl | |
| 280 void enableViewport(); | |
| 281 void disableViewport(); | |
| 282 | |
| 283 float defaultMinimumPageScaleFactor() const; | 279 float defaultMinimumPageScaleFactor() const; |
| 284 float defaultMaximumPageScaleFactor() const; | 280 float defaultMaximumPageScaleFactor() const; |
| 285 float minimumPageScaleFactor() const; | 281 float minimumPageScaleFactor() const; |
| 286 float maximumPageScaleFactor() const; | 282 float maximumPageScaleFactor() const; |
| 287 float clampPageScaleFactorToLimits(float) const; | 283 float clampPageScaleFactorToLimits(float) const; |
| 288 void resetScaleStateImmediately(); | 284 void resetScaleStateImmediately(); |
| 289 | 285 |
| 290 HitTestResult coreHitTestResultAt(const WebPoint&); | 286 HitTestResult coreHitTestResultAt(const WebPoint&); |
| 291 void invalidateRect(const IntRect&); | 287 void invalidateRect(const IntRect&); |
| 292 | 288 |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 }; | 771 }; |
| 776 | 772 |
| 777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 773 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 778 // We have no ways to check if the specified WebView is an instance of | 774 // We have no ways to check if the specified WebView is an instance of |
| 779 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 775 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 781 | 777 |
| 782 } // namespace blink | 778 } // namespace blink |
| 783 | 779 |
| 784 #endif | 780 #endif |
| OLD | NEW |