| 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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 } | 438 } |
| 439 float fakePageScaleAnimationPageScaleForTesting() const { | 439 float fakePageScaleAnimationPageScaleForTesting() const { |
| 440 return m_fakePageScaleAnimationPageScaleFactor; | 440 return m_fakePageScaleAnimationPageScaleFactor; |
| 441 } | 441 } |
| 442 bool fakePageScaleAnimationUseAnchorForTesting() const { | 442 bool fakePageScaleAnimationUseAnchorForTesting() const { |
| 443 return m_fakePageScaleAnimationUseAnchor; | 443 return m_fakePageScaleAnimationUseAnchor; |
| 444 } | 444 } |
| 445 | 445 |
| 446 void enterFullscreen(LocalFrame&); | 446 void enterFullscreen(LocalFrame&); |
| 447 void exitFullscreen(LocalFrame&); | 447 void exitFullscreen(LocalFrame&); |
| 448 void fullscreenElementChanged(Element* fromElement, Element* toElement); | 448 void fullscreenElementChanged(Element*, Element*); |
| 449 | 449 |
| 450 // Exposed for the purpose of overriding device metrics. | 450 // Exposed for the purpose of overriding device metrics. |
| 451 void sendResizeEventAndRepaint(); | 451 void sendResizeEventAndRepaint(); |
| 452 | 452 |
| 453 // Exposed for testing purposes. | 453 // Exposed for testing purposes. |
| 454 bool hasHorizontalScrollbar(); | 454 bool hasHorizontalScrollbar(); |
| 455 bool hasVerticalScrollbar(); | 455 bool hasVerticalScrollbar(); |
| 456 | 456 |
| 457 // Exposed for tests. | 457 // Exposed for tests. |
| 458 unsigned numLinkHighlights() { return m_linkHighlights.size(); } | 458 unsigned numLinkHighlights() { return m_linkHighlights.size(); } |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 741 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 742 }; | 742 }; |
| 743 | 743 |
| 744 // We have no ways to check if the specified WebView is an instance of | 744 // We have no ways to check if the specified WebView is an instance of |
| 745 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 745 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 747 | 747 |
| 748 } // namespace blink | 748 } // namespace blink |
| 749 | 749 |
| 750 #endif | 750 #endif |
| OLD | NEW |