| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #include "web/WebExport.h" | 65 #include "web/WebExport.h" |
| 66 #include "wtf/Compiler.h" | 66 #include "wtf/Compiler.h" |
| 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 CompositorAnimationHost; |
| 75 class DevToolsEmulator; | 76 class DevToolsEmulator; |
| 76 class Frame; | 77 class Frame; |
| 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; |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 676 // Whether the user can press tab to focus links. | 677 // Whether the user can press tab to focus links. |
| 677 bool m_tabsToLinks; | 678 bool m_tabsToLinks; |
| 678 | 679 |
| 679 // If set, the (plugin) node which has mouse capture. | 680 // If set, the (plugin) node which has mouse capture. |
| 680 Persistent<Node> m_mouseCaptureNode; | 681 Persistent<Node> m_mouseCaptureNode; |
| 681 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; | 682 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; |
| 682 | 683 |
| 683 RefPtr<UserGestureToken> m_pointerLockGestureToken; | 684 RefPtr<UserGestureToken> m_pointerLockGestureToken; |
| 684 | 685 |
| 685 WebLayerTreeView* m_layerTreeView; | 686 WebLayerTreeView* m_layerTreeView; |
| 687 std::unique_ptr<CompositorAnimationHost> m_compositorAnimationHost; |
| 688 |
| 686 WebLayer* m_rootLayer; | 689 WebLayer* m_rootLayer; |
| 687 GraphicsLayer* m_rootGraphicsLayer; | 690 GraphicsLayer* m_rootGraphicsLayer; |
| 688 GraphicsLayer* m_visualViewportContainerLayer; | 691 GraphicsLayer* m_visualViewportContainerLayer; |
| 689 bool m_matchesHeuristicsForGpuRasterization; | 692 bool m_matchesHeuristicsForGpuRasterization; |
| 690 static const WebInputEvent* m_currentInputEvent; | 693 static const WebInputEvent* m_currentInputEvent; |
| 691 | 694 |
| 692 MediaKeysClientImpl m_mediaKeysClientImpl; | 695 MediaKeysClientImpl m_mediaKeysClientImpl; |
| 693 std::unique_ptr<WebActiveGestureAnimation> m_gestureAnimation; | 696 std::unique_ptr<WebActiveGestureAnimation> m_gestureAnimation; |
| 694 WebPoint m_positionOnFlingStart; | 697 WebPoint m_positionOnFlingStart; |
| 695 WebPoint m_globalPositionOnFlingStart; | 698 WebPoint m_globalPositionOnFlingStart; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 736 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 734 }; | 737 }; |
| 735 | 738 |
| 736 // We have no ways to check if the specified WebView is an instance of | 739 // We have no ways to check if the specified WebView is an instance of |
| 737 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 740 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 738 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 741 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 739 | 742 |
| 740 } // namespace blink | 743 } // namespace blink |
| 741 | 744 |
| 742 #endif | 745 #endif |
| OLD | NEW |