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

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

Issue 1403893003: Plumb gesture source value through Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert more tests (related to CL) to use Touchscreen. Created 5 years, 2 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
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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 bool m_recreatingGraphicsContext; 727 bool m_recreatingGraphicsContext;
728 static const WebInputEvent* m_currentInputEvent; 728 static const WebInputEvent* m_currentInputEvent;
729 729
730 WebCompositedDisplayList m_compositedDisplayList; 730 WebCompositedDisplayList m_compositedDisplayList;
731 731
732 MediaKeysClientImpl m_mediaKeysClientImpl; 732 MediaKeysClientImpl m_mediaKeysClientImpl;
733 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 733 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
734 WebPoint m_positionOnFlingStart; 734 WebPoint m_positionOnFlingStart;
735 WebPoint m_globalPositionOnFlingStart; 735 WebPoint m_globalPositionOnFlingStart;
736 int m_flingModifier; 736 int m_flingModifier;
737 bool m_flingSourceDevice; 737 WebGestureDevice m_flingSourceDevice;
738 Vector<OwnPtr<LinkHighlightImpl>> m_linkHighlights; 738 Vector<OwnPtr<LinkHighlightImpl>> m_linkHighlights;
739 OwnPtr<WebCompositorAnimationTimeline> m_linkHighlightsTimeline; 739 OwnPtr<WebCompositorAnimationTimeline> m_linkHighlightsTimeline;
740 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; 740 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController;
741 741
742 bool m_showFPSCounter; 742 bool m_showFPSCounter;
743 WebColor m_baseBackgroundColor; 743 WebColor m_baseBackgroundColor;
744 WebColor m_backgroundColorOverride; 744 WebColor m_backgroundColorOverride;
745 float m_zoomFactorOverride; 745 float m_zoomFactorOverride;
746 746
747 bool m_userGestureObserved; 747 bool m_userGestureObserved;
(...skipping 10 matching lines...) Expand all
758 }; 758 };
759 759
760 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 760 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
761 // We have no ways to check if the specified WebView is an instance of 761 // We have no ways to check if the specified WebView is an instance of
762 // WebViewImpl because WebViewImpl is the only implementation of WebView. 762 // WebViewImpl because WebViewImpl is the only implementation of WebView.
763 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 763 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
764 764
765 } // namespace blink 765 } // namespace blink
766 766
767 #endif 767 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698