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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 } | 436 } |
437 float fakePageScaleAnimationPageScaleForTesting() const { | 437 float fakePageScaleAnimationPageScaleForTesting() const { |
438 return m_fakePageScaleAnimationPageScaleFactor; | 438 return m_fakePageScaleAnimationPageScaleFactor; |
439 } | 439 } |
440 bool fakePageScaleAnimationUseAnchorForTesting() const { | 440 bool fakePageScaleAnimationUseAnchorForTesting() const { |
441 return m_fakePageScaleAnimationUseAnchor; | 441 return m_fakePageScaleAnimationUseAnchor; |
442 } | 442 } |
443 | 443 |
444 void enterFullscreen(LocalFrame&); | 444 void enterFullscreen(LocalFrame&); |
445 void exitFullscreen(LocalFrame&); | 445 void exitFullscreen(LocalFrame&); |
446 void fullscreenElementChanged(Element* fromElement, Element* toElement); | 446 void fullscreenElementChanged(Element*, Element*); |
447 | 447 |
448 // Exposed for the purpose of overriding device metrics. | 448 // Exposed for the purpose of overriding device metrics. |
449 void sendResizeEventAndRepaint(); | 449 void sendResizeEventAndRepaint(); |
450 | 450 |
451 // Exposed for testing purposes. | 451 // Exposed for testing purposes. |
452 bool hasHorizontalScrollbar(); | 452 bool hasHorizontalScrollbar(); |
453 bool hasVerticalScrollbar(); | 453 bool hasVerticalScrollbar(); |
454 | 454 |
455 // Exposed for tests. | 455 // Exposed for tests. |
456 unsigned numLinkHighlights() { return m_linkHighlights.size(); } | 456 unsigned numLinkHighlights() { return m_linkHighlights.size(); } |
(...skipping 282 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 |