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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 bool m_recreatingGraphicsContext; | 726 bool m_recreatingGraphicsContext; |
727 static const WebInputEvent* m_currentInputEvent; | 727 static const WebInputEvent* m_currentInputEvent; |
728 | 728 |
729 WebCompositedDisplayList m_compositedDisplayList; | 729 WebCompositedDisplayList m_compositedDisplayList; |
730 | 730 |
731 MediaKeysClientImpl m_mediaKeysClientImpl; | 731 MediaKeysClientImpl m_mediaKeysClientImpl; |
732 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; | 732 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; |
733 WebPoint m_positionOnFlingStart; | 733 WebPoint m_positionOnFlingStart; |
734 WebPoint m_globalPositionOnFlingStart; | 734 WebPoint m_globalPositionOnFlingStart; |
735 int m_flingModifier; | 735 int m_flingModifier; |
736 bool m_flingSourceDevice; | 736 WebGestureDevice m_flingSourceDevice; |
737 Vector<OwnPtr<LinkHighlightImpl>> m_linkHighlights; | 737 Vector<OwnPtr<LinkHighlightImpl>> m_linkHighlights; |
738 OwnPtr<WebCompositorAnimationTimeline> m_linkHighlightsTimeline; | 738 OwnPtr<WebCompositorAnimationTimeline> m_linkHighlightsTimeline; |
739 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; | 739 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; |
740 | 740 |
741 bool m_showFPSCounter; | 741 bool m_showFPSCounter; |
742 WebColor m_baseBackgroundColor; | 742 WebColor m_baseBackgroundColor; |
743 WebColor m_backgroundColorOverride; | 743 WebColor m_backgroundColorOverride; |
744 float m_zoomFactorOverride; | 744 float m_zoomFactorOverride; |
745 | 745 |
746 bool m_userGestureObserved; | 746 bool m_userGestureObserved; |
747 bool m_shouldDispatchFirstVisuallyNonEmptyLayout; | 747 bool m_shouldDispatchFirstVisuallyNonEmptyLayout; |
748 bool m_shouldDispatchFirstLayoutAfterFinishedParsing; | 748 bool m_shouldDispatchFirstLayoutAfterFinishedParsing; |
749 WebDisplayMode m_displayMode; | 749 WebDisplayMode m_displayMode; |
750 | 750 |
751 FloatSize m_elasticOverscroll; | 751 FloatSize m_elasticOverscroll; |
752 | 752 |
753 RefPtrWillBePersistent<EventListener> m_popupMouseWheelEventListener; | 753 RefPtrWillBePersistent<EventListener> m_popupMouseWheelEventListener; |
754 | 754 |
755 WebPageImportanceSignals m_pageImportanceSignals; | 755 WebPageImportanceSignals m_pageImportanceSignals; |
756 }; | 756 }; |
757 | 757 |
758 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 758 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
759 // We have no ways to check if the specified WebView is an instance of | 759 // We have no ways to check if the specified WebView is an instance of |
760 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 760 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
762 | 762 |
763 } // namespace blink | 763 } // namespace blink |
764 | 764 |
765 #endif | 765 #endif |
OLD | NEW |