| 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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 | 538 |
| 539 float maximumLegiblePageScale() const; | 539 float maximumLegiblePageScale() const; |
| 540 void refreshPageScaleFactorAfterLayout(); | 540 void refreshPageScaleFactorAfterLayout(); |
| 541 void resumeTreeViewCommits(); | 541 void resumeTreeViewCommits(); |
| 542 void setUserAgentPageScaleConstraints(PageScaleConstraints newConstraints); | 542 void setUserAgentPageScaleConstraints(PageScaleConstraints newConstraints); |
| 543 IntSize contentsSize() const; | 543 IntSize contentsSize() const; |
| 544 | 544 |
| 545 void updateMainFrameScrollPosition(const DoublePoint& scrollPosition, bool p
rogrammaticScroll); | 545 void updateMainFrameScrollPosition(const DoublePoint& scrollPosition, bool p
rogrammaticScroll); |
| 546 | 546 |
| 547 void performResize(); | 547 void performResize(); |
| 548 void resizeViewWhileAnchored(FrameView*); |
| 548 | 549 |
| 549 friend class WebView; // So WebView::Create can call our constructor | 550 friend class WebView; // So WebView::Create can call our constructor |
| 550 friend class WTF::RefCounted<WebViewImpl>; | 551 friend class WTF::RefCounted<WebViewImpl>; |
| 551 friend void setCurrentInputEventForTest(const WebInputEvent*); | 552 friend void setCurrentInputEventForTest(const WebInputEvent*); |
| 552 | 553 |
| 553 enum DragAction { | 554 enum DragAction { |
| 554 DragEnter, | 555 DragEnter, |
| 555 DragOver | 556 DragOver |
| 556 }; | 557 }; |
| 557 | 558 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 }; | 770 }; |
| 770 | 771 |
| 771 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 772 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 772 // We have no ways to check if the specified WebView is an instance of | 773 // We have no ways to check if the specified WebView is an instance of |
| 773 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 774 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 774 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 775 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 775 | 776 |
| 776 } // namespace blink | 777 } // namespace blink |
| 777 | 778 |
| 778 #endif | 779 #endif |
| OLD | NEW |