| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 #include "wtf/HashSet.h" | 67 #include "wtf/HashSet.h" |
| 68 #include "wtf/RefCounted.h" | 68 #include "wtf/RefCounted.h" |
| 69 #include "wtf/Vector.h" | 69 #include "wtf/Vector.h" |
| 70 #include <memory> | 70 #include <memory> |
| 71 | 71 |
| 72 namespace blink { | 72 namespace blink { |
| 73 | 73 |
| 74 class BrowserControls; | 74 class BrowserControls; |
| 75 class DevToolsEmulator; | 75 class DevToolsEmulator; |
| 76 class Frame; | 76 class Frame; |
| 77 class FullscreenCallbacks; |
| 77 class FullscreenController; | 78 class FullscreenController; |
| 78 class InspectorOverlay; | 79 class InspectorOverlay; |
| 79 class LinkHighlightImpl; | 80 class LinkHighlightImpl; |
| 80 class PageOverlay; | 81 class PageOverlay; |
| 81 class PageScaleConstraintsSet; | 82 class PageScaleConstraintsSet; |
| 82 class PaintLayerCompositor; | 83 class PaintLayerCompositor; |
| 83 class UserGestureToken; | 84 class UserGestureToken; |
| 84 class WebActiveGestureAnimation; | 85 class WebActiveGestureAnimation; |
| 85 class WebDevToolsAgentImpl; | 86 class WebDevToolsAgentImpl; |
| 86 class WebElement; | 87 class WebElement; |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 IntPoint fakePageScaleAnimationTargetPositionForTesting() const { | 439 IntPoint fakePageScaleAnimationTargetPositionForTesting() const { |
| 439 return m_fakePageScaleAnimationTargetPosition; | 440 return m_fakePageScaleAnimationTargetPosition; |
| 440 } | 441 } |
| 441 float fakePageScaleAnimationPageScaleForTesting() const { | 442 float fakePageScaleAnimationPageScaleForTesting() const { |
| 442 return m_fakePageScaleAnimationPageScaleFactor; | 443 return m_fakePageScaleAnimationPageScaleFactor; |
| 443 } | 444 } |
| 444 bool fakePageScaleAnimationUseAnchorForTesting() const { | 445 bool fakePageScaleAnimationUseAnchorForTesting() const { |
| 445 return m_fakePageScaleAnimationUseAnchor; | 446 return m_fakePageScaleAnimationUseAnchor; |
| 446 } | 447 } |
| 447 | 448 |
| 448 void enterFullscreen(LocalFrame&); | 449 void enterFullscreen(LocalFrame&, std::unique_ptr<FullscreenCallbacks>); |
| 449 void exitFullscreen(LocalFrame&); | 450 void exitFullscreen(LocalFrame&); |
| 450 void fullscreenElementChanged(Element*, Element*); | 451 void fullscreenElementChanged(Element*, Element*); |
| 451 | 452 |
| 452 // Exposed for the purpose of overriding device metrics. | 453 // Exposed for the purpose of overriding device metrics. |
| 453 void sendResizeEventAndRepaint(); | 454 void sendResizeEventAndRepaint(); |
| 454 | 455 |
| 455 // Exposed for testing purposes. | 456 // Exposed for testing purposes. |
| 456 bool hasHorizontalScrollbar(); | 457 bool hasHorizontalScrollbar(); |
| 457 bool hasVerticalScrollbar(); | 458 bool hasVerticalScrollbar(); |
| 458 | 459 |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 734 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 734 }; | 735 }; |
| 735 | 736 |
| 736 // We have no ways to check if the specified WebView is an instance of | 737 // We have no ways to check if the specified WebView is an instance of |
| 737 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 738 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 738 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 739 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 739 | 740 |
| 740 } // namespace blink | 741 } // namespace blink |
| 741 | 742 |
| 742 #endif | 743 #endif |
| OLD | NEW |