| 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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 bool m_shouldDispatchFirstLayoutAfterFinishedLoading; | 749 bool m_shouldDispatchFirstLayoutAfterFinishedLoading; |
| 750 WebDisplayMode m_displayMode; | 750 WebDisplayMode m_displayMode; |
| 751 | 751 |
| 752 FloatSize m_elasticOverscroll; | 752 FloatSize m_elasticOverscroll; |
| 753 | 753 |
| 754 // This is owned by the LayerTreeHostImpl, and should only be used on the |
| 755 // compositor thread. The LayerTreeHostImpl is indirectly owned by this |
| 756 // class so this pointer should be valid until this class is destructed. |
| 757 CrossThreadPersistent<CompositorMutatorImpl> m_mutator; |
| 758 |
| 754 Persistent<EventListener> m_popupMouseWheelEventListener; | 759 Persistent<EventListener> m_popupMouseWheelEventListener; |
| 755 | 760 |
| 756 WebPageImportanceSignals m_pageImportanceSignals; | 761 WebPageImportanceSignals m_pageImportanceSignals; |
| 757 | 762 |
| 758 const OwnPtr<WebViewScheduler> m_scheduler; | 763 const OwnPtr<WebViewScheduler> m_scheduler; |
| 759 | 764 |
| 760 // Manages the layer tree created for this page in Slimming Paint v2. | 765 // Manages the layer tree created for this page in Slimming Paint v2. |
| 761 PaintArtifactCompositor m_paintArtifactCompositor; | 766 PaintArtifactCompositor m_paintArtifactCompositor; |
| 762 | 767 |
| 763 double m_lastFrameTimeMonotonic; | 768 double m_lastFrameTimeMonotonic; |
| 764 }; | 769 }; |
| 765 | 770 |
| 766 // We have no ways to check if the specified WebView is an instance of | 771 // We have no ways to check if the specified WebView is an instance of |
| 767 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 772 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 768 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 773 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 769 | 774 |
| 770 } // namespace blink | 775 } // namespace blink |
| 771 | 776 |
| 772 #endif | 777 #endif |
| OLD | NEW |