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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 | 741 |
742 bool m_showFPSCounter; | 742 bool m_showFPSCounter; |
743 bool m_continuousPaintingEnabled; | 743 bool m_continuousPaintingEnabled; |
744 WebColor m_baseBackgroundColor; | 744 WebColor m_baseBackgroundColor; |
745 WebColor m_backgroundColorOverride; | 745 WebColor m_backgroundColorOverride; |
746 float m_zoomFactorOverride; | 746 float m_zoomFactorOverride; |
747 | 747 |
748 bool m_userGestureObserved; | 748 bool m_userGestureObserved; |
749 WebDisplayMode m_displayMode; | 749 WebDisplayMode m_displayMode; |
750 | 750 |
751 RefPtr<EventListener> m_popupMouseWheelEventListener; | 751 RefPtrWillBePersistent<EventListener> m_popupMouseWheelEventListener; |
752 }; | 752 }; |
753 | 753 |
754 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 754 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
755 // We have no ways to check if the specified WebView is an instance of | 755 // We have no ways to check if the specified WebView is an instance of |
756 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 756 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
757 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 757 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
758 | 758 |
759 } // namespace blink | 759 } // namespace blink |
760 | 760 |
761 #endif | 761 #endif |
OLD | NEW |