Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: Source/web/WebViewImpl.h

Issue 850443002: Scroll Customization Prototype (Not for review, WIP) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase / cleanup / minor bug fixes Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/WebInputEventConversion.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 bool m_showPaintRects; 763 bool m_showPaintRects;
764 bool m_showDebugBorders; 764 bool m_showDebugBorders;
765 bool m_continuousPaintingEnabled; 765 bool m_continuousPaintingEnabled;
766 bool m_showScrollBottleneckRects; 766 bool m_showScrollBottleneckRects;
767 WebColor m_baseBackgroundColor; 767 WebColor m_baseBackgroundColor;
768 WebColor m_backgroundColorOverride; 768 WebColor m_backgroundColorOverride;
769 float m_zoomFactorOverride; 769 float m_zoomFactorOverride;
770 770
771 bool m_userGestureObserved; 771 bool m_userGestureObserved;
772 772
773 // The velocity of the most recent scroll event.
774 WebFloatSize m_lastScrollVelocity;
775
773 RefPtr<EventListener> m_popupMouseWheelEventListener; 776 RefPtr<EventListener> m_popupMouseWheelEventListener;
774 }; 777 };
775 778
776 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 779 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
777 // We have no ways to check if the specified WebView is an instance of 780 // We have no ways to check if the specified WebView is an instance of
778 // WebViewImpl because WebViewImpl is the only implementation of WebView. 781 // WebViewImpl because WebViewImpl is the only implementation of WebView.
779 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 782 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
780 783
781 } // namespace blink 784 } // namespace blink
782 785
783 #endif 786 #endif
OLDNEW
« no previous file with comments | « Source/web/WebInputEventConversion.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698