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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
745 bool m_layerTreeViewClosed; | 745 bool m_layerTreeViewClosed; |
746 bool m_matchesHeuristicsForGpuRasterization; | 746 bool m_matchesHeuristicsForGpuRasterization; |
747 // If true, the graphics context is being restored. | 747 // If true, the graphics context is being restored. |
748 bool m_recreatingGraphicsContext; | 748 bool m_recreatingGraphicsContext; |
749 static const WebInputEvent* m_currentInputEvent; | 749 static const WebInputEvent* m_currentInputEvent; |
750 | 750 |
751 MediaKeysClientImpl m_mediaKeysClientImpl; | 751 MediaKeysClientImpl m_mediaKeysClientImpl; |
752 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; | 752 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; |
753 WebPoint m_positionOnFlingStart; | 753 WebPoint m_positionOnFlingStart; |
754 WebPoint m_globalPositionOnFlingStart; | 754 WebPoint m_globalPositionOnFlingStart; |
755 WebInputEvent::RailsMode m_railStateOnFlingStart; | |
Ken Russell (switch to Gerrit)
2015/04/01 18:33:12
This needs to be initialized in the right place in
| |
755 int m_flingModifier; | 756 int m_flingModifier; |
756 bool m_flingSourceDevice; | 757 bool m_flingSourceDevice; |
757 Vector<OwnPtr<LinkHighlight>> m_linkHighlights; | 758 Vector<OwnPtr<LinkHighlight>> m_linkHighlights; |
758 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; | 759 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; |
759 | 760 |
760 bool m_showFPSCounter; | 761 bool m_showFPSCounter; |
761 bool m_showPaintRects; | 762 bool m_showPaintRects; |
762 bool m_showDebugBorders; | 763 bool m_showDebugBorders; |
763 bool m_continuousPaintingEnabled; | 764 bool m_continuousPaintingEnabled; |
764 bool m_showScrollBottleneckRects; | 765 bool m_showScrollBottleneckRects; |
765 WebColor m_baseBackgroundColor; | 766 WebColor m_baseBackgroundColor; |
766 WebColor m_backgroundColorOverride; | 767 WebColor m_backgroundColorOverride; |
767 float m_zoomFactorOverride; | 768 float m_zoomFactorOverride; |
768 | 769 |
769 bool m_userGestureObserved; | 770 bool m_userGestureObserved; |
770 WebDisplayMode m_displayMode; | 771 WebDisplayMode m_displayMode; |
771 | 772 |
772 RefPtr<EventListener> m_popupMouseWheelEventListener; | 773 RefPtr<EventListener> m_popupMouseWheelEventListener; |
773 }; | 774 }; |
774 | 775 |
775 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); | 776 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); |
776 // We have no ways to check if the specified WebView is an instance of | 777 // We have no ways to check if the specified WebView is an instance of |
777 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 778 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 779 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
779 | 780 |
780 } // namespace blink | 781 } // namespace blink |
781 | 782 |
782 #endif | 783 #endif |
OLD | NEW |