| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 #include "web/StorageClientImpl.h" | 62 #include "web/StorageClientImpl.h" |
| 63 #include "web/WebExport.h" | 63 #include "web/WebExport.h" |
| 64 #include "wtf/Compiler.h" | 64 #include "wtf/Compiler.h" |
| 65 #include "wtf/HashSet.h" | 65 #include "wtf/HashSet.h" |
| 66 #include "wtf/RefCounted.h" | 66 #include "wtf/RefCounted.h" |
| 67 #include "wtf/Vector.h" | 67 #include "wtf/Vector.h" |
| 68 #include <memory> | 68 #include <memory> |
| 69 | 69 |
| 70 namespace blink { | 70 namespace blink { |
| 71 | 71 |
| 72 class CompositorMutatorImpl; |
| 72 class DataObject; | 73 class DataObject; |
| 73 class DevToolsEmulator; | 74 class DevToolsEmulator; |
| 74 class Frame; | 75 class Frame; |
| 75 class FullscreenController; | 76 class FullscreenController; |
| 76 class InspectorOverlay; | 77 class InspectorOverlay; |
| 77 class LinkHighlightImpl; | 78 class LinkHighlightImpl; |
| 78 class PageOverlay; | 79 class PageOverlay; |
| 79 class PageScaleConstraintsSet; | 80 class PageScaleConstraintsSet; |
| 80 class PaintLayerCompositor; | 81 class PaintLayerCompositor; |
| 81 class TopControls; | 82 class TopControls; |
| 82 class UserGestureToken; | 83 class UserGestureToken; |
| 83 class WebActiveGestureAnimation; | 84 class WebActiveGestureAnimation; |
| 84 class WebDevToolsAgentImpl; | 85 class WebDevToolsAgentImpl; |
| 85 class WebElement; | 86 class WebElement; |
| 86 class WebLayerTreeView; | 87 class WebLayerTreeView; |
| 87 class WebLocalFrame; | 88 class WebLocalFrame; |
| 88 class WebLocalFrameImpl; | 89 class WebLocalFrameImpl; |
| 89 class WebImage; | 90 class WebImage; |
| 90 class CompositorMutatorImpl; | |
| 91 class WebPagePopupImpl; | 91 class WebPagePopupImpl; |
| 92 class WebPlugin; | 92 class WebPlugin; |
| 93 class WebRemoteFrame; | 93 class WebRemoteFrame; |
| 94 class WebSelection; | 94 class WebSelection; |
| 95 class WebSettingsImpl; | 95 class WebSettingsImpl; |
| 96 class WebViewScheduler; | 96 class WebViewScheduler; |
| 97 | 97 |
| 98 class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView) | 98 class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView) |
| 99 , public RefCounted<WebViewImpl> | 99 , public RefCounted<WebViewImpl> |
| 100 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget) | 100 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget) |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 | 460 |
| 461 void enterFullScreenForElement(Element*); | 461 void enterFullScreenForElement(Element*); |
| 462 void exitFullScreenForElement(Element*); | 462 void exitFullScreenForElement(Element*); |
| 463 | 463 |
| 464 void clearCompositedSelection(); | 464 void clearCompositedSelection(); |
| 465 void updateCompositedSelection(const WebSelection&); | 465 void updateCompositedSelection(const WebSelection&); |
| 466 | 466 |
| 467 // Exposed for the purpose of overriding device metrics. | 467 // Exposed for the purpose of overriding device metrics. |
| 468 void sendResizeEventAndRepaint(); | 468 void sendResizeEventAndRepaint(); |
| 469 | 469 |
| 470 // Override the page scale and scroll positions of main frame and visual vie
wport. |
| 471 void setScrollAndScaleOverride(const IntPoint& framePosition, const DoublePo
int& visualViewportPosition, float pageScale); |
| 472 void clearScrollAndScaleOverride(); |
| 473 |
| 470 // Exposed for testing purposes. | 474 // Exposed for testing purposes. |
| 471 bool hasHorizontalScrollbar(); | 475 bool hasHorizontalScrollbar(); |
| 472 bool hasVerticalScrollbar(); | 476 bool hasVerticalScrollbar(); |
| 473 | 477 |
| 474 // Exposed for tests. | 478 // Exposed for tests. |
| 475 unsigned numLinkHighlights() { return m_linkHighlights.size(); } | 479 unsigned numLinkHighlights() { return m_linkHighlights.size(); } |
| 476 LinkHighlightImpl* getLinkHighlight(int i) { return m_linkHighlights[i].get(
); } | 480 LinkHighlightImpl* getLinkHighlight(int i) { return m_linkHighlights[i].get(
); } |
| 477 | 481 |
| 478 WebSettingsImpl* settingsImpl(); | 482 WebSettingsImpl* settingsImpl(); |
| 479 | 483 |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 bool m_overrideCompositorVisibility; | 779 bool m_overrideCompositorVisibility; |
| 776 }; | 780 }; |
| 777 | 781 |
| 778 // We have no ways to check if the specified WebView is an instance of | 782 // We have no ways to check if the specified WebView is an instance of |
| 779 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 783 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 784 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 781 | 785 |
| 782 } // namespace blink | 786 } // namespace blink |
| 783 | 787 |
| 784 #endif | 788 #endif |
| OLD | NEW |