| 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 | 456 |
| 457 void enableFakePageScaleAnimationForTesting(bool); | 457 void enableFakePageScaleAnimationForTesting(bool); |
| 458 bool fakeDoubleTapAnimationPendingForTesting() const { return m_doubleTapZoo
mPending; } | 458 bool fakeDoubleTapAnimationPendingForTesting() const { return m_doubleTapZoo
mPending; } |
| 459 IntPoint fakePageScaleAnimationTargetPositionForTesting() const { return m_f
akePageScaleAnimationTargetPosition; } | 459 IntPoint fakePageScaleAnimationTargetPositionForTesting() const { return m_f
akePageScaleAnimationTargetPosition; } |
| 460 float fakePageScaleAnimationPageScaleForTesting() const { return m_fakePageS
caleAnimationPageScaleFactor; } | 460 float fakePageScaleAnimationPageScaleForTesting() const { return m_fakePageS
caleAnimationPageScaleFactor; } |
| 461 bool fakePageScaleAnimationUseAnchorForTesting() const { return m_fakePageSc
aleAnimationUseAnchor; } | 461 bool fakePageScaleAnimationUseAnchorForTesting() const { return m_fakePageSc
aleAnimationUseAnchor; } |
| 462 | 462 |
| 463 void enterFullScreenForElement(Element*); | 463 void enterFullScreenForElement(Element*); |
| 464 void exitFullScreenForElement(Element*); | 464 void exitFullScreenForElement(Element*); |
| 465 | 465 |
| 466 void clearCompositedSelection(); | |
| 467 void updateCompositedSelection(const WebSelection&); | |
| 468 | |
| 469 // Exposed for the purpose of overriding device metrics. | 466 // Exposed for the purpose of overriding device metrics. |
| 470 void sendResizeEventAndRepaint(); | 467 void sendResizeEventAndRepaint(); |
| 471 | 468 |
| 472 // Exposed for testing purposes. | 469 // Exposed for testing purposes. |
| 473 bool hasHorizontalScrollbar(); | 470 bool hasHorizontalScrollbar(); |
| 474 bool hasVerticalScrollbar(); | 471 bool hasVerticalScrollbar(); |
| 475 | 472 |
| 476 // Exposed for tests. | 473 // Exposed for tests. |
| 477 unsigned numLinkHighlights() { return m_linkHighlights.size(); } | 474 unsigned numLinkHighlights() { return m_linkHighlights.size(); } |
| 478 LinkHighlightImpl* getLinkHighlight(int i) { return m_linkHighlights[i].get(
); } | 475 LinkHighlightImpl* getLinkHighlight(int i) { return m_linkHighlights[i].get(
); } |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 776 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 780 }; | 777 }; |
| 781 | 778 |
| 782 // 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 |
| 783 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 780 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 784 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 785 | 782 |
| 786 } // namespace blink | 783 } // namespace blink |
| 787 | 784 |
| 788 #endif | 785 #endif |
| OLD | NEW |